AddAssociation

enum_AssociationEdgeType := [ "ContributedTo", "AssociatedWith", "DerivedFrom", "Produced", "SameAs" ]

valid {
    input.Body.SourceArn == STRING
    input.Body.DestinationArn == STRING
    input.Body.AssociationType == enum_AssociationEdgeType[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

AddTags

valid {
    input.Body.ResourceArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

AssociateTrialComponent

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

BatchDeleteClusterNodes

valid {
    input.Body.ClusterName == STRING
    input.Body.NodeIds[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

BatchDescribeModelPackage

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

BatchGetMetrics

enum_MetricStatistic := [ "Min", "Max", "Avg", "Count", "StdDev", "Last" ]
enum_Period := [ "OneMinute", "FiveMinute", "OneHour", "IterationNumber" ]
enum_XAxisType := [ "IterationNumber", "Timestamp" ]

valid {
    input.Body.MetricQueries[_].MetricName == STRING
    input.Body.MetricQueries[_].ResourceArn == STRING
    input.Body.MetricQueries[_].MetricStat == enum_MetricStatistic[_]
    input.Body.MetricQueries[_].Period == enum_Period[_]
    input.Body.MetricQueries[_].XAxisType == enum_XAxisType[_]
    input.Body.MetricQueries[_].Start == LONG
    input.Body.MetricQueries[_].End == LONG
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

BatchGetRecord

enum_ExpirationTimeResponse := [ "Enabled", "Disabled" ]

valid {
    input.Body.Identifiers[_].FeatureGroupName == STRING
    input.Body.Identifiers[_].RecordIdentifiersValueAsString[_] == STRING
    input.Body.Identifiers[_].FeatureNames[_] == STRING
    input.Body.ExpirationTimeResponse == enum_ExpirationTimeResponse[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

BatchPutMetrics

valid {
    input.Body.TrialComponentName == STRING
    input.Body.MetricData[_].MetricName == STRING
    input.Body.MetricData[_].Timestamp == TIMESTAMP
    input.Body.MetricData[_].Step == INTEGER
    input.Body.MetricData[_].Value == DOUBLE
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateAction

enum_ActionStatus := [ "Unknown", "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]

valid {
    input.Body.ActionName == STRING
    input.Body.Source.SourceUri == STRING
    input.Body.Source.SourceType == STRING
    input.Body.Source.SourceId == STRING
    input.Body.ActionType == STRING
    input.Body.Description == STRING
    input.Body.Status == enum_ActionStatus[_]
    input.Body.Properties.STRING == STRING
    input.Body.MetadataProperties.CommitId == STRING
    input.Body.MetadataProperties.Repository == STRING
    input.Body.MetadataProperties.GeneratedBy == STRING
    input.Body.MetadataProperties.ProjectId == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateAlgorithm

enum_AdditionalS3DataSourceDataType := [ "S3Object", "S3Prefix" ]
enum_AssemblyType := [ "None", "Line" ]
enum_BatchStrategy := [ "MultiRecord", "SingleRecord" ]
enum_CompressionType := [ "None", "Gzip" ]
enum_FileSystemAccessMode := [ "rw", "ro" ]
enum_FileSystemType := [ "EFS", "FSxLustre" ]
enum_HyperParameterTuningJobObjectiveType := [ "Maximize", "Minimize" ]
enum_ModelCompressionType := [ "None", "Gzip" ]
enum_OutputCompressionType := [ "GZIP", "NONE" ]
enum_ParameterType := [ "Integer", "Continuous", "Categorical", "FreeText" ]
enum_ProductionVariantInstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.12xlarge", "ml.m5d.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.large", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.12xlarge", "ml.r5d.24xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.dl1.24xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p4d.24xlarge", "ml.c7g.large", "ml.c7g.xlarge", "ml.c7g.2xlarge", "ml.c7g.4xlarge", "ml.c7g.8xlarge", "ml.c7g.12xlarge", "ml.c7g.16xlarge", "ml.m6g.large", "ml.m6g.xlarge", "ml.m6g.2xlarge", "ml.m6g.4xlarge", "ml.m6g.8xlarge", "ml.m6g.12xlarge", "ml.m6g.16xlarge", "ml.m6gd.large", "ml.m6gd.xlarge", "ml.m6gd.2xlarge", "ml.m6gd.4xlarge", "ml.m6gd.8xlarge", "ml.m6gd.12xlarge", "ml.m6gd.16xlarge", "ml.c6g.large", "ml.c6g.xlarge", "ml.c6g.2xlarge", "ml.c6g.4xlarge", "ml.c6g.8xlarge", "ml.c6g.12xlarge", "ml.c6g.16xlarge", "ml.c6gd.large", "ml.c6gd.xlarge", "ml.c6gd.2xlarge", "ml.c6gd.4xlarge", "ml.c6gd.8xlarge", "ml.c6gd.12xlarge", "ml.c6gd.16xlarge", "ml.c6gn.large", "ml.c6gn.xlarge", "ml.c6gn.2xlarge", "ml.c6gn.4xlarge", "ml.c6gn.8xlarge", "ml.c6gn.12xlarge", "ml.c6gn.16xlarge", "ml.r6g.large", "ml.r6g.xlarge", "ml.r6g.2xlarge", "ml.r6g.4xlarge", "ml.r6g.8xlarge", "ml.r6g.12xlarge", "ml.r6g.16xlarge", "ml.r6gd.large", "ml.r6gd.xlarge", "ml.r6gd.2xlarge", "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", "ml.r6gd.16xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.trn2.48xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge" ]
enum_RecordWrapper := [ "None", "RecordIO" ]
enum_S3DataDistribution := [ "FullyReplicated", "ShardedByS3Key" ]
enum_S3DataType := [ "ManifestFile", "S3Prefix", "AugmentedManifestFile" ]
enum_S3ModelDataType := [ "S3Prefix", "S3Object" ]
enum_SplitType := [ "None", "Line", "RecordIO", "TFRecord" ]
enum_TrainingInputMode := [ "Pipe", "File", "FastFile" ]
enum_TrainingInstanceType := [ "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5n.xlarge", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.trn2.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.8xlarge", "ml.c6i.4xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" ]
enum_TransformInstanceType := [ "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge" ]

valid {
    input.Body.AlgorithmName == STRING
    input.Body.AlgorithmDescription == STRING
    input.Body.TrainingSpecification.TrainingImage == STRING
    input.Body.TrainingSpecification.TrainingImageDigest == STRING
    input.Body.TrainingSpecification.SupportedHyperParameters[_].Name == STRING
    input.Body.TrainingSpecification.SupportedHyperParameters[_].Description == STRING
    input.Body.TrainingSpecification.SupportedHyperParameters[_].Type == enum_ParameterType[_]
    input.Body.TrainingSpecification.SupportedHyperParameters[_].Range.IntegerParameterRangeSpecification.MinValue == STRING
    input.Body.TrainingSpecification.SupportedHyperParameters[_].Range.IntegerParameterRangeSpecification.MaxValue == STRING
    input.Body.TrainingSpecification.SupportedHyperParameters[_].Range.ContinuousParameterRangeSpecification.MinValue == STRING
    input.Body.TrainingSpecification.SupportedHyperParameters[_].Range.ContinuousParameterRangeSpecification.MaxValue == STRING
    input.Body.TrainingSpecification.SupportedHyperParameters[_].Range.CategoricalParameterRangeSpecification.Values[_] == STRING
    input.Body.TrainingSpecification.SupportedHyperParameters[_].IsTunable == BOOLEAN
    input.Body.TrainingSpecification.SupportedHyperParameters[_].IsRequired == BOOLEAN
    input.Body.TrainingSpecification.SupportedHyperParameters[_].DefaultValue == STRING
    input.Body.TrainingSpecification.SupportedTrainingInstanceTypes[_] == enum_TrainingInstanceType[_]
    input.Body.TrainingSpecification.SupportsDistributedTraining == BOOLEAN
    input.Body.TrainingSpecification.MetricDefinitions[_].Name == STRING
    input.Body.TrainingSpecification.MetricDefinitions[_].Regex == STRING
    input.Body.TrainingSpecification.TrainingChannels[_].Name == STRING
    input.Body.TrainingSpecification.TrainingChannels[_].Description == STRING
    input.Body.TrainingSpecification.TrainingChannels[_].IsRequired == BOOLEAN
    input.Body.TrainingSpecification.TrainingChannels[_].SupportedContentTypes[_] == STRING
    input.Body.TrainingSpecification.TrainingChannels[_].SupportedCompressionTypes[_] == enum_CompressionType[_]
    input.Body.TrainingSpecification.TrainingChannels[_].SupportedInputModes[_] == enum_TrainingInputMode[_]
    input.Body.TrainingSpecification.SupportedTuningJobObjectiveMetrics[_].Type == enum_HyperParameterTuningJobObjectiveType[_]
    input.Body.TrainingSpecification.SupportedTuningJobObjectiveMetrics[_].MetricName == STRING
    input.Body.TrainingSpecification.AdditionalS3DataSource.S3DataType == enum_AdditionalS3DataSourceDataType[_]
    input.Body.TrainingSpecification.AdditionalS3DataSource.S3Uri == STRING
    input.Body.TrainingSpecification.AdditionalS3DataSource.CompressionType == enum_CompressionType[_]
    input.Body.InferenceSpecification.Containers[_].ContainerHostname == STRING
    input.Body.InferenceSpecification.Containers[_].Image == STRING
    input.Body.InferenceSpecification.Containers[_].ImageDigest == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataUrl == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.S3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].ProductId == STRING
    input.Body.InferenceSpecification.Containers[_].Environment.STRING == STRING
    input.Body.InferenceSpecification.Containers[_].ModelInput.DataInputConfig == STRING
    input.Body.InferenceSpecification.Containers[_].Framework == STRING
    input.Body.InferenceSpecification.Containers[_].FrameworkVersion == STRING
    input.Body.InferenceSpecification.Containers[_].NearestModelName == STRING
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.S3DataType == enum_AdditionalS3DataSourceDataType[_]
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.S3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.CompressionType == enum_CompressionType[_]
    input.Body.InferenceSpecification.SupportedTransformInstanceTypes[_] == enum_TransformInstanceType[_]
    input.Body.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes[_] == enum_ProductionVariantInstanceType[_]
    input.Body.InferenceSpecification.SupportedContentTypes[_] == STRING
    input.Body.InferenceSpecification.SupportedResponseMIMETypes[_] == STRING
    input.Body.ValidationSpecification.ValidationRole == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].ProfileName == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.TrainingInputMode == enum_TrainingInputMode[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.HyperParameters.STRING == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].ChannelName == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.S3DataType == enum_S3DataType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.S3Uri == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.S3DataDistributionType == enum_S3DataDistribution[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.AttributeNames[_] == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.InstanceGroupNames[_] == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemId == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemAccessMode == enum_FileSystemAccessMode[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemType == enum_FileSystemType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].DataSource.FileSystemDataSource.DirectoryPath == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].ContentType == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].CompressionType == enum_CompressionType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].RecordWrapperType == enum_RecordWrapper[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].InputMode == enum_TrainingInputMode[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.InputDataConfig[_].ShuffleConfig.Seed == LONG
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.OutputDataConfig.KmsKeyId == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.OutputDataConfig.S3OutputPath == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.OutputDataConfig.CompressionType == enum_OutputCompressionType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.InstanceType == enum_TrainingInstanceType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.InstanceCount == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.VolumeSizeInGB == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.VolumeKmsKeyId == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.KeepAlivePeriodInSeconds == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.InstanceGroups[_].InstanceType == enum_TrainingInstanceType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.InstanceGroups[_].InstanceCount == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.InstanceGroups[_].InstanceGroupName == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.ResourceConfig.TrainingPlanArn == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.StoppingCondition.MaxWaitTimeInSeconds == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TrainingJobDefinition.StoppingCondition.MaxPendingTimeInSeconds == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.MaxConcurrentTransforms == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.MaxPayloadInMB == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.BatchStrategy == enum_BatchStrategy[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.Environment.STRING == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.DataSource.S3DataSource.S3DataType == enum_S3DataType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.DataSource.S3DataSource.S3Uri == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.ContentType == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.CompressionType == enum_CompressionType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.SplitType == enum_SplitType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformOutput.S3OutputPath == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformOutput.Accept == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformOutput.AssembleWith == enum_AssemblyType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformOutput.KmsKeyId == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformResources.InstanceType == enum_TransformInstanceType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformResources.InstanceCount == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformResources.VolumeKmsKeyId == STRING
    input.Body.CertifyForMarketplace == BOOLEAN
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateApp

enum_AppInstanceType := [ "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge" ]
enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]

valid {
    input.Body.DomainId == STRING
    input.Body.UserProfileName == STRING
    input.Body.SpaceName == STRING
    input.Body.AppType == enum_AppType[_]
    input.Body.AppName == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ResourceSpec.SageMakerImageArn == STRING
    input.Body.ResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.ResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.ResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.ResourceSpec.LifecycleConfigArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateAppImageConfig

valid {
    input.Body.AppImageConfigName == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.KernelGatewayImageConfig.KernelSpecs[_].Name == STRING
    input.Body.KernelGatewayImageConfig.KernelSpecs[_].DisplayName == STRING
    input.Body.KernelGatewayImageConfig.FileSystemConfig.MountPath == STRING
    input.Body.KernelGatewayImageConfig.FileSystemConfig.DefaultUid == INTEGER
    input.Body.KernelGatewayImageConfig.FileSystemConfig.DefaultGid == INTEGER
    input.Body.JupyterLabAppImageConfig.FileSystemConfig.MountPath == STRING
    input.Body.JupyterLabAppImageConfig.FileSystemConfig.DefaultUid == INTEGER
    input.Body.JupyterLabAppImageConfig.FileSystemConfig.DefaultGid == INTEGER
    input.Body.JupyterLabAppImageConfig.ContainerConfig.ContainerArguments[_] == STRING
    input.Body.JupyterLabAppImageConfig.ContainerConfig.ContainerEntrypoint[_] == STRING
    input.Body.JupyterLabAppImageConfig.ContainerConfig.ContainerEnvironmentVariables.STRING == STRING
    input.Body.CodeEditorAppImageConfig.FileSystemConfig.MountPath == STRING
    input.Body.CodeEditorAppImageConfig.FileSystemConfig.DefaultUid == INTEGER
    input.Body.CodeEditorAppImageConfig.FileSystemConfig.DefaultGid == INTEGER
    input.Body.CodeEditorAppImageConfig.ContainerConfig.ContainerArguments[_] == STRING
    input.Body.CodeEditorAppImageConfig.ContainerConfig.ContainerEntrypoint[_] == STRING
    input.Body.CodeEditorAppImageConfig.ContainerConfig.ContainerEnvironmentVariables.STRING == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateArtifact

enum_ArtifactSourceIdType := [ "MD5Hash", "S3ETag", "S3Version", "Custom" ]

valid {
    input.Body.ArtifactName == STRING
    input.Body.Source.SourceUri == STRING
    input.Body.Source.SourceTypes[_].SourceIdType == enum_ArtifactSourceIdType[_]
    input.Body.Source.SourceTypes[_].Value == STRING
    input.Body.ArtifactType == STRING
    input.Body.Properties.STRING == STRING
    input.Body.MetadataProperties.CommitId == STRING
    input.Body.MetadataProperties.Repository == STRING
    input.Body.MetadataProperties.GeneratedBy == STRING
    input.Body.MetadataProperties.ProjectId == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateAutoMLJob

enum_AutoMLAlgorithm := [ "xgboost", "linear-learner", "mlp", "lightgbm", "catboost", "randomforest", "extra-trees", "nn-torch", "fastai", "cnn-qr", "deepar", "prophet", "npts", "arima", "ets" ]
enum_AutoMLChannelType := [ "training", "validation" ]
enum_AutoMLMetricEnum := [ "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "BalancedAccuracy", "R2", "Recall", "RecallMacro", "Precision", "PrecisionMacro", "MAE", "MAPE", "MASE", "WAPE", "AverageWeightedQuantileLoss" ]
enum_AutoMLMode := [ "AUTO", "ENSEMBLING", "HYPERPARAMETER_TUNING" ]
enum_AutoMLS3DataType := [ "ManifestFile", "S3Prefix", "AugmentedManifestFile" ]
enum_CompressionType := [ "None", "Gzip" ]
enum_ProblemType := [ "BinaryClassification", "MulticlassClassification", "Regression" ]

valid {
    input.Body.AutoMLJobName == STRING
    input.Body.InputDataConfig[_].DataSource.S3DataSource.S3DataType == enum_AutoMLS3DataType[_]
    input.Body.InputDataConfig[_].DataSource.S3DataSource.S3Uri == STRING
    input.Body.InputDataConfig[_].CompressionType == enum_CompressionType[_]
    input.Body.InputDataConfig[_].TargetAttributeName == STRING
    input.Body.InputDataConfig[_].ContentType == STRING
    input.Body.InputDataConfig[_].ChannelType == enum_AutoMLChannelType[_]
    input.Body.InputDataConfig[_].SampleWeightAttributeName == STRING
    input.Body.OutputDataConfig.KmsKeyId == STRING
    input.Body.OutputDataConfig.S3OutputPath == STRING
    input.Body.ProblemType == enum_ProblemType[_]
    input.Body.AutoMLJobObjective.MetricName == enum_AutoMLMetricEnum[_]
    input.Body.AutoMLJobConfig.CompletionCriteria.MaxCandidates == INTEGER
    input.Body.AutoMLJobConfig.CompletionCriteria.MaxRuntimePerTrainingJobInSeconds == INTEGER
    input.Body.AutoMLJobConfig.CompletionCriteria.MaxAutoMLJobRuntimeInSeconds == INTEGER
    input.Body.AutoMLJobConfig.SecurityConfig.VolumeKmsKeyId == STRING
    input.Body.AutoMLJobConfig.SecurityConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.AutoMLJobConfig.SecurityConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.AutoMLJobConfig.SecurityConfig.VpcConfig.Subnets[_] == STRING
    input.Body.AutoMLJobConfig.CandidateGenerationConfig.FeatureSpecificationS3Uri == STRING
    input.Body.AutoMLJobConfig.CandidateGenerationConfig.AlgorithmsConfig[_].AutoMLAlgorithms[_] == enum_AutoMLAlgorithm[_]
    input.Body.AutoMLJobConfig.DataSplitConfig.ValidationFraction == FLOAT
    input.Body.AutoMLJobConfig.Mode == enum_AutoMLMode[_]
    input.Body.RoleArn == STRING
    input.Body.GenerateCandidateDefinitionsOnly == BOOLEAN
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ModelDeployConfig.AutoGenerateEndpointName == BOOLEAN
    input.Body.ModelDeployConfig.EndpointName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateAutoMLJobV2

enum_AggregationTransformationValue := [ "sum", "avg", "first", "min", "max" ]
enum_AutoMLAlgorithm := [ "xgboost", "linear-learner", "mlp", "lightgbm", "catboost", "randomforest", "extra-trees", "nn-torch", "fastai", "cnn-qr", "deepar", "prophet", "npts", "arima", "ets" ]
enum_AutoMLChannelType := [ "training", "validation" ]
enum_AutoMLMetricEnum := [ "Accuracy", "MSE", "F1", "F1macro", "AUC", "RMSE", "BalancedAccuracy", "R2", "Recall", "RecallMacro", "Precision", "PrecisionMacro", "MAE", "MAPE", "MASE", "WAPE", "AverageWeightedQuantileLoss" ]
enum_AutoMLMode := [ "AUTO", "ENSEMBLING", "HYPERPARAMETER_TUNING" ]
enum_AutoMLS3DataType := [ "ManifestFile", "S3Prefix", "AugmentedManifestFile" ]
enum_CompressionType := [ "None", "Gzip" ]
enum_ProblemType := [ "BinaryClassification", "MulticlassClassification", "Regression" ]

valid {
    input.Body.AutoMLJobName == STRING
    input.Body.AutoMLJobInputDataConfig[_].ChannelType == enum_AutoMLChannelType[_]
    input.Body.AutoMLJobInputDataConfig[_].ContentType == STRING
    input.Body.AutoMLJobInputDataConfig[_].CompressionType == enum_CompressionType[_]
    input.Body.AutoMLJobInputDataConfig[_].DataSource.S3DataSource.S3DataType == enum_AutoMLS3DataType[_]
    input.Body.AutoMLJobInputDataConfig[_].DataSource.S3DataSource.S3Uri == STRING
    input.Body.OutputDataConfig.KmsKeyId == STRING
    input.Body.OutputDataConfig.S3OutputPath == STRING
    input.Body.AutoMLProblemTypeConfig.ImageClassificationJobConfig.CompletionCriteria.MaxCandidates == INTEGER
    input.Body.AutoMLProblemTypeConfig.ImageClassificationJobConfig.CompletionCriteria.MaxRuntimePerTrainingJobInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.ImageClassificationJobConfig.CompletionCriteria.MaxAutoMLJobRuntimeInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TextClassificationJobConfig.CompletionCriteria.MaxCandidates == INTEGER
    input.Body.AutoMLProblemTypeConfig.TextClassificationJobConfig.CompletionCriteria.MaxRuntimePerTrainingJobInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TextClassificationJobConfig.CompletionCriteria.MaxAutoMLJobRuntimeInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TextClassificationJobConfig.ContentColumn == STRING
    input.Body.AutoMLProblemTypeConfig.TextClassificationJobConfig.TargetLabelColumn == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.FeatureSpecificationS3Uri == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.CompletionCriteria.MaxCandidates == INTEGER
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.CompletionCriteria.MaxRuntimePerTrainingJobInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.CompletionCriteria.MaxAutoMLJobRuntimeInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.ForecastFrequency == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.ForecastHorizon == INTEGER
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.ForecastQuantiles[_] == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Filling.STRING.frontfill == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Filling.STRING.middlefill == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Filling.STRING.backfill == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Filling.STRING.futurefill == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Filling.STRING.frontfill_value == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Filling.STRING.middlefill_value == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Filling.STRING.backfill_value == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Filling.STRING.futurefill_value == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.Transformations.Aggregation.STRING == enum_AggregationTransformationValue[_]
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.TimeSeriesConfig.TargetAttributeName == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.TimeSeriesConfig.TimestampAttributeName == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.TimeSeriesConfig.ItemIdentifierAttributeName == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.TimeSeriesConfig.GroupingAttributeNames[_] == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.HolidayConfig[_].CountryCode == STRING
    input.Body.AutoMLProblemTypeConfig.TimeSeriesForecastingJobConfig.CandidateGenerationConfig.AlgorithmsConfig[_].AutoMLAlgorithms[_] == enum_AutoMLAlgorithm[_]
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.CandidateGenerationConfig.AlgorithmsConfig[_].AutoMLAlgorithms[_] == enum_AutoMLAlgorithm[_]
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.CompletionCriteria.MaxCandidates == INTEGER
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.CompletionCriteria.MaxRuntimePerTrainingJobInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.CompletionCriteria.MaxAutoMLJobRuntimeInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.FeatureSpecificationS3Uri == STRING
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.Mode == enum_AutoMLMode[_]
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.GenerateCandidateDefinitionsOnly == BOOLEAN
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.ProblemType == enum_ProblemType[_]
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.TargetAttributeName == STRING
    input.Body.AutoMLProblemTypeConfig.TabularJobConfig.SampleWeightAttributeName == STRING
    input.Body.AutoMLProblemTypeConfig.TextGenerationJobConfig.CompletionCriteria.MaxCandidates == INTEGER
    input.Body.AutoMLProblemTypeConfig.TextGenerationJobConfig.CompletionCriteria.MaxRuntimePerTrainingJobInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TextGenerationJobConfig.CompletionCriteria.MaxAutoMLJobRuntimeInSeconds == INTEGER
    input.Body.AutoMLProblemTypeConfig.TextGenerationJobConfig.BaseModelName == STRING
    input.Body.AutoMLProblemTypeConfig.TextGenerationJobConfig.TextGenerationHyperParameters.STRING == STRING
    input.Body.AutoMLProblemTypeConfig.TextGenerationJobConfig.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.RoleArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.SecurityConfig.VolumeKmsKeyId == STRING
    input.Body.SecurityConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.SecurityConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.SecurityConfig.VpcConfig.Subnets[_] == STRING
    input.Body.AutoMLJobObjective.MetricName == enum_AutoMLMetricEnum[_]
    input.Body.ModelDeployConfig.AutoGenerateEndpointName == BOOLEAN
    input.Body.ModelDeployConfig.EndpointName == STRING
    input.Body.DataSplitConfig.ValidationFraction == FLOAT
    input.Body.AutoMLComputeConfig.EmrServerlessComputeConfig.ExecutionRoleARN == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateCluster

enum_ClusterInstanceType := [ "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.c5n.large", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.gr6.4xlarge", "ml.gr6.8xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.trn2.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge" ]
enum_ClusterNodeRecovery := [ "Automatic", "None" ]
enum_DeepHealthCheckType := [ "InstanceStress", "InstanceConnectivity" ]

valid {
    input.Body.ClusterName == STRING
    input.Body.InstanceGroups[_].InstanceCount == INTEGER
    input.Body.InstanceGroups[_].InstanceGroupName == STRING
    input.Body.InstanceGroups[_].InstanceType == enum_ClusterInstanceType[_]
    input.Body.InstanceGroups[_].LifeCycleConfig.SourceS3Uri == STRING
    input.Body.InstanceGroups[_].LifeCycleConfig.OnCreate == STRING
    input.Body.InstanceGroups[_].ExecutionRole == STRING
    input.Body.InstanceGroups[_].ThreadsPerCore == INTEGER
    input.Body.InstanceGroups[_].InstanceStorageConfigs[_].EbsVolumeConfig.VolumeSizeInGB == INTEGER
    input.Body.InstanceGroups[_].OnStartDeepHealthChecks[_] == enum_DeepHealthCheckType[_]
    input.Body.InstanceGroups[_].TrainingPlanArn == STRING
    input.Body.InstanceGroups[_].OverrideVpcConfig.SecurityGroupIds[_] == STRING
    input.Body.InstanceGroups[_].OverrideVpcConfig.Subnets[_] == STRING
    input.Body.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.VpcConfig.Subnets[_] == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.Orchestrator.Eks.ClusterArn == STRING
    input.Body.NodeRecovery == enum_ClusterNodeRecovery[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateClusterSchedulerConfig

enum_FairShare := [ "Enabled", "Disabled" ]

valid {
    input.Body.Name == STRING
    input.Body.ClusterArn == STRING
    input.Body.SchedulerConfig.PriorityClasses[_].Name == STRING
    input.Body.SchedulerConfig.PriorityClasses[_].Weight == INTEGER
    input.Body.SchedulerConfig.FairShare == enum_FairShare[_]
    input.Body.Description == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateCodeRepository

valid {
    input.Body.CodeRepositoryName == STRING
    input.Body.GitConfig.RepositoryUrl == STRING
    input.Body.GitConfig.Branch == STRING
    input.Body.GitConfig.SecretArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateCompilationJob

enum_Framework := [ "TENSORFLOW", "KERAS", "MXNET", "ONNX", "PYTORCH", "XGBOOST", "TFLITE", "DARKNET", "SKLEARN" ]
enum_TargetDevice := [ "lambda", "ml_m4", "ml_m5", "ml_m6g", "ml_c4", "ml_c5", "ml_c6g", "ml_p2", "ml_p3", "ml_g4dn", "ml_inf1", "ml_inf2", "ml_trn1", "ml_eia2", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "rasp4b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv2", "amba_cv22", "amba_cv25", "x86_win32", "x86_win64", "coreml", "jacinto_tda4vm", "imx8mplus" ]
enum_TargetPlatformAccelerator := [ "INTEL_GRAPHICS", "MALI", "NVIDIA", "NNA" ]
enum_TargetPlatformArch := [ "X86_64", "X86", "ARM64", "ARM_EABI", "ARM_EABIHF" ]
enum_TargetPlatformOs := [ "ANDROID", "LINUX" ]

valid {
    input.Body.CompilationJobName == STRING
    input.Body.RoleArn == STRING
    input.Body.ModelPackageVersionArn == STRING
    input.Body.InputConfig.S3Uri == STRING
    input.Body.InputConfig.DataInputConfig == STRING
    input.Body.InputConfig.Framework == enum_Framework[_]
    input.Body.InputConfig.FrameworkVersion == STRING
    input.Body.OutputConfig.S3OutputLocation == STRING
    input.Body.OutputConfig.TargetDevice == enum_TargetDevice[_]
    input.Body.OutputConfig.TargetPlatform.Os == enum_TargetPlatformOs[_]
    input.Body.OutputConfig.TargetPlatform.Arch == enum_TargetPlatformArch[_]
    input.Body.OutputConfig.TargetPlatform.Accelerator == enum_TargetPlatformAccelerator[_]
    input.Body.OutputConfig.CompilerOptions == STRING
    input.Body.OutputConfig.KmsKeyId == STRING
    input.Body.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.VpcConfig.Subnets[_] == STRING
    input.Body.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.StoppingCondition.MaxWaitTimeInSeconds == INTEGER
    input.Body.StoppingCondition.MaxPendingTimeInSeconds == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateComputeQuota

enum_ActivationState := [ "Enabled", "Disabled" ]
enum_ClusterInstanceType := [ "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.c5n.large", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.gr6.4xlarge", "ml.gr6.8xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.trn2.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge" ]
enum_PreemptTeamTasks := [ "Never", "LowerPriority" ]
enum_ResourceSharingStrategy := [ "Lend", "DontLend", "LendAndBorrow" ]

valid {
    input.Body.Name == STRING
    input.Body.Description == STRING
    input.Body.ClusterArn == STRING
    input.Body.ComputeQuotaConfig.ComputeQuotaResources[_].InstanceType == enum_ClusterInstanceType[_]
    input.Body.ComputeQuotaConfig.ComputeQuotaResources[_].Count == INTEGER
    input.Body.ComputeQuotaConfig.ResourceSharingConfig.Strategy == enum_ResourceSharingStrategy[_]
    input.Body.ComputeQuotaConfig.ResourceSharingConfig.BorrowLimit == INTEGER
    input.Body.ComputeQuotaConfig.PreemptTeamTasks == enum_PreemptTeamTasks[_]
    input.Body.ComputeQuotaTarget.TeamName == STRING
    input.Body.ComputeQuotaTarget.FairShareWeight == INTEGER
    input.Body.ActivationState == enum_ActivationState[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateContext

valid {
    input.Body.ContextName == STRING
    input.Body.Source.SourceUri == STRING
    input.Body.Source.SourceType == STRING
    input.Body.Source.SourceId == STRING
    input.Body.ContextType == STRING
    input.Body.Description == STRING
    input.Body.Properties.STRING == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateDataQualityJobDefinition

enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]
enum_ProcessingS3DataDistributionType := [ "FullyReplicated", "ShardedByS3Key" ]
enum_ProcessingS3InputMode := [ "Pipe", "File" ]
enum_ProcessingS3UploadMode := [ "Continuous", "EndOfJob" ]

valid {
    input.Body.JobDefinitionName == STRING
    input.Body.DataQualityBaselineConfig.BaseliningJobName == STRING
    input.Body.DataQualityBaselineConfig.ConstraintsResource.S3Uri == STRING
    input.Body.DataQualityBaselineConfig.StatisticsResource.S3Uri == STRING
    input.Body.DataQualityAppSpecification.ImageUri == STRING
    input.Body.DataQualityAppSpecification.ContainerEntrypoint[_] == STRING
    input.Body.DataQualityAppSpecification.ContainerArguments[_] == STRING
    input.Body.DataQualityAppSpecification.RecordPreprocessorSourceUri == STRING
    input.Body.DataQualityAppSpecification.PostAnalyticsProcessorSourceUri == STRING
    input.Body.DataQualityAppSpecification.Environment.STRING == STRING
    input.Body.DataQualityJobInput.EndpointInput.EndpointName == STRING
    input.Body.DataQualityJobInput.EndpointInput.LocalPath == STRING
    input.Body.DataQualityJobInput.EndpointInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.DataQualityJobInput.EndpointInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.DataQualityJobInput.EndpointInput.FeaturesAttribute == STRING
    input.Body.DataQualityJobInput.EndpointInput.InferenceAttribute == STRING
    input.Body.DataQualityJobInput.EndpointInput.ProbabilityAttribute == STRING
    input.Body.DataQualityJobInput.EndpointInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.DataQualityJobInput.EndpointInput.StartTimeOffset == STRING
    input.Body.DataQualityJobInput.EndpointInput.EndTimeOffset == STRING
    input.Body.DataQualityJobInput.EndpointInput.ExcludeFeaturesAttribute == STRING
    input.Body.DataQualityJobInput.BatchTransformInput.DataCapturedDestinationS3Uri == STRING
    input.Body.DataQualityJobInput.BatchTransformInput.DatasetFormat.Csv.Header == BOOLEAN
    input.Body.DataQualityJobInput.BatchTransformInput.DatasetFormat.Json.Line == BOOLEAN
    input.Body.DataQualityJobInput.BatchTransformInput.DatasetFormat.Parquet == {}
    input.Body.DataQualityJobInput.BatchTransformInput.LocalPath == STRING
    input.Body.DataQualityJobInput.BatchTransformInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.DataQualityJobInput.BatchTransformInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.DataQualityJobInput.BatchTransformInput.FeaturesAttribute == STRING
    input.Body.DataQualityJobInput.BatchTransformInput.InferenceAttribute == STRING
    input.Body.DataQualityJobInput.BatchTransformInput.ProbabilityAttribute == STRING
    input.Body.DataQualityJobInput.BatchTransformInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.DataQualityJobInput.BatchTransformInput.StartTimeOffset == STRING
    input.Body.DataQualityJobInput.BatchTransformInput.EndTimeOffset == STRING
    input.Body.DataQualityJobInput.BatchTransformInput.ExcludeFeaturesAttribute == STRING
    input.Body.DataQualityJobOutputConfig.MonitoringOutputs[_].S3Output.S3Uri == STRING
    input.Body.DataQualityJobOutputConfig.MonitoringOutputs[_].S3Output.LocalPath == STRING
    input.Body.DataQualityJobOutputConfig.MonitoringOutputs[_].S3Output.S3UploadMode == enum_ProcessingS3UploadMode[_]
    input.Body.DataQualityJobOutputConfig.KmsKeyId == STRING
    input.Body.JobResources.ClusterConfig.InstanceCount == INTEGER
    input.Body.JobResources.ClusterConfig.InstanceType == enum_ProcessingInstanceType[_]
    input.Body.JobResources.ClusterConfig.VolumeSizeInGB == INTEGER
    input.Body.JobResources.ClusterConfig.VolumeKmsKeyId == STRING
    input.Body.NetworkConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.NetworkConfig.EnableNetworkIsolation == BOOLEAN
    input.Body.NetworkConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.NetworkConfig.VpcConfig.Subnets[_] == STRING
    input.Body.RoleArn == STRING
    input.Body.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateDeviceFleet

enum_EdgePresetDeploymentType := [ "GreengrassV2Component" ]

valid {
    input.Body.DeviceFleetName == STRING
    input.Body.RoleArn == STRING
    input.Body.Description == STRING
    input.Body.OutputConfig.S3OutputLocation == STRING
    input.Body.OutputConfig.KmsKeyId == STRING
    input.Body.OutputConfig.PresetDeploymentType == enum_EdgePresetDeploymentType[_]
    input.Body.OutputConfig.PresetDeploymentConfig == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.EnableIotRoleAlias == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateDomain

enum_AppInstanceType := [ "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge" ]
enum_AppNetworkAccessType := [ "PublicInternetOnly", "VpcOnly" ]
enum_AppSecurityGroupManagement := [ "Service", "Customer" ]
enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]
enum_AuthMode := [ "SSO", "IAM" ]
enum_AutoMountHomeEFS := [ "Enabled", "Disabled", "DefaultAsDomain" ]
enum_DataSourceName := [ "SalesforceGenie", "Snowflake" ]
enum_ExecutionRoleIdentityConfig := [ "USER_PROFILE_NAME", "DISABLED" ]
enum_FeatureStatus := [ "ENABLED", "DISABLED" ]
enum_LifecycleManagement := [ "ENABLED", "DISABLED" ]
enum_MlTools := [ "DataWrangler", "FeatureStore", "EmrClusters", "AutoMl", "Experiments", "Training", "ModelEvaluation", "Pipelines", "Models", "JumpStart", "InferenceRecommender", "Endpoints", "Projects", "InferenceOptimization", "PerformanceEvaluation", "LakeraGuard", "Comet", "DeepchecksLLMEvaluation", "Fiddler", "HyperPodClusters" ]
enum_NotebookOutputOption := [ "Allowed", "Disabled" ]
enum_RStudioServerProAccessStatus := [ "ENABLED", "DISABLED" ]
enum_RStudioServerProUserGroup := [ "R_STUDIO_ADMIN", "R_STUDIO_USER" ]
enum_SageMakerImageName := [ "sagemaker_distribution" ]
enum_StudioWebPortal := [ "ENABLED", "DISABLED" ]
enum_TagPropagation := [ "ENABLED", "DISABLED" ]

valid {
    input.Body.DomainName == STRING
    input.Body.AuthMode == enum_AuthMode[_]
    input.Body.DefaultUserSettings.ExecutionRole == STRING
    input.Body.DefaultUserSettings.SecurityGroups[_] == STRING
    input.Body.DefaultUserSettings.SharingSettings.NotebookOutputOption == enum_NotebookOutputOption[_]
    input.Body.DefaultUserSettings.SharingSettings.S3OutputPath == STRING
    input.Body.DefaultUserSettings.SharingSettings.S3KmsKeyId == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.RStudioServerProAppSettings.AccessStatus == enum_RStudioServerProAccessStatus[_]
    input.Body.DefaultUserSettings.RStudioServerProAppSettings.UserGroup == enum_RStudioServerProUserGroup[_]
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultUserSettings.RSessionAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.TimeSeriesForecastingSettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.TimeSeriesForecastingSettings.AmazonForecastRoleArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.ModelRegisterSettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.ModelRegisterSettings.CrossAccountModelRegisterRoleArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.WorkspaceSettings.S3ArtifactPath == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.WorkspaceSettings.S3KmsKeyId == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].DataSourceName == enum_DataSourceName[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].SecretArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.DirectDeploySettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.KendraSettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.GenerativeAiSettings.AmazonBedrockRoleArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.EmrServerlessSettings.ExecutionRoleArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.EmrServerlessSettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultUserSettings.CodeEditorAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.DefaultUserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.CodeEditorAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultUserSettings.JupyterLabAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.DefaultUserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.JupyterLabAppSettings.EmrSettings.AssumableRoleArns[_] == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.EmrSettings.ExecutionRoleArns[_] == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.SpaceStorageSettings.DefaultEbsStorageSettings.DefaultEbsVolumeSizeInGb == INTEGER
    input.Body.DefaultUserSettings.SpaceStorageSettings.DefaultEbsStorageSettings.MaximumEbsVolumeSizeInGb == INTEGER
    input.Body.DefaultUserSettings.DefaultLandingUri == STRING
    input.Body.DefaultUserSettings.StudioWebPortal == enum_StudioWebPortal[_]
    input.Body.DefaultUserSettings.CustomPosixUserConfig.Uid == LONG
    input.Body.DefaultUserSettings.CustomPosixUserConfig.Gid == LONG
    input.Body.DefaultUserSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemId == STRING
    input.Body.DefaultUserSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemPath == STRING
    input.Body.DefaultUserSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemId == STRING
    input.Body.DefaultUserSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemPath == STRING
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenMlTools[_] == enum_MlTools[_]
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenAppTypes[_] == enum_AppType[_]
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenInstanceTypes[_] == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenSageMakerImageVersionAliases[_].SageMakerImageName == enum_SageMakerImageName[_]
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenSageMakerImageVersionAliases[_].VersionAliases[_] == STRING
    input.Body.DefaultUserSettings.AutoMountHomeEFS == enum_AutoMountHomeEFS[_]
    input.Body.DomainSettings.SecurityGroupIds[_] == STRING
    input.Body.DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn == STRING
    input.Body.DomainSettings.RStudioServerProDomainSettings.RStudioConnectUrl == STRING
    input.Body.DomainSettings.RStudioServerProDomainSettings.RStudioPackageManagerUrl == STRING
    input.Body.DomainSettings.RStudioServerProDomainSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DomainSettings.RStudioServerProDomainSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DomainSettings.RStudioServerProDomainSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DomainSettings.RStudioServerProDomainSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DomainSettings.RStudioServerProDomainSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DomainSettings.ExecutionRoleIdentityConfig == enum_ExecutionRoleIdentityConfig[_]
    input.Body.DomainSettings.DockerSettings.EnableDockerAccess == enum_FeatureStatus[_]
    input.Body.DomainSettings.DockerSettings.VpcOnlyTrustedAccounts[_] == STRING
    input.Body.DomainSettings.AmazonQSettings.Status == enum_FeatureStatus[_]
    input.Body.DomainSettings.AmazonQSettings.QProfileArn == STRING
    input.Body.SubnetIds[_] == STRING
    input.Body.VpcId == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.AppNetworkAccessType == enum_AppNetworkAccessType[_]
    input.Body.HomeEfsFileSystemKmsKeyId == STRING
    input.Body.KmsKeyId == STRING
    input.Body.AppSecurityGroupManagement == enum_AppSecurityGroupManagement[_]
    input.Body.TagPropagation == enum_TagPropagation[_]
    input.Body.DefaultSpaceSettings.ExecutionRole == STRING
    input.Body.DefaultSpaceSettings.SecurityGroups[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.EmrSettings.AssumableRoleArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.EmrSettings.ExecutionRoleArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.DefaultSpaceSettings.SpaceStorageSettings.DefaultEbsStorageSettings.DefaultEbsVolumeSizeInGb == INTEGER
    input.Body.DefaultSpaceSettings.SpaceStorageSettings.DefaultEbsStorageSettings.MaximumEbsVolumeSizeInGb == INTEGER
    input.Body.DefaultSpaceSettings.CustomPosixUserConfig.Uid == LONG
    input.Body.DefaultSpaceSettings.CustomPosixUserConfig.Gid == LONG
    input.Body.DefaultSpaceSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemId == STRING
    input.Body.DefaultSpaceSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemPath == STRING
    input.Body.DefaultSpaceSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemId == STRING
    input.Body.DefaultSpaceSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemPath == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateEdgeDeploymentPlan

enum_DeviceSubsetType := [ "PERCENTAGE", "SELECTION", "NAMECONTAINS" ]
enum_FailureHandlingPolicy := [ "ROLLBACK_ON_FAILURE", "DO_NOTHING" ]

valid {
    input.Body.EdgeDeploymentPlanName == STRING
    input.Body.ModelConfigs[_].ModelHandle == STRING
    input.Body.ModelConfigs[_].EdgePackagingJobName == STRING
    input.Body.DeviceFleetName == STRING
    input.Body.Stages[_].StageName == STRING
    input.Body.Stages[_].DeviceSelectionConfig.DeviceSubsetType == enum_DeviceSubsetType[_]
    input.Body.Stages[_].DeviceSelectionConfig.Percentage == INTEGER
    input.Body.Stages[_].DeviceSelectionConfig.DeviceNames[_] == STRING
    input.Body.Stages[_].DeviceSelectionConfig.DeviceNameContains == STRING
    input.Body.Stages[_].DeploymentConfig.FailureHandlingPolicy == enum_FailureHandlingPolicy[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateEdgeDeploymentStage

enum_DeviceSubsetType := [ "PERCENTAGE", "SELECTION", "NAMECONTAINS" ]
enum_FailureHandlingPolicy := [ "ROLLBACK_ON_FAILURE", "DO_NOTHING" ]

valid {
    input.Body.EdgeDeploymentPlanName == STRING
    input.Body.Stages[_].StageName == STRING
    input.Body.Stages[_].DeviceSelectionConfig.DeviceSubsetType == enum_DeviceSubsetType[_]
    input.Body.Stages[_].DeviceSelectionConfig.Percentage == INTEGER
    input.Body.Stages[_].DeviceSelectionConfig.DeviceNames[_] == STRING
    input.Body.Stages[_].DeviceSelectionConfig.DeviceNameContains == STRING
    input.Body.Stages[_].DeploymentConfig.FailureHandlingPolicy == enum_FailureHandlingPolicy[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateEdgePackagingJob

enum_EdgePresetDeploymentType := [ "GreengrassV2Component" ]

valid {
    input.Body.EdgePackagingJobName == STRING
    input.Body.CompilationJobName == STRING
    input.Body.ModelName == STRING
    input.Body.ModelVersion == STRING
    input.Body.RoleArn == STRING
    input.Body.OutputConfig.S3OutputLocation == STRING
    input.Body.OutputConfig.KmsKeyId == STRING
    input.Body.OutputConfig.PresetDeploymentType == enum_EdgePresetDeploymentType[_]
    input.Body.OutputConfig.PresetDeploymentConfig == STRING
    input.Body.ResourceKey == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateEndpoint

enum_CapacitySizeType := [ "INSTANCE_COUNT", "CAPACITY_PERCENT" ]
enum_TrafficRoutingConfigType := [ "ALL_AT_ONCE", "CANARY", "LINEAR" ]

valid {
    input.Body.EndpointName == STRING
    input.Body.EndpointConfigName == STRING
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.Type == enum_TrafficRoutingConfigType[_]
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.WaitIntervalInSeconds == INTEGER
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.CanarySize.Type == enum_CapacitySizeType[_]
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.CanarySize.Value == INTEGER
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.LinearStepSize.Type == enum_CapacitySizeType[_]
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.LinearStepSize.Value == INTEGER
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TerminationWaitInSeconds == INTEGER
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.MaximumExecutionTimeoutInSeconds == INTEGER
    input.Body.DeploymentConfig.RollingUpdatePolicy.MaximumBatchSize.Type == enum_CapacitySizeType[_]
    input.Body.DeploymentConfig.RollingUpdatePolicy.MaximumBatchSize.Value == INTEGER
    input.Body.DeploymentConfig.RollingUpdatePolicy.WaitIntervalInSeconds == INTEGER
    input.Body.DeploymentConfig.RollingUpdatePolicy.MaximumExecutionTimeoutInSeconds == INTEGER
    input.Body.DeploymentConfig.RollingUpdatePolicy.RollbackMaximumBatchSize.Type == enum_CapacitySizeType[_]
    input.Body.DeploymentConfig.RollingUpdatePolicy.RollbackMaximumBatchSize.Value == INTEGER
    input.Body.DeploymentConfig.AutoRollbackConfiguration.Alarms[_].AlarmName == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateEndpointConfig

enum_AsyncNotificationTopicTypes := [ "SUCCESS_NOTIFICATION_TOPIC", "ERROR_NOTIFICATION_TOPIC" ]
enum_CaptureMode := [ "Input", "Output", "InputAndOutput" ]
enum_ClarifyFeatureType := [ "numerical", "categorical", "text" ]
enum_ClarifyTextGranularity := [ "token", "sentence", "paragraph" ]
enum_ClarifyTextLanguage := [ "af", "sq", "ar", "hy", "eu", "bn", "bg", "ca", "zh", "hr", "cs", "da", "nl", "en", "et", "fi", "fr", "de", "el", "gu", "he", "hi", "hu", "is", "id", "ga", "it", "kn", "ky", "lv", "lt", "lb", "mk", "ml", "mr", "ne", "nb", "fa", "pl", "pt", "ro", "ru", "sa", "sr", "tn", "si", "sk", "sl", "es", "sv", "tl", "ta", "tt", "te", "tr", "uk", "ur", "yo", "lij", "xx" ]
enum_ManagedInstanceScalingStatus := [ "ENABLED", "DISABLED" ]
enum_ProductionVariantAcceleratorType := [ "ml.eia1.medium", "ml.eia1.large", "ml.eia1.xlarge", "ml.eia2.medium", "ml.eia2.large", "ml.eia2.xlarge" ]
enum_ProductionVariantInferenceAmiVersion := [ "al2-ami-sagemaker-inference-gpu-2" ]
enum_ProductionVariantInstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.12xlarge", "ml.m5d.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.large", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.12xlarge", "ml.r5d.24xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.dl1.24xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p4d.24xlarge", "ml.c7g.large", "ml.c7g.xlarge", "ml.c7g.2xlarge", "ml.c7g.4xlarge", "ml.c7g.8xlarge", "ml.c7g.12xlarge", "ml.c7g.16xlarge", "ml.m6g.large", "ml.m6g.xlarge", "ml.m6g.2xlarge", "ml.m6g.4xlarge", "ml.m6g.8xlarge", "ml.m6g.12xlarge", "ml.m6g.16xlarge", "ml.m6gd.large", "ml.m6gd.xlarge", "ml.m6gd.2xlarge", "ml.m6gd.4xlarge", "ml.m6gd.8xlarge", "ml.m6gd.12xlarge", "ml.m6gd.16xlarge", "ml.c6g.large", "ml.c6g.xlarge", "ml.c6g.2xlarge", "ml.c6g.4xlarge", "ml.c6g.8xlarge", "ml.c6g.12xlarge", "ml.c6g.16xlarge", "ml.c6gd.large", "ml.c6gd.xlarge", "ml.c6gd.2xlarge", "ml.c6gd.4xlarge", "ml.c6gd.8xlarge", "ml.c6gd.12xlarge", "ml.c6gd.16xlarge", "ml.c6gn.large", "ml.c6gn.xlarge", "ml.c6gn.2xlarge", "ml.c6gn.4xlarge", "ml.c6gn.8xlarge", "ml.c6gn.12xlarge", "ml.c6gn.16xlarge", "ml.r6g.large", "ml.r6g.xlarge", "ml.r6g.2xlarge", "ml.r6g.4xlarge", "ml.r6g.8xlarge", "ml.r6g.12xlarge", "ml.r6g.16xlarge", "ml.r6gd.large", "ml.r6gd.xlarge", "ml.r6gd.2xlarge", "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", "ml.r6gd.16xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.trn2.48xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge" ]
enum_RoutingStrategy := [ "LEAST_OUTSTANDING_REQUESTS", "RANDOM" ]

valid {
    input.Body.EndpointConfigName == STRING
    input.Body.ProductionVariants[_].VariantName == STRING
    input.Body.ProductionVariants[_].ModelName == STRING
    input.Body.ProductionVariants[_].InitialInstanceCount == INTEGER
    input.Body.ProductionVariants[_].InstanceType == enum_ProductionVariantInstanceType[_]
    input.Body.ProductionVariants[_].InitialVariantWeight == FLOAT
    input.Body.ProductionVariants[_].AcceleratorType == enum_ProductionVariantAcceleratorType[_]
    input.Body.ProductionVariants[_].CoreDumpConfig.DestinationS3Uri == STRING
    input.Body.ProductionVariants[_].CoreDumpConfig.KmsKeyId == STRING
    input.Body.ProductionVariants[_].ServerlessConfig.MemorySizeInMB == INTEGER
    input.Body.ProductionVariants[_].ServerlessConfig.MaxConcurrency == INTEGER
    input.Body.ProductionVariants[_].ServerlessConfig.ProvisionedConcurrency == INTEGER
    input.Body.ProductionVariants[_].VolumeSizeInGB == INTEGER
    input.Body.ProductionVariants[_].ModelDataDownloadTimeoutInSeconds == INTEGER
    input.Body.ProductionVariants[_].ContainerStartupHealthCheckTimeoutInSeconds == INTEGER
    input.Body.ProductionVariants[_].EnableSSMAccess == BOOLEAN
    input.Body.ProductionVariants[_].ManagedInstanceScaling.Status == enum_ManagedInstanceScalingStatus[_]
    input.Body.ProductionVariants[_].ManagedInstanceScaling.MinInstanceCount == INTEGER
    input.Body.ProductionVariants[_].ManagedInstanceScaling.MaxInstanceCount == INTEGER
    input.Body.ProductionVariants[_].RoutingConfig.RoutingStrategy == enum_RoutingStrategy[_]
    input.Body.ProductionVariants[_].InferenceAmiVersion == enum_ProductionVariantInferenceAmiVersion[_]
    input.Body.DataCaptureConfig.EnableCapture == BOOLEAN
    input.Body.DataCaptureConfig.InitialSamplingPercentage == INTEGER
    input.Body.DataCaptureConfig.DestinationS3Uri == STRING
    input.Body.DataCaptureConfig.KmsKeyId == STRING
    input.Body.DataCaptureConfig.CaptureOptions[_].CaptureMode == enum_CaptureMode[_]
    input.Body.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes[_] == STRING
    input.Body.DataCaptureConfig.CaptureContentTypeHeader.JsonContentTypes[_] == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.KmsKeyId == STRING
    input.Body.AsyncInferenceConfig.ClientConfig.MaxConcurrentInvocationsPerInstance == INTEGER
    input.Body.AsyncInferenceConfig.OutputConfig.KmsKeyId == STRING
    input.Body.AsyncInferenceConfig.OutputConfig.S3OutputPath == STRING
    input.Body.AsyncInferenceConfig.OutputConfig.NotificationConfig.SuccessTopic == STRING
    input.Body.AsyncInferenceConfig.OutputConfig.NotificationConfig.ErrorTopic == STRING
    input.Body.AsyncInferenceConfig.OutputConfig.NotificationConfig.IncludeInferenceResponseIn[_] == enum_AsyncNotificationTopicTypes[_]
    input.Body.AsyncInferenceConfig.OutputConfig.S3FailurePath == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.EnableExplanations == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.FeaturesAttribute == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.ContentTemplate == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.MaxRecordCount == INTEGER
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.MaxPayloadInMB == INTEGER
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.ProbabilityIndex == INTEGER
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.LabelIndex == INTEGER
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.ProbabilityAttribute == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.LabelAttribute == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.LabelHeaders[_] == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.FeatureHeaders[_] == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.InferenceConfig.FeatureTypes[_] == enum_ClarifyFeatureType[_]
    input.Body.ExplainerConfig.ClarifyExplainerConfig.ShapConfig.ShapBaselineConfig.MimeType == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.ShapConfig.ShapBaselineConfig.ShapBaseline == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.ShapConfig.ShapBaselineConfig.ShapBaselineUri == STRING
    input.Body.ExplainerConfig.ClarifyExplainerConfig.ShapConfig.NumberOfSamples == INTEGER
    input.Body.ExplainerConfig.ClarifyExplainerConfig.ShapConfig.UseLogit == BOOLEAN
    input.Body.ExplainerConfig.ClarifyExplainerConfig.ShapConfig.Seed == INTEGER
    input.Body.ExplainerConfig.ClarifyExplainerConfig.ShapConfig.TextConfig.Language == enum_ClarifyTextLanguage[_]
    input.Body.ExplainerConfig.ClarifyExplainerConfig.ShapConfig.TextConfig.Granularity == enum_ClarifyTextGranularity[_]
    input.Body.ShadowProductionVariants[_].VariantName == STRING
    input.Body.ShadowProductionVariants[_].ModelName == STRING
    input.Body.ShadowProductionVariants[_].InitialInstanceCount == INTEGER
    input.Body.ShadowProductionVariants[_].InstanceType == enum_ProductionVariantInstanceType[_]
    input.Body.ShadowProductionVariants[_].InitialVariantWeight == FLOAT
    input.Body.ShadowProductionVariants[_].AcceleratorType == enum_ProductionVariantAcceleratorType[_]
    input.Body.ShadowProductionVariants[_].CoreDumpConfig.DestinationS3Uri == STRING
    input.Body.ShadowProductionVariants[_].CoreDumpConfig.KmsKeyId == STRING
    input.Body.ShadowProductionVariants[_].ServerlessConfig.MemorySizeInMB == INTEGER
    input.Body.ShadowProductionVariants[_].ServerlessConfig.MaxConcurrency == INTEGER
    input.Body.ShadowProductionVariants[_].ServerlessConfig.ProvisionedConcurrency == INTEGER
    input.Body.ShadowProductionVariants[_].VolumeSizeInGB == INTEGER
    input.Body.ShadowProductionVariants[_].ModelDataDownloadTimeoutInSeconds == INTEGER
    input.Body.ShadowProductionVariants[_].ContainerStartupHealthCheckTimeoutInSeconds == INTEGER
    input.Body.ShadowProductionVariants[_].EnableSSMAccess == BOOLEAN
    input.Body.ShadowProductionVariants[_].ManagedInstanceScaling.Status == enum_ManagedInstanceScalingStatus[_]
    input.Body.ShadowProductionVariants[_].ManagedInstanceScaling.MinInstanceCount == INTEGER
    input.Body.ShadowProductionVariants[_].ManagedInstanceScaling.MaxInstanceCount == INTEGER
    input.Body.ShadowProductionVariants[_].RoutingConfig.RoutingStrategy == enum_RoutingStrategy[_]
    input.Body.ShadowProductionVariants[_].InferenceAmiVersion == enum_ProductionVariantInferenceAmiVersion[_]
    input.Body.ExecutionRoleArn == STRING
    input.Body.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.VpcConfig.Subnets[_] == STRING
    input.Body.EnableNetworkIsolation == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateExperiment

valid {
    input.Body.ExperimentName == STRING
    input.Body.DisplayName == STRING
    input.Body.Description == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateFeatureGroup

enum_CollectionType := [ "List", "Set", "Vector" ]
enum_FeatureType := [ "Integral", "Fractional", "String" ]
enum_StorageType := [ "Standard", "InMemory" ]
enum_TableFormat := [ "Default", "Glue", "Iceberg" ]
enum_ThroughputMode := [ "OnDemand", "Provisioned" ]
enum_TtlDurationUnit := [ "Seconds", "Minutes", "Hours", "Days", "Weeks" ]

valid {
    input.Body.FeatureGroupName == STRING
    input.Body.RecordIdentifierFeatureName == STRING
    input.Body.EventTimeFeatureName == STRING
    input.Body.FeatureDefinitions[_].FeatureName == STRING
    input.Body.FeatureDefinitions[_].FeatureType == enum_FeatureType[_]
    input.Body.FeatureDefinitions[_].CollectionType == enum_CollectionType[_]
    input.Body.FeatureDefinitions[_].CollectionConfig.VectorConfig.Dimension == INTEGER
    input.Body.OnlineStoreConfig.SecurityConfig.KmsKeyId == STRING
    input.Body.OnlineStoreConfig.EnableOnlineStore == BOOLEAN
    input.Body.OnlineStoreConfig.TtlDuration.Unit == enum_TtlDurationUnit[_]
    input.Body.OnlineStoreConfig.TtlDuration.Value == INTEGER
    input.Body.OnlineStoreConfig.StorageType == enum_StorageType[_]
    input.Body.OfflineStoreConfig.S3StorageConfig.S3Uri == STRING
    input.Body.OfflineStoreConfig.S3StorageConfig.KmsKeyId == STRING
    input.Body.OfflineStoreConfig.S3StorageConfig.ResolvedOutputS3Uri == STRING
    input.Body.OfflineStoreConfig.DisableGlueTableCreation == BOOLEAN
    input.Body.OfflineStoreConfig.DataCatalogConfig.TableName == STRING
    input.Body.OfflineStoreConfig.DataCatalogConfig.Catalog == STRING
    input.Body.OfflineStoreConfig.DataCatalogConfig.Database == STRING
    input.Body.OfflineStoreConfig.TableFormat == enum_TableFormat[_]
    input.Body.ThroughputConfig.ThroughputMode == enum_ThroughputMode[_]
    input.Body.ThroughputConfig.ProvisionedReadCapacityUnits == INTEGER
    input.Body.ThroughputConfig.ProvisionedWriteCapacityUnits == INTEGER
    input.Body.RoleArn == STRING
    input.Body.Description == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateFlowDefinition

enum_AwsManagedHumanLoopRequestSource := [ "AWS/Rekognition/DetectModerationLabels/Image/V3", "AWS/Textract/AnalyzeDocument/Forms/V1" ]

valid {
    input.Body.FlowDefinitionName == STRING
    input.Body.HumanLoopRequestSource.AwsManagedHumanLoopRequestSource == enum_AwsManagedHumanLoopRequestSource[_]
    input.Body.HumanLoopActivationConfig.HumanLoopActivationConditionsConfig.HumanLoopActivationConditions == STRING
    input.Body.HumanLoopConfig.WorkteamArn == STRING
    input.Body.HumanLoopConfig.HumanTaskUiArn == STRING
    input.Body.HumanLoopConfig.TaskTitle == STRING
    input.Body.HumanLoopConfig.TaskDescription == STRING
    input.Body.HumanLoopConfig.TaskCount == INTEGER
    input.Body.HumanLoopConfig.TaskAvailabilityLifetimeInSeconds == INTEGER
    input.Body.HumanLoopConfig.TaskTimeLimitInSeconds == INTEGER
    input.Body.HumanLoopConfig.TaskKeywords[_] == STRING
    input.Body.HumanLoopConfig.PublicWorkforceTaskPrice.AmountInUsd.Dollars == INTEGER
    input.Body.HumanLoopConfig.PublicWorkforceTaskPrice.AmountInUsd.Cents == INTEGER
    input.Body.HumanLoopConfig.PublicWorkforceTaskPrice.AmountInUsd.TenthFractionsOfACent == INTEGER
    input.Body.OutputConfig.S3OutputPath == STRING
    input.Body.OutputConfig.KmsKeyId == STRING
    input.Body.RoleArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateHub

valid {
    input.Body.HubName == STRING
    input.Body.HubDescription == STRING
    input.Body.HubDisplayName == STRING
    input.Body.HubSearchKeywords[_] == STRING
    input.Body.S3StorageConfig.S3OutputPath == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateHubContentReference

valid {
    input.Body.HubName == STRING
    input.Body.SageMakerPublicHubContentArn == STRING
    input.Body.HubContentName == STRING
    input.Body.MinVersion == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateHumanTaskUi

valid {
    input.Body.HumanTaskUiName == STRING
    input.Body.UiTemplate.Content == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateHyperParameterTuningJob

enum_AutotuneMode := [ "Enabled" ]
enum_CompleteOnConvergence := [ "Disabled", "Enabled" ]
enum_CompressionType := [ "None", "Gzip" ]
enum_FileSystemAccessMode := [ "rw", "ro" ]
enum_FileSystemType := [ "EFS", "FSxLustre" ]
enum_HyperParameterScalingType := [ "Auto", "Linear", "Logarithmic", "ReverseLogarithmic" ]
enum_HyperParameterTuningAllocationStrategy := [ "Prioritized" ]
enum_HyperParameterTuningJobObjectiveType := [ "Maximize", "Minimize" ]
enum_HyperParameterTuningJobStrategyType := [ "Bayesian", "Random", "Hyperband", "Grid" ]
enum_HyperParameterTuningJobWarmStartType := [ "IdenticalDataAndAlgorithm", "TransferLearning" ]
enum_OutputCompressionType := [ "GZIP", "NONE" ]
enum_RecordWrapper := [ "None", "RecordIO" ]
enum_S3DataDistribution := [ "FullyReplicated", "ShardedByS3Key" ]
enum_S3DataType := [ "ManifestFile", "S3Prefix", "AugmentedManifestFile" ]
enum_TrainingInputMode := [ "Pipe", "File", "FastFile" ]
enum_TrainingInstanceType := [ "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5n.xlarge", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.trn2.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.8xlarge", "ml.c6i.4xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" ]
enum_TrainingJobEarlyStoppingType := [ "Off", "Auto" ]

valid {
    input.Body.HyperParameterTuningJobName == STRING
    input.Body.HyperParameterTuningJobConfig.Strategy == enum_HyperParameterTuningJobStrategyType[_]
    input.Body.HyperParameterTuningJobConfig.StrategyConfig.HyperbandStrategyConfig.MinResource == INTEGER
    input.Body.HyperParameterTuningJobConfig.StrategyConfig.HyperbandStrategyConfig.MaxResource == INTEGER
    input.Body.HyperParameterTuningJobConfig.HyperParameterTuningJobObjective.Type == enum_HyperParameterTuningJobObjectiveType[_]
    input.Body.HyperParameterTuningJobConfig.HyperParameterTuningJobObjective.MetricName == STRING
    input.Body.HyperParameterTuningJobConfig.ResourceLimits.MaxNumberOfTrainingJobs == INTEGER
    input.Body.HyperParameterTuningJobConfig.ResourceLimits.MaxParallelTrainingJobs == INTEGER
    input.Body.HyperParameterTuningJobConfig.ResourceLimits.MaxRuntimeInSeconds == INTEGER
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges[_].Name == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges[_].MinValue == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges[_].MaxValue == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges[_].ScalingType == enum_HyperParameterScalingType[_]
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges[_].Name == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges[_].MinValue == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges[_].MaxValue == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges[_].ScalingType == enum_HyperParameterScalingType[_]
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges[_].Name == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges[_].Values[_] == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.AutoParameters[_].Name == STRING
    input.Body.HyperParameterTuningJobConfig.ParameterRanges.AutoParameters[_].ValueHint == STRING
    input.Body.HyperParameterTuningJobConfig.TrainingJobEarlyStoppingType == enum_TrainingJobEarlyStoppingType[_]
    input.Body.HyperParameterTuningJobConfig.TuningJobCompletionCriteria.TargetObjectiveMetricValue == FLOAT
    input.Body.HyperParameterTuningJobConfig.TuningJobCompletionCriteria.BestObjectiveNotImproving.MaxNumberOfTrainingJobsNotImproving == INTEGER
    input.Body.HyperParameterTuningJobConfig.TuningJobCompletionCriteria.ConvergenceDetected.CompleteOnConvergence == enum_CompleteOnConvergence[_]
    input.Body.HyperParameterTuningJobConfig.RandomSeed == INTEGER
    input.Body.TrainingJobDefinition.DefinitionName == STRING
    input.Body.TrainingJobDefinition.TuningObjective.Type == enum_HyperParameterTuningJobObjectiveType[_]
    input.Body.TrainingJobDefinition.TuningObjective.MetricName == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges[_].Name == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges[_].MinValue == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges[_].MaxValue == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges[_].ScalingType == enum_HyperParameterScalingType[_]
    input.Body.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges[_].Name == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges[_].MinValue == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges[_].MaxValue == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges[_].ScalingType == enum_HyperParameterScalingType[_]
    input.Body.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges[_].Name == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges[_].Values[_] == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.AutoParameters[_].Name == STRING
    input.Body.TrainingJobDefinition.HyperParameterRanges.AutoParameters[_].ValueHint == STRING
    input.Body.TrainingJobDefinition.StaticHyperParameters.STRING == STRING
    input.Body.TrainingJobDefinition.AlgorithmSpecification.TrainingImage == STRING
    input.Body.TrainingJobDefinition.AlgorithmSpecification.TrainingInputMode == enum_TrainingInputMode[_]
    input.Body.TrainingJobDefinition.AlgorithmSpecification.AlgorithmName == STRING
    input.Body.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions[_].Name == STRING
    input.Body.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions[_].Regex == STRING
    input.Body.TrainingJobDefinition.RoleArn == STRING
    input.Body.TrainingJobDefinition.InputDataConfig[_].ChannelName == STRING
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.S3DataType == enum_S3DataType[_]
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.S3Uri == STRING
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.S3DataDistributionType == enum_S3DataDistribution[_]
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.AttributeNames[_] == STRING
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.S3DataSource.InstanceGroupNames[_] == STRING
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemId == STRING
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemAccessMode == enum_FileSystemAccessMode[_]
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemType == enum_FileSystemType[_]
    input.Body.TrainingJobDefinition.InputDataConfig[_].DataSource.FileSystemDataSource.DirectoryPath == STRING
    input.Body.TrainingJobDefinition.InputDataConfig[_].ContentType == STRING
    input.Body.TrainingJobDefinition.InputDataConfig[_].CompressionType == enum_CompressionType[_]
    input.Body.TrainingJobDefinition.InputDataConfig[_].RecordWrapperType == enum_RecordWrapper[_]
    input.Body.TrainingJobDefinition.InputDataConfig[_].InputMode == enum_TrainingInputMode[_]
    input.Body.TrainingJobDefinition.InputDataConfig[_].ShuffleConfig.Seed == LONG
    input.Body.TrainingJobDefinition.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.TrainingJobDefinition.VpcConfig.Subnets[_] == STRING
    input.Body.TrainingJobDefinition.OutputDataConfig.KmsKeyId == STRING
    input.Body.TrainingJobDefinition.OutputDataConfig.S3OutputPath == STRING
    input.Body.TrainingJobDefinition.OutputDataConfig.CompressionType == enum_OutputCompressionType[_]
    input.Body.TrainingJobDefinition.ResourceConfig.InstanceType == enum_TrainingInstanceType[_]
    input.Body.TrainingJobDefinition.ResourceConfig.InstanceCount == INTEGER
    input.Body.TrainingJobDefinition.ResourceConfig.VolumeSizeInGB == INTEGER
    input.Body.TrainingJobDefinition.ResourceConfig.VolumeKmsKeyId == STRING
    input.Body.TrainingJobDefinition.ResourceConfig.KeepAlivePeriodInSeconds == INTEGER
    input.Body.TrainingJobDefinition.ResourceConfig.InstanceGroups[_].InstanceType == enum_TrainingInstanceType[_]
    input.Body.TrainingJobDefinition.ResourceConfig.InstanceGroups[_].InstanceCount == INTEGER
    input.Body.TrainingJobDefinition.ResourceConfig.InstanceGroups[_].InstanceGroupName == STRING
    input.Body.TrainingJobDefinition.ResourceConfig.TrainingPlanArn == STRING
    input.Body.TrainingJobDefinition.HyperParameterTuningResourceConfig.InstanceType == enum_TrainingInstanceType[_]
    input.Body.TrainingJobDefinition.HyperParameterTuningResourceConfig.InstanceCount == INTEGER
    input.Body.TrainingJobDefinition.HyperParameterTuningResourceConfig.VolumeSizeInGB == INTEGER
    input.Body.TrainingJobDefinition.HyperParameterTuningResourceConfig.VolumeKmsKeyId == STRING
    input.Body.TrainingJobDefinition.HyperParameterTuningResourceConfig.AllocationStrategy == enum_HyperParameterTuningAllocationStrategy[_]
    input.Body.TrainingJobDefinition.HyperParameterTuningResourceConfig.InstanceConfigs[_].InstanceType == enum_TrainingInstanceType[_]
    input.Body.TrainingJobDefinition.HyperParameterTuningResourceConfig.InstanceConfigs[_].InstanceCount == INTEGER
    input.Body.TrainingJobDefinition.HyperParameterTuningResourceConfig.InstanceConfigs[_].VolumeSizeInGB == INTEGER
    input.Body.TrainingJobDefinition.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.TrainingJobDefinition.StoppingCondition.MaxWaitTimeInSeconds == INTEGER
    input.Body.TrainingJobDefinition.StoppingCondition.MaxPendingTimeInSeconds == INTEGER
    input.Body.TrainingJobDefinition.EnableNetworkIsolation == BOOLEAN
    input.Body.TrainingJobDefinition.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.TrainingJobDefinition.EnableManagedSpotTraining == BOOLEAN
    input.Body.TrainingJobDefinition.CheckpointConfig.S3Uri == STRING
    input.Body.TrainingJobDefinition.CheckpointConfig.LocalPath == STRING
    input.Body.TrainingJobDefinition.RetryStrategy.MaximumRetryAttempts == INTEGER
    input.Body.TrainingJobDefinition.Environment.STRING == STRING
    input.Body.TrainingJobDefinitions[_].DefinitionName == STRING
    input.Body.TrainingJobDefinitions[_].TuningObjective.Type == enum_HyperParameterTuningJobObjectiveType[_]
    input.Body.TrainingJobDefinitions[_].TuningObjective.MetricName == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.IntegerParameterRanges[_].Name == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.IntegerParameterRanges[_].MinValue == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.IntegerParameterRanges[_].MaxValue == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.IntegerParameterRanges[_].ScalingType == enum_HyperParameterScalingType[_]
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.ContinuousParameterRanges[_].Name == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.ContinuousParameterRanges[_].MinValue == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.ContinuousParameterRanges[_].MaxValue == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.ContinuousParameterRanges[_].ScalingType == enum_HyperParameterScalingType[_]
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.CategoricalParameterRanges[_].Name == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.CategoricalParameterRanges[_].Values[_] == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.AutoParameters[_].Name == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterRanges.AutoParameters[_].ValueHint == STRING
    input.Body.TrainingJobDefinitions[_].StaticHyperParameters.STRING == STRING
    input.Body.TrainingJobDefinitions[_].AlgorithmSpecification.TrainingImage == STRING
    input.Body.TrainingJobDefinitions[_].AlgorithmSpecification.TrainingInputMode == enum_TrainingInputMode[_]
    input.Body.TrainingJobDefinitions[_].AlgorithmSpecification.AlgorithmName == STRING
    input.Body.TrainingJobDefinitions[_].AlgorithmSpecification.MetricDefinitions[_].Name == STRING
    input.Body.TrainingJobDefinitions[_].AlgorithmSpecification.MetricDefinitions[_].Regex == STRING
    input.Body.TrainingJobDefinitions[_].RoleArn == STRING
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].ChannelName == STRING
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.S3DataSource.S3DataType == enum_S3DataType[_]
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.S3DataSource.S3Uri == STRING
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.S3DataSource.S3DataDistributionType == enum_S3DataDistribution[_]
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.S3DataSource.AttributeNames[_] == STRING
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.S3DataSource.InstanceGroupNames[_] == STRING
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemId == STRING
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemAccessMode == enum_FileSystemAccessMode[_]
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemType == enum_FileSystemType[_]
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].DataSource.FileSystemDataSource.DirectoryPath == STRING
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].ContentType == STRING
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].CompressionType == enum_CompressionType[_]
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].RecordWrapperType == enum_RecordWrapper[_]
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].InputMode == enum_TrainingInputMode[_]
    input.Body.TrainingJobDefinitions[_].InputDataConfig[_].ShuffleConfig.Seed == LONG
    input.Body.TrainingJobDefinitions[_].VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.TrainingJobDefinitions[_].VpcConfig.Subnets[_] == STRING
    input.Body.TrainingJobDefinitions[_].OutputDataConfig.KmsKeyId == STRING
    input.Body.TrainingJobDefinitions[_].OutputDataConfig.S3OutputPath == STRING
    input.Body.TrainingJobDefinitions[_].OutputDataConfig.CompressionType == enum_OutputCompressionType[_]
    input.Body.TrainingJobDefinitions[_].ResourceConfig.InstanceType == enum_TrainingInstanceType[_]
    input.Body.TrainingJobDefinitions[_].ResourceConfig.InstanceCount == INTEGER
    input.Body.TrainingJobDefinitions[_].ResourceConfig.VolumeSizeInGB == INTEGER
    input.Body.TrainingJobDefinitions[_].ResourceConfig.VolumeKmsKeyId == STRING
    input.Body.TrainingJobDefinitions[_].ResourceConfig.KeepAlivePeriodInSeconds == INTEGER
    input.Body.TrainingJobDefinitions[_].ResourceConfig.InstanceGroups[_].InstanceType == enum_TrainingInstanceType[_]
    input.Body.TrainingJobDefinitions[_].ResourceConfig.InstanceGroups[_].InstanceCount == INTEGER
    input.Body.TrainingJobDefinitions[_].ResourceConfig.InstanceGroups[_].InstanceGroupName == STRING
    input.Body.TrainingJobDefinitions[_].ResourceConfig.TrainingPlanArn == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterTuningResourceConfig.InstanceType == enum_TrainingInstanceType[_]
    input.Body.TrainingJobDefinitions[_].HyperParameterTuningResourceConfig.InstanceCount == INTEGER
    input.Body.TrainingJobDefinitions[_].HyperParameterTuningResourceConfig.VolumeSizeInGB == INTEGER
    input.Body.TrainingJobDefinitions[_].HyperParameterTuningResourceConfig.VolumeKmsKeyId == STRING
    input.Body.TrainingJobDefinitions[_].HyperParameterTuningResourceConfig.AllocationStrategy == enum_HyperParameterTuningAllocationStrategy[_]
    input.Body.TrainingJobDefinitions[_].HyperParameterTuningResourceConfig.InstanceConfigs[_].InstanceType == enum_TrainingInstanceType[_]
    input.Body.TrainingJobDefinitions[_].HyperParameterTuningResourceConfig.InstanceConfigs[_].InstanceCount == INTEGER
    input.Body.TrainingJobDefinitions[_].HyperParameterTuningResourceConfig.InstanceConfigs[_].VolumeSizeInGB == INTEGER
    input.Body.TrainingJobDefinitions[_].StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.TrainingJobDefinitions[_].StoppingCondition.MaxWaitTimeInSeconds == INTEGER
    input.Body.TrainingJobDefinitions[_].StoppingCondition.MaxPendingTimeInSeconds == INTEGER
    input.Body.TrainingJobDefinitions[_].EnableNetworkIsolation == BOOLEAN
    input.Body.TrainingJobDefinitions[_].EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.TrainingJobDefinitions[_].EnableManagedSpotTraining == BOOLEAN
    input.Body.TrainingJobDefinitions[_].CheckpointConfig.S3Uri == STRING
    input.Body.TrainingJobDefinitions[_].CheckpointConfig.LocalPath == STRING
    input.Body.TrainingJobDefinitions[_].RetryStrategy.MaximumRetryAttempts == INTEGER
    input.Body.TrainingJobDefinitions[_].Environment.STRING == STRING
    input.Body.WarmStartConfig.ParentHyperParameterTuningJobs[_].HyperParameterTuningJobName == STRING
    input.Body.WarmStartConfig.WarmStartType == enum_HyperParameterTuningJobWarmStartType[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.Autotune.Mode == enum_AutotuneMode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateImage

valid {
    input.Body.Description == STRING
    input.Body.DisplayName == STRING
    input.Body.ImageName == STRING
    input.Body.RoleArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateImageVersion

enum_JobType := [ "TRAINING", "INFERENCE", "NOTEBOOK_KERNEL" ]
enum_Processor := [ "CPU", "GPU" ]
enum_VendorGuidance := [ "NOT_PROVIDED", "STABLE", "TO_BE_ARCHIVED", "ARCHIVED" ]

valid {
    input.Body.BaseImage == STRING
    input.Body.ClientToken == STRING
    input.Body.ImageName == STRING
    input.Body.Aliases[_] == STRING
    input.Body.VendorGuidance == enum_VendorGuidance[_]
    input.Body.JobType == enum_JobType[_]
    input.Body.MLFramework == STRING
    input.Body.ProgrammingLang == STRING
    input.Body.Processor == enum_Processor[_]
    input.Body.Horovod == BOOLEAN
    input.Body.ReleaseNotes == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateInferenceComponent

valid {
    input.Body.InferenceComponentName == STRING
    input.Body.EndpointName == STRING
    input.Body.VariantName == STRING
    input.Body.Specification.ModelName == STRING
    input.Body.Specification.Container.Image == STRING
    input.Body.Specification.Container.ArtifactUrl == STRING
    input.Body.Specification.Container.Environment.STRING == STRING
    input.Body.Specification.StartupParameters.ModelDataDownloadTimeoutInSeconds == INTEGER
    input.Body.Specification.StartupParameters.ContainerStartupHealthCheckTimeoutInSeconds == INTEGER
    input.Body.Specification.ComputeResourceRequirements.NumberOfCpuCoresRequired == FLOAT
    input.Body.Specification.ComputeResourceRequirements.NumberOfAcceleratorDevicesRequired == FLOAT
    input.Body.Specification.ComputeResourceRequirements.MinMemoryRequiredInMb == INTEGER
    input.Body.Specification.ComputeResourceRequirements.MaxMemoryRequiredInMb == INTEGER
    input.Body.Specification.BaseInferenceComponentName == STRING
    input.Body.RuntimeConfig.CopyCount == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateInferenceExperiment

enum_InferenceExperimentType := [ "ShadowMode" ]
enum_InstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge" ]
enum_ModelInfrastructureType := [ "RealTimeInference" ]

valid {
    input.Body.Name == STRING
    input.Body.Type == enum_InferenceExperimentType[_]
    input.Body.Schedule.StartTime == TIMESTAMP
    input.Body.Schedule.EndTime == TIMESTAMP
    input.Body.Description == STRING
    input.Body.RoleArn == STRING
    input.Body.EndpointName == STRING
    input.Body.ModelVariants[_].ModelName == STRING
    input.Body.ModelVariants[_].VariantName == STRING
    input.Body.ModelVariants[_].InfrastructureConfig.InfrastructureType == enum_ModelInfrastructureType[_]
    input.Body.ModelVariants[_].InfrastructureConfig.RealTimeInferenceConfig.InstanceType == enum_InstanceType[_]
    input.Body.ModelVariants[_].InfrastructureConfig.RealTimeInferenceConfig.InstanceCount == INTEGER
    input.Body.DataStorageConfig.Destination == STRING
    input.Body.DataStorageConfig.KmsKey == STRING
    input.Body.DataStorageConfig.ContentType.CsvContentTypes[_] == STRING
    input.Body.DataStorageConfig.ContentType.JsonContentTypes[_] == STRING
    input.Body.ShadowModeConfig.SourceModelVariantName == STRING
    input.Body.ShadowModeConfig.ShadowModelVariants[_].ShadowModelVariantName == STRING
    input.Body.ShadowModeConfig.ShadowModelVariants[_].SamplingPercentage == INTEGER
    input.Body.KmsKey == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateInferenceRecommendationsJob

enum_FlatInvocations := [ "Continue", "Stop" ]
enum_ProductionVariantInstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.12xlarge", "ml.m5d.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.large", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.12xlarge", "ml.r5d.24xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.dl1.24xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p4d.24xlarge", "ml.c7g.large", "ml.c7g.xlarge", "ml.c7g.2xlarge", "ml.c7g.4xlarge", "ml.c7g.8xlarge", "ml.c7g.12xlarge", "ml.c7g.16xlarge", "ml.m6g.large", "ml.m6g.xlarge", "ml.m6g.2xlarge", "ml.m6g.4xlarge", "ml.m6g.8xlarge", "ml.m6g.12xlarge", "ml.m6g.16xlarge", "ml.m6gd.large", "ml.m6gd.xlarge", "ml.m6gd.2xlarge", "ml.m6gd.4xlarge", "ml.m6gd.8xlarge", "ml.m6gd.12xlarge", "ml.m6gd.16xlarge", "ml.c6g.large", "ml.c6g.xlarge", "ml.c6g.2xlarge", "ml.c6g.4xlarge", "ml.c6g.8xlarge", "ml.c6g.12xlarge", "ml.c6g.16xlarge", "ml.c6gd.large", "ml.c6gd.xlarge", "ml.c6gd.2xlarge", "ml.c6gd.4xlarge", "ml.c6gd.8xlarge", "ml.c6gd.12xlarge", "ml.c6gd.16xlarge", "ml.c6gn.large", "ml.c6gn.xlarge", "ml.c6gn.2xlarge", "ml.c6gn.4xlarge", "ml.c6gn.8xlarge", "ml.c6gn.12xlarge", "ml.c6gn.16xlarge", "ml.r6g.large", "ml.r6g.xlarge", "ml.r6g.2xlarge", "ml.r6g.4xlarge", "ml.r6g.8xlarge", "ml.r6g.12xlarge", "ml.r6g.16xlarge", "ml.r6gd.large", "ml.r6gd.xlarge", "ml.r6gd.2xlarge", "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", "ml.r6gd.16xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.trn2.48xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge" ]
enum_RecommendationJobSupportedEndpointType := [ "RealTime", "Serverless" ]
enum_RecommendationJobType := [ "Default", "Advanced" ]
enum_TrafficType := [ "PHASES", "STAIRS" ]

valid {
    input.Body.JobName == STRING
    input.Body.JobType == enum_RecommendationJobType[_]
    input.Body.RoleArn == STRING
    input.Body.InputConfig.ModelPackageVersionArn == STRING
    input.Body.InputConfig.ModelName == STRING
    input.Body.InputConfig.JobDurationInSeconds == INTEGER
    input.Body.InputConfig.TrafficPattern.TrafficType == enum_TrafficType[_]
    input.Body.InputConfig.TrafficPattern.Phases[_].InitialNumberOfUsers == INTEGER
    input.Body.InputConfig.TrafficPattern.Phases[_].SpawnRate == INTEGER
    input.Body.InputConfig.TrafficPattern.Phases[_].DurationInSeconds == INTEGER
    input.Body.InputConfig.TrafficPattern.Stairs.DurationInSeconds == INTEGER
    input.Body.InputConfig.TrafficPattern.Stairs.NumberOfSteps == INTEGER
    input.Body.InputConfig.TrafficPattern.Stairs.UsersPerStep == INTEGER
    input.Body.InputConfig.ResourceLimit.MaxNumberOfTests == INTEGER
    input.Body.InputConfig.ResourceLimit.MaxParallelOfTests == INTEGER
    input.Body.InputConfig.EndpointConfigurations[_].InstanceType == enum_ProductionVariantInstanceType[_]
    input.Body.InputConfig.EndpointConfigurations[_].ServerlessConfig.MemorySizeInMB == INTEGER
    input.Body.InputConfig.EndpointConfigurations[_].ServerlessConfig.MaxConcurrency == INTEGER
    input.Body.InputConfig.EndpointConfigurations[_].ServerlessConfig.ProvisionedConcurrency == INTEGER
    input.Body.InputConfig.EndpointConfigurations[_].InferenceSpecificationName == STRING
    input.Body.InputConfig.EndpointConfigurations[_].EnvironmentParameterRanges.CategoricalParameterRanges[_].Name == STRING
    input.Body.InputConfig.EndpointConfigurations[_].EnvironmentParameterRanges.CategoricalParameterRanges[_].Value[_] == STRING
    input.Body.InputConfig.VolumeKmsKeyId == STRING
    input.Body.InputConfig.ContainerConfig.Domain == STRING
    input.Body.InputConfig.ContainerConfig.Task == STRING
    input.Body.InputConfig.ContainerConfig.Framework == STRING
    input.Body.InputConfig.ContainerConfig.FrameworkVersion == STRING
    input.Body.InputConfig.ContainerConfig.PayloadConfig.SamplePayloadUrl == STRING
    input.Body.InputConfig.ContainerConfig.PayloadConfig.SupportedContentTypes[_] == STRING
    input.Body.InputConfig.ContainerConfig.NearestModelName == STRING
    input.Body.InputConfig.ContainerConfig.SupportedInstanceTypes[_] == STRING
    input.Body.InputConfig.ContainerConfig.SupportedEndpointType == enum_RecommendationJobSupportedEndpointType[_]
    input.Body.InputConfig.ContainerConfig.DataInputConfig == STRING
    input.Body.InputConfig.ContainerConfig.SupportedResponseMIMETypes[_] == STRING
    input.Body.InputConfig.Endpoints[_].EndpointName == STRING
    input.Body.InputConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.InputConfig.VpcConfig.Subnets[_] == STRING
    input.Body.JobDescription == STRING
    input.Body.StoppingConditions.MaxInvocations == INTEGER
    input.Body.StoppingConditions.ModelLatencyThresholds[_].Percentile == STRING
    input.Body.StoppingConditions.ModelLatencyThresholds[_].ValueInMilliseconds == INTEGER
    input.Body.StoppingConditions.FlatInvocations == enum_FlatInvocations[_]
    input.Body.OutputConfig.KmsKeyId == STRING
    input.Body.OutputConfig.CompiledOutputConfig.S3OutputUri == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateLabelingJob

enum_ContentClassifier := [ "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent" ]

valid {
    input.Body.LabelingJobName == STRING
    input.Body.LabelAttributeName == STRING
    input.Body.InputConfig.DataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.InputConfig.DataSource.SnsDataSource.SnsTopicArn == STRING
    input.Body.InputConfig.DataAttributes.ContentClassifiers[_] == enum_ContentClassifier[_]
    input.Body.OutputConfig.S3OutputPath == STRING
    input.Body.OutputConfig.KmsKeyId == STRING
    input.Body.OutputConfig.SnsTopicArn == STRING
    input.Body.RoleArn == STRING
    input.Body.LabelCategoryConfigS3Uri == STRING
    input.Body.StoppingConditions.MaxHumanLabeledObjectCount == INTEGER
    input.Body.StoppingConditions.MaxPercentageOfInputDatasetLabeled == INTEGER
    input.Body.LabelingJobAlgorithmsConfig.LabelingJobAlgorithmSpecificationArn == STRING
    input.Body.LabelingJobAlgorithmsConfig.InitialActiveLearningModelArn == STRING
    input.Body.LabelingJobAlgorithmsConfig.LabelingJobResourceConfig.VolumeKmsKeyId == STRING
    input.Body.LabelingJobAlgorithmsConfig.LabelingJobResourceConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.LabelingJobAlgorithmsConfig.LabelingJobResourceConfig.VpcConfig.Subnets[_] == STRING
    input.Body.HumanTaskConfig.WorkteamArn == STRING
    input.Body.HumanTaskConfig.UiConfig.UiTemplateS3Uri == STRING
    input.Body.HumanTaskConfig.UiConfig.HumanTaskUiArn == STRING
    input.Body.HumanTaskConfig.PreHumanTaskLambdaArn == STRING
    input.Body.HumanTaskConfig.TaskKeywords[_] == STRING
    input.Body.HumanTaskConfig.TaskTitle == STRING
    input.Body.HumanTaskConfig.TaskDescription == STRING
    input.Body.HumanTaskConfig.NumberOfHumanWorkersPerDataObject == INTEGER
    input.Body.HumanTaskConfig.TaskTimeLimitInSeconds == INTEGER
    input.Body.HumanTaskConfig.TaskAvailabilityLifetimeInSeconds == INTEGER
    input.Body.HumanTaskConfig.MaxConcurrentTaskCount == INTEGER
    input.Body.HumanTaskConfig.AnnotationConsolidationConfig.AnnotationConsolidationLambdaArn == STRING
    input.Body.HumanTaskConfig.PublicWorkforceTaskPrice.AmountInUsd.Dollars == INTEGER
    input.Body.HumanTaskConfig.PublicWorkforceTaskPrice.AmountInUsd.Cents == INTEGER
    input.Body.HumanTaskConfig.PublicWorkforceTaskPrice.AmountInUsd.TenthFractionsOfACent == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMlflowTrackingServer

enum_TrackingServerSize := [ "Small", "Medium", "Large" ]

valid {
    input.Body.TrackingServerName == STRING
    input.Body.ArtifactStoreUri == STRING
    input.Body.TrackingServerSize == enum_TrackingServerSize[_]
    input.Body.MlflowVersion == STRING
    input.Body.RoleArn == STRING
    input.Body.AutomaticModelRegistration == BOOLEAN
    input.Body.WeeklyMaintenanceWindowStart == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateModel

enum_ContainerMode := [ "SingleModel", "MultiModel" ]
enum_InferenceExecutionMode := [ "Serial", "Direct" ]
enum_ModelCacheSetting := [ "Enabled", "Disabled" ]
enum_ModelCompressionType := [ "None", "Gzip" ]
enum_RepositoryAccessMode := [ "Platform", "Vpc" ]
enum_S3ModelDataType := [ "S3Prefix", "S3Object" ]

valid {
    input.Body.ModelName == STRING
    input.Body.PrimaryContainer.ContainerHostname == STRING
    input.Body.PrimaryContainer.Image == STRING
    input.Body.PrimaryContainer.ImageConfig.RepositoryAccessMode == enum_RepositoryAccessMode[_]
    input.Body.PrimaryContainer.ImageConfig.RepositoryAuthConfig.RepositoryCredentialsProviderArn == STRING
    input.Body.PrimaryContainer.Mode == enum_ContainerMode[_]
    input.Body.PrimaryContainer.ModelDataUrl == STRING
    input.Body.PrimaryContainer.ModelDataSource.S3DataSource.S3Uri == STRING
    input.Body.PrimaryContainer.ModelDataSource.S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.PrimaryContainer.ModelDataSource.S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.PrimaryContainer.ModelDataSource.S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.PrimaryContainer.ModelDataSource.S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.PrimaryContainer.ModelDataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.PrimaryContainer.AdditionalModelDataSources[_].ChannelName == STRING
    input.Body.PrimaryContainer.AdditionalModelDataSources[_].S3DataSource.S3Uri == STRING
    input.Body.PrimaryContainer.AdditionalModelDataSources[_].S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.PrimaryContainer.AdditionalModelDataSources[_].S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.PrimaryContainer.AdditionalModelDataSources[_].S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.PrimaryContainer.AdditionalModelDataSources[_].S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.PrimaryContainer.AdditionalModelDataSources[_].S3DataSource.ManifestS3Uri == STRING
    input.Body.PrimaryContainer.Environment.STRING == STRING
    input.Body.PrimaryContainer.ModelPackageName == STRING
    input.Body.PrimaryContainer.InferenceSpecificationName == STRING
    input.Body.PrimaryContainer.MultiModelConfig.ModelCacheSetting == enum_ModelCacheSetting[_]
    input.Body.Containers[_].ContainerHostname == STRING
    input.Body.Containers[_].Image == STRING
    input.Body.Containers[_].ImageConfig.RepositoryAccessMode == enum_RepositoryAccessMode[_]
    input.Body.Containers[_].ImageConfig.RepositoryAuthConfig.RepositoryCredentialsProviderArn == STRING
    input.Body.Containers[_].Mode == enum_ContainerMode[_]
    input.Body.Containers[_].ModelDataUrl == STRING
    input.Body.Containers[_].ModelDataSource.S3DataSource.S3Uri == STRING
    input.Body.Containers[_].ModelDataSource.S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.Containers[_].ModelDataSource.S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.Containers[_].ModelDataSource.S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.Containers[_].ModelDataSource.S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.Containers[_].ModelDataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.Containers[_].AdditionalModelDataSources[_].ChannelName == STRING
    input.Body.Containers[_].AdditionalModelDataSources[_].S3DataSource.S3Uri == STRING
    input.Body.Containers[_].AdditionalModelDataSources[_].S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.Containers[_].AdditionalModelDataSources[_].S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.Containers[_].AdditionalModelDataSources[_].S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.Containers[_].AdditionalModelDataSources[_].S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.Containers[_].AdditionalModelDataSources[_].S3DataSource.ManifestS3Uri == STRING
    input.Body.Containers[_].Environment.STRING == STRING
    input.Body.Containers[_].ModelPackageName == STRING
    input.Body.Containers[_].InferenceSpecificationName == STRING
    input.Body.Containers[_].MultiModelConfig.ModelCacheSetting == enum_ModelCacheSetting[_]
    input.Body.InferenceExecutionConfig.Mode == enum_InferenceExecutionMode[_]
    input.Body.ExecutionRoleArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.VpcConfig.Subnets[_] == STRING
    input.Body.EnableNetworkIsolation == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateModelBiasJobDefinition

enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]
enum_ProcessingS3DataDistributionType := [ "FullyReplicated", "ShardedByS3Key" ]
enum_ProcessingS3InputMode := [ "Pipe", "File" ]
enum_ProcessingS3UploadMode := [ "Continuous", "EndOfJob" ]

valid {
    input.Body.JobDefinitionName == STRING
    input.Body.ModelBiasBaselineConfig.BaseliningJobName == STRING
    input.Body.ModelBiasBaselineConfig.ConstraintsResource.S3Uri == STRING
    input.Body.ModelBiasAppSpecification.ImageUri == STRING
    input.Body.ModelBiasAppSpecification.ConfigUri == STRING
    input.Body.ModelBiasAppSpecification.Environment.STRING == STRING
    input.Body.ModelBiasJobInput.EndpointInput.EndpointName == STRING
    input.Body.ModelBiasJobInput.EndpointInput.LocalPath == STRING
    input.Body.ModelBiasJobInput.EndpointInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.ModelBiasJobInput.EndpointInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.ModelBiasJobInput.EndpointInput.FeaturesAttribute == STRING
    input.Body.ModelBiasJobInput.EndpointInput.InferenceAttribute == STRING
    input.Body.ModelBiasJobInput.EndpointInput.ProbabilityAttribute == STRING
    input.Body.ModelBiasJobInput.EndpointInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.ModelBiasJobInput.EndpointInput.StartTimeOffset == STRING
    input.Body.ModelBiasJobInput.EndpointInput.EndTimeOffset == STRING
    input.Body.ModelBiasJobInput.EndpointInput.ExcludeFeaturesAttribute == STRING
    input.Body.ModelBiasJobInput.BatchTransformInput.DataCapturedDestinationS3Uri == STRING
    input.Body.ModelBiasJobInput.BatchTransformInput.DatasetFormat.Csv.Header == BOOLEAN
    input.Body.ModelBiasJobInput.BatchTransformInput.DatasetFormat.Json.Line == BOOLEAN
    input.Body.ModelBiasJobInput.BatchTransformInput.DatasetFormat.Parquet == {}
    input.Body.ModelBiasJobInput.BatchTransformInput.LocalPath == STRING
    input.Body.ModelBiasJobInput.BatchTransformInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.ModelBiasJobInput.BatchTransformInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.ModelBiasJobInput.BatchTransformInput.FeaturesAttribute == STRING
    input.Body.ModelBiasJobInput.BatchTransformInput.InferenceAttribute == STRING
    input.Body.ModelBiasJobInput.BatchTransformInput.ProbabilityAttribute == STRING
    input.Body.ModelBiasJobInput.BatchTransformInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.ModelBiasJobInput.BatchTransformInput.StartTimeOffset == STRING
    input.Body.ModelBiasJobInput.BatchTransformInput.EndTimeOffset == STRING
    input.Body.ModelBiasJobInput.BatchTransformInput.ExcludeFeaturesAttribute == STRING
    input.Body.ModelBiasJobInput.GroundTruthS3Input.S3Uri == STRING
    input.Body.ModelBiasJobOutputConfig.MonitoringOutputs[_].S3Output.S3Uri == STRING
    input.Body.ModelBiasJobOutputConfig.MonitoringOutputs[_].S3Output.LocalPath == STRING
    input.Body.ModelBiasJobOutputConfig.MonitoringOutputs[_].S3Output.S3UploadMode == enum_ProcessingS3UploadMode[_]
    input.Body.ModelBiasJobOutputConfig.KmsKeyId == STRING
    input.Body.JobResources.ClusterConfig.InstanceCount == INTEGER
    input.Body.JobResources.ClusterConfig.InstanceType == enum_ProcessingInstanceType[_]
    input.Body.JobResources.ClusterConfig.VolumeSizeInGB == INTEGER
    input.Body.JobResources.ClusterConfig.VolumeKmsKeyId == STRING
    input.Body.NetworkConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.NetworkConfig.EnableNetworkIsolation == BOOLEAN
    input.Body.NetworkConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.NetworkConfig.VpcConfig.Subnets[_] == STRING
    input.Body.RoleArn == STRING
    input.Body.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateModelCard

enum_ModelCardStatus := [ "Draft", "PendingReview", "Approved", "Archived" ]

valid {
    input.Body.ModelCardName == STRING
    input.Body.SecurityConfig.KmsKeyId == STRING
    input.Body.Content == STRING
    input.Body.ModelCardStatus == enum_ModelCardStatus[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateModelCardExportJob

valid {
    input.Body.ModelCardName == STRING
    input.Body.ModelCardVersion == INTEGER
    input.Body.ModelCardExportJobName == STRING
    input.Body.OutputConfig.S3OutputPath == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateModelExplainabilityJobDefinition

enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]
enum_ProcessingS3DataDistributionType := [ "FullyReplicated", "ShardedByS3Key" ]
enum_ProcessingS3InputMode := [ "Pipe", "File" ]
enum_ProcessingS3UploadMode := [ "Continuous", "EndOfJob" ]

valid {
    input.Body.JobDefinitionName == STRING
    input.Body.ModelExplainabilityBaselineConfig.BaseliningJobName == STRING
    input.Body.ModelExplainabilityBaselineConfig.ConstraintsResource.S3Uri == STRING
    input.Body.ModelExplainabilityAppSpecification.ImageUri == STRING
    input.Body.ModelExplainabilityAppSpecification.ConfigUri == STRING
    input.Body.ModelExplainabilityAppSpecification.Environment.STRING == STRING
    input.Body.ModelExplainabilityJobInput.EndpointInput.EndpointName == STRING
    input.Body.ModelExplainabilityJobInput.EndpointInput.LocalPath == STRING
    input.Body.ModelExplainabilityJobInput.EndpointInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.ModelExplainabilityJobInput.EndpointInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.ModelExplainabilityJobInput.EndpointInput.FeaturesAttribute == STRING
    input.Body.ModelExplainabilityJobInput.EndpointInput.InferenceAttribute == STRING
    input.Body.ModelExplainabilityJobInput.EndpointInput.ProbabilityAttribute == STRING
    input.Body.ModelExplainabilityJobInput.EndpointInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.ModelExplainabilityJobInput.EndpointInput.StartTimeOffset == STRING
    input.Body.ModelExplainabilityJobInput.EndpointInput.EndTimeOffset == STRING
    input.Body.ModelExplainabilityJobInput.EndpointInput.ExcludeFeaturesAttribute == STRING
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.DataCapturedDestinationS3Uri == STRING
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.DatasetFormat.Csv.Header == BOOLEAN
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.DatasetFormat.Json.Line == BOOLEAN
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.DatasetFormat.Parquet == {}
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.LocalPath == STRING
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.FeaturesAttribute == STRING
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.InferenceAttribute == STRING
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.ProbabilityAttribute == STRING
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.StartTimeOffset == STRING
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.EndTimeOffset == STRING
    input.Body.ModelExplainabilityJobInput.BatchTransformInput.ExcludeFeaturesAttribute == STRING
    input.Body.ModelExplainabilityJobOutputConfig.MonitoringOutputs[_].S3Output.S3Uri == STRING
    input.Body.ModelExplainabilityJobOutputConfig.MonitoringOutputs[_].S3Output.LocalPath == STRING
    input.Body.ModelExplainabilityJobOutputConfig.MonitoringOutputs[_].S3Output.S3UploadMode == enum_ProcessingS3UploadMode[_]
    input.Body.ModelExplainabilityJobOutputConfig.KmsKeyId == STRING
    input.Body.JobResources.ClusterConfig.InstanceCount == INTEGER
    input.Body.JobResources.ClusterConfig.InstanceType == enum_ProcessingInstanceType[_]
    input.Body.JobResources.ClusterConfig.VolumeSizeInGB == INTEGER
    input.Body.JobResources.ClusterConfig.VolumeKmsKeyId == STRING
    input.Body.NetworkConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.NetworkConfig.EnableNetworkIsolation == BOOLEAN
    input.Body.NetworkConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.NetworkConfig.VpcConfig.Subnets[_] == STRING
    input.Body.RoleArn == STRING
    input.Body.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateModelPackage

enum_AdditionalS3DataSourceDataType := [ "S3Object", "S3Prefix" ]
enum_AssemblyType := [ "None", "Line" ]
enum_BatchStrategy := [ "MultiRecord", "SingleRecord" ]
enum_CompressionType := [ "None", "Gzip" ]
enum_ModelApprovalStatus := [ "Approved", "Rejected", "PendingManualApproval" ]
enum_ModelCardStatus := [ "Draft", "PendingReview", "Approved", "Archived" ]
enum_ModelCompressionType := [ "None", "Gzip" ]
enum_ProductionVariantInstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.12xlarge", "ml.m5d.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.large", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.12xlarge", "ml.r5d.24xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.dl1.24xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p4d.24xlarge", "ml.c7g.large", "ml.c7g.xlarge", "ml.c7g.2xlarge", "ml.c7g.4xlarge", "ml.c7g.8xlarge", "ml.c7g.12xlarge", "ml.c7g.16xlarge", "ml.m6g.large", "ml.m6g.xlarge", "ml.m6g.2xlarge", "ml.m6g.4xlarge", "ml.m6g.8xlarge", "ml.m6g.12xlarge", "ml.m6g.16xlarge", "ml.m6gd.large", "ml.m6gd.xlarge", "ml.m6gd.2xlarge", "ml.m6gd.4xlarge", "ml.m6gd.8xlarge", "ml.m6gd.12xlarge", "ml.m6gd.16xlarge", "ml.c6g.large", "ml.c6g.xlarge", "ml.c6g.2xlarge", "ml.c6g.4xlarge", "ml.c6g.8xlarge", "ml.c6g.12xlarge", "ml.c6g.16xlarge", "ml.c6gd.large", "ml.c6gd.xlarge", "ml.c6gd.2xlarge", "ml.c6gd.4xlarge", "ml.c6gd.8xlarge", "ml.c6gd.12xlarge", "ml.c6gd.16xlarge", "ml.c6gn.large", "ml.c6gn.xlarge", "ml.c6gn.2xlarge", "ml.c6gn.4xlarge", "ml.c6gn.8xlarge", "ml.c6gn.12xlarge", "ml.c6gn.16xlarge", "ml.r6g.large", "ml.r6g.xlarge", "ml.r6g.2xlarge", "ml.r6g.4xlarge", "ml.r6g.8xlarge", "ml.r6g.12xlarge", "ml.r6g.16xlarge", "ml.r6gd.large", "ml.r6gd.xlarge", "ml.r6gd.2xlarge", "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", "ml.r6gd.16xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.trn2.48xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge" ]
enum_S3DataType := [ "ManifestFile", "S3Prefix", "AugmentedManifestFile" ]
enum_S3ModelDataType := [ "S3Prefix", "S3Object" ]
enum_SkipModelValidation := [ "All", "None" ]
enum_SplitType := [ "None", "Line", "RecordIO", "TFRecord" ]
enum_TransformInstanceType := [ "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge" ]

valid {
    input.Body.ModelPackageName == STRING
    input.Body.ModelPackageGroupName == STRING
    input.Body.ModelPackageDescription == STRING
    input.Body.InferenceSpecification.Containers[_].ContainerHostname == STRING
    input.Body.InferenceSpecification.Containers[_].Image == STRING
    input.Body.InferenceSpecification.Containers[_].ImageDigest == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataUrl == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.S3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].ProductId == STRING
    input.Body.InferenceSpecification.Containers[_].Environment.STRING == STRING
    input.Body.InferenceSpecification.Containers[_].ModelInput.DataInputConfig == STRING
    input.Body.InferenceSpecification.Containers[_].Framework == STRING
    input.Body.InferenceSpecification.Containers[_].FrameworkVersion == STRING
    input.Body.InferenceSpecification.Containers[_].NearestModelName == STRING
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.S3DataType == enum_AdditionalS3DataSourceDataType[_]
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.S3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.CompressionType == enum_CompressionType[_]
    input.Body.InferenceSpecification.SupportedTransformInstanceTypes[_] == enum_TransformInstanceType[_]
    input.Body.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes[_] == enum_ProductionVariantInstanceType[_]
    input.Body.InferenceSpecification.SupportedContentTypes[_] == STRING
    input.Body.InferenceSpecification.SupportedResponseMIMETypes[_] == STRING
    input.Body.ValidationSpecification.ValidationRole == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].ProfileName == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.MaxConcurrentTransforms == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.MaxPayloadInMB == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.BatchStrategy == enum_BatchStrategy[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.Environment.STRING == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.DataSource.S3DataSource.S3DataType == enum_S3DataType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.DataSource.S3DataSource.S3Uri == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.ContentType == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.CompressionType == enum_CompressionType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformInput.SplitType == enum_SplitType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformOutput.S3OutputPath == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformOutput.Accept == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformOutput.AssembleWith == enum_AssemblyType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformOutput.KmsKeyId == STRING
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformResources.InstanceType == enum_TransformInstanceType[_]
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformResources.InstanceCount == INTEGER
    input.Body.ValidationSpecification.ValidationProfiles[_].TransformJobDefinition.TransformResources.VolumeKmsKeyId == STRING
    input.Body.SourceAlgorithmSpecification.SourceAlgorithms[_].ModelDataUrl == STRING
    input.Body.SourceAlgorithmSpecification.SourceAlgorithms[_].ModelDataSource.S3DataSource.S3Uri == STRING
    input.Body.SourceAlgorithmSpecification.SourceAlgorithms[_].ModelDataSource.S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.SourceAlgorithmSpecification.SourceAlgorithms[_].ModelDataSource.S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.SourceAlgorithmSpecification.SourceAlgorithms[_].ModelDataSource.S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.SourceAlgorithmSpecification.SourceAlgorithms[_].ModelDataSource.S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.SourceAlgorithmSpecification.SourceAlgorithms[_].ModelDataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.SourceAlgorithmSpecification.SourceAlgorithms[_].AlgorithmName == STRING
    input.Body.CertifyForMarketplace == BOOLEAN
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ModelApprovalStatus == enum_ModelApprovalStatus[_]
    input.Body.MetadataProperties.CommitId == STRING
    input.Body.MetadataProperties.Repository == STRING
    input.Body.MetadataProperties.GeneratedBy == STRING
    input.Body.MetadataProperties.ProjectId == STRING
    input.Body.ModelMetrics.ModelQuality.Statistics.ContentType == STRING
    input.Body.ModelMetrics.ModelQuality.Statistics.ContentDigest == STRING
    input.Body.ModelMetrics.ModelQuality.Statistics.S3Uri == STRING
    input.Body.ModelMetrics.ModelQuality.Constraints.ContentType == STRING
    input.Body.ModelMetrics.ModelQuality.Constraints.ContentDigest == STRING
    input.Body.ModelMetrics.ModelQuality.Constraints.S3Uri == STRING
    input.Body.ModelMetrics.ModelDataQuality.Statistics.ContentType == STRING
    input.Body.ModelMetrics.ModelDataQuality.Statistics.ContentDigest == STRING
    input.Body.ModelMetrics.ModelDataQuality.Statistics.S3Uri == STRING
    input.Body.ModelMetrics.ModelDataQuality.Constraints.ContentType == STRING
    input.Body.ModelMetrics.ModelDataQuality.Constraints.ContentDigest == STRING
    input.Body.ModelMetrics.ModelDataQuality.Constraints.S3Uri == STRING
    input.Body.ModelMetrics.Bias.Report.ContentType == STRING
    input.Body.ModelMetrics.Bias.Report.ContentDigest == STRING
    input.Body.ModelMetrics.Bias.Report.S3Uri == STRING
    input.Body.ModelMetrics.Bias.PreTrainingReport.ContentType == STRING
    input.Body.ModelMetrics.Bias.PreTrainingReport.ContentDigest == STRING
    input.Body.ModelMetrics.Bias.PreTrainingReport.S3Uri == STRING
    input.Body.ModelMetrics.Bias.PostTrainingReport.ContentType == STRING
    input.Body.ModelMetrics.Bias.PostTrainingReport.ContentDigest == STRING
    input.Body.ModelMetrics.Bias.PostTrainingReport.S3Uri == STRING
    input.Body.ModelMetrics.Explainability.Report.ContentType == STRING
    input.Body.ModelMetrics.Explainability.Report.ContentDigest == STRING
    input.Body.ModelMetrics.Explainability.Report.S3Uri == STRING
    input.Body.ClientToken == STRING
    input.Body.Domain == STRING
    input.Body.Task == STRING
    input.Body.SamplePayloadUrl == STRING
    input.Body.CustomerMetadataProperties.STRING == STRING
    input.Body.DriftCheckBaselines.Bias.ConfigFile.ContentType == STRING
    input.Body.DriftCheckBaselines.Bias.ConfigFile.ContentDigest == STRING
    input.Body.DriftCheckBaselines.Bias.ConfigFile.S3Uri == STRING
    input.Body.DriftCheckBaselines.Bias.PreTrainingConstraints.ContentType == STRING
    input.Body.DriftCheckBaselines.Bias.PreTrainingConstraints.ContentDigest == STRING
    input.Body.DriftCheckBaselines.Bias.PreTrainingConstraints.S3Uri == STRING
    input.Body.DriftCheckBaselines.Bias.PostTrainingConstraints.ContentType == STRING
    input.Body.DriftCheckBaselines.Bias.PostTrainingConstraints.ContentDigest == STRING
    input.Body.DriftCheckBaselines.Bias.PostTrainingConstraints.S3Uri == STRING
    input.Body.DriftCheckBaselines.Explainability.Constraints.ContentType == STRING
    input.Body.DriftCheckBaselines.Explainability.Constraints.ContentDigest == STRING
    input.Body.DriftCheckBaselines.Explainability.Constraints.S3Uri == STRING
    input.Body.DriftCheckBaselines.Explainability.ConfigFile.ContentType == STRING
    input.Body.DriftCheckBaselines.Explainability.ConfigFile.ContentDigest == STRING
    input.Body.DriftCheckBaselines.Explainability.ConfigFile.S3Uri == STRING
    input.Body.DriftCheckBaselines.ModelQuality.Statistics.ContentType == STRING
    input.Body.DriftCheckBaselines.ModelQuality.Statistics.ContentDigest == STRING
    input.Body.DriftCheckBaselines.ModelQuality.Statistics.S3Uri == STRING
    input.Body.DriftCheckBaselines.ModelQuality.Constraints.ContentType == STRING
    input.Body.DriftCheckBaselines.ModelQuality.Constraints.ContentDigest == STRING
    input.Body.DriftCheckBaselines.ModelQuality.Constraints.S3Uri == STRING
    input.Body.DriftCheckBaselines.ModelDataQuality.Statistics.ContentType == STRING
    input.Body.DriftCheckBaselines.ModelDataQuality.Statistics.ContentDigest == STRING
    input.Body.DriftCheckBaselines.ModelDataQuality.Statistics.S3Uri == STRING
    input.Body.DriftCheckBaselines.ModelDataQuality.Constraints.ContentType == STRING
    input.Body.DriftCheckBaselines.ModelDataQuality.Constraints.ContentDigest == STRING
    input.Body.DriftCheckBaselines.ModelDataQuality.Constraints.S3Uri == STRING
    input.Body.AdditionalInferenceSpecifications[_].Name == STRING
    input.Body.AdditionalInferenceSpecifications[_].Description == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ContainerHostname == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].Image == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ImageDigest == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ModelDataUrl == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ModelDataSource.S3DataSource.S3Uri == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ModelDataSource.S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ModelDataSource.S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ModelDataSource.S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ModelDataSource.S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ModelDataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ProductId == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].Environment.STRING == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].ModelInput.DataInputConfig == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].Framework == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].FrameworkVersion == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].NearestModelName == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].AdditionalS3DataSource.S3DataType == enum_AdditionalS3DataSourceDataType[_]
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].AdditionalS3DataSource.S3Uri == STRING
    input.Body.AdditionalInferenceSpecifications[_].Containers[_].AdditionalS3DataSource.CompressionType == enum_CompressionType[_]
    input.Body.AdditionalInferenceSpecifications[_].SupportedTransformInstanceTypes[_] == enum_TransformInstanceType[_]
    input.Body.AdditionalInferenceSpecifications[_].SupportedRealtimeInferenceInstanceTypes[_] == enum_ProductionVariantInstanceType[_]
    input.Body.AdditionalInferenceSpecifications[_].SupportedContentTypes[_] == STRING
    input.Body.AdditionalInferenceSpecifications[_].SupportedResponseMIMETypes[_] == STRING
    input.Body.SkipModelValidation == enum_SkipModelValidation[_]
    input.Body.SourceUri == STRING
    input.Body.SecurityConfig.KmsKeyId == STRING
    input.Body.ModelCard.ModelCardContent == STRING
    input.Body.ModelCard.ModelCardStatus == enum_ModelCardStatus[_]
    input.Body.ModelLifeCycle.Stage == STRING
    input.Body.ModelLifeCycle.StageStatus == STRING
    input.Body.ModelLifeCycle.StageDescription == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateModelPackageGroup

valid {
    input.Body.ModelPackageGroupName == STRING
    input.Body.ModelPackageGroupDescription == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateModelQualityJobDefinition

enum_MonitoringProblemType := [ "BinaryClassification", "MulticlassClassification", "Regression" ]
enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]
enum_ProcessingS3DataDistributionType := [ "FullyReplicated", "ShardedByS3Key" ]
enum_ProcessingS3InputMode := [ "Pipe", "File" ]
enum_ProcessingS3UploadMode := [ "Continuous", "EndOfJob" ]

valid {
    input.Body.JobDefinitionName == STRING
    input.Body.ModelQualityBaselineConfig.BaseliningJobName == STRING
    input.Body.ModelQualityBaselineConfig.ConstraintsResource.S3Uri == STRING
    input.Body.ModelQualityAppSpecification.ImageUri == STRING
    input.Body.ModelQualityAppSpecification.ContainerEntrypoint[_] == STRING
    input.Body.ModelQualityAppSpecification.ContainerArguments[_] == STRING
    input.Body.ModelQualityAppSpecification.RecordPreprocessorSourceUri == STRING
    input.Body.ModelQualityAppSpecification.PostAnalyticsProcessorSourceUri == STRING
    input.Body.ModelQualityAppSpecification.ProblemType == enum_MonitoringProblemType[_]
    input.Body.ModelQualityAppSpecification.Environment.STRING == STRING
    input.Body.ModelQualityJobInput.EndpointInput.EndpointName == STRING
    input.Body.ModelQualityJobInput.EndpointInput.LocalPath == STRING
    input.Body.ModelQualityJobInput.EndpointInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.ModelQualityJobInput.EndpointInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.ModelQualityJobInput.EndpointInput.FeaturesAttribute == STRING
    input.Body.ModelQualityJobInput.EndpointInput.InferenceAttribute == STRING
    input.Body.ModelQualityJobInput.EndpointInput.ProbabilityAttribute == STRING
    input.Body.ModelQualityJobInput.EndpointInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.ModelQualityJobInput.EndpointInput.StartTimeOffset == STRING
    input.Body.ModelQualityJobInput.EndpointInput.EndTimeOffset == STRING
    input.Body.ModelQualityJobInput.EndpointInput.ExcludeFeaturesAttribute == STRING
    input.Body.ModelQualityJobInput.BatchTransformInput.DataCapturedDestinationS3Uri == STRING
    input.Body.ModelQualityJobInput.BatchTransformInput.DatasetFormat.Csv.Header == BOOLEAN
    input.Body.ModelQualityJobInput.BatchTransformInput.DatasetFormat.Json.Line == BOOLEAN
    input.Body.ModelQualityJobInput.BatchTransformInput.DatasetFormat.Parquet == {}
    input.Body.ModelQualityJobInput.BatchTransformInput.LocalPath == STRING
    input.Body.ModelQualityJobInput.BatchTransformInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.ModelQualityJobInput.BatchTransformInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.ModelQualityJobInput.BatchTransformInput.FeaturesAttribute == STRING
    input.Body.ModelQualityJobInput.BatchTransformInput.InferenceAttribute == STRING
    input.Body.ModelQualityJobInput.BatchTransformInput.ProbabilityAttribute == STRING
    input.Body.ModelQualityJobInput.BatchTransformInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.ModelQualityJobInput.BatchTransformInput.StartTimeOffset == STRING
    input.Body.ModelQualityJobInput.BatchTransformInput.EndTimeOffset == STRING
    input.Body.ModelQualityJobInput.BatchTransformInput.ExcludeFeaturesAttribute == STRING
    input.Body.ModelQualityJobInput.GroundTruthS3Input.S3Uri == STRING
    input.Body.ModelQualityJobOutputConfig.MonitoringOutputs[_].S3Output.S3Uri == STRING
    input.Body.ModelQualityJobOutputConfig.MonitoringOutputs[_].S3Output.LocalPath == STRING
    input.Body.ModelQualityJobOutputConfig.MonitoringOutputs[_].S3Output.S3UploadMode == enum_ProcessingS3UploadMode[_]
    input.Body.ModelQualityJobOutputConfig.KmsKeyId == STRING
    input.Body.JobResources.ClusterConfig.InstanceCount == INTEGER
    input.Body.JobResources.ClusterConfig.InstanceType == enum_ProcessingInstanceType[_]
    input.Body.JobResources.ClusterConfig.VolumeSizeInGB == INTEGER
    input.Body.JobResources.ClusterConfig.VolumeKmsKeyId == STRING
    input.Body.NetworkConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.NetworkConfig.EnableNetworkIsolation == BOOLEAN
    input.Body.NetworkConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.NetworkConfig.VpcConfig.Subnets[_] == STRING
    input.Body.RoleArn == STRING
    input.Body.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateMonitoringSchedule

enum_MonitoringType := [ "DataQuality", "ModelQuality", "ModelBias", "ModelExplainability" ]
enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]
enum_ProcessingS3DataDistributionType := [ "FullyReplicated", "ShardedByS3Key" ]
enum_ProcessingS3InputMode := [ "Pipe", "File" ]
enum_ProcessingS3UploadMode := [ "Continuous", "EndOfJob" ]

valid {
    input.Body.MonitoringScheduleName == STRING
    input.Body.MonitoringScheduleConfig.ScheduleConfig.ScheduleExpression == STRING
    input.Body.MonitoringScheduleConfig.ScheduleConfig.DataAnalysisStartTime == STRING
    input.Body.MonitoringScheduleConfig.ScheduleConfig.DataAnalysisEndTime == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.BaselineConfig.BaseliningJobName == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.BaselineConfig.ConstraintsResource.S3Uri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.BaselineConfig.StatisticsResource.S3Uri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.EndpointName == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.LocalPath == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.FeaturesAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.InferenceAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.ProbabilityAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.StartTimeOffset == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.EndTimeOffset == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.ExcludeFeaturesAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.DataCapturedDestinationS3Uri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.DatasetFormat.Csv.Header == BOOLEAN
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.DatasetFormat.Json.Line == BOOLEAN
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.DatasetFormat.Parquet == {}
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.LocalPath == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.FeaturesAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.InferenceAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.ProbabilityAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.StartTimeOffset == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.EndTimeOffset == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.ExcludeFeaturesAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs[_].S3Output.S3Uri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs[_].S3Output.LocalPath == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs[_].S3Output.S3UploadMode == enum_ProcessingS3UploadMode[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.KmsKeyId == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources.ClusterConfig.InstanceCount == INTEGER
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources.ClusterConfig.InstanceType == enum_ProcessingInstanceType[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources.ClusterConfig.VolumeSizeInGB == INTEGER
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources.ClusterConfig.VolumeKmsKeyId == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ImageUri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint[_] == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments[_] == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.RecordPreprocessorSourceUri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.PostAnalyticsProcessorSourceUri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.Environment.STRING == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.EnableNetworkIsolation == BOOLEAN
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VpcConfig.Subnets[_] == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.RoleArn == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinitionName == STRING
    input.Body.MonitoringScheduleConfig.MonitoringType == enum_MonitoringType[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateNotebookInstance

enum_DirectInternetAccess := [ "Enabled", "Disabled" ]
enum_InstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge" ]
enum_NotebookInstanceAcceleratorType := [ "ml.eia1.medium", "ml.eia1.large", "ml.eia1.xlarge", "ml.eia2.medium", "ml.eia2.large", "ml.eia2.xlarge" ]
enum_RootAccess := [ "Enabled", "Disabled" ]

valid {
    input.Body.NotebookInstanceName == STRING
    input.Body.InstanceType == enum_InstanceType[_]
    input.Body.SubnetId == STRING
    input.Body.SecurityGroupIds[_] == STRING
    input.Body.RoleArn == STRING
    input.Body.KmsKeyId == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.LifecycleConfigName == STRING
    input.Body.DirectInternetAccess == enum_DirectInternetAccess[_]
    input.Body.VolumeSizeInGB == INTEGER
    input.Body.AcceleratorTypes[_] == enum_NotebookInstanceAcceleratorType[_]
    input.Body.DefaultCodeRepository == STRING
    input.Body.AdditionalCodeRepositories[_] == STRING
    input.Body.RootAccess == enum_RootAccess[_]
    input.Body.PlatformIdentifier == STRING
    input.Body.InstanceMetadataServiceConfiguration.MinimumInstanceMetadataServiceVersion == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateNotebookInstanceLifecycleConfig

valid {
    input.Body.NotebookInstanceLifecycleConfigName == STRING
    input.Body.OnCreate[_].Content == STRING
    input.Body.OnStart[_].Content == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateOptimizationJob

enum_OptimizationJobDeploymentInstanceType := [ "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge" ]

valid {
    input.Body.OptimizationJobName == STRING
    input.Body.RoleArn == STRING
    input.Body.ModelSource.S3.S3Uri == STRING
    input.Body.ModelSource.S3.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.DeploymentInstanceType == enum_OptimizationJobDeploymentInstanceType[_]
    input.Body.OptimizationEnvironment.STRING == STRING
    input.Body.OptimizationConfigs[_].ModelQuantizationConfig.Image == STRING
    input.Body.OptimizationConfigs[_].ModelQuantizationConfig.OverrideEnvironment.STRING == STRING
    input.Body.OptimizationConfigs[_].ModelCompilationConfig.Image == STRING
    input.Body.OptimizationConfigs[_].ModelCompilationConfig.OverrideEnvironment.STRING == STRING
    input.Body.OptimizationConfigs[_].ModelShardingConfig.Image == STRING
    input.Body.OptimizationConfigs[_].ModelShardingConfig.OverrideEnvironment.STRING == STRING
    input.Body.OutputConfig.KmsKeyId == STRING
    input.Body.OutputConfig.S3OutputLocation == STRING
    input.Body.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.StoppingCondition.MaxWaitTimeInSeconds == INTEGER
    input.Body.StoppingCondition.MaxPendingTimeInSeconds == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.VpcConfig.Subnets[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreatePartnerApp

enum_PartnerAppAuthType := [ "IAM" ]
enum_PartnerAppType := [ "lakera-guard", "comet", "deepchecks-llm-evaluation", "fiddler" ]

valid {
    input.Body.Name == STRING
    input.Body.Type == enum_PartnerAppType[_]
    input.Body.ExecutionRoleArn == STRING
    input.Body.MaintenanceConfig.MaintenanceWindowStart == STRING
    input.Body.Tier == STRING
    input.Body.ApplicationConfig.AdminUsers[_] == STRING
    input.Body.ApplicationConfig.Arguments.STRING == STRING
    input.Body.AuthType == enum_PartnerAppAuthType[_]
    input.Body.EnableIamSessionBasedIdentity == BOOLEAN
    input.Body.ClientToken == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreatePartnerAppPresignedUrl

valid {
    input.Body.Arn == STRING
    input.Body.ExpiresInSeconds == INTEGER
    input.Body.SessionExpirationDurationInSeconds == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreatePipeline

valid {
    input.Body.PipelineName == STRING
    input.Body.PipelineDisplayName == STRING
    input.Body.PipelineDefinition == STRING
    input.Body.PipelineDefinitionS3Location.Bucket == STRING
    input.Body.PipelineDefinitionS3Location.ObjectKey == STRING
    input.Body.PipelineDefinitionS3Location.VersionId == STRING
    input.Body.PipelineDescription == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.RoleArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ParallelismConfiguration.MaxParallelExecutionSteps == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreatePresignedDomainUrl

valid {
    input.Body.DomainId == STRING
    input.Body.UserProfileName == STRING
    input.Body.SessionExpirationDurationInSeconds == INTEGER
    input.Body.ExpiresInSeconds == INTEGER
    input.Body.SpaceName == STRING
    input.Body.LandingUri == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreatePresignedMlflowTrackingServerUrl

valid {
    input.Body.TrackingServerName == STRING
    input.Body.ExpiresInSeconds == INTEGER
    input.Body.SessionExpirationDurationInSeconds == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreatePresignedNotebookInstanceUrl

valid {
    input.Body.NotebookInstanceName == STRING
    input.Body.SessionExpirationDurationInSeconds == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateProcessingJob

enum_AthenaResultCompressionType := [ "GZIP", "SNAPPY", "ZLIB" ]
enum_AthenaResultFormat := [ "PARQUET", "ORC", "AVRO", "JSON", "TEXTFILE" ]
enum_DataDistributionType := [ "FullyReplicated", "ShardedByS3Key" ]
enum_InputMode := [ "Pipe", "File" ]
enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]
enum_ProcessingS3CompressionType := [ "None", "Gzip" ]
enum_ProcessingS3DataDistributionType := [ "FullyReplicated", "ShardedByS3Key" ]
enum_ProcessingS3DataType := [ "ManifestFile", "S3Prefix" ]
enum_ProcessingS3InputMode := [ "Pipe", "File" ]
enum_ProcessingS3UploadMode := [ "Continuous", "EndOfJob" ]
enum_RedshiftResultCompressionType := [ "None", "GZIP", "BZIP2", "ZSTD", "SNAPPY" ]
enum_RedshiftResultFormat := [ "PARQUET", "CSV" ]

valid {
    input.Body.ProcessingInputs[_].InputName == STRING
    input.Body.ProcessingInputs[_].AppManaged == BOOLEAN
    input.Body.ProcessingInputs[_].S3Input.S3Uri == STRING
    input.Body.ProcessingInputs[_].S3Input.LocalPath == STRING
    input.Body.ProcessingInputs[_].S3Input.S3DataType == enum_ProcessingS3DataType[_]
    input.Body.ProcessingInputs[_].S3Input.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.ProcessingInputs[_].S3Input.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.ProcessingInputs[_].S3Input.S3CompressionType == enum_ProcessingS3CompressionType[_]
    input.Body.ProcessingInputs[_].DatasetDefinition.AthenaDatasetDefinition.Catalog == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.AthenaDatasetDefinition.Database == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.AthenaDatasetDefinition.QueryString == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.AthenaDatasetDefinition.WorkGroup == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.AthenaDatasetDefinition.OutputS3Uri == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.AthenaDatasetDefinition.KmsKeyId == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.AthenaDatasetDefinition.OutputFormat == enum_AthenaResultFormat[_]
    input.Body.ProcessingInputs[_].DatasetDefinition.AthenaDatasetDefinition.OutputCompression == enum_AthenaResultCompressionType[_]
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.ClusterId == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.Database == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.DbUser == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.QueryString == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.ClusterRoleArn == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.OutputS3Uri == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.KmsKeyId == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.OutputFormat == enum_RedshiftResultFormat[_]
    input.Body.ProcessingInputs[_].DatasetDefinition.RedshiftDatasetDefinition.OutputCompression == enum_RedshiftResultCompressionType[_]
    input.Body.ProcessingInputs[_].DatasetDefinition.LocalPath == STRING
    input.Body.ProcessingInputs[_].DatasetDefinition.DataDistributionType == enum_DataDistributionType[_]
    input.Body.ProcessingInputs[_].DatasetDefinition.InputMode == enum_InputMode[_]
    input.Body.ProcessingOutputConfig.Outputs[_].OutputName == STRING
    input.Body.ProcessingOutputConfig.Outputs[_].S3Output.S3Uri == STRING
    input.Body.ProcessingOutputConfig.Outputs[_].S3Output.LocalPath == STRING
    input.Body.ProcessingOutputConfig.Outputs[_].S3Output.S3UploadMode == enum_ProcessingS3UploadMode[_]
    input.Body.ProcessingOutputConfig.Outputs[_].FeatureStoreOutput.FeatureGroupName == STRING
    input.Body.ProcessingOutputConfig.Outputs[_].AppManaged == BOOLEAN
    input.Body.ProcessingOutputConfig.KmsKeyId == STRING
    input.Body.ProcessingJobName == STRING
    input.Body.ProcessingResources.ClusterConfig.InstanceCount == INTEGER
    input.Body.ProcessingResources.ClusterConfig.InstanceType == enum_ProcessingInstanceType[_]
    input.Body.ProcessingResources.ClusterConfig.VolumeSizeInGB == INTEGER
    input.Body.ProcessingResources.ClusterConfig.VolumeKmsKeyId == STRING
    input.Body.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.AppSpecification.ImageUri == STRING
    input.Body.AppSpecification.ContainerEntrypoint[_] == STRING
    input.Body.AppSpecification.ContainerArguments[_] == STRING
    input.Body.Environment.STRING == STRING
    input.Body.NetworkConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.NetworkConfig.EnableNetworkIsolation == BOOLEAN
    input.Body.NetworkConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.NetworkConfig.VpcConfig.Subnets[_] == STRING
    input.Body.RoleArn == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ExperimentConfig.ExperimentName == STRING
    input.Body.ExperimentConfig.TrialName == STRING
    input.Body.ExperimentConfig.TrialComponentDisplayName == STRING
    input.Body.ExperimentConfig.RunName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateProject

valid {
    input.Body.ProjectName == STRING
    input.Body.ProjectDescription == STRING
    input.Body.ServiceCatalogProvisioningDetails.ProductId == STRING
    input.Body.ServiceCatalogProvisioningDetails.ProvisioningArtifactId == STRING
    input.Body.ServiceCatalogProvisioningDetails.PathId == STRING
    input.Body.ServiceCatalogProvisioningDetails.ProvisioningParameters[_].Key == STRING
    input.Body.ServiceCatalogProvisioningDetails.ProvisioningParameters[_].Value == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateSpace

enum_AppInstanceType := [ "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge" ]
enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]
enum_SharingType := [ "Private", "Shared" ]

valid {
    input.Body.DomainId == STRING
    input.Body.SpaceName == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.CustomImages[_].ImageName == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.SpaceSettings.KernelGatewayAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.SpaceSettings.AppType == enum_AppType[_]
    input.Body.SpaceSettings.SpaceStorageSettings.EbsStorageSettings.EbsVolumeSizeInGb == INTEGER
    input.Body.SpaceSettings.CustomFileSystems[_].EFSFileSystem.FileSystemId == STRING
    input.Body.SpaceSettings.CustomFileSystems[_].FSxLustreFileSystem.FileSystemId == STRING
    input.Body.OwnershipSettings.OwnerUserProfileName == STRING
    input.Body.SpaceSharingSettings.SharingType == enum_SharingType[_]
    input.Body.SpaceDisplayName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateStudioLifecycleConfig

enum_StudioLifecycleConfigAppType := [ "JupyterServer", "KernelGateway", "CodeEditor", "JupyterLab" ]

valid {
    input.Body.StudioLifecycleConfigName == STRING
    input.Body.StudioLifecycleConfigContent == STRING
    input.Body.StudioLifecycleConfigAppType == enum_StudioLifecycleConfigAppType[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateTrainingJob

enum_CompressionType := [ "None", "Gzip" ]
enum_FileSystemAccessMode := [ "rw", "ro" ]
enum_FileSystemType := [ "EFS", "FSxLustre" ]
enum_OutputCompressionType := [ "GZIP", "NONE" ]
enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]
enum_RecordWrapper := [ "None", "RecordIO" ]
enum_S3DataDistribution := [ "FullyReplicated", "ShardedByS3Key" ]
enum_S3DataType := [ "ManifestFile", "S3Prefix", "AugmentedManifestFile" ]
enum_TrainingInputMode := [ "Pipe", "File", "FastFile" ]
enum_TrainingInstanceType := [ "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5n.xlarge", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.trn2.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.8xlarge", "ml.c6i.4xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge" ]
enum_TrainingRepositoryAccessMode := [ "Platform", "Vpc" ]

valid {
    input.Body.TrainingJobName == STRING
    input.Body.HyperParameters.STRING == STRING
    input.Body.AlgorithmSpecification.TrainingImage == STRING
    input.Body.AlgorithmSpecification.AlgorithmName == STRING
    input.Body.AlgorithmSpecification.TrainingInputMode == enum_TrainingInputMode[_]
    input.Body.AlgorithmSpecification.MetricDefinitions[_].Name == STRING
    input.Body.AlgorithmSpecification.MetricDefinitions[_].Regex == STRING
    input.Body.AlgorithmSpecification.EnableSageMakerMetricsTimeSeries == BOOLEAN
    input.Body.AlgorithmSpecification.ContainerEntrypoint[_] == STRING
    input.Body.AlgorithmSpecification.ContainerArguments[_] == STRING
    input.Body.AlgorithmSpecification.TrainingImageConfig.TrainingRepositoryAccessMode == enum_TrainingRepositoryAccessMode[_]
    input.Body.AlgorithmSpecification.TrainingImageConfig.TrainingRepositoryAuthConfig.TrainingRepositoryCredentialsProviderArn == STRING
    input.Body.RoleArn == STRING
    input.Body.InputDataConfig[_].ChannelName == STRING
    input.Body.InputDataConfig[_].DataSource.S3DataSource.S3DataType == enum_S3DataType[_]
    input.Body.InputDataConfig[_].DataSource.S3DataSource.S3Uri == STRING
    input.Body.InputDataConfig[_].DataSource.S3DataSource.S3DataDistributionType == enum_S3DataDistribution[_]
    input.Body.InputDataConfig[_].DataSource.S3DataSource.AttributeNames[_] == STRING
    input.Body.InputDataConfig[_].DataSource.S3DataSource.InstanceGroupNames[_] == STRING
    input.Body.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemId == STRING
    input.Body.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemAccessMode == enum_FileSystemAccessMode[_]
    input.Body.InputDataConfig[_].DataSource.FileSystemDataSource.FileSystemType == enum_FileSystemType[_]
    input.Body.InputDataConfig[_].DataSource.FileSystemDataSource.DirectoryPath == STRING
    input.Body.InputDataConfig[_].ContentType == STRING
    input.Body.InputDataConfig[_].CompressionType == enum_CompressionType[_]
    input.Body.InputDataConfig[_].RecordWrapperType == enum_RecordWrapper[_]
    input.Body.InputDataConfig[_].InputMode == enum_TrainingInputMode[_]
    input.Body.InputDataConfig[_].ShuffleConfig.Seed == LONG
    input.Body.OutputDataConfig.KmsKeyId == STRING
    input.Body.OutputDataConfig.S3OutputPath == STRING
    input.Body.OutputDataConfig.CompressionType == enum_OutputCompressionType[_]
    input.Body.ResourceConfig.InstanceType == enum_TrainingInstanceType[_]
    input.Body.ResourceConfig.InstanceCount == INTEGER
    input.Body.ResourceConfig.VolumeSizeInGB == INTEGER
    input.Body.ResourceConfig.VolumeKmsKeyId == STRING
    input.Body.ResourceConfig.KeepAlivePeriodInSeconds == INTEGER
    input.Body.ResourceConfig.InstanceGroups[_].InstanceType == enum_TrainingInstanceType[_]
    input.Body.ResourceConfig.InstanceGroups[_].InstanceCount == INTEGER
    input.Body.ResourceConfig.InstanceGroups[_].InstanceGroupName == STRING
    input.Body.ResourceConfig.TrainingPlanArn == STRING
    input.Body.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.VpcConfig.Subnets[_] == STRING
    input.Body.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.StoppingCondition.MaxWaitTimeInSeconds == INTEGER
    input.Body.StoppingCondition.MaxPendingTimeInSeconds == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.EnableNetworkIsolation == BOOLEAN
    input.Body.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.EnableManagedSpotTraining == BOOLEAN
    input.Body.CheckpointConfig.S3Uri == STRING
    input.Body.CheckpointConfig.LocalPath == STRING
    input.Body.DebugHookConfig.LocalPath == STRING
    input.Body.DebugHookConfig.S3OutputPath == STRING
    input.Body.DebugHookConfig.HookParameters.STRING == STRING
    input.Body.DebugHookConfig.CollectionConfigurations[_].CollectionName == STRING
    input.Body.DebugHookConfig.CollectionConfigurations[_].CollectionParameters.STRING == STRING
    input.Body.DebugRuleConfigurations[_].RuleConfigurationName == STRING
    input.Body.DebugRuleConfigurations[_].LocalPath == STRING
    input.Body.DebugRuleConfigurations[_].S3OutputPath == STRING
    input.Body.DebugRuleConfigurations[_].RuleEvaluatorImage == STRING
    input.Body.DebugRuleConfigurations[_].InstanceType == enum_ProcessingInstanceType[_]
    input.Body.DebugRuleConfigurations[_].VolumeSizeInGB == INTEGER
    input.Body.DebugRuleConfigurations[_].RuleParameters.STRING == STRING
    input.Body.TensorBoardOutputConfig.LocalPath == STRING
    input.Body.TensorBoardOutputConfig.S3OutputPath == STRING
    input.Body.ExperimentConfig.ExperimentName == STRING
    input.Body.ExperimentConfig.TrialName == STRING
    input.Body.ExperimentConfig.TrialComponentDisplayName == STRING
    input.Body.ExperimentConfig.RunName == STRING
    input.Body.ProfilerConfig.S3OutputPath == STRING
    input.Body.ProfilerConfig.ProfilingIntervalInMilliseconds == LONG
    input.Body.ProfilerConfig.ProfilingParameters.STRING == STRING
    input.Body.ProfilerConfig.DisableProfiler == BOOLEAN
    input.Body.ProfilerRuleConfigurations[_].RuleConfigurationName == STRING
    input.Body.ProfilerRuleConfigurations[_].LocalPath == STRING
    input.Body.ProfilerRuleConfigurations[_].S3OutputPath == STRING
    input.Body.ProfilerRuleConfigurations[_].RuleEvaluatorImage == STRING
    input.Body.ProfilerRuleConfigurations[_].InstanceType == enum_ProcessingInstanceType[_]
    input.Body.ProfilerRuleConfigurations[_].VolumeSizeInGB == INTEGER
    input.Body.ProfilerRuleConfigurations[_].RuleParameters.STRING == STRING
    input.Body.Environment.STRING == STRING
    input.Body.RetryStrategy.MaximumRetryAttempts == INTEGER
    input.Body.RemoteDebugConfig.EnableRemoteDebug == BOOLEAN
    input.Body.InfraCheckConfig.EnableInfraCheck == BOOLEAN
    input.Body.SessionChainingConfig.EnableSessionTagChaining == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateTrainingPlan

valid {
    input.Body.TrainingPlanName == STRING
    input.Body.TrainingPlanOfferingId == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateTransformJob

enum_AssemblyType := [ "None", "Line" ]
enum_BatchStrategy := [ "MultiRecord", "SingleRecord" ]
enum_CompressionType := [ "None", "Gzip" ]
enum_JoinSource := [ "Input", "None" ]
enum_S3DataType := [ "ManifestFile", "S3Prefix", "AugmentedManifestFile" ]
enum_SplitType := [ "None", "Line", "RecordIO", "TFRecord" ]
enum_TransformInstanceType := [ "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge" ]

valid {
    input.Body.TransformJobName == STRING
    input.Body.ModelName == STRING
    input.Body.MaxConcurrentTransforms == INTEGER
    input.Body.ModelClientConfig.InvocationsTimeoutInSeconds == INTEGER
    input.Body.ModelClientConfig.InvocationsMaxRetries == INTEGER
    input.Body.MaxPayloadInMB == INTEGER
    input.Body.BatchStrategy == enum_BatchStrategy[_]
    input.Body.Environment.STRING == STRING
    input.Body.TransformInput.DataSource.S3DataSource.S3DataType == enum_S3DataType[_]
    input.Body.TransformInput.DataSource.S3DataSource.S3Uri == STRING
    input.Body.TransformInput.ContentType == STRING
    input.Body.TransformInput.CompressionType == enum_CompressionType[_]
    input.Body.TransformInput.SplitType == enum_SplitType[_]
    input.Body.TransformOutput.S3OutputPath == STRING
    input.Body.TransformOutput.Accept == STRING
    input.Body.TransformOutput.AssembleWith == enum_AssemblyType[_]
    input.Body.TransformOutput.KmsKeyId == STRING
    input.Body.DataCaptureConfig.DestinationS3Uri == STRING
    input.Body.DataCaptureConfig.KmsKeyId == STRING
    input.Body.DataCaptureConfig.GenerateInferenceId == BOOLEAN
    input.Body.TransformResources.InstanceType == enum_TransformInstanceType[_]
    input.Body.TransformResources.InstanceCount == INTEGER
    input.Body.TransformResources.VolumeKmsKeyId == STRING
    input.Body.DataProcessing.InputFilter == STRING
    input.Body.DataProcessing.OutputFilter == STRING
    input.Body.DataProcessing.JoinSource == enum_JoinSource[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ExperimentConfig.ExperimentName == STRING
    input.Body.ExperimentConfig.TrialName == STRING
    input.Body.ExperimentConfig.TrialComponentDisplayName == STRING
    input.Body.ExperimentConfig.RunName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateTrial

valid {
    input.Body.TrialName == STRING
    input.Body.DisplayName == STRING
    input.Body.ExperimentName == STRING
    input.Body.MetadataProperties.CommitId == STRING
    input.Body.MetadataProperties.Repository == STRING
    input.Body.MetadataProperties.GeneratedBy == STRING
    input.Body.MetadataProperties.ProjectId == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateTrialComponent

enum_TrialComponentPrimaryStatus := [ "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]

valid {
    input.Body.TrialComponentName == STRING
    input.Body.DisplayName == STRING
    input.Body.Status.PrimaryStatus == enum_TrialComponentPrimaryStatus[_]
    input.Body.Status.Message == STRING
    input.Body.StartTime == TIMESTAMP
    input.Body.EndTime == TIMESTAMP
    input.Body.Parameters.STRING.StringValue == STRING
    input.Body.Parameters.STRING.NumberValue == DOUBLE
    input.Body.InputArtifacts.STRING.MediaType == STRING
    input.Body.InputArtifacts.STRING.Value == STRING
    input.Body.OutputArtifacts.STRING.MediaType == STRING
    input.Body.OutputArtifacts.STRING.Value == STRING
    input.Body.MetadataProperties.CommitId == STRING
    input.Body.MetadataProperties.Repository == STRING
    input.Body.MetadataProperties.GeneratedBy == STRING
    input.Body.MetadataProperties.ProjectId == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateUserProfile

enum_AppInstanceType := [ "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge" ]
enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]
enum_AutoMountHomeEFS := [ "Enabled", "Disabled", "DefaultAsDomain" ]
enum_DataSourceName := [ "SalesforceGenie", "Snowflake" ]
enum_FeatureStatus := [ "ENABLED", "DISABLED" ]
enum_LifecycleManagement := [ "ENABLED", "DISABLED" ]
enum_MlTools := [ "DataWrangler", "FeatureStore", "EmrClusters", "AutoMl", "Experiments", "Training", "ModelEvaluation", "Pipelines", "Models", "JumpStart", "InferenceRecommender", "Endpoints", "Projects", "InferenceOptimization", "PerformanceEvaluation", "LakeraGuard", "Comet", "DeepchecksLLMEvaluation", "Fiddler", "HyperPodClusters" ]
enum_NotebookOutputOption := [ "Allowed", "Disabled" ]
enum_RStudioServerProAccessStatus := [ "ENABLED", "DISABLED" ]
enum_RStudioServerProUserGroup := [ "R_STUDIO_ADMIN", "R_STUDIO_USER" ]
enum_SageMakerImageName := [ "sagemaker_distribution" ]
enum_StudioWebPortal := [ "ENABLED", "DISABLED" ]

valid {
    input.Body.DomainId == STRING
    input.Body.UserProfileName == STRING
    input.Body.SingleSignOnUserIdentifier == STRING
    input.Body.SingleSignOnUserValue == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.UserSettings.ExecutionRole == STRING
    input.Body.UserSettings.SecurityGroups[_] == STRING
    input.Body.UserSettings.SharingSettings.NotebookOutputOption == enum_NotebookOutputOption[_]
    input.Body.UserSettings.SharingSettings.S3OutputPath == STRING
    input.Body.UserSettings.SharingSettings.S3KmsKeyId == STRING
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.JupyterServerAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.UserSettings.JupyterServerAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.CustomImages[_].ImageName == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.UserSettings.KernelGatewayAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.RStudioServerProAppSettings.AccessStatus == enum_RStudioServerProAccessStatus[_]
    input.Body.UserSettings.RStudioServerProAppSettings.UserGroup == enum_RStudioServerProUserGroup[_]
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.RSessionAppSettings.CustomImages[_].ImageName == STRING
    input.Body.UserSettings.RSessionAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.UserSettings.RSessionAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.UserSettings.CanvasAppSettings.TimeSeriesForecastingSettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.TimeSeriesForecastingSettings.AmazonForecastRoleArn == STRING
    input.Body.UserSettings.CanvasAppSettings.ModelRegisterSettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.ModelRegisterSettings.CrossAccountModelRegisterRoleArn == STRING
    input.Body.UserSettings.CanvasAppSettings.WorkspaceSettings.S3ArtifactPath == STRING
    input.Body.UserSettings.CanvasAppSettings.WorkspaceSettings.S3KmsKeyId == STRING
    input.Body.UserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].DataSourceName == enum_DataSourceName[_]
    input.Body.UserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].SecretArn == STRING
    input.Body.UserSettings.CanvasAppSettings.DirectDeploySettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.KendraSettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.GenerativeAiSettings.AmazonBedrockRoleArn == STRING
    input.Body.UserSettings.CanvasAppSettings.EmrServerlessSettings.ExecutionRoleArn == STRING
    input.Body.UserSettings.CanvasAppSettings.EmrServerlessSettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.CodeEditorAppSettings.CustomImages[_].ImageName == STRING
    input.Body.UserSettings.CodeEditorAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.UserSettings.CodeEditorAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.UserSettings.CodeEditorAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.UserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.UserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.CodeEditorAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.JupyterLabAppSettings.CustomImages[_].ImageName == STRING
    input.Body.UserSettings.JupyterLabAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.UserSettings.JupyterLabAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.UserSettings.JupyterLabAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.UserSettings.JupyterLabAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.UserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.UserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.JupyterLabAppSettings.EmrSettings.AssumableRoleArns[_] == STRING
    input.Body.UserSettings.JupyterLabAppSettings.EmrSettings.ExecutionRoleArns[_] == STRING
    input.Body.UserSettings.JupyterLabAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.UserSettings.SpaceStorageSettings.DefaultEbsStorageSettings.DefaultEbsVolumeSizeInGb == INTEGER
    input.Body.UserSettings.SpaceStorageSettings.DefaultEbsStorageSettings.MaximumEbsVolumeSizeInGb == INTEGER
    input.Body.UserSettings.DefaultLandingUri == STRING
    input.Body.UserSettings.StudioWebPortal == enum_StudioWebPortal[_]
    input.Body.UserSettings.CustomPosixUserConfig.Uid == LONG
    input.Body.UserSettings.CustomPosixUserConfig.Gid == LONG
    input.Body.UserSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemId == STRING
    input.Body.UserSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemPath == STRING
    input.Body.UserSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemId == STRING
    input.Body.UserSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemPath == STRING
    input.Body.UserSettings.StudioWebPortalSettings.HiddenMlTools[_] == enum_MlTools[_]
    input.Body.UserSettings.StudioWebPortalSettings.HiddenAppTypes[_] == enum_AppType[_]
    input.Body.UserSettings.StudioWebPortalSettings.HiddenInstanceTypes[_] == enum_AppInstanceType[_]
    input.Body.UserSettings.StudioWebPortalSettings.HiddenSageMakerImageVersionAliases[_].SageMakerImageName == enum_SageMakerImageName[_]
    input.Body.UserSettings.StudioWebPortalSettings.HiddenSageMakerImageVersionAliases[_].VersionAliases[_] == STRING
    input.Body.UserSettings.AutoMountHomeEFS == enum_AutoMountHomeEFS[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateWorkforce

valid {
    input.Body.CognitoConfig.UserPool == STRING
    input.Body.CognitoConfig.ClientId == STRING
    input.Body.OidcConfig.ClientId == STRING
    input.Body.OidcConfig.ClientSecret == STRING
    input.Body.OidcConfig.Issuer == STRING
    input.Body.OidcConfig.AuthorizationEndpoint == STRING
    input.Body.OidcConfig.TokenEndpoint == STRING
    input.Body.OidcConfig.UserInfoEndpoint == STRING
    input.Body.OidcConfig.LogoutEndpoint == STRING
    input.Body.OidcConfig.JwksUri == STRING
    input.Body.OidcConfig.Scope == STRING
    input.Body.OidcConfig.AuthenticationRequestExtraParams.STRING == STRING
    input.Body.SourceIpConfig.Cidrs[_] == STRING
    input.Body.WorkforceName == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.WorkforceVpcConfig.VpcId == STRING
    input.Body.WorkforceVpcConfig.SecurityGroupIds[_] == STRING
    input.Body.WorkforceVpcConfig.Subnets[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateWorkteam

enum_EnabledOrDisabled := [ "Enabled", "Disabled" ]

valid {
    input.Body.WorkteamName == STRING
    input.Body.WorkforceName == STRING
    input.Body.MemberDefinitions[_].CognitoMemberDefinition.UserPool == STRING
    input.Body.MemberDefinitions[_].CognitoMemberDefinition.UserGroup == STRING
    input.Body.MemberDefinitions[_].CognitoMemberDefinition.ClientId == STRING
    input.Body.MemberDefinitions[_].OidcMemberDefinition.Groups[_] == STRING
    input.Body.Description == STRING
    input.Body.NotificationConfiguration.NotificationTopicArn == STRING
    input.Body.WorkerAccessConfiguration.S3Presign.IamPolicyConstraints.SourceIp == enum_EnabledOrDisabled[_]
    input.Body.WorkerAccessConfiguration.S3Presign.IamPolicyConstraints.VpcSourceIp == enum_EnabledOrDisabled[_]
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteAction

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

DeleteAlgorithm

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

DeleteApp

enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]

valid {
    input.Body.DomainId == STRING
    input.Body.UserProfileName == STRING
    input.Body.SpaceName == STRING
    input.Body.AppType == enum_AppType[_]
    input.Body.AppName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteAppImageConfig

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

DeleteArtifact

enum_ArtifactSourceIdType := [ "MD5Hash", "S3ETag", "S3Version", "Custom" ]

valid {
    input.Body.ArtifactArn == STRING
    input.Body.Source.SourceUri == STRING
    input.Body.Source.SourceTypes[_].SourceIdType == enum_ArtifactSourceIdType[_]
    input.Body.Source.SourceTypes[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteAssociation

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

DeleteCluster

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

DeleteClusterSchedulerConfig

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

DeleteCodeRepository

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

DeleteCompilationJob

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

DeleteComputeQuota

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

DeleteContext

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

DeleteDataQualityJobDefinition

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

DeleteDeviceFleet

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

DeleteDomain

enum_RetentionType := [ "Retain", "Delete" ]

valid {
    input.Body.DomainId == STRING
    input.Body.RetentionPolicy.HomeEfsFileSystem == enum_RetentionType[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteEarthObservationJob

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

DeleteEdgeDeploymentPlan

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

DeleteEdgeDeploymentStage

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

DeleteEndpoint

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

DeleteEndpointConfig

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

DeleteExperiment

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

DeleteFeatureGroup

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

DeleteFlowDefinition

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

DeleteHub

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

DeleteHubContent

enum_HubContentType := [ "Model", "Notebook", "ModelReference" ]

valid {
    input.Body.HubName == STRING
    input.Body.HubContentType == enum_HubContentType[_]
    input.Body.HubContentName == STRING
    input.Body.HubContentVersion == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteHubContentReference

enum_HubContentType := [ "Model", "Notebook", "ModelReference" ]

valid {
    input.Body.HubName == STRING
    input.Body.HubContentType == enum_HubContentType[_]
    input.Body.HubContentName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteHumanLoop

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

DeleteHumanTaskUi

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

DeleteHyperParameterTuningJob

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

DeleteImage

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

DeleteImageVersion

valid {
    input.Body.ImageName == STRING
    input.Body.Version == INTEGER
    input.Body.Alias == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteInferenceComponent

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

DeleteInferenceExperiment

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

DeleteMlflowTrackingServer

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

DeleteModel

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

DeleteModelBiasJobDefinition

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

DeleteModelCard

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

DeleteModelExplainabilityJobDefinition

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

DeleteModelPackage

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

DeleteModelPackageGroup

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

DeleteModelPackageGroupPolicy

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

DeleteModelQualityJobDefinition

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

DeleteMonitoringSchedule

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

DeleteNotebookInstance

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

DeleteNotebookInstanceLifecycleConfig

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

DeleteOptimizationJob

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

DeletePartnerApp

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

DeletePipeline

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

DeleteProject

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

DeleteRecord

enum_DeletionMode := [ "SoftDelete", "HardDelete" ]
enum_TargetStore := [ "OnlineStore", "OfflineStore" ]

valid {
    input.ReqMap.FeatureGroupName == STRING
    input.Qs.RecordIdentifierValueAsString == STRING
    input.Qs.EventTime == STRING
    input.Qs.TargetStores[_] == enum_TargetStore[_]
    input.Qs.DeletionMode == enum_DeletionMode[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteSpace

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

DeleteStudioLifecycleConfig

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

DeleteTags

valid {
    input.Body.ResourceArn == STRING
    input.Body.TagKeys[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteTrial

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

DeleteTrialComponent

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

DeleteUserProfile

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

DeleteVectorEnrichmentJob

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

DeleteWorkforce

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

DeleteWorkteam

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

DeregisterDevices

valid {
    input.Body.DeviceFleetName == STRING
    input.Body.DeviceNames[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeAction

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

DescribeAlgorithm

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

DescribeApp

enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]

valid {
    input.Body.DomainId == STRING
    input.Body.UserProfileName == STRING
    input.Body.SpaceName == STRING
    input.Body.AppType == enum_AppType[_]
    input.Body.AppName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeAppImageConfig

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

DescribeArtifact

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

DescribeAutoMLJob

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

DescribeAutoMLJobV2

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

DescribeCluster

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

DescribeClusterNode

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

DescribeClusterSchedulerConfig

valid {
    input.Body.ClusterSchedulerConfigId == STRING
    input.Body.ClusterSchedulerConfigVersion == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeCodeRepository

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

DescribeCompilationJob

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

DescribeComputeQuota

valid {
    input.Body.ComputeQuotaId == STRING
    input.Body.ComputeQuotaVersion == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeContext

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

DescribeDataQualityJobDefinition

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

DescribeDevice

valid {
    input.Body.NextToken == STRING
    input.Body.DeviceName == STRING
    input.Body.DeviceFleetName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeDeviceFleet

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

DescribeDomain

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

DescribeEdgeDeploymentPlan

valid {
    input.Body.EdgeDeploymentPlanName == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeEdgePackagingJob

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

DescribeEndpoint

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

DescribeEndpointConfig

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

DescribeExperiment

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

DescribeFeatureGroup

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

DescribeFeatureMetadata

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

DescribeFlowDefinition

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

DescribeHub

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

DescribeHubContent

enum_HubContentType := [ "Model", "Notebook", "ModelReference" ]

valid {
    input.Body.HubName == STRING
    input.Body.HubContentType == enum_HubContentType[_]
    input.Body.HubContentName == STRING
    input.Body.HubContentVersion == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeHumanLoop

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

DescribeHumanTaskUi

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

DescribeHyperParameterTuningJob

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

DescribeImage

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

DescribeImageVersion

valid {
    input.Body.ImageName == STRING
    input.Body.Version == INTEGER
    input.Body.Alias == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeInferenceComponent

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

DescribeInferenceExperiment

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

DescribeInferenceRecommendationsJob

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

DescribeLabelingJob

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

DescribeLineageGroup

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

DescribeMlflowTrackingServer

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

DescribeModel

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

DescribeModelBiasJobDefinition

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

DescribeModelCard

valid {
    input.Body.ModelCardName == STRING
    input.Body.ModelCardVersion == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeModelCardExportJob

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

DescribeModelExplainabilityJobDefinition

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

DescribeModelPackage

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

DescribeModelPackageGroup

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

DescribeModelQualityJobDefinition

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

DescribeMonitoringSchedule

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

DescribeNotebookInstance

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

DescribeNotebookInstanceLifecycleConfig

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

DescribeOptimizationJob

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

DescribePartnerApp

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

DescribePipeline

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

DescribePipelineDefinitionForExecution

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

DescribePipelineExecution

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

DescribeProcessingJob

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

DescribeProject

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

DescribeSpace

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

DescribeStudioLifecycleConfig

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

DescribeSubscribedWorkteam

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

DescribeTrainingJob

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

DescribeTrainingPlan

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

DescribeTransformJob

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

DescribeTrial

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

DescribeTrialComponent

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

DescribeUserProfile

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

DescribeWorkforce

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

DescribeWorkteam

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

DisableSagemakerServicecatalogPortfolio

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

DisassociateTrialComponent

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

EnableSagemakerServicecatalogPortfolio

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

ExportEarthObservationJob

valid {
    input.Body.Arn == STRING
    input.Body.ClientToken == STRING
    input.Body.ExecutionRoleArn == STRING
    input.Body.ExportSourceImages == BOOLEAN
    input.Body.OutputConfig.S3Data.KmsKeyId == STRING
    input.Body.OutputConfig.S3Data.S3Uri == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ExportVectorEnrichmentJob

valid {
    input.Body.Arn == STRING
    input.Body.ClientToken == STRING
    input.Body.ExecutionRoleArn == STRING
    input.Body.OutputConfig.S3Data.KmsKeyId == STRING
    input.Body.OutputConfig.S3Data.S3Uri == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetDeployments

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

GetDeviceFleetReport

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

GetDeviceRegistration

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

GetEarthObservationJob

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

GetLineageGroupPolicy

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

GetModelPackageGroupPolicy

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

GetRasterDataCollection

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

GetRecord

enum_ExpirationTimeResponse := [ "Enabled", "Disabled" ]

valid {
    input.ReqMap.FeatureGroupName == STRING
    input.Qs.RecordIdentifierValueAsString == STRING
    input.Qs.FeatureName[_] == STRING
    input.Qs.ExpirationTimeResponse == enum_ExpirationTimeResponse[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetSagemakerServicecatalogPortfolioStatus

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

GetScalingConfigurationRecommendation

valid {
    input.Body.InferenceRecommendationsJobName == STRING
    input.Body.RecommendationId == STRING
    input.Body.EndpointName == STRING
    input.Body.TargetCpuUtilizationPerCore == INTEGER
    input.Body.ScalingPolicyObjective.MinInvocationsPerMinute == INTEGER
    input.Body.ScalingPolicyObjective.MaxInvocationsPerMinute == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetSearchSuggestions

enum_ResourceType := [ "TrainingJob", "Experiment", "ExperimentTrial", "ExperimentTrialComponent", "Endpoint", "Model", "ModelPackage", "ModelPackageGroup", "Pipeline", "PipelineExecution", "FeatureGroup", "FeatureMetadata", "Image", "ImageVersion", "Project", "HyperParameterTuningJob", "ModelCard" ]

valid {
    input.Body.Resource == enum_ResourceType[_]
    input.Body.SuggestionQuery.PropertyNameQuery.PropertyNameHint == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetTile

enum_OutputType := [ "INT32", "FLOAT32", "INT16", "FLOAT64", "UINT16" ]
enum_TargetOptions := [ "INPUT", "OUTPUT" ]

valid {
    input.ReqMap.x == INTEGER
    input.ReqMap.y == INTEGER
    input.ReqMap.z == INTEGER
    input.Qs.Arn == STRING
    input.Qs.ExecutionRoleArn == STRING
    input.Qs.ImageAssets[_] == STRING
    input.Qs.ImageMask == BOOLEAN
    input.Qs.OutputDataType == enum_OutputType[_]
    input.Qs.OutputFormat == STRING
    input.Qs.PropertyFilters == STRING
    input.Qs.Target == enum_TargetOptions[_]
    input.Qs.TimeRangeFilter == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetVectorEnrichmentJob

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

ImportHubContent

enum_HubContentType := [ "Model", "Notebook", "ModelReference" ]

valid {
    input.Body.HubContentName == STRING
    input.Body.HubContentVersion == STRING
    input.Body.HubContentType == enum_HubContentType[_]
    input.Body.DocumentSchemaVersion == STRING
    input.Body.HubName == STRING
    input.Body.HubContentDisplayName == STRING
    input.Body.HubContentDescription == STRING
    input.Body.HubContentMarkdown == STRING
    input.Body.HubContentDocument == STRING
    input.Body.HubContentSearchKeywords[_] == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

InvokeEndpoint

valid {
    input.Body.Body == BLOB
    input.ReqMap.EndpointName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

InvokeEndpointAsync

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

InvokeEndpointWithResponseStream

valid {
    input.Body.Body == BLOB
    input.ReqMap.EndpointName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListActions

enum_SortActionsBy := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.SourceUri == STRING
    input.Body.ActionType == STRING
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortActionsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAlgorithms

enum_AlgorithmSortBy := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_AlgorithmSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAliases

valid {
    input.Body.ImageName == STRING
    input.Body.Alias == STRING
    input.Body.Version == INTEGER
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAppImageConfigs

enum_AppImageConfigSortKey := [ "CreationTime", "LastModifiedTime", "Name" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.ModifiedTimeBefore == TIMESTAMP
    input.Body.ModifiedTimeAfter == TIMESTAMP
    input.Body.SortBy == enum_AppImageConfigSortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListApps

enum_AppSortKey := [ "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.SortBy == enum_AppSortKey[_]
    input.Body.DomainIdEquals == STRING
    input.Body.UserProfileNameEquals == STRING
    input.Body.SpaceNameEquals == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListArtifacts

enum_SortArtifactsBy := [ "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.SourceUri == STRING
    input.Body.ArtifactType == STRING
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortArtifactsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAssociations

enum_AssociationEdgeType := [ "ContributedTo", "AssociatedWith", "DerivedFrom", "Produced", "SameAs" ]
enum_SortAssociationsBy := [ "SourceArn", "DestinationArn", "SourceType", "DestinationType", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.SourceArn == STRING
    input.Body.DestinationArn == STRING
    input.Body.SourceType == STRING
    input.Body.DestinationType == STRING
    input.Body.AssociationType == enum_AssociationEdgeType[_]
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortAssociationsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAutoMLJobs

enum_AutoMLJobStatus := [ "Completed", "InProgress", "Failed", "Stopped", "Stopping" ]
enum_AutoMLSortBy := [ "Name", "CreationTime", "Status" ]
enum_AutoMLSortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.StatusEquals == enum_AutoMLJobStatus[_]
    input.Body.SortOrder == enum_AutoMLSortOrder[_]
    input.Body.SortBy == enum_AutoMLSortBy[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListCandidatesForAutoMLJob

enum_AutoMLSortOrder := [ "Ascending", "Descending" ]
enum_CandidateSortBy := [ "CreationTime", "Status", "FinalObjectiveMetricValue" ]
enum_CandidateStatus := [ "Completed", "InProgress", "Failed", "Stopped", "Stopping" ]

valid {
    input.Body.AutoMLJobName == STRING
    input.Body.StatusEquals == enum_CandidateStatus[_]
    input.Body.CandidateNameEquals == STRING
    input.Body.SortOrder == enum_AutoMLSortOrder[_]
    input.Body.SortBy == enum_CandidateSortBy[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListClusterNodes

enum_ClusterSortBy := [ "CREATION_TIME", "NAME" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.ClusterName == STRING
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.InstanceGroupNameContains == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ClusterSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListClusterSchedulerConfigs

enum_SchedulerResourceStatus := [ "Creating", "CreateFailed", "CreateRollbackFailed", "Created", "Updating", "UpdateFailed", "UpdateRollbackFailed", "Updated", "Deleting", "DeleteFailed", "DeleteRollbackFailed", "Deleted" ]
enum_SortClusterSchedulerConfigBy := [ "Name", "CreationTime", "Status" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.ClusterArn == STRING
    input.Body.Status == enum_SchedulerResourceStatus[_]
    input.Body.SortBy == enum_SortClusterSchedulerConfigBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListClusters

enum_ClusterSortBy := [ "CREATION_TIME", "NAME" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ClusterSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.TrainingPlanArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListCodeRepositories

enum_CodeRepositorySortBy := [ "Name", "CreationTime", "LastModifiedTime" ]
enum_CodeRepositorySortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_CodeRepositorySortBy[_]
    input.Body.SortOrder == enum_CodeRepositorySortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListCompilationJobs

enum_CompilationJobStatus := [ "INPROGRESS", "COMPLETED", "FAILED", "STARTING", "STOPPING", "STOPPED" ]
enum_ListCompilationJobsSortBy := [ "Name", "CreationTime", "Status" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.StatusEquals == enum_CompilationJobStatus[_]
    input.Body.SortBy == enum_ListCompilationJobsSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListComputeQuotas

enum_SchedulerResourceStatus := [ "Creating", "CreateFailed", "CreateRollbackFailed", "Created", "Updating", "UpdateFailed", "UpdateRollbackFailed", "Updated", "Deleting", "DeleteFailed", "DeleteRollbackFailed", "Deleted" ]
enum_SortOrder := [ "Ascending", "Descending" ]
enum_SortQuotaBy := [ "Name", "CreationTime", "Status", "ClusterArn" ]

valid {
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.Status == enum_SchedulerResourceStatus[_]
    input.Body.ClusterArn == STRING
    input.Body.SortBy == enum_SortQuotaBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListContexts

enum_SortContextsBy := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.SourceUri == STRING
    input.Body.ContextType == STRING
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortContextsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListDataQualityJobDefinitions

enum_MonitoringJobDefinitionSortKey := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.EndpointName == STRING
    input.Body.SortBy == enum_MonitoringJobDefinitionSortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListDeviceFleets

enum_ListDeviceFleetsSortBy := [ "NAME", "CREATION_TIME", "LAST_MODIFIED_TIME" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.SortBy == enum_ListDeviceFleetsSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListDevices

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.LatestHeartbeatAfter == TIMESTAMP
    input.Body.ModelName == STRING
    input.Body.DeviceFleetName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListDomains

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListEarthObservationJobs

enum_EarthObservationJobStatus := [ "INITIALIZING", "IN_PROGRESS", "STOPPING", "COMPLETED", "STOPPED", "FAILED", "DELETING", "DELETED" ]
enum_SortOrder := [ "ASCENDING", "DESCENDING" ]

valid {
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.SortBy == STRING
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.StatusEquals == enum_EarthObservationJobStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListEdgeDeploymentPlans

enum_ListEdgeDeploymentPlansSortBy := [ "NAME", "DEVICE_FLEET_NAME", "CREATION_TIME", "LAST_MODIFIED_TIME" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.DeviceFleetNameContains == STRING
    input.Body.SortBy == enum_ListEdgeDeploymentPlansSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListEdgePackagingJobs

enum_EdgePackagingJobStatus := [ "STARTING", "INPROGRESS", "COMPLETED", "FAILED", "STOPPING", "STOPPED" ]
enum_ListEdgePackagingJobsSortBy := [ "NAME", "MODEL_NAME", "CREATION_TIME", "LAST_MODIFIED_TIME", "STATUS" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.ModelNameContains == STRING
    input.Body.StatusEquals == enum_EdgePackagingJobStatus[_]
    input.Body.SortBy == enum_ListEdgePackagingJobsSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListEndpointConfigs

enum_EndpointConfigSortKey := [ "Name", "CreationTime" ]
enum_OrderKey := [ "Ascending", "Descending" ]

valid {
    input.Body.SortBy == enum_EndpointConfigSortKey[_]
    input.Body.SortOrder == enum_OrderKey[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListEndpoints

enum_EndpointSortKey := [ "Name", "CreationTime", "Status" ]
enum_EndpointStatus := [ "OutOfService", "Creating", "Updating", "SystemUpdating", "RollingBack", "InService", "Deleting", "Failed", "UpdateRollbackFailed" ]
enum_OrderKey := [ "Ascending", "Descending" ]

valid {
    input.Body.SortBy == enum_EndpointSortKey[_]
    input.Body.SortOrder == enum_OrderKey[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.StatusEquals == enum_EndpointStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListExperiments

enum_SortExperimentsBy := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortExperimentsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListFeatureGroups

enum_FeatureGroupSortBy := [ "Name", "FeatureGroupStatus", "OfflineStoreStatus", "CreationTime" ]
enum_FeatureGroupSortOrder := [ "Ascending", "Descending" ]
enum_FeatureGroupStatus := [ "Creating", "Created", "CreateFailed", "Deleting", "DeleteFailed" ]
enum_OfflineStoreStatusValue := [ "Active", "Blocked", "Disabled" ]

valid {
    input.Body.NameContains == STRING
    input.Body.FeatureGroupStatusEquals == enum_FeatureGroupStatus[_]
    input.Body.OfflineStoreStatusEquals == enum_OfflineStoreStatusValue[_]
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.SortOrder == enum_FeatureGroupSortOrder[_]
    input.Body.SortBy == enum_FeatureGroupSortBy[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListFlowDefinitions

enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListHubContentVersions

enum_HubContentSortBy := [ "HubContentName", "CreationTime", "HubContentStatus" ]
enum_HubContentType := [ "Model", "Notebook", "ModelReference" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.HubName == STRING
    input.Body.HubContentType == enum_HubContentType[_]
    input.Body.HubContentName == STRING
    input.Body.MinVersion == STRING
    input.Body.MaxSchemaVersion == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.SortBy == enum_HubContentSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListHubContents

enum_HubContentSortBy := [ "HubContentName", "CreationTime", "HubContentStatus" ]
enum_HubContentType := [ "Model", "Notebook", "ModelReference" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.HubName == STRING
    input.Body.HubContentType == enum_HubContentType[_]
    input.Body.NameContains == STRING
    input.Body.MaxSchemaVersion == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.SortBy == enum_HubContentSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListHubs

enum_HubSortBy := [ "HubName", "CreationTime", "HubStatus", "AccountIdOwner" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.SortBy == enum_HubSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListHumanLoops

enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Qs.CreationTimeAfter == TIMESTAMP
    input.Qs.CreationTimeBefore == TIMESTAMP
    input.Qs.FlowDefinitionArn == STRING
    input.Qs.SortOrder == enum_SortOrder[_]
    input.Qs.NextToken == STRING
    input.Qs.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListHumanTaskUis

enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListHyperParameterTuningJobs

enum_HyperParameterTuningJobSortByOptions := [ "Name", "Status", "CreationTime" ]
enum_HyperParameterTuningJobStatus := [ "Completed", "InProgress", "Failed", "Stopped", "Stopping", "Deleting", "DeleteFailed" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.SortBy == enum_HyperParameterTuningJobSortByOptions[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NameContains == STRING
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.StatusEquals == enum_HyperParameterTuningJobStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListImageVersions

enum_ImageVersionSortBy := [ "CREATION_TIME", "LAST_MODIFIED_TIME", "VERSION" ]
enum_ImageVersionSortOrder := [ "ASCENDING", "DESCENDING" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.ImageName == STRING
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ImageVersionSortBy[_]
    input.Body.SortOrder == enum_ImageVersionSortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListImages

enum_ImageSortBy := [ "CREATION_TIME", "LAST_MODIFIED_TIME", "IMAGE_NAME" ]
enum_ImageSortOrder := [ "ASCENDING", "DESCENDING" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ImageSortBy[_]
    input.Body.SortOrder == enum_ImageSortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListInferenceComponents

enum_InferenceComponentSortKey := [ "Name", "CreationTime", "Status" ]
enum_InferenceComponentStatus := [ "InService", "Creating", "Updating", "Failed", "Deleting" ]
enum_OrderKey := [ "Ascending", "Descending" ]

valid {
    input.Body.SortBy == enum_InferenceComponentSortKey[_]
    input.Body.SortOrder == enum_OrderKey[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.StatusEquals == enum_InferenceComponentStatus[_]
    input.Body.EndpointNameEquals == STRING
    input.Body.VariantNameEquals == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListInferenceExperiments

enum_InferenceExperimentStatus := [ "Creating", "Created", "Updating", "Running", "Starting", "Stopping", "Completed", "Cancelled" ]
enum_InferenceExperimentType := [ "ShadowMode" ]
enum_SortInferenceExperimentsBy := [ "Name", "CreationTime", "Status" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NameContains == STRING
    input.Body.Type == enum_InferenceExperimentType[_]
    input.Body.StatusEquals == enum_InferenceExperimentStatus[_]
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.SortBy == enum_SortInferenceExperimentsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListInferenceRecommendationsJobSteps

enum_RecommendationJobStatus := [ "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "STOPPING", "STOPPED", "DELETING", "DELETED" ]
enum_RecommendationStepType := [ "BENCHMARK" ]

valid {
    input.Body.JobName == STRING
    input.Body.Status == enum_RecommendationJobStatus[_]
    input.Body.StepType == enum_RecommendationStepType[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListInferenceRecommendationsJobs

enum_ListInferenceRecommendationsJobsSortBy := [ "Name", "CreationTime", "Status" ]
enum_RecommendationJobStatus := [ "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "STOPPING", "STOPPED", "DELETING", "DELETED" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.StatusEquals == enum_RecommendationJobStatus[_]
    input.Body.SortBy == enum_ListInferenceRecommendationsJobsSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.ModelNameEquals == STRING
    input.Body.ModelPackageVersionArnEquals == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListLabelingJobs

enum_LabelingJobStatus := [ "Initializing", "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]
enum_SortBy := [ "Name", "CreationTime", "Status" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.NameContains == STRING
    input.Body.SortBy == enum_SortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.StatusEquals == enum_LabelingJobStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListLabelingJobsForWorkteam

enum_ListLabelingJobsForWorkteamSortByOptions := [ "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.WorkteamArn == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.JobReferenceCodeContains == STRING
    input.Body.SortBy == enum_ListLabelingJobsForWorkteamSortByOptions[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListLineageGroups

enum_SortLineageGroupsBy := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortLineageGroupsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMlflowTrackingServers

enum_SortOrder := [ "Ascending", "Descending" ]
enum_SortTrackingServerBy := [ "Name", "CreationTime", "Status" ]
enum_TrackingServerStatus := [ "Creating", "Created", "CreateFailed", "Updating", "Updated", "UpdateFailed", "Deleting", "DeleteFailed", "Stopping", "Stopped", "StopFailed", "Starting", "Started", "StartFailed", "MaintenanceInProgress", "MaintenanceComplete", "MaintenanceFailed" ]

valid {
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.TrackingServerStatus == enum_TrackingServerStatus[_]
    input.Body.MlflowVersion == STRING
    input.Body.SortBy == enum_SortTrackingServerBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelBiasJobDefinitions

enum_MonitoringJobDefinitionSortKey := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.EndpointName == STRING
    input.Body.SortBy == enum_MonitoringJobDefinitionSortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelCardExportJobs

enum_ModelCardExportJobSortBy := [ "Name", "CreationTime", "Status" ]
enum_ModelCardExportJobSortOrder := [ "Ascending", "Descending" ]
enum_ModelCardExportJobStatus := [ "InProgress", "Completed", "Failed" ]

valid {
    input.Body.ModelCardName == STRING
    input.Body.ModelCardVersion == INTEGER
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.ModelCardExportJobNameContains == STRING
    input.Body.StatusEquals == enum_ModelCardExportJobStatus[_]
    input.Body.SortBy == enum_ModelCardExportJobSortBy[_]
    input.Body.SortOrder == enum_ModelCardExportJobSortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelCardVersions

enum_ModelCardSortOrder := [ "Ascending", "Descending" ]
enum_ModelCardStatus := [ "Draft", "PendingReview", "Approved", "Archived" ]
enum_ModelCardVersionSortBy := [ "Version" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.ModelCardName == STRING
    input.Body.ModelCardStatus == enum_ModelCardStatus[_]
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ModelCardVersionSortBy[_]
    input.Body.SortOrder == enum_ModelCardSortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelCards

enum_ModelCardSortBy := [ "Name", "CreationTime" ]
enum_ModelCardSortOrder := [ "Ascending", "Descending" ]
enum_ModelCardStatus := [ "Draft", "PendingReview", "Approved", "Archived" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.ModelCardStatus == enum_ModelCardStatus[_]
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ModelCardSortBy[_]
    input.Body.SortOrder == enum_ModelCardSortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelExplainabilityJobDefinitions

enum_MonitoringJobDefinitionSortKey := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.EndpointName == STRING
    input.Body.SortBy == enum_MonitoringJobDefinitionSortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelMetadata

enum_ModelMetadataFilterType := [ "Domain", "Framework", "Task", "FrameworkVersion" ]

valid {
    input.Body.SearchExpression.Filters[_].Name == enum_ModelMetadataFilterType[_]
    input.Body.SearchExpression.Filters[_].Value == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelPackageGroups

enum_CrossAccountFilterOption := [ "SameAccount", "CrossAccount" ]
enum_ModelPackageGroupSortBy := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ModelPackageGroupSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.CrossAccountFilterOption == enum_CrossAccountFilterOption[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelPackages

enum_ModelApprovalStatus := [ "Approved", "Rejected", "PendingManualApproval" ]
enum_ModelPackageSortBy := [ "Name", "CreationTime" ]
enum_ModelPackageType := [ "Versioned", "Unversioned", "Both" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.ModelApprovalStatus == enum_ModelApprovalStatus[_]
    input.Body.ModelPackageGroupName == STRING
    input.Body.ModelPackageType == enum_ModelPackageType[_]
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ModelPackageSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModelQualityJobDefinitions

enum_MonitoringJobDefinitionSortKey := [ "Name", "CreationTime" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.EndpointName == STRING
    input.Body.SortBy == enum_MonitoringJobDefinitionSortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListModels

enum_ModelSortKey := [ "Name", "CreationTime" ]
enum_OrderKey := [ "Ascending", "Descending" ]

valid {
    input.Body.SortBy == enum_ModelSortKey[_]
    input.Body.SortOrder == enum_OrderKey[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMonitoringAlertHistory

enum_MonitoringAlertHistorySortKey := [ "CreationTime", "Status" ]
enum_MonitoringAlertStatus := [ "InAlert", "OK" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.MonitoringScheduleName == STRING
    input.Body.MonitoringAlertName == STRING
    input.Body.SortBy == enum_MonitoringAlertHistorySortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.StatusEquals == enum_MonitoringAlertStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMonitoringAlerts

valid {
    input.Body.MonitoringScheduleName == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMonitoringExecutions

enum_ExecutionStatus := [ "Pending", "Completed", "CompletedWithViolations", "InProgress", "Failed", "Stopping", "Stopped" ]
enum_MonitoringExecutionSortKey := [ "CreationTime", "ScheduledTime", "Status" ]
enum_MonitoringType := [ "DataQuality", "ModelQuality", "ModelBias", "ModelExplainability" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.MonitoringScheduleName == STRING
    input.Body.EndpointName == STRING
    input.Body.SortBy == enum_MonitoringExecutionSortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.ScheduledTimeBefore == TIMESTAMP
    input.Body.ScheduledTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.StatusEquals == enum_ExecutionStatus[_]
    input.Body.MonitoringJobDefinitionName == STRING
    input.Body.MonitoringTypeEquals == enum_MonitoringType[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListMonitoringSchedules

enum_MonitoringScheduleSortKey := [ "Name", "CreationTime", "Status" ]
enum_MonitoringType := [ "DataQuality", "ModelQuality", "ModelBias", "ModelExplainability" ]
enum_ScheduleStatus := [ "Pending", "Failed", "Scheduled", "Stopped" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.EndpointName == STRING
    input.Body.SortBy == enum_MonitoringScheduleSortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.StatusEquals == enum_ScheduleStatus[_]
    input.Body.MonitoringJobDefinitionName == STRING
    input.Body.MonitoringTypeEquals == enum_MonitoringType[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListNotebookInstanceLifecycleConfigs

enum_NotebookInstanceLifecycleConfigSortKey := [ "Name", "CreationTime", "LastModifiedTime" ]
enum_NotebookInstanceLifecycleConfigSortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.SortBy == enum_NotebookInstanceLifecycleConfigSortKey[_]
    input.Body.SortOrder == enum_NotebookInstanceLifecycleConfigSortOrder[_]
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListNotebookInstances

enum_NotebookInstanceSortKey := [ "Name", "CreationTime", "Status" ]
enum_NotebookInstanceSortOrder := [ "Ascending", "Descending" ]
enum_NotebookInstanceStatus := [ "Pending", "InService", "Stopping", "Stopped", "Failed", "Deleting", "Updating" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.SortBy == enum_NotebookInstanceSortKey[_]
    input.Body.SortOrder == enum_NotebookInstanceSortOrder[_]
    input.Body.NameContains == STRING
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.StatusEquals == enum_NotebookInstanceStatus[_]
    input.Body.NotebookInstanceLifecycleConfigNameContains == STRING
    input.Body.DefaultCodeRepositoryContains == STRING
    input.Body.AdditionalCodeRepositoryEquals == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListOptimizationJobs

enum_ListOptimizationJobsSortBy := [ "Name", "CreationTime", "Status" ]
enum_OptimizationJobStatus := [ "INPROGRESS", "COMPLETED", "FAILED", "STARTING", "STOPPING", "STOPPED" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.OptimizationContains == STRING
    input.Body.NameContains == STRING
    input.Body.StatusEquals == enum_OptimizationJobStatus[_]
    input.Body.SortBy == enum_ListOptimizationJobsSortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListPartnerApps

valid {
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListPipelineExecutionSteps

enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.PipelineExecutionArn == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListPipelineExecutions

enum_SortOrder := [ "Ascending", "Descending" ]
enum_SortPipelineExecutionsBy := [ "CreationTime", "PipelineExecutionArn" ]

valid {
    input.Body.PipelineName == STRING
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortPipelineExecutionsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListPipelineParametersForExecution

valid {
    input.Body.PipelineExecutionArn == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListPipelines

enum_SortOrder := [ "Ascending", "Descending" ]
enum_SortPipelinesBy := [ "Name", "CreationTime" ]

valid {
    input.Body.PipelineNamePrefix == STRING
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortPipelinesBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListProcessingJobs

enum_ProcessingJobStatus := [ "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]
enum_SortBy := [ "Name", "CreationTime", "Status" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.StatusEquals == enum_ProcessingJobStatus[_]
    input.Body.SortBy == enum_SortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListProjects

enum_ProjectSortBy := [ "Name", "CreationTime" ]
enum_ProjectSortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.MaxResults == INTEGER
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.SortBy == enum_ProjectSortBy[_]
    input.Body.SortOrder == enum_ProjectSortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListRasterDataCollections

valid {
    input.Qs.MaxResults == INTEGER
    input.Qs.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListResourceCatalogs

enum_ResourceCatalogSortBy := [ "CreationTime" ]
enum_ResourceCatalogSortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NameContains == STRING
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.SortOrder == enum_ResourceCatalogSortOrder[_]
    input.Body.SortBy == enum_ResourceCatalogSortBy[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListSpaces

enum_SortOrder := [ "Ascending", "Descending" ]
enum_SpaceSortKey := [ "CreationTime", "LastModifiedTime" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.SortBy == enum_SpaceSortKey[_]
    input.Body.DomainIdEquals == STRING
    input.Body.SpaceNameContains == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListStageDevices

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.EdgeDeploymentPlanName == STRING
    input.Body.ExcludeDevicesDeployedInOtherStage == BOOLEAN
    input.Body.StageName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListStudioLifecycleConfigs

enum_SortOrder := [ "Ascending", "Descending" ]
enum_StudioLifecycleConfigAppType := [ "JupyterServer", "KernelGateway", "CodeEditor", "JupyterLab" ]
enum_StudioLifecycleConfigSortKey := [ "CreationTime", "LastModifiedTime", "Name" ]

valid {
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.NameContains == STRING
    input.Body.AppTypeEquals == enum_StudioLifecycleConfigAppType[_]
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.ModifiedTimeBefore == TIMESTAMP
    input.Body.ModifiedTimeAfter == TIMESTAMP
    input.Body.SortBy == enum_StudioLifecycleConfigSortKey[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListSubscribedWorkteams

valid {
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTags

valid {
    input.Body.ResourceArn == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTagsForResource

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

ListTrainingJobs

enum_SortBy := [ "Name", "CreationTime", "Status" ]
enum_SortOrder := [ "Ascending", "Descending" ]
enum_TrainingJobStatus := [ "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]
enum_WarmPoolResourceStatus := [ "Available", "Terminated", "Reused", "InUse" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.StatusEquals == enum_TrainingJobStatus[_]
    input.Body.SortBy == enum_SortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.WarmPoolStatusEquals == enum_WarmPoolResourceStatus[_]
    input.Body.TrainingPlanArnEquals == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTrainingJobsForHyperParameterTuningJob

enum_SortOrder := [ "Ascending", "Descending" ]
enum_TrainingJobSortByOptions := [ "Name", "CreationTime", "Status", "FinalObjectiveMetricValue" ]
enum_TrainingJobStatus := [ "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]

valid {
    input.Body.HyperParameterTuningJobName == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.StatusEquals == enum_TrainingJobStatus[_]
    input.Body.SortBy == enum_TrainingJobSortByOptions[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTrainingPlans

enum_TrainingPlanFilterName := [ "Status" ]
enum_TrainingPlanSortBy := [ "TrainingPlanName", "StartTime", "Status" ]
enum_TrainingPlanSortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.StartTimeAfter == TIMESTAMP
    input.Body.StartTimeBefore == TIMESTAMP
    input.Body.SortBy == enum_TrainingPlanSortBy[_]
    input.Body.SortOrder == enum_TrainingPlanSortOrder[_]
    input.Body.Filters[_].Name == enum_TrainingPlanFilterName[_]
    input.Body.Filters[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTransformJobs

enum_SortBy := [ "Name", "CreationTime", "Status" ]
enum_SortOrder := [ "Ascending", "Descending" ]
enum_TransformJobStatus := [ "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]

valid {
    input.Body.CreationTimeAfter == TIMESTAMP
    input.Body.CreationTimeBefore == TIMESTAMP
    input.Body.LastModifiedTimeAfter == TIMESTAMP
    input.Body.LastModifiedTimeBefore == TIMESTAMP
    input.Body.NameContains == STRING
    input.Body.StatusEquals == enum_TransformJobStatus[_]
    input.Body.SortBy == enum_SortBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTrialComponents

enum_SortOrder := [ "Ascending", "Descending" ]
enum_SortTrialComponentsBy := [ "Name", "CreationTime" ]

valid {
    input.Body.ExperimentName == STRING
    input.Body.TrialName == STRING
    input.Body.SourceArn == STRING
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortTrialComponentsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListTrials

enum_SortOrder := [ "Ascending", "Descending" ]
enum_SortTrialsBy := [ "Name", "CreationTime" ]

valid {
    input.Body.ExperimentName == STRING
    input.Body.TrialComponentName == STRING
    input.Body.CreatedAfter == TIMESTAMP
    input.Body.CreatedBefore == TIMESTAMP
    input.Body.SortBy == enum_SortTrialsBy[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListUserProfiles

enum_SortOrder := [ "Ascending", "Descending" ]
enum_UserProfileSortKey := [ "CreationTime", "LastModifiedTime" ]

valid {
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.SortBy == enum_UserProfileSortKey[_]
    input.Body.DomainIdEquals == STRING
    input.Body.UserProfileNameContains == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListVectorEnrichmentJobs

enum_SortOrder := [ "ASCENDING", "DESCENDING" ]

valid {
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.Body.SortBy == STRING
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.StatusEquals == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListWorkforces

enum_ListWorkforcesSortByOptions := [ "Name", "CreateDate" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.SortBy == enum_ListWorkforcesSortByOptions[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListWorkteams

enum_ListWorkteamsSortByOptions := [ "Name", "CreateDate" ]
enum_SortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.SortBy == enum_ListWorkteamsSortByOptions[_]
    input.Body.SortOrder == enum_SortOrder[_]
    input.Body.NameContains == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

PutModelPackageGroupPolicy

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

PutRecord

enum_TargetStore := [ "OnlineStore", "OfflineStore" ]
enum_TtlDurationUnit := [ "Seconds", "Minutes", "Hours", "Days", "Weeks" ]

valid {
    input.Body.Record[_].FeatureName == STRING
    input.Body.Record[_].ValueAsString == STRING
    input.Body.Record[_].ValueAsStringList[_] == STRING
    input.Body.TargetStores[_] == enum_TargetStore[_]
    input.Body.TtlDuration.Unit == enum_TtlDurationUnit[_]
    input.Body.TtlDuration.Value == INTEGER
    input.ReqMap.FeatureGroupName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

QueryLineage

enum_Direction := [ "Both", "Ascendants", "Descendants" ]
enum_LineageType := [ "TrialComponent", "Artifact", "Context", "Action" ]

valid {
    input.Body.StartArns[_] == STRING
    input.Body.Direction == enum_Direction[_]
    input.Body.IncludeEdges == BOOLEAN
    input.Body.Filters.Types[_] == STRING
    input.Body.Filters.LineageTypes[_] == enum_LineageType[_]
    input.Body.Filters.CreatedBefore == TIMESTAMP
    input.Body.Filters.CreatedAfter == TIMESTAMP
    input.Body.Filters.ModifiedBefore == TIMESTAMP
    input.Body.Filters.ModifiedAfter == TIMESTAMP
    input.Body.Filters.Properties.STRING == STRING
    input.Body.MaxDepth == INTEGER
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

RegisterDevices

valid {
    input.Body.DeviceFleetName == STRING
    input.Body.Devices[_].DeviceName == STRING
    input.Body.Devices[_].Description == STRING
    input.Body.Devices[_].IotThingName == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

RenderUiTemplate

valid {
    input.Body.UiTemplate.Content == STRING
    input.Body.Task.Input == STRING
    input.Body.RoleArn == STRING
    input.Body.HumanTaskUiArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

RetryPipelineExecution

valid {
    input.Body.PipelineExecutionArn == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.ParallelismConfiguration.MaxParallelExecutionSteps == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

Search

enum_BooleanOperator := [ "And", "Or" ]
enum_CrossAccountFilterOption := [ "SameAccount", "CrossAccount" ]
enum_Operator := [ "Equals", "NotEquals", "GreaterThan", "GreaterThanOrEqualTo", "LessThan", "LessThanOrEqualTo", "Contains", "Exists", "NotExists", "In" ]
enum_ResourceType := [ "TrainingJob", "Experiment", "ExperimentTrial", "ExperimentTrialComponent", "Endpoint", "Model", "ModelPackage", "ModelPackageGroup", "Pipeline", "PipelineExecution", "FeatureGroup", "FeatureMetadata", "Image", "ImageVersion", "Project", "HyperParameterTuningJob", "ModelCard" ]
enum_SearchSortOrder := [ "Ascending", "Descending" ]

valid {
    input.Body.Resource == enum_ResourceType[_]
    input.Body.SearchExpression.Filters[_].Name == STRING
    input.Body.SearchExpression.Filters[_].Operator == enum_Operator[_]
    input.Body.SearchExpression.Filters[_].Value == STRING
    input.Body.SearchExpression.NestedFilters[_].NestedPropertyName == STRING
    input.Body.SearchExpression.NestedFilters[_].Filters[_].Name == STRING
    input.Body.SearchExpression.NestedFilters[_].Filters[_].Operator == enum_Operator[_]
    input.Body.SearchExpression.NestedFilters[_].Filters[_].Value == STRING
    input.Body.SearchExpression.SubExpressions[_] == NESTED
    input.Body.SearchExpression.Operator == enum_BooleanOperator[_]
    input.Body.SortBy == STRING
    input.Body.SortOrder == enum_SearchSortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.CrossAccountFilterOption == enum_CrossAccountFilterOption[_]
    input.Body.VisibilityConditions[_].Key == STRING
    input.Body.VisibilityConditions[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

SearchRasterDataCollection

enum_ComparisonOperator := [ "EQUALS", "NOT_EQUALS", "STARTS_WITH" ]
enum_LogicalOperator := [ "AND" ]

valid {
    input.Body.Arn == STRING
    input.Body.NextToken == STRING
    input.Body.RasterDataCollectionQuery.AreaOfInterest.AreaOfInterestGeometry.MultiPolygonGeometry.Coordinates[_][_][_][_] == DOUBLE
    input.Body.RasterDataCollectionQuery.AreaOfInterest.AreaOfInterestGeometry.PolygonGeometry.Coordinates[_][_][_] == DOUBLE
    input.Body.RasterDataCollectionQuery.BandFilter[_] == STRING
    input.Body.RasterDataCollectionQuery.PropertyFilters.LogicalOperator == enum_LogicalOperator[_]
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.EoCloudCover.LowerBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.EoCloudCover.UpperBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.LandsatCloudCoverLand.LowerBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.LandsatCloudCoverLand.UpperBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.Platform.ComparisonOperator == enum_ComparisonOperator[_]
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.Platform.Value == STRING
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewOffNadir.LowerBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewOffNadir.UpperBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewSunAzimuth.LowerBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewSunAzimuth.UpperBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewSunElevation.LowerBound == FLOAT
    input.Body.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewSunElevation.UpperBound == FLOAT
    input.Body.RasterDataCollectionQuery.TimeRangeFilter.EndTime == TIMESTAMP
    input.Body.RasterDataCollectionQuery.TimeRangeFilter.StartTime == TIMESTAMP
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

SearchTrainingPlanOfferings

enum_ReservedCapacityInstanceType := [ "ml.p4d.24xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.trn2.48xlarge" ]
enum_SageMakerResourceName := [ "training-job", "hyperpod-cluster" ]

valid {
    input.Body.InstanceType == enum_ReservedCapacityInstanceType[_]
    input.Body.InstanceCount == INTEGER
    input.Body.StartTimeAfter == TIMESTAMP
    input.Body.EndTimeBefore == TIMESTAMP
    input.Body.DurationHours == LONG
    input.Body.TargetResources[_] == enum_SageMakerResourceName[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

SendHeartbeat

enum_DeploymentStatus := [ "SUCCESS", "FAIL" ]
enum_ModelState := [ "DEPLOY", "UNDEPLOY" ]

valid {
    input.Body.AgentMetrics[_].Dimension == STRING
    input.Body.AgentMetrics[_].MetricName == STRING
    input.Body.AgentMetrics[_].Value == DOUBLE
    input.Body.AgentMetrics[_].Timestamp == TIMESTAMP
    input.Body.Models[_].ModelName == STRING
    input.Body.Models[_].ModelVersion == STRING
    input.Body.Models[_].LatestSampleTime == TIMESTAMP
    input.Body.Models[_].LatestInference == TIMESTAMP
    input.Body.Models[_].ModelMetrics[_].Dimension == STRING
    input.Body.Models[_].ModelMetrics[_].MetricName == STRING
    input.Body.Models[_].ModelMetrics[_].Value == DOUBLE
    input.Body.Models[_].ModelMetrics[_].Timestamp == TIMESTAMP
    input.Body.AgentVersion == STRING
    input.Body.DeviceName == STRING
    input.Body.DeviceFleetName == STRING
    input.Body.DeploymentResult.DeploymentName == STRING
    input.Body.DeploymentResult.DeploymentStatus == STRING
    input.Body.DeploymentResult.DeploymentStatusMessage == STRING
    input.Body.DeploymentResult.DeploymentStartTime == TIMESTAMP
    input.Body.DeploymentResult.DeploymentEndTime == TIMESTAMP
    input.Body.DeploymentResult.DeploymentModels[_].ModelHandle == STRING
    input.Body.DeploymentResult.DeploymentModels[_].ModelName == STRING
    input.Body.DeploymentResult.DeploymentModels[_].ModelVersion == STRING
    input.Body.DeploymentResult.DeploymentModels[_].DesiredState == enum_ModelState[_]
    input.Body.DeploymentResult.DeploymentModels[_].State == enum_ModelState[_]
    input.Body.DeploymentResult.DeploymentModels[_].Status == enum_DeploymentStatus[_]
    input.Body.DeploymentResult.DeploymentModels[_].StatusReason == STRING
    input.Body.DeploymentResult.DeploymentModels[_].RollbackFailureReason == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

SendPipelineExecutionStepFailure

valid {
    input.Body.CallbackToken == STRING
    input.Body.FailureReason == STRING
    input.Body.ClientRequestToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

SendPipelineExecutionStepSuccess

valid {
    input.Body.CallbackToken == STRING
    input.Body.OutputParameters[_].Name == STRING
    input.Body.OutputParameters[_].Value == STRING
    input.Body.ClientRequestToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartEarthObservationJob

enum_AlgorithmNameCloudRemoval := [ "INTERPOLATION" ]
enum_AlgorithmNameGeoMosaic := [ "NEAR", "BILINEAR", "CUBIC", "CUBICSPLINE", "LANCZOS", "AVERAGE", "RMS", "MODE", "MAX", "MIN", "MED", "Q1", "Q3", "SUM" ]
enum_AlgorithmNameResampling := [ "NEAR", "BILINEAR", "CUBIC", "CUBICSPLINE", "LANCZOS", "AVERAGE", "RMS", "MODE", "MAX", "MIN", "MED", "Q1", "Q3", "SUM" ]
enum_ComparisonOperator := [ "EQUALS", "NOT_EQUALS", "STARTS_WITH" ]
enum_GroupBy := [ "ALL", "YEARLY" ]
enum_LogicalOperator := [ "AND" ]
enum_OutputType := [ "INT32", "FLOAT32", "INT16", "FLOAT64", "UINT16" ]
enum_PredefinedResolution := [ "HIGHEST", "LOWEST", "AVERAGE" ]
enum_TemporalStatistics := [ "MEAN", "MEDIAN", "STANDARD_DEVIATION" ]
enum_Unit := [ "METERS" ]
enum_ZonalStatistics := [ "MEAN", "MEDIAN", "STANDARD_DEVIATION", "MAX", "MIN", "SUM" ]

valid {
    input.Body.ClientToken == STRING
    input.Body.ExecutionRoleArn == STRING
    input.Body.InputConfig.PreviousEarthObservationJobArn == STRING
    input.Body.InputConfig.RasterDataCollectionQuery.AreaOfInterest.AreaOfInterestGeometry.MultiPolygonGeometry.Coordinates[_][_][_][_] == DOUBLE
    input.Body.InputConfig.RasterDataCollectionQuery.AreaOfInterest.AreaOfInterestGeometry.PolygonGeometry.Coordinates[_][_][_] == DOUBLE
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.LogicalOperator == enum_LogicalOperator[_]
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.EoCloudCover.LowerBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.EoCloudCover.UpperBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.LandsatCloudCoverLand.LowerBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.LandsatCloudCoverLand.UpperBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.Platform.ComparisonOperator == enum_ComparisonOperator[_]
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.Platform.Value == STRING
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewOffNadir.LowerBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewOffNadir.UpperBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewSunAzimuth.LowerBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewSunAzimuth.UpperBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewSunElevation.LowerBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.PropertyFilters.Properties[_].Property.ViewSunElevation.UpperBound == FLOAT
    input.Body.InputConfig.RasterDataCollectionQuery.RasterDataCollectionArn == STRING
    input.Body.InputConfig.RasterDataCollectionQuery.TimeRangeFilter.EndTime == TIMESTAMP
    input.Body.InputConfig.RasterDataCollectionQuery.TimeRangeFilter.StartTime == TIMESTAMP
    input.Body.JobConfig.BandMathConfig.CustomIndices.Operations[_].Equation == STRING
    input.Body.JobConfig.BandMathConfig.CustomIndices.Operations[_].Name == STRING
    input.Body.JobConfig.BandMathConfig.CustomIndices.Operations[_].OutputType == enum_OutputType[_]
    input.Body.JobConfig.BandMathConfig.PredefinedIndices[_] == STRING
    input.Body.JobConfig.CloudMaskingConfig == {}
    input.Body.JobConfig.CloudRemovalConfig.AlgorithmName == enum_AlgorithmNameCloudRemoval[_]
    input.Body.JobConfig.CloudRemovalConfig.InterpolationValue == STRING
    input.Body.JobConfig.CloudRemovalConfig.TargetBands[_] == STRING
    input.Body.JobConfig.GeoMosaicConfig.AlgorithmName == enum_AlgorithmNameGeoMosaic[_]
    input.Body.JobConfig.GeoMosaicConfig.TargetBands[_] == STRING
    input.Body.JobConfig.LandCoverSegmentationConfig == {}
    input.Body.JobConfig.ResamplingConfig.AlgorithmName == enum_AlgorithmNameResampling[_]
    input.Body.JobConfig.ResamplingConfig.OutputResolution.UserDefined.Unit == enum_Unit[_]
    input.Body.JobConfig.ResamplingConfig.OutputResolution.UserDefined.Value == FLOAT
    input.Body.JobConfig.ResamplingConfig.TargetBands[_] == STRING
    input.Body.JobConfig.StackConfig.OutputResolution.Predefined == enum_PredefinedResolution[_]
    input.Body.JobConfig.StackConfig.OutputResolution.UserDefined.Unit == enum_Unit[_]
    input.Body.JobConfig.StackConfig.OutputResolution.UserDefined.Value == FLOAT
    input.Body.JobConfig.StackConfig.TargetBands[_] == STRING
    input.Body.JobConfig.TemporalStatisticsConfig.GroupBy == enum_GroupBy[_]
    input.Body.JobConfig.TemporalStatisticsConfig.Statistics[_] == enum_TemporalStatistics[_]
    input.Body.JobConfig.TemporalStatisticsConfig.TargetBands[_] == STRING
    input.Body.JobConfig.ZonalStatisticsConfig.Statistics[_] == enum_ZonalStatistics[_]
    input.Body.JobConfig.ZonalStatisticsConfig.TargetBands[_] == STRING
    input.Body.JobConfig.ZonalStatisticsConfig.ZoneS3Path == STRING
    input.Body.JobConfig.ZonalStatisticsConfig.ZoneS3PathKmsKeyId == STRING
    input.Body.KmsKeyId == STRING
    input.Body.Name == STRING
    input.Body.Tags.STRING == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartEdgeDeploymentStage

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

StartHumanLoop

enum_ContentClassifier := [ "FreeOfPersonallyIdentifiableInformation", "FreeOfAdultContent" ]

valid {
    input.Body.HumanLoopName == STRING
    input.Body.FlowDefinitionArn == STRING
    input.Body.HumanLoopInput.InputContent == STRING
    input.Body.DataAttributes.ContentClassifiers[_] == enum_ContentClassifier[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartInferenceExperiment

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

StartMlflowTrackingServer

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

StartMonitoringSchedule

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

StartNotebookInstance

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

StartPipelineExecution

valid {
    input.Body.PipelineName == STRING
    input.Body.PipelineExecutionDisplayName == STRING
    input.Body.PipelineParameters[_].Name == STRING
    input.Body.PipelineParameters[_].Value == STRING
    input.Body.PipelineExecutionDescription == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.ParallelismConfiguration.MaxParallelExecutionSteps == INTEGER
    input.Body.SelectiveExecutionConfig.SourcePipelineExecutionArn == STRING
    input.Body.SelectiveExecutionConfig.SelectedSteps[_].StepName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StartVectorEnrichmentJob

enum_VectorEnrichmentJobDocumentType := [ "CSV" ]

valid {
    input.Body.ClientToken == STRING
    input.Body.ExecutionRoleArn == STRING
    input.Body.InputConfig.DataSourceConfig.S3Data.KmsKeyId == STRING
    input.Body.InputConfig.DataSourceConfig.S3Data.S3Uri == STRING
    input.Body.InputConfig.DocumentType == enum_VectorEnrichmentJobDocumentType[_]
    input.Body.JobConfig.MapMatchingConfig.IdAttributeName == STRING
    input.Body.JobConfig.MapMatchingConfig.TimestampAttributeName == STRING
    input.Body.JobConfig.MapMatchingConfig.XAttributeName == STRING
    input.Body.JobConfig.MapMatchingConfig.YAttributeName == STRING
    input.Body.JobConfig.ReverseGeocodingConfig.XAttributeName == STRING
    input.Body.JobConfig.ReverseGeocodingConfig.YAttributeName == STRING
    input.Body.KmsKeyId == STRING
    input.Body.Name == STRING
    input.Body.Tags.STRING == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopAutoMLJob

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

StopCompilationJob

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

StopEarthObservationJob

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

StopEdgeDeploymentStage

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

StopEdgePackagingJob

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

StopHumanLoop

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

StopHyperParameterTuningJob

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

StopInferenceExperiment

enum_InferenceExperimentStopDesiredState := [ "Completed", "Cancelled" ]
enum_InstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge" ]
enum_ModelInfrastructureType := [ "RealTimeInference" ]
enum_ModelVariantAction := [ "Retain", "Remove", "Promote" ]

valid {
    input.Body.Name == STRING
    input.Body.ModelVariantActions.STRING == enum_ModelVariantAction[_]
    input.Body.DesiredModelVariants[_].ModelName == STRING
    input.Body.DesiredModelVariants[_].VariantName == STRING
    input.Body.DesiredModelVariants[_].InfrastructureConfig.InfrastructureType == enum_ModelInfrastructureType[_]
    input.Body.DesiredModelVariants[_].InfrastructureConfig.RealTimeInferenceConfig.InstanceType == enum_InstanceType[_]
    input.Body.DesiredModelVariants[_].InfrastructureConfig.RealTimeInferenceConfig.InstanceCount == INTEGER
    input.Body.DesiredState == enum_InferenceExperimentStopDesiredState[_]
    input.Body.Reason == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

StopInferenceRecommendationsJob

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

StopLabelingJob

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

StopMlflowTrackingServer

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

StopMonitoringSchedule

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

StopNotebookInstance

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

StopOptimizationJob

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

StopPipelineExecution

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

StopProcessingJob

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

StopTrainingJob

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

StopTransformJob

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

StopVectorEnrichmentJob

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

TagResource

valid {
    input.Body.Tags.STRING == STRING
    input.ReqMap.ResourceArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UntagResource

valid {
    input.ReqMap.ResourceArn == STRING
    input.Qs.tagKeys[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateAction

enum_ActionStatus := [ "Unknown", "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]

valid {
    input.Body.ActionName == STRING
    input.Body.Description == STRING
    input.Body.Status == enum_ActionStatus[_]
    input.Body.Properties.STRING == STRING
    input.Body.PropertiesToRemove[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateAppImageConfig

valid {
    input.Body.AppImageConfigName == STRING
    input.Body.KernelGatewayImageConfig.KernelSpecs[_].Name == STRING
    input.Body.KernelGatewayImageConfig.KernelSpecs[_].DisplayName == STRING
    input.Body.KernelGatewayImageConfig.FileSystemConfig.MountPath == STRING
    input.Body.KernelGatewayImageConfig.FileSystemConfig.DefaultUid == INTEGER
    input.Body.KernelGatewayImageConfig.FileSystemConfig.DefaultGid == INTEGER
    input.Body.JupyterLabAppImageConfig.FileSystemConfig.MountPath == STRING
    input.Body.JupyterLabAppImageConfig.FileSystemConfig.DefaultUid == INTEGER
    input.Body.JupyterLabAppImageConfig.FileSystemConfig.DefaultGid == INTEGER
    input.Body.JupyterLabAppImageConfig.ContainerConfig.ContainerArguments[_] == STRING
    input.Body.JupyterLabAppImageConfig.ContainerConfig.ContainerEntrypoint[_] == STRING
    input.Body.JupyterLabAppImageConfig.ContainerConfig.ContainerEnvironmentVariables.STRING == STRING
    input.Body.CodeEditorAppImageConfig.FileSystemConfig.MountPath == STRING
    input.Body.CodeEditorAppImageConfig.FileSystemConfig.DefaultUid == INTEGER
    input.Body.CodeEditorAppImageConfig.FileSystemConfig.DefaultGid == INTEGER
    input.Body.CodeEditorAppImageConfig.ContainerConfig.ContainerArguments[_] == STRING
    input.Body.CodeEditorAppImageConfig.ContainerConfig.ContainerEntrypoint[_] == STRING
    input.Body.CodeEditorAppImageConfig.ContainerConfig.ContainerEnvironmentVariables.STRING == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateArtifact

valid {
    input.Body.ArtifactArn == STRING
    input.Body.ArtifactName == STRING
    input.Body.Properties.STRING == STRING
    input.Body.PropertiesToRemove[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateCluster

enum_ClusterInstanceType := [ "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.c5n.large", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.gr6.4xlarge", "ml.gr6.8xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.trn2.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge" ]
enum_ClusterNodeRecovery := [ "Automatic", "None" ]
enum_DeepHealthCheckType := [ "InstanceStress", "InstanceConnectivity" ]

valid {
    input.Body.ClusterName == STRING
    input.Body.InstanceGroups[_].InstanceCount == INTEGER
    input.Body.InstanceGroups[_].InstanceGroupName == STRING
    input.Body.InstanceGroups[_].InstanceType == enum_ClusterInstanceType[_]
    input.Body.InstanceGroups[_].LifeCycleConfig.SourceS3Uri == STRING
    input.Body.InstanceGroups[_].LifeCycleConfig.OnCreate == STRING
    input.Body.InstanceGroups[_].ExecutionRole == STRING
    input.Body.InstanceGroups[_].ThreadsPerCore == INTEGER
    input.Body.InstanceGroups[_].InstanceStorageConfigs[_].EbsVolumeConfig.VolumeSizeInGB == INTEGER
    input.Body.InstanceGroups[_].OnStartDeepHealthChecks[_] == enum_DeepHealthCheckType[_]
    input.Body.InstanceGroups[_].TrainingPlanArn == STRING
    input.Body.InstanceGroups[_].OverrideVpcConfig.SecurityGroupIds[_] == STRING
    input.Body.InstanceGroups[_].OverrideVpcConfig.Subnets[_] == STRING
    input.Body.NodeRecovery == enum_ClusterNodeRecovery[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateClusterSchedulerConfig

enum_FairShare := [ "Enabled", "Disabled" ]

valid {
    input.Body.ClusterSchedulerConfigId == STRING
    input.Body.TargetVersion == INTEGER
    input.Body.SchedulerConfig.PriorityClasses[_].Name == STRING
    input.Body.SchedulerConfig.PriorityClasses[_].Weight == INTEGER
    input.Body.SchedulerConfig.FairShare == enum_FairShare[_]
    input.Body.Description == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateClusterSoftware

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

UpdateCodeRepository

valid {
    input.Body.CodeRepositoryName == STRING
    input.Body.GitConfig.SecretArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateComputeQuota

enum_ActivationState := [ "Enabled", "Disabled" ]
enum_ClusterInstanceType := [ "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.c5n.large", "ml.c5n.2xlarge", "ml.c5n.4xlarge", "ml.c5n.9xlarge", "ml.c5n.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.16xlarge", "ml.g6.12xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.gr6.4xlarge", "ml.gr6.8xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.16xlarge", "ml.g6e.12xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p5e.48xlarge", "ml.p5en.48xlarge", "ml.trn2.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge" ]
enum_PreemptTeamTasks := [ "Never", "LowerPriority" ]
enum_ResourceSharingStrategy := [ "Lend", "DontLend", "LendAndBorrow" ]

valid {
    input.Body.ComputeQuotaId == STRING
    input.Body.TargetVersion == INTEGER
    input.Body.ComputeQuotaConfig.ComputeQuotaResources[_].InstanceType == enum_ClusterInstanceType[_]
    input.Body.ComputeQuotaConfig.ComputeQuotaResources[_].Count == INTEGER
    input.Body.ComputeQuotaConfig.ResourceSharingConfig.Strategy == enum_ResourceSharingStrategy[_]
    input.Body.ComputeQuotaConfig.ResourceSharingConfig.BorrowLimit == INTEGER
    input.Body.ComputeQuotaConfig.PreemptTeamTasks == enum_PreemptTeamTasks[_]
    input.Body.ComputeQuotaTarget.TeamName == STRING
    input.Body.ComputeQuotaTarget.FairShareWeight == INTEGER
    input.Body.ActivationState == enum_ActivationState[_]
    input.Body.Description == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateContext

valid {
    input.Body.ContextName == STRING
    input.Body.Description == STRING
    input.Body.Properties.STRING == STRING
    input.Body.PropertiesToRemove[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateDeviceFleet

enum_EdgePresetDeploymentType := [ "GreengrassV2Component" ]

valid {
    input.Body.DeviceFleetName == STRING
    input.Body.RoleArn == STRING
    input.Body.Description == STRING
    input.Body.OutputConfig.S3OutputLocation == STRING
    input.Body.OutputConfig.KmsKeyId == STRING
    input.Body.OutputConfig.PresetDeploymentType == enum_EdgePresetDeploymentType[_]
    input.Body.OutputConfig.PresetDeploymentConfig == STRING
    input.Body.EnableIotRoleAlias == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateDevices

valid {
    input.Body.DeviceFleetName == STRING
    input.Body.Devices[_].DeviceName == STRING
    input.Body.Devices[_].Description == STRING
    input.Body.Devices[_].IotThingName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateDomain

enum_AppInstanceType := [ "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge" ]
enum_AppNetworkAccessType := [ "PublicInternetOnly", "VpcOnly" ]
enum_AppSecurityGroupManagement := [ "Service", "Customer" ]
enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]
enum_AutoMountHomeEFS := [ "Enabled", "Disabled", "DefaultAsDomain" ]
enum_DataSourceName := [ "SalesforceGenie", "Snowflake" ]
enum_ExecutionRoleIdentityConfig := [ "USER_PROFILE_NAME", "DISABLED" ]
enum_FeatureStatus := [ "ENABLED", "DISABLED" ]
enum_LifecycleManagement := [ "ENABLED", "DISABLED" ]
enum_MlTools := [ "DataWrangler", "FeatureStore", "EmrClusters", "AutoMl", "Experiments", "Training", "ModelEvaluation", "Pipelines", "Models", "JumpStart", "InferenceRecommender", "Endpoints", "Projects", "InferenceOptimization", "PerformanceEvaluation", "LakeraGuard", "Comet", "DeepchecksLLMEvaluation", "Fiddler", "HyperPodClusters" ]
enum_NotebookOutputOption := [ "Allowed", "Disabled" ]
enum_RStudioServerProAccessStatus := [ "ENABLED", "DISABLED" ]
enum_RStudioServerProUserGroup := [ "R_STUDIO_ADMIN", "R_STUDIO_USER" ]
enum_SageMakerImageName := [ "sagemaker_distribution" ]
enum_StudioWebPortal := [ "ENABLED", "DISABLED" ]
enum_TagPropagation := [ "ENABLED", "DISABLED" ]

valid {
    input.Body.DomainId == STRING
    input.Body.DefaultUserSettings.ExecutionRole == STRING
    input.Body.DefaultUserSettings.SecurityGroups[_] == STRING
    input.Body.DefaultUserSettings.SharingSettings.NotebookOutputOption == enum_NotebookOutputOption[_]
    input.Body.DefaultUserSettings.SharingSettings.S3OutputPath == STRING
    input.Body.DefaultUserSettings.SharingSettings.S3KmsKeyId == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.JupyterServerAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultUserSettings.JupyterServerAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.TensorBoardAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.RStudioServerProAppSettings.AccessStatus == enum_RStudioServerProAccessStatus[_]
    input.Body.DefaultUserSettings.RStudioServerProAppSettings.UserGroup == enum_RStudioServerProUserGroup[_]
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.RSessionAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultUserSettings.RSessionAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultUserSettings.RSessionAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.TimeSeriesForecastingSettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.TimeSeriesForecastingSettings.AmazonForecastRoleArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.ModelRegisterSettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.ModelRegisterSettings.CrossAccountModelRegisterRoleArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.WorkspaceSettings.S3ArtifactPath == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.WorkspaceSettings.S3KmsKeyId == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].DataSourceName == enum_DataSourceName[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].SecretArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.DirectDeploySettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.KendraSettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CanvasAppSettings.GenerativeAiSettings.AmazonBedrockRoleArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.EmrServerlessSettings.ExecutionRoleArn == STRING
    input.Body.DefaultUserSettings.CanvasAppSettings.EmrServerlessSettings.Status == enum_FeatureStatus[_]
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.CodeEditorAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultUserSettings.CodeEditorAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultUserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.DefaultUserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.CodeEditorAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.JupyterLabAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultUserSettings.JupyterLabAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.DefaultUserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultUserSettings.JupyterLabAppSettings.EmrSettings.AssumableRoleArns[_] == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.EmrSettings.ExecutionRoleArns[_] == STRING
    input.Body.DefaultUserSettings.JupyterLabAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.DefaultUserSettings.SpaceStorageSettings.DefaultEbsStorageSettings.DefaultEbsVolumeSizeInGb == INTEGER
    input.Body.DefaultUserSettings.SpaceStorageSettings.DefaultEbsStorageSettings.MaximumEbsVolumeSizeInGb == INTEGER
    input.Body.DefaultUserSettings.DefaultLandingUri == STRING
    input.Body.DefaultUserSettings.StudioWebPortal == enum_StudioWebPortal[_]
    input.Body.DefaultUserSettings.CustomPosixUserConfig.Uid == LONG
    input.Body.DefaultUserSettings.CustomPosixUserConfig.Gid == LONG
    input.Body.DefaultUserSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemId == STRING
    input.Body.DefaultUserSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemPath == STRING
    input.Body.DefaultUserSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemId == STRING
    input.Body.DefaultUserSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemPath == STRING
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenMlTools[_] == enum_MlTools[_]
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenAppTypes[_] == enum_AppType[_]
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenInstanceTypes[_] == enum_AppInstanceType[_]
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenSageMakerImageVersionAliases[_].SageMakerImageName == enum_SageMakerImageName[_]
    input.Body.DefaultUserSettings.StudioWebPortalSettings.HiddenSageMakerImageVersionAliases[_].VersionAliases[_] == STRING
    input.Body.DefaultUserSettings.AutoMountHomeEFS == enum_AutoMountHomeEFS[_]
    input.Body.DomainSettingsForUpdate.RStudioServerProDomainSettingsForUpdate.DomainExecutionRoleArn == STRING
    input.Body.DomainSettingsForUpdate.RStudioServerProDomainSettingsForUpdate.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DomainSettingsForUpdate.RStudioServerProDomainSettingsForUpdate.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DomainSettingsForUpdate.RStudioServerProDomainSettingsForUpdate.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DomainSettingsForUpdate.RStudioServerProDomainSettingsForUpdate.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DomainSettingsForUpdate.RStudioServerProDomainSettingsForUpdate.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DomainSettingsForUpdate.RStudioServerProDomainSettingsForUpdate.RStudioConnectUrl == STRING
    input.Body.DomainSettingsForUpdate.RStudioServerProDomainSettingsForUpdate.RStudioPackageManagerUrl == STRING
    input.Body.DomainSettingsForUpdate.ExecutionRoleIdentityConfig == enum_ExecutionRoleIdentityConfig[_]
    input.Body.DomainSettingsForUpdate.SecurityGroupIds[_] == STRING
    input.Body.DomainSettingsForUpdate.DockerSettings.EnableDockerAccess == enum_FeatureStatus[_]
    input.Body.DomainSettingsForUpdate.DockerSettings.VpcOnlyTrustedAccounts[_] == STRING
    input.Body.DomainSettingsForUpdate.AmazonQSettings.Status == enum_FeatureStatus[_]
    input.Body.DomainSettingsForUpdate.AmazonQSettings.QProfileArn == STRING
    input.Body.AppSecurityGroupManagement == enum_AppSecurityGroupManagement[_]
    input.Body.DefaultSpaceSettings.ExecutionRole == STRING
    input.Body.DefaultSpaceSettings.SecurityGroups[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterServerAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultSpaceSettings.KernelGatewayAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.CustomImages[_].ImageName == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.EmrSettings.AssumableRoleArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.EmrSettings.ExecutionRoleArns[_] == STRING
    input.Body.DefaultSpaceSettings.JupyterLabAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.DefaultSpaceSettings.SpaceStorageSettings.DefaultEbsStorageSettings.DefaultEbsVolumeSizeInGb == INTEGER
    input.Body.DefaultSpaceSettings.SpaceStorageSettings.DefaultEbsStorageSettings.MaximumEbsVolumeSizeInGb == INTEGER
    input.Body.DefaultSpaceSettings.CustomPosixUserConfig.Uid == LONG
    input.Body.DefaultSpaceSettings.CustomPosixUserConfig.Gid == LONG
    input.Body.DefaultSpaceSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemId == STRING
    input.Body.DefaultSpaceSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemPath == STRING
    input.Body.DefaultSpaceSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemId == STRING
    input.Body.DefaultSpaceSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemPath == STRING
    input.Body.SubnetIds[_] == STRING
    input.Body.AppNetworkAccessType == enum_AppNetworkAccessType[_]
    input.Body.TagPropagation == enum_TagPropagation[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateEndpoint

enum_CapacitySizeType := [ "INSTANCE_COUNT", "CAPACITY_PERCENT" ]
enum_TrafficRoutingConfigType := [ "ALL_AT_ONCE", "CANARY", "LINEAR" ]
enum_VariantPropertyType := [ "DesiredInstanceCount", "DesiredWeight", "DataCaptureConfig" ]

valid {
    input.Body.EndpointName == STRING
    input.Body.EndpointConfigName == STRING
    input.Body.RetainAllVariantProperties == BOOLEAN
    input.Body.ExcludeRetainedVariantProperties[_].VariantPropertyType == enum_VariantPropertyType[_]
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.Type == enum_TrafficRoutingConfigType[_]
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.WaitIntervalInSeconds == INTEGER
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.CanarySize.Type == enum_CapacitySizeType[_]
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.CanarySize.Value == INTEGER
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.LinearStepSize.Type == enum_CapacitySizeType[_]
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TrafficRoutingConfiguration.LinearStepSize.Value == INTEGER
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.TerminationWaitInSeconds == INTEGER
    input.Body.DeploymentConfig.BlueGreenUpdatePolicy.MaximumExecutionTimeoutInSeconds == INTEGER
    input.Body.DeploymentConfig.RollingUpdatePolicy.MaximumBatchSize.Type == enum_CapacitySizeType[_]
    input.Body.DeploymentConfig.RollingUpdatePolicy.MaximumBatchSize.Value == INTEGER
    input.Body.DeploymentConfig.RollingUpdatePolicy.WaitIntervalInSeconds == INTEGER
    input.Body.DeploymentConfig.RollingUpdatePolicy.MaximumExecutionTimeoutInSeconds == INTEGER
    input.Body.DeploymentConfig.RollingUpdatePolicy.RollbackMaximumBatchSize.Type == enum_CapacitySizeType[_]
    input.Body.DeploymentConfig.RollingUpdatePolicy.RollbackMaximumBatchSize.Value == INTEGER
    input.Body.DeploymentConfig.AutoRollbackConfiguration.Alarms[_].AlarmName == STRING
    input.Body.RetainDeploymentConfig == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateEndpointWeightsAndCapacities

valid {
    input.Body.EndpointName == STRING
    input.Body.DesiredWeightsAndCapacities[_].VariantName == STRING
    input.Body.DesiredWeightsAndCapacities[_].DesiredWeight == FLOAT
    input.Body.DesiredWeightsAndCapacities[_].DesiredInstanceCount == INTEGER
    input.Body.DesiredWeightsAndCapacities[_].ServerlessUpdateConfig.MaxConcurrency == INTEGER
    input.Body.DesiredWeightsAndCapacities[_].ServerlessUpdateConfig.ProvisionedConcurrency == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateExperiment

valid {
    input.Body.ExperimentName == STRING
    input.Body.DisplayName == STRING
    input.Body.Description == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateFeatureGroup

enum_CollectionType := [ "List", "Set", "Vector" ]
enum_FeatureType := [ "Integral", "Fractional", "String" ]
enum_ThroughputMode := [ "OnDemand", "Provisioned" ]
enum_TtlDurationUnit := [ "Seconds", "Minutes", "Hours", "Days", "Weeks" ]

valid {
    input.Body.FeatureGroupName == STRING
    input.Body.FeatureAdditions[_].FeatureName == STRING
    input.Body.FeatureAdditions[_].FeatureType == enum_FeatureType[_]
    input.Body.FeatureAdditions[_].CollectionType == enum_CollectionType[_]
    input.Body.FeatureAdditions[_].CollectionConfig.VectorConfig.Dimension == INTEGER
    input.Body.OnlineStoreConfig.TtlDuration.Unit == enum_TtlDurationUnit[_]
    input.Body.OnlineStoreConfig.TtlDuration.Value == INTEGER
    input.Body.ThroughputConfig.ThroughputMode == enum_ThroughputMode[_]
    input.Body.ThroughputConfig.ProvisionedReadCapacityUnits == INTEGER
    input.Body.ThroughputConfig.ProvisionedWriteCapacityUnits == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateFeatureMetadata

valid {
    input.Body.FeatureGroupName == STRING
    input.Body.FeatureName == STRING
    input.Body.Description == STRING
    input.Body.ParameterAdditions[_].Key == STRING
    input.Body.ParameterAdditions[_].Value == STRING
    input.Body.ParameterRemovals[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateHub

valid {
    input.Body.HubName == STRING
    input.Body.HubDescription == STRING
    input.Body.HubDisplayName == STRING
    input.Body.HubSearchKeywords[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateImage

valid {
    input.Body.DeleteProperties[_] == STRING
    input.Body.Description == STRING
    input.Body.DisplayName == STRING
    input.Body.ImageName == STRING
    input.Body.RoleArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateImageVersion

enum_JobType := [ "TRAINING", "INFERENCE", "NOTEBOOK_KERNEL" ]
enum_Processor := [ "CPU", "GPU" ]
enum_VendorGuidance := [ "NOT_PROVIDED", "STABLE", "TO_BE_ARCHIVED", "ARCHIVED" ]

valid {
    input.Body.ImageName == STRING
    input.Body.Alias == STRING
    input.Body.Version == INTEGER
    input.Body.AliasesToAdd[_] == STRING
    input.Body.AliasesToDelete[_] == STRING
    input.Body.VendorGuidance == enum_VendorGuidance[_]
    input.Body.JobType == enum_JobType[_]
    input.Body.MLFramework == STRING
    input.Body.ProgrammingLang == STRING
    input.Body.Processor == enum_Processor[_]
    input.Body.Horovod == BOOLEAN
    input.Body.ReleaseNotes == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateInferenceComponent

valid {
    input.Body.InferenceComponentName == STRING
    input.Body.Specification.ModelName == STRING
    input.Body.Specification.Container.Image == STRING
    input.Body.Specification.Container.ArtifactUrl == STRING
    input.Body.Specification.Container.Environment.STRING == STRING
    input.Body.Specification.StartupParameters.ModelDataDownloadTimeoutInSeconds == INTEGER
    input.Body.Specification.StartupParameters.ContainerStartupHealthCheckTimeoutInSeconds == INTEGER
    input.Body.Specification.ComputeResourceRequirements.NumberOfCpuCoresRequired == FLOAT
    input.Body.Specification.ComputeResourceRequirements.NumberOfAcceleratorDevicesRequired == FLOAT
    input.Body.Specification.ComputeResourceRequirements.MinMemoryRequiredInMb == INTEGER
    input.Body.Specification.ComputeResourceRequirements.MaxMemoryRequiredInMb == INTEGER
    input.Body.Specification.BaseInferenceComponentName == STRING
    input.Body.RuntimeConfig.CopyCount == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateInferenceComponentRuntimeConfig

valid {
    input.Body.InferenceComponentName == STRING
    input.Body.DesiredRuntimeConfig.CopyCount == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateInferenceExperiment

enum_InstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge" ]
enum_ModelInfrastructureType := [ "RealTimeInference" ]

valid {
    input.Body.Name == STRING
    input.Body.Schedule.StartTime == TIMESTAMP
    input.Body.Schedule.EndTime == TIMESTAMP
    input.Body.Description == STRING
    input.Body.ModelVariants[_].ModelName == STRING
    input.Body.ModelVariants[_].VariantName == STRING
    input.Body.ModelVariants[_].InfrastructureConfig.InfrastructureType == enum_ModelInfrastructureType[_]
    input.Body.ModelVariants[_].InfrastructureConfig.RealTimeInferenceConfig.InstanceType == enum_InstanceType[_]
    input.Body.ModelVariants[_].InfrastructureConfig.RealTimeInferenceConfig.InstanceCount == INTEGER
    input.Body.DataStorageConfig.Destination == STRING
    input.Body.DataStorageConfig.KmsKey == STRING
    input.Body.DataStorageConfig.ContentType.CsvContentTypes[_] == STRING
    input.Body.DataStorageConfig.ContentType.JsonContentTypes[_] == STRING
    input.Body.ShadowModeConfig.SourceModelVariantName == STRING
    input.Body.ShadowModeConfig.ShadowModelVariants[_].ShadowModelVariantName == STRING
    input.Body.ShadowModeConfig.ShadowModelVariants[_].SamplingPercentage == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateMlflowTrackingServer

enum_TrackingServerSize := [ "Small", "Medium", "Large" ]

valid {
    input.Body.TrackingServerName == STRING
    input.Body.ArtifactStoreUri == STRING
    input.Body.TrackingServerSize == enum_TrackingServerSize[_]
    input.Body.AutomaticModelRegistration == BOOLEAN
    input.Body.WeeklyMaintenanceWindowStart == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateModelCard

enum_ModelCardStatus := [ "Draft", "PendingReview", "Approved", "Archived" ]

valid {
    input.Body.ModelCardName == STRING
    input.Body.Content == STRING
    input.Body.ModelCardStatus == enum_ModelCardStatus[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateModelPackage

enum_AdditionalS3DataSourceDataType := [ "S3Object", "S3Prefix" ]
enum_CompressionType := [ "None", "Gzip" ]
enum_ModelApprovalStatus := [ "Approved", "Rejected", "PendingManualApproval" ]
enum_ModelCardStatus := [ "Draft", "PendingReview", "Approved", "Archived" ]
enum_ModelCompressionType := [ "None", "Gzip" ]
enum_ProductionVariantInstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.12xlarge", "ml.m5d.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.large", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.12xlarge", "ml.r5d.24xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.dl1.24xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.p4d.24xlarge", "ml.c7g.large", "ml.c7g.xlarge", "ml.c7g.2xlarge", "ml.c7g.4xlarge", "ml.c7g.8xlarge", "ml.c7g.12xlarge", "ml.c7g.16xlarge", "ml.m6g.large", "ml.m6g.xlarge", "ml.m6g.2xlarge", "ml.m6g.4xlarge", "ml.m6g.8xlarge", "ml.m6g.12xlarge", "ml.m6g.16xlarge", "ml.m6gd.large", "ml.m6gd.xlarge", "ml.m6gd.2xlarge", "ml.m6gd.4xlarge", "ml.m6gd.8xlarge", "ml.m6gd.12xlarge", "ml.m6gd.16xlarge", "ml.c6g.large", "ml.c6g.xlarge", "ml.c6g.2xlarge", "ml.c6g.4xlarge", "ml.c6g.8xlarge", "ml.c6g.12xlarge", "ml.c6g.16xlarge", "ml.c6gd.large", "ml.c6gd.xlarge", "ml.c6gd.2xlarge", "ml.c6gd.4xlarge", "ml.c6gd.8xlarge", "ml.c6gd.12xlarge", "ml.c6gd.16xlarge", "ml.c6gn.large", "ml.c6gn.xlarge", "ml.c6gn.2xlarge", "ml.c6gn.4xlarge", "ml.c6gn.8xlarge", "ml.c6gn.12xlarge", "ml.c6gn.16xlarge", "ml.r6g.large", "ml.r6g.xlarge", "ml.r6g.2xlarge", "ml.r6g.4xlarge", "ml.r6g.8xlarge", "ml.r6g.12xlarge", "ml.r6g.16xlarge", "ml.r6gd.large", "ml.r6gd.xlarge", "ml.r6gd.2xlarge", "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", "ml.r6gd.16xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.trn2.48xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p5.48xlarge", "ml.p5e.48xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge" ]
enum_S3ModelDataType := [ "S3Prefix", "S3Object" ]
enum_TransformInstanceType := [ "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge" ]

valid {
    input.Body.ModelPackageArn == STRING
    input.Body.ModelApprovalStatus == enum_ModelApprovalStatus[_]
    input.Body.ApprovalDescription == STRING
    input.Body.CustomerMetadataProperties.STRING == STRING
    input.Body.CustomerMetadataPropertiesToRemove[_] == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Name == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Description == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ContainerHostname == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].Image == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ImageDigest == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ModelDataUrl == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ModelDataSource.S3DataSource.S3Uri == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ModelDataSource.S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ModelDataSource.S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ModelDataSource.S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ModelDataSource.S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ModelDataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ProductId == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].Environment.STRING == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].ModelInput.DataInputConfig == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].Framework == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].FrameworkVersion == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].NearestModelName == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].AdditionalS3DataSource.S3DataType == enum_AdditionalS3DataSourceDataType[_]
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].AdditionalS3DataSource.S3Uri == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].Containers[_].AdditionalS3DataSource.CompressionType == enum_CompressionType[_]
    input.Body.AdditionalInferenceSpecificationsToAdd[_].SupportedTransformInstanceTypes[_] == enum_TransformInstanceType[_]
    input.Body.AdditionalInferenceSpecificationsToAdd[_].SupportedRealtimeInferenceInstanceTypes[_] == enum_ProductionVariantInstanceType[_]
    input.Body.AdditionalInferenceSpecificationsToAdd[_].SupportedContentTypes[_] == STRING
    input.Body.AdditionalInferenceSpecificationsToAdd[_].SupportedResponseMIMETypes[_] == STRING
    input.Body.InferenceSpecification.Containers[_].ContainerHostname == STRING
    input.Body.InferenceSpecification.Containers[_].Image == STRING
    input.Body.InferenceSpecification.Containers[_].ImageDigest == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataUrl == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.S3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.S3DataType == enum_S3ModelDataType[_]
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.CompressionType == enum_ModelCompressionType[_]
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.ModelAccessConfig.AcceptEula == BOOLEAN
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.HubAccessConfig.HubContentArn == STRING
    input.Body.InferenceSpecification.Containers[_].ModelDataSource.S3DataSource.ManifestS3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].ProductId == STRING
    input.Body.InferenceSpecification.Containers[_].Environment.STRING == STRING
    input.Body.InferenceSpecification.Containers[_].ModelInput.DataInputConfig == STRING
    input.Body.InferenceSpecification.Containers[_].Framework == STRING
    input.Body.InferenceSpecification.Containers[_].FrameworkVersion == STRING
    input.Body.InferenceSpecification.Containers[_].NearestModelName == STRING
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.S3DataType == enum_AdditionalS3DataSourceDataType[_]
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.S3Uri == STRING
    input.Body.InferenceSpecification.Containers[_].AdditionalS3DataSource.CompressionType == enum_CompressionType[_]
    input.Body.InferenceSpecification.SupportedTransformInstanceTypes[_] == enum_TransformInstanceType[_]
    input.Body.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes[_] == enum_ProductionVariantInstanceType[_]
    input.Body.InferenceSpecification.SupportedContentTypes[_] == STRING
    input.Body.InferenceSpecification.SupportedResponseMIMETypes[_] == STRING
    input.Body.SourceUri == STRING
    input.Body.ModelCard.ModelCardContent == STRING
    input.Body.ModelCard.ModelCardStatus == enum_ModelCardStatus[_]
    input.Body.ModelLifeCycle.Stage == STRING
    input.Body.ModelLifeCycle.StageStatus == STRING
    input.Body.ModelLifeCycle.StageDescription == STRING
    input.Body.ClientToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateMonitoringAlert

valid {
    input.Body.MonitoringScheduleName == STRING
    input.Body.MonitoringAlertName == STRING
    input.Body.DatapointsToAlert == INTEGER
    input.Body.EvaluationPeriod == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateMonitoringSchedule

enum_MonitoringType := [ "DataQuality", "ModelQuality", "ModelBias", "ModelExplainability" ]
enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]
enum_ProcessingS3DataDistributionType := [ "FullyReplicated", "ShardedByS3Key" ]
enum_ProcessingS3InputMode := [ "Pipe", "File" ]
enum_ProcessingS3UploadMode := [ "Continuous", "EndOfJob" ]

valid {
    input.Body.MonitoringScheduleName == STRING
    input.Body.MonitoringScheduleConfig.ScheduleConfig.ScheduleExpression == STRING
    input.Body.MonitoringScheduleConfig.ScheduleConfig.DataAnalysisStartTime == STRING
    input.Body.MonitoringScheduleConfig.ScheduleConfig.DataAnalysisEndTime == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.BaselineConfig.BaseliningJobName == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.BaselineConfig.ConstraintsResource.S3Uri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.BaselineConfig.StatisticsResource.S3Uri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.EndpointName == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.LocalPath == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.FeaturesAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.InferenceAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.ProbabilityAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.StartTimeOffset == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.EndTimeOffset == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].EndpointInput.ExcludeFeaturesAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.DataCapturedDestinationS3Uri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.DatasetFormat.Csv.Header == BOOLEAN
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.DatasetFormat.Json.Line == BOOLEAN
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.DatasetFormat.Parquet == {}
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.LocalPath == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.S3InputMode == enum_ProcessingS3InputMode[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.S3DataDistributionType == enum_ProcessingS3DataDistributionType[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.FeaturesAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.InferenceAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.ProbabilityAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.ProbabilityThresholdAttribute == DOUBLE
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.StartTimeOffset == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.EndTimeOffset == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs[_].BatchTransformInput.ExcludeFeaturesAttribute == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs[_].S3Output.S3Uri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs[_].S3Output.LocalPath == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs[_].S3Output.S3UploadMode == enum_ProcessingS3UploadMode[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.KmsKeyId == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources.ClusterConfig.InstanceCount == INTEGER
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources.ClusterConfig.InstanceType == enum_ProcessingInstanceType[_]
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources.ClusterConfig.VolumeSizeInGB == INTEGER
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources.ClusterConfig.VolumeKmsKeyId == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ImageUri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint[_] == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments[_] == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.RecordPreprocessorSourceUri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.PostAnalyticsProcessorSourceUri == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.StoppingCondition.MaxRuntimeInSeconds == INTEGER
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.Environment.STRING == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.EnableInterContainerTrafficEncryption == BOOLEAN
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.EnableNetworkIsolation == BOOLEAN
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VpcConfig.SecurityGroupIds[_] == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VpcConfig.Subnets[_] == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinition.RoleArn == STRING
    input.Body.MonitoringScheduleConfig.MonitoringJobDefinitionName == STRING
    input.Body.MonitoringScheduleConfig.MonitoringType == enum_MonitoringType[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateNotebookInstance

enum_InstanceType := [ "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge" ]
enum_NotebookInstanceAcceleratorType := [ "ml.eia1.medium", "ml.eia1.large", "ml.eia1.xlarge", "ml.eia2.medium", "ml.eia2.large", "ml.eia2.xlarge" ]
enum_RootAccess := [ "Enabled", "Disabled" ]

valid {
    input.Body.NotebookInstanceName == STRING
    input.Body.InstanceType == enum_InstanceType[_]
    input.Body.RoleArn == STRING
    input.Body.LifecycleConfigName == STRING
    input.Body.DisassociateLifecycleConfig == BOOLEAN
    input.Body.VolumeSizeInGB == INTEGER
    input.Body.DefaultCodeRepository == STRING
    input.Body.AdditionalCodeRepositories[_] == STRING
    input.Body.AcceleratorTypes[_] == enum_NotebookInstanceAcceleratorType[_]
    input.Body.DisassociateAcceleratorTypes == BOOLEAN
    input.Body.DisassociateDefaultCodeRepository == BOOLEAN
    input.Body.DisassociateAdditionalCodeRepositories == BOOLEAN
    input.Body.RootAccess == enum_RootAccess[_]
    input.Body.InstanceMetadataServiceConfiguration.MinimumInstanceMetadataServiceVersion == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateNotebookInstanceLifecycleConfig

valid {
    input.Body.NotebookInstanceLifecycleConfigName == STRING
    input.Body.OnCreate[_].Content == STRING
    input.Body.OnStart[_].Content == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdatePartnerApp

valid {
    input.Body.Arn == STRING
    input.Body.MaintenanceConfig.MaintenanceWindowStart == STRING
    input.Body.Tier == STRING
    input.Body.ApplicationConfig.AdminUsers[_] == STRING
    input.Body.ApplicationConfig.Arguments.STRING == STRING
    input.Body.EnableIamSessionBasedIdentity == BOOLEAN
    input.Body.ClientToken == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdatePipeline

valid {
    input.Body.PipelineName == STRING
    input.Body.PipelineDisplayName == STRING
    input.Body.PipelineDefinition == STRING
    input.Body.PipelineDefinitionS3Location.Bucket == STRING
    input.Body.PipelineDefinitionS3Location.ObjectKey == STRING
    input.Body.PipelineDefinitionS3Location.VersionId == STRING
    input.Body.PipelineDescription == STRING
    input.Body.RoleArn == STRING
    input.Body.ParallelismConfiguration.MaxParallelExecutionSteps == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdatePipelineExecution

valid {
    input.Body.PipelineExecutionArn == STRING
    input.Body.PipelineExecutionDescription == STRING
    input.Body.PipelineExecutionDisplayName == STRING
    input.Body.ParallelismConfiguration.MaxParallelExecutionSteps == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateProject

valid {
    input.Body.ProjectName == STRING
    input.Body.ProjectDescription == STRING
    input.Body.ServiceCatalogProvisioningUpdateDetails.ProvisioningArtifactId == STRING
    input.Body.ServiceCatalogProvisioningUpdateDetails.ProvisioningParameters[_].Key == STRING
    input.Body.ServiceCatalogProvisioningUpdateDetails.ProvisioningParameters[_].Value == STRING
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateSpace

enum_AppInstanceType := [ "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge" ]
enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]

valid {
    input.Body.DomainId == STRING
    input.Body.SpaceName == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.SpaceSettings.JupyterServerAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.SpaceSettings.JupyterServerAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.SpaceSettings.KernelGatewayAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.CustomImages[_].ImageName == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.SpaceSettings.KernelGatewayAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.SpaceSettings.KernelGatewayAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.SpaceSettings.CodeEditorAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.SpaceSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.SpaceSettings.JupyterLabAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.SpaceSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.SpaceSettings.AppType == enum_AppType[_]
    input.Body.SpaceSettings.SpaceStorageSettings.EbsStorageSettings.EbsVolumeSizeInGb == INTEGER
    input.Body.SpaceSettings.CustomFileSystems[_].EFSFileSystem.FileSystemId == STRING
    input.Body.SpaceSettings.CustomFileSystems[_].FSxLustreFileSystem.FileSystemId == STRING
    input.Body.SpaceDisplayName == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateTrainingJob

enum_ProcessingInstanceType := [ "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.8xlarge", "ml.r5d.12xlarge", "ml.r5d.16xlarge", "ml.r5d.24xlarge" ]

valid {
    input.Body.TrainingJobName == STRING
    input.Body.ProfilerConfig.S3OutputPath == STRING
    input.Body.ProfilerConfig.ProfilingIntervalInMilliseconds == LONG
    input.Body.ProfilerConfig.ProfilingParameters.STRING == STRING
    input.Body.ProfilerConfig.DisableProfiler == BOOLEAN
    input.Body.ProfilerRuleConfigurations[_].RuleConfigurationName == STRING
    input.Body.ProfilerRuleConfigurations[_].LocalPath == STRING
    input.Body.ProfilerRuleConfigurations[_].S3OutputPath == STRING
    input.Body.ProfilerRuleConfigurations[_].RuleEvaluatorImage == STRING
    input.Body.ProfilerRuleConfigurations[_].InstanceType == enum_ProcessingInstanceType[_]
    input.Body.ProfilerRuleConfigurations[_].VolumeSizeInGB == INTEGER
    input.Body.ProfilerRuleConfigurations[_].RuleParameters.STRING == STRING
    input.Body.ResourceConfig.KeepAlivePeriodInSeconds == INTEGER
    input.Body.RemoteDebugConfig.EnableRemoteDebug == BOOLEAN
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateTrial

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

UpdateTrialComponent

enum_TrialComponentPrimaryStatus := [ "InProgress", "Completed", "Failed", "Stopping", "Stopped" ]

valid {
    input.Body.TrialComponentName == STRING
    input.Body.DisplayName == STRING
    input.Body.Status.PrimaryStatus == enum_TrialComponentPrimaryStatus[_]
    input.Body.Status.Message == STRING
    input.Body.StartTime == TIMESTAMP
    input.Body.EndTime == TIMESTAMP
    input.Body.Parameters.STRING.StringValue == STRING
    input.Body.Parameters.STRING.NumberValue == DOUBLE
    input.Body.ParametersToRemove[_] == STRING
    input.Body.InputArtifacts.STRING.MediaType == STRING
    input.Body.InputArtifacts.STRING.Value == STRING
    input.Body.InputArtifactsToRemove[_] == STRING
    input.Body.OutputArtifacts.STRING.MediaType == STRING
    input.Body.OutputArtifacts.STRING.Value == STRING
    input.Body.OutputArtifactsToRemove[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateUserProfile

enum_AppInstanceType := [ "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge" ]
enum_AppType := [ "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" ]
enum_AutoMountHomeEFS := [ "Enabled", "Disabled", "DefaultAsDomain" ]
enum_DataSourceName := [ "SalesforceGenie", "Snowflake" ]
enum_FeatureStatus := [ "ENABLED", "DISABLED" ]
enum_LifecycleManagement := [ "ENABLED", "DISABLED" ]
enum_MlTools := [ "DataWrangler", "FeatureStore", "EmrClusters", "AutoMl", "Experiments", "Training", "ModelEvaluation", "Pipelines", "Models", "JumpStart", "InferenceRecommender", "Endpoints", "Projects", "InferenceOptimization", "PerformanceEvaluation", "LakeraGuard", "Comet", "DeepchecksLLMEvaluation", "Fiddler", "HyperPodClusters" ]
enum_NotebookOutputOption := [ "Allowed", "Disabled" ]
enum_RStudioServerProAccessStatus := [ "ENABLED", "DISABLED" ]
enum_RStudioServerProUserGroup := [ "R_STUDIO_ADMIN", "R_STUDIO_USER" ]
enum_SageMakerImageName := [ "sagemaker_distribution" ]
enum_StudioWebPortal := [ "ENABLED", "DISABLED" ]

valid {
    input.Body.DomainId == STRING
    input.Body.UserProfileName == STRING
    input.Body.UserSettings.ExecutionRole == STRING
    input.Body.UserSettings.SecurityGroups[_] == STRING
    input.Body.UserSettings.SharingSettings.NotebookOutputOption == enum_NotebookOutputOption[_]
    input.Body.UserSettings.SharingSettings.S3OutputPath == STRING
    input.Body.UserSettings.SharingSettings.S3KmsKeyId == STRING
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.JupyterServerAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.JupyterServerAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.UserSettings.JupyterServerAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.CustomImages[_].ImageName == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.UserSettings.KernelGatewayAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.UserSettings.KernelGatewayAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.TensorBoardAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.RStudioServerProAppSettings.AccessStatus == enum_RStudioServerProAccessStatus[_]
    input.Body.UserSettings.RStudioServerProAppSettings.UserGroup == enum_RStudioServerProUserGroup[_]
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.RSessionAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.RSessionAppSettings.CustomImages[_].ImageName == STRING
    input.Body.UserSettings.RSessionAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.UserSettings.RSessionAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.UserSettings.CanvasAppSettings.TimeSeriesForecastingSettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.TimeSeriesForecastingSettings.AmazonForecastRoleArn == STRING
    input.Body.UserSettings.CanvasAppSettings.ModelRegisterSettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.ModelRegisterSettings.CrossAccountModelRegisterRoleArn == STRING
    input.Body.UserSettings.CanvasAppSettings.WorkspaceSettings.S3ArtifactPath == STRING
    input.Body.UserSettings.CanvasAppSettings.WorkspaceSettings.S3KmsKeyId == STRING
    input.Body.UserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].DataSourceName == enum_DataSourceName[_]
    input.Body.UserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.IdentityProviderOAuthSettings[_].SecretArn == STRING
    input.Body.UserSettings.CanvasAppSettings.DirectDeploySettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.KendraSettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CanvasAppSettings.GenerativeAiSettings.AmazonBedrockRoleArn == STRING
    input.Body.UserSettings.CanvasAppSettings.EmrServerlessSettings.ExecutionRoleArn == STRING
    input.Body.UserSettings.CanvasAppSettings.EmrServerlessSettings.Status == enum_FeatureStatus[_]
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.CodeEditorAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.CodeEditorAppSettings.CustomImages[_].ImageName == STRING
    input.Body.UserSettings.CodeEditorAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.UserSettings.CodeEditorAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.UserSettings.CodeEditorAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.UserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.UserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.CodeEditorAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.CodeEditorAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageArn == STRING
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionArn == STRING
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.SageMakerImageVersionAlias == STRING
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.InstanceType == enum_AppInstanceType[_]
    input.Body.UserSettings.JupyterLabAppSettings.DefaultResourceSpec.LifecycleConfigArn == STRING
    input.Body.UserSettings.JupyterLabAppSettings.CustomImages[_].ImageName == STRING
    input.Body.UserSettings.JupyterLabAppSettings.CustomImages[_].ImageVersionNumber == INTEGER
    input.Body.UserSettings.JupyterLabAppSettings.CustomImages[_].AppImageConfigName == STRING
    input.Body.UserSettings.JupyterLabAppSettings.LifecycleConfigArns[_] == STRING
    input.Body.UserSettings.JupyterLabAppSettings.CodeRepositories[_].RepositoryUrl == STRING
    input.Body.UserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.LifecycleManagement == enum_LifecycleManagement[_]
    input.Body.UserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.IdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MinIdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.JupyterLabAppSettings.AppLifecycleManagement.IdleSettings.MaxIdleTimeoutInMinutes == INTEGER
    input.Body.UserSettings.JupyterLabAppSettings.EmrSettings.AssumableRoleArns[_] == STRING
    input.Body.UserSettings.JupyterLabAppSettings.EmrSettings.ExecutionRoleArns[_] == STRING
    input.Body.UserSettings.JupyterLabAppSettings.BuiltInLifecycleConfigArn == STRING
    input.Body.UserSettings.SpaceStorageSettings.DefaultEbsStorageSettings.DefaultEbsVolumeSizeInGb == INTEGER
    input.Body.UserSettings.SpaceStorageSettings.DefaultEbsStorageSettings.MaximumEbsVolumeSizeInGb == INTEGER
    input.Body.UserSettings.DefaultLandingUri == STRING
    input.Body.UserSettings.StudioWebPortal == enum_StudioWebPortal[_]
    input.Body.UserSettings.CustomPosixUserConfig.Uid == LONG
    input.Body.UserSettings.CustomPosixUserConfig.Gid == LONG
    input.Body.UserSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemId == STRING
    input.Body.UserSettings.CustomFileSystemConfigs[_].EFSFileSystemConfig.FileSystemPath == STRING
    input.Body.UserSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemId == STRING
    input.Body.UserSettings.CustomFileSystemConfigs[_].FSxLustreFileSystemConfig.FileSystemPath == STRING
    input.Body.UserSettings.StudioWebPortalSettings.HiddenMlTools[_] == enum_MlTools[_]
    input.Body.UserSettings.StudioWebPortalSettings.HiddenAppTypes[_] == enum_AppType[_]
    input.Body.UserSettings.StudioWebPortalSettings.HiddenInstanceTypes[_] == enum_AppInstanceType[_]
    input.Body.UserSettings.StudioWebPortalSettings.HiddenSageMakerImageVersionAliases[_].SageMakerImageName == enum_SageMakerImageName[_]
    input.Body.UserSettings.StudioWebPortalSettings.HiddenSageMakerImageVersionAliases[_].VersionAliases[_] == STRING
    input.Body.UserSettings.AutoMountHomeEFS == enum_AutoMountHomeEFS[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateWorkforce

valid {
    input.Body.WorkforceName == STRING
    input.Body.SourceIpConfig.Cidrs[_] == STRING
    input.Body.OidcConfig.ClientId == STRING
    input.Body.OidcConfig.ClientSecret == STRING
    input.Body.OidcConfig.Issuer == STRING
    input.Body.OidcConfig.AuthorizationEndpoint == STRING
    input.Body.OidcConfig.TokenEndpoint == STRING
    input.Body.OidcConfig.UserInfoEndpoint == STRING
    input.Body.OidcConfig.LogoutEndpoint == STRING
    input.Body.OidcConfig.JwksUri == STRING
    input.Body.OidcConfig.Scope == STRING
    input.Body.OidcConfig.AuthenticationRequestExtraParams.STRING == STRING
    input.Body.WorkforceVpcConfig.VpcId == STRING
    input.Body.WorkforceVpcConfig.SecurityGroupIds[_] == STRING
    input.Body.WorkforceVpcConfig.Subnets[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateWorkteam

enum_EnabledOrDisabled := [ "Enabled", "Disabled" ]

valid {
    input.Body.WorkteamName == STRING
    input.Body.MemberDefinitions[_].CognitoMemberDefinition.UserPool == STRING
    input.Body.MemberDefinitions[_].CognitoMemberDefinition.UserGroup == STRING
    input.Body.MemberDefinitions[_].CognitoMemberDefinition.ClientId == STRING
    input.Body.MemberDefinitions[_].OidcMemberDefinition.Groups[_] == STRING
    input.Body.Description == STRING
    input.Body.NotificationConfiguration.NotificationTopicArn == STRING
    input.Body.WorkerAccessConfiguration.S3Presign.IamPolicyConstraints.SourceIp == enum_EnabledOrDisabled[_]
    input.Body.WorkerAccessConfiguration.S3Presign.IamPolicyConstraints.VpcSourceIp == enum_EnabledOrDisabled[_]
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}