MARKETPLACE-CATALOG

BatchDescribeEntities

valid {
    input.Body.EntityRequestList[_].Catalog == STRING
    input.Body.EntityRequestList[_].EntityId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

CancelChangeSet

valid {
    input.Qs.catalog == STRING
    input.Qs.changeSetId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DeleteResourcePolicy

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

DescribeChangeSet

valid {
    input.Qs.catalog == STRING
    input.Qs.changeSetId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

DescribeEntity

valid {
    input.Qs.catalog == STRING
    input.Qs.entityId == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

GetResourcePolicy

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

ListChangeSets

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

valid {
    input.Body.Catalog == STRING
    input.Body.FilterList[_].Name == STRING
    input.Body.FilterList[_].ValueList[_] == STRING
    input.Body.Sort.SortBy == STRING
    input.Body.Sort.SortOrder == enum_SortOrder[_]
    input.Body.MaxResults == INTEGER
    input.Body.NextToken == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListEntities

enum_AmiProductSortBy := [ "EntityId", "LastModifiedDate", "ProductTitle", "Visibility" ]
enum_AmiProductVisibilityString := [ "Limited", "Public", "Restricted", "Draft" ]
enum_ContainerProductSortBy := [ "EntityId", "LastModifiedDate", "ProductTitle", "Visibility" ]
enum_ContainerProductVisibilityString := [ "Limited", "Public", "Restricted", "Draft" ]
enum_DataProductSortBy := [ "EntityId", "ProductTitle", "Visibility", "LastModifiedDate" ]
enum_DataProductVisibilityString := [ "Limited", "Public", "Restricted", "Unavailable", "Draft" ]
enum_OfferSortBy := [ "EntityId", "Name", "ProductId", "ResaleAuthorizationId", "ReleaseDate", "AvailabilityEndDate", "BuyerAccounts", "State", "Targeting", "LastModifiedDate" ]
enum_OfferStateString := [ "Draft", "Released" ]
enum_OfferTargetingString := [ "BuyerAccounts", "ParticipatingPrograms", "CountryCodes", "None" ]
enum_OwnershipType := [ "SELF", "SHARED" ]
enum_ResaleAuthorizationSortBy := [ "EntityId", "Name", "ProductId", "ProductName", "ManufacturerAccountId", "ManufacturerLegalName", "ResellerAccountID", "ResellerLegalName", "Status", "OfferExtendedStatus", "CreatedDate", "AvailabilityEndDate", "LastModifiedDate" ]
enum_ResaleAuthorizationStatusString := [ "Draft", "Active", "Restricted" ]
enum_SaaSProductSortBy := [ "EntityId", "ProductTitle", "Visibility", "LastModifiedDate" ]
enum_SaaSProductVisibilityString := [ "Limited", "Public", "Restricted", "Draft" ]
enum_SortOrder := [ "ASCENDING", "DESCENDING" ]

valid {
    input.Body.Catalog == STRING
    input.Body.EntityType == STRING
    input.Body.FilterList[_].Name == STRING
    input.Body.FilterList[_].ValueList[_] == STRING
    input.Body.Sort.SortBy == STRING
    input.Body.Sort.SortOrder == enum_SortOrder[_]
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.Body.OwnershipType == enum_OwnershipType[_]
    input.Body.EntityTypeFilters.DataProductFilters.EntityId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.DataProductFilters.ProductTitle.ValueList[_] == STRING
    input.Body.EntityTypeFilters.DataProductFilters.ProductTitle.WildCardValue == STRING
    input.Body.EntityTypeFilters.DataProductFilters.Visibility.ValueList[_] == enum_DataProductVisibilityString[_]
    input.Body.EntityTypeFilters.DataProductFilters.LastModifiedDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.DataProductFilters.LastModifiedDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.SaaSProductFilters.EntityId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.SaaSProductFilters.ProductTitle.ValueList[_] == STRING
    input.Body.EntityTypeFilters.SaaSProductFilters.ProductTitle.WildCardValue == STRING
    input.Body.EntityTypeFilters.SaaSProductFilters.Visibility.ValueList[_] == enum_SaaSProductVisibilityString[_]
    input.Body.EntityTypeFilters.SaaSProductFilters.LastModifiedDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.SaaSProductFilters.LastModifiedDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.AmiProductFilters.EntityId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.AmiProductFilters.LastModifiedDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.AmiProductFilters.LastModifiedDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.AmiProductFilters.ProductTitle.ValueList[_] == STRING
    input.Body.EntityTypeFilters.AmiProductFilters.ProductTitle.WildCardValue == STRING
    input.Body.EntityTypeFilters.AmiProductFilters.Visibility.ValueList[_] == enum_AmiProductVisibilityString[_]
    input.Body.EntityTypeFilters.OfferFilters.EntityId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.OfferFilters.Name.ValueList[_] == STRING
    input.Body.EntityTypeFilters.OfferFilters.Name.WildCardValue == STRING
    input.Body.EntityTypeFilters.OfferFilters.ProductId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.OfferFilters.ResaleAuthorizationId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.OfferFilters.ReleaseDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.OfferFilters.ReleaseDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.OfferFilters.AvailabilityEndDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.OfferFilters.AvailabilityEndDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.OfferFilters.BuyerAccounts.WildCardValue == STRING
    input.Body.EntityTypeFilters.OfferFilters.State.ValueList[_] == enum_OfferStateString[_]
    input.Body.EntityTypeFilters.OfferFilters.Targeting.ValueList[_] == enum_OfferTargetingString[_]
    input.Body.EntityTypeFilters.OfferFilters.LastModifiedDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.OfferFilters.LastModifiedDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.ContainerProductFilters.EntityId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ContainerProductFilters.LastModifiedDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.ContainerProductFilters.LastModifiedDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.ContainerProductFilters.ProductTitle.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ContainerProductFilters.ProductTitle.WildCardValue == STRING
    input.Body.EntityTypeFilters.ContainerProductFilters.Visibility.ValueList[_] == enum_ContainerProductVisibilityString[_]
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.EntityId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.Name.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.Name.WildCardValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ProductId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ProductId.WildCardValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.CreatedDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.CreatedDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.CreatedDate.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.AvailabilityEndDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.AvailabilityEndDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.AvailabilityEndDate.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ManufacturerAccountId.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ManufacturerAccountId.WildCardValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ProductName.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ProductName.WildCardValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ManufacturerLegalName.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ManufacturerLegalName.WildCardValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ResellerAccountID.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ResellerAccountID.WildCardValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ResellerLegalName.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.ResellerLegalName.WildCardValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.Status.ValueList[_] == enum_ResaleAuthorizationStatusString[_]
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.OfferExtendedStatus.ValueList[_] == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.LastModifiedDate.DateRange.AfterValue == STRING
    input.Body.EntityTypeFilters.ResaleAuthorizationFilters.LastModifiedDate.DateRange.BeforeValue == STRING
    input.Body.EntityTypeSort.DataProductSort.SortBy == enum_DataProductSortBy[_]
    input.Body.EntityTypeSort.DataProductSort.SortOrder == enum_SortOrder[_]
    input.Body.EntityTypeSort.SaaSProductSort.SortBy == enum_SaaSProductSortBy[_]
    input.Body.EntityTypeSort.SaaSProductSort.SortOrder == enum_SortOrder[_]
    input.Body.EntityTypeSort.AmiProductSort.SortBy == enum_AmiProductSortBy[_]
    input.Body.EntityTypeSort.AmiProductSort.SortOrder == enum_SortOrder[_]
    input.Body.EntityTypeSort.OfferSort.SortBy == enum_OfferSortBy[_]
    input.Body.EntityTypeSort.OfferSort.SortOrder == enum_SortOrder[_]
    input.Body.EntityTypeSort.ContainerProductSort.SortBy == enum_ContainerProductSortBy[_]
    input.Body.EntityTypeSort.ContainerProductSort.SortOrder == enum_SortOrder[_]
    input.Body.EntityTypeSort.ResaleAuthorizationSort.SortBy == enum_ResaleAuthorizationSortBy[_]
    input.Body.EntityTypeSort.ResaleAuthorizationSort.SortOrder == enum_SortOrder[_]
    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
}

PutResourcePolicy

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

StartChangeSet

enum_Intent := [ "VALIDATE", "APPLY" ]

valid {
    input.Body.Catalog == STRING
    input.Body.ChangeSet[_].ChangeType == STRING
    input.Body.ChangeSet[_].Entity.Type == STRING
    input.Body.ChangeSet[_].Entity.Identifier == STRING
    input.Body.ChangeSet[_].EntityTags[_].Key == STRING
    input.Body.ChangeSet[_].EntityTags[_].Value == STRING
    input.Body.ChangeSet[_].Details == STRING
    input.Body.ChangeSet[_].DetailsDocument == {}
    input.Body.ChangeSet[_].ChangeName == STRING
    input.Body.ChangeSetName == STRING
    input.Body.ClientRequestToken == STRING
    input.Body.ChangeSetTags[_].Key == STRING
    input.Body.ChangeSetTags[_].Value == STRING
    input.Body.Intent == enum_Intent[_]
    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
}