CODEARTIFACT
AssociateExternalConnection
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.external-connection == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CopyPackageVersions
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Body.versions[_] == STRING
input.Body.versionRevisions.STRING == STRING
input.Body.allowOverwrite == BOOLEAN
input.Body.includeFromUpstream == BOOLEAN
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.source-repository == STRING
input.Qs.destination-repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreateDomain
valid {
input.Body.encryptionKey == STRING
input.Body.tags[_].key == STRING
input.Body.tags[_].value == STRING
input.Qs.domain == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreatePackageGroup
valid {
input.Body.packageGroup == STRING
input.Body.contactInfo == STRING
input.Body.description == STRING
input.Body.tags[_].key == STRING
input.Body.tags[_].value == STRING
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
CreateRepository
valid {
input.Body.description == STRING
input.Body.upstreams[_].repositoryName == STRING
input.Body.tags[_].key == STRING
input.Body.tags[_].value == STRING
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteDomain
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteDomainPermissionsPolicy
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.policy-revision == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeletePackage
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeletePackageGroup
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.package-group == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeletePackageVersions
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
enum_PackageVersionStatus := [ "Published", "Unfinished", "Unlisted", "Archived", "Disposed", "Deleted" ]
valid {
input.Body.versions[_] == STRING
input.Body.expectedStatus == enum_PackageVersionStatus[_]
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteRepository
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DeleteRepositoryPermissionsPolicy
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.policy-revision == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DescribeDomain
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DescribePackage
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DescribePackageGroup
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.package-group == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DescribePackageVersion
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.Qs.version == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DescribeRepository
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DisassociateExternalConnection
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.external-connection == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
DisposePackageVersions
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
enum_PackageVersionStatus := [ "Published", "Unfinished", "Unlisted", "Archived", "Disposed", "Deleted" ]
valid {
input.Body.versions[_] == STRING
input.Body.versionRevisions.STRING == STRING
input.Body.expectedStatus == enum_PackageVersionStatus[_]
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetAssociatedPackageGroup
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetAuthorizationToken
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.duration == LONG
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetDomainPermissionsPolicy
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetPackageVersionAsset
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.Qs.version == STRING
input.Qs.asset == STRING
input.Qs.revision == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetPackageVersionReadme
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.Qs.version == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetRepositoryEndpoint
enum_EndpointType := [ "dualstack", "ipv4" ]
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.endpointType == enum_EndpointType[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
GetRepositoryPermissionsPolicy
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListAllowedRepositoriesForGroup
enum_PackageGroupOriginRestrictionType := [ "EXTERNAL_UPSTREAM", "INTERNAL_UPSTREAM", "PUBLISH" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.package-group == STRING
input.Qs.originRestrictionType == enum_PackageGroupOriginRestrictionType[_]
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListAssociatedPackages
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.package-group == STRING
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.Qs.preview == BOOLEAN
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListDomains
valid {
input.Body.maxResults == INTEGER
input.Body.nextToken == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListPackageGroups
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.Qs.prefix == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListPackageVersionAssets
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.Qs.version == STRING
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListPackageVersionDependencies
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.Qs.version == STRING
input.Qs.next-token == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListPackageVersions
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
enum_PackageVersionOriginType := [ "INTERNAL", "EXTERNAL", "UNKNOWN" ]
enum_PackageVersionSortType := [ "PUBLISHED_TIME" ]
enum_PackageVersionStatus := [ "Published", "Unfinished", "Unlisted", "Archived", "Disposed", "Deleted" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.Qs.status == enum_PackageVersionStatus[_]
input.Qs.sortBy == enum_PackageVersionSortType[_]
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.Qs.originType == enum_PackageVersionOriginType[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListPackages
enum_AllowPublish := [ "ALLOW", "BLOCK" ]
enum_AllowUpstream := [ "ALLOW", "BLOCK" ]
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package-prefix == STRING
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.Qs.publish == enum_AllowPublish[_]
input.Qs.upstream == enum_AllowUpstream[_]
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListRepositories
valid {
input.Qs.repository-prefix == STRING
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListRepositoriesInDomain
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.administrator-account == STRING
input.Qs.repository-prefix == STRING
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListSubPackageGroups
valid {
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.package-group == STRING
input.Qs.max-results == INTEGER
input.Qs.next-token == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
ListTagsForResource
valid {
input.Qs.resourceArn == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PublishPackageVersion
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Body.assetContent == BLOB
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.Qs.version == STRING
input.Qs.asset == STRING
input.Qs.unfinished == BOOLEAN
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PutDomainPermissionsPolicy
valid {
input.Body.domain == STRING
input.Body.domainOwner == STRING
input.Body.policyRevision == STRING
input.Body.policyDocument == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PutPackageOriginConfiguration
enum_AllowPublish := [ "ALLOW", "BLOCK" ]
enum_AllowUpstream := [ "ALLOW", "BLOCK" ]
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
valid {
input.Body.restrictions.publish == enum_AllowPublish[_]
input.Body.restrictions.upstream == enum_AllowUpstream[_]
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
PutRepositoryPermissionsPolicy
valid {
input.Body.policyRevision == STRING
input.Body.policyDocument == STRING
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
TagResource
valid {
input.Body.tags[_].key == STRING
input.Body.tags[_].value == STRING
input.Qs.resourceArn == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UntagResource
valid {
input.Body.tagKeys[_] == STRING
input.Qs.resourceArn == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdatePackageGroup
valid {
input.Body.packageGroup == STRING
input.Body.contactInfo == STRING
input.Body.description == STRING
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdatePackageGroupOriginConfiguration
enum_PackageGroupOriginRestrictionMode := [ "ALLOW", "ALLOW_SPECIFIC_REPOSITORIES", "BLOCK", "INHERIT" ]
enum_PackageGroupOriginRestrictionType := [ "EXTERNAL_UPSTREAM", "INTERNAL_UPSTREAM", "PUBLISH" ]
valid {
input.Body.restrictions.EXTERNAL_UPSTREAM == enum_PackageGroupOriginRestrictionMode[_]
input.Body.restrictions.INTERNAL_UPSTREAM == enum_PackageGroupOriginRestrictionMode[_]
input.Body.restrictions.PUBLISH == enum_PackageGroupOriginRestrictionMode[_]
input.Body.addAllowedRepositories[_].repositoryName == STRING
input.Body.addAllowedRepositories[_].originRestrictionType == enum_PackageGroupOriginRestrictionType[_]
input.Body.removeAllowedRepositories[_].repositoryName == STRING
input.Body.removeAllowedRepositories[_].originRestrictionType == enum_PackageGroupOriginRestrictionType[_]
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.package-group == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdatePackageVersionsStatus
enum_PackageFormat := [ "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo" ]
enum_PackageVersionStatus := [ "Published", "Unfinished", "Unlisted", "Archived", "Disposed", "Deleted" ]
valid {
input.Body.versions[_] == STRING
input.Body.versionRevisions.STRING == STRING
input.Body.expectedStatus == enum_PackageVersionStatus[_]
input.Body.targetStatus == enum_PackageVersionStatus[_]
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.Qs.format == enum_PackageFormat[_]
input.Qs.namespace == STRING
input.Qs.package == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
UpdateRepository
valid {
input.Body.description == STRING
input.Body.upstreams[_].repositoryName == STRING
input.Qs.domain == STRING
input.Qs.domain-owner == STRING
input.Qs.repository == STRING
input.ProviderMetadata.Account == STRING
input.ProviderMetadata.AccessKeyId == STRING
input.ProviderMetadata.Region == STRING
}
Updated 23 days ago