APPREGISTRY

AssociateAttributeGroup

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

AssociateResource

enum_AssociationOption := [ "APPLY_APPLICATION_TAG", "SKIP_APPLICATION_TAG" ]
enum_ResourceType := [ "CFN_STACK", "RESOURCE_TAG_VALUE" ]

valid {
    input.Body.options[_] == enum_AssociationOption[_]
    input.ReqMap.application == STRING
    input.ReqMap.resourceType == enum_ResourceType[_]
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateApplication

valid {
    input.Body.name == STRING
    input.Body.description == STRING
    input.Body.tags.STRING == STRING
    input.Body.clientToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CreateAttributeGroup

valid {
    input.Body.name == STRING
    input.Body.description == STRING
    input.Body.attributes == STRING
    input.Body.tags.STRING == STRING
    input.Body.clientToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteApplication

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

DeleteAttributeGroup

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

DisassociateAttributeGroup

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

DisassociateResource

enum_ResourceType := [ "CFN_STACK", "RESOURCE_TAG_VALUE" ]

valid {
    input.ReqMap.application == STRING
    input.ReqMap.resourceType == enum_ResourceType[_]
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetApplication

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

GetAssociatedResource

enum_ResourceItemStatus := [ "SUCCESS", "FAILED", "IN_PROGRESS", "SKIPPED" ]
enum_ResourceType := [ "CFN_STACK", "RESOURCE_TAG_VALUE" ]

valid {
    input.ReqMap.application == STRING
    input.ReqMap.resourceType == enum_ResourceType[_]
    input.ReqMap.resource == STRING
    input.Qs.nextToken == STRING
    input.Qs.resourceTagStatus[_] == enum_ResourceItemStatus[_]
    input.Qs.maxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetAttributeGroup

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

GetConfiguration

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

ListApplications

valid {
    input.Qs.nextToken == STRING
    input.Qs.maxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAssociatedAttributeGroups

valid {
    input.ReqMap.application == STRING
    input.Qs.nextToken == STRING
    input.Qs.maxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAssociatedResources

valid {
    input.ReqMap.application == STRING
    input.Qs.nextToken == STRING
    input.Qs.maxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAttributeGroups

valid {
    input.Qs.nextToken == STRING
    input.Qs.maxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListAttributeGroupsForApplication

valid {
    input.ReqMap.application == STRING
    input.Qs.nextToken == STRING
    input.Qs.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
}

PutConfiguration

valid {
    input.Body.configuration.tagQueryConfiguration.tagKey == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

SyncResource

enum_ResourceType := [ "CFN_STACK", "RESOURCE_TAG_VALUE" ]

valid {
    input.ReqMap.resourceType == enum_ResourceType[_]
    input.ReqMap.resource == 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
}

UpdateApplication

valid {
    input.Body.name == STRING
    input.Body.description == STRING
    input.ReqMap.application == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateAttributeGroup

valid {
    input.Body.name == STRING
    input.Body.description == STRING
    input.Body.attributes == STRING
    input.ReqMap.attributeGroup == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}