KENDRA-RANKING

CreateRescoreExecutionPlan

valid {
    input.Body.Name == STRING
    input.Body.Description == STRING
    input.Body.CapacityUnits.RescoreCapacityUnits == INTEGER
    input.Body.Tags[_].Key == STRING
    input.Body.Tags[_].Value == STRING
    input.Body.ClientToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteRescoreExecutionPlan

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

DescribeRescoreExecutionPlan

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

ListRescoreExecutionPlans

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

ListTagsForResource

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

Rescore

valid {
    input.Body.RescoreExecutionPlanId == STRING
    input.Body.SearchQuery == STRING
    input.Body.Documents[_].Id == STRING
    input.Body.Documents[_].GroupId == STRING
    input.Body.Documents[_].Title == STRING
    input.Body.Documents[_].Body == STRING
    input.Body.Documents[_].TokenizedTitle[_] == STRING
    input.Body.Documents[_].TokenizedBody[_] == STRING
    input.Body.Documents[_].OriginalScore == FLOAT
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

TagResource

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
}

UntagResource

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

UpdateRescoreExecutionPlan

valid {
    input.Body.Id == STRING
    input.Body.Name == STRING
    input.Body.Description == STRING
    input.Body.CapacityUnits.RescoreCapacityUnits == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}