1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AllowPublish string
// Enum values for AllowPublish
const (
AllowPublishAllow AllowPublish = "ALLOW"
AllowPublishBlock AllowPublish = "BLOCK"
)
// Values returns all known values for AllowPublish. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AllowPublish) Values() []AllowPublish {
return []AllowPublish{
"ALLOW",
"BLOCK",
}
}
type AllowUpstream string
// Enum values for AllowUpstream
const (
AllowUpstreamAllow AllowUpstream = "ALLOW"
AllowUpstreamBlock AllowUpstream = "BLOCK"
)
// Values returns all known values for AllowUpstream. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AllowUpstream) Values() []AllowUpstream {
return []AllowUpstream{
"ALLOW",
"BLOCK",
}
}
type DomainStatus string
// Enum values for DomainStatus
const (
DomainStatusActive DomainStatus = "Active"
DomainStatusDeleted DomainStatus = "Deleted"
)
// Values returns all known values for DomainStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DomainStatus) Values() []DomainStatus {
return []DomainStatus{
"Active",
"Deleted",
}
}
type ExternalConnectionStatus string
// Enum values for ExternalConnectionStatus
const (
ExternalConnectionStatusAvailable ExternalConnectionStatus = "Available"
)
// Values returns all known values for ExternalConnectionStatus. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (ExternalConnectionStatus) Values() []ExternalConnectionStatus {
return []ExternalConnectionStatus{
"Available",
}
}
type HashAlgorithm string
// Enum values for HashAlgorithm
const (
HashAlgorithmMd5 HashAlgorithm = "MD5"
HashAlgorithmSha1 HashAlgorithm = "SHA-1"
HashAlgorithmSha256 HashAlgorithm = "SHA-256"
HashAlgorithmSha512 HashAlgorithm = "SHA-512"
)
// Values returns all known values for HashAlgorithm. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (HashAlgorithm) Values() []HashAlgorithm {
return []HashAlgorithm{
"MD5",
"SHA-1",
"SHA-256",
"SHA-512",
}
}
type PackageFormat string
// Enum values for PackageFormat
const (
PackageFormatNpm PackageFormat = "npm"
PackageFormatPypi PackageFormat = "pypi"
PackageFormatMaven PackageFormat = "maven"
PackageFormatNuget PackageFormat = "nuget"
PackageFormatGeneric PackageFormat = "generic"
PackageFormatSwift PackageFormat = "swift"
)
// Values returns all known values for PackageFormat. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PackageFormat) Values() []PackageFormat {
return []PackageFormat{
"npm",
"pypi",
"maven",
"nuget",
"generic",
"swift",
}
}
type PackageVersionErrorCode string
// Enum values for PackageVersionErrorCode
const (
PackageVersionErrorCodeAlreadyExists PackageVersionErrorCode = "ALREADY_EXISTS"
PackageVersionErrorCodeMismatchedRevision PackageVersionErrorCode = "MISMATCHED_REVISION"
PackageVersionErrorCodeMismatchedStatus PackageVersionErrorCode = "MISMATCHED_STATUS"
PackageVersionErrorCodeNotAllowed PackageVersionErrorCode = "NOT_ALLOWED"
PackageVersionErrorCodeNotFound PackageVersionErrorCode = "NOT_FOUND"
PackageVersionErrorCodeSkipped PackageVersionErrorCode = "SKIPPED"
)
// Values returns all known values for PackageVersionErrorCode. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PackageVersionErrorCode) Values() []PackageVersionErrorCode {
return []PackageVersionErrorCode{
"ALREADY_EXISTS",
"MISMATCHED_REVISION",
"MISMATCHED_STATUS",
"NOT_ALLOWED",
"NOT_FOUND",
"SKIPPED",
}
}
type PackageVersionOriginType string
// Enum values for PackageVersionOriginType
const (
PackageVersionOriginTypeInternal PackageVersionOriginType = "INTERNAL"
PackageVersionOriginTypeExternal PackageVersionOriginType = "EXTERNAL"
PackageVersionOriginTypeUnknown PackageVersionOriginType = "UNKNOWN"
)
// Values returns all known values for PackageVersionOriginType. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (PackageVersionOriginType) Values() []PackageVersionOriginType {
return []PackageVersionOriginType{
"INTERNAL",
"EXTERNAL",
"UNKNOWN",
}
}
type PackageVersionSortType string
// Enum values for PackageVersionSortType
const (
PackageVersionSortTypePublishedTime PackageVersionSortType = "PUBLISHED_TIME"
)
// Values returns all known values for PackageVersionSortType. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PackageVersionSortType) Values() []PackageVersionSortType {
return []PackageVersionSortType{
"PUBLISHED_TIME",
}
}
type PackageVersionStatus string
// Enum values for PackageVersionStatus
const (
PackageVersionStatusPublished PackageVersionStatus = "Published"
PackageVersionStatusUnfinished PackageVersionStatus = "Unfinished"
PackageVersionStatusUnlisted PackageVersionStatus = "Unlisted"
PackageVersionStatusArchived PackageVersionStatus = "Archived"
PackageVersionStatusDisposed PackageVersionStatus = "Disposed"
PackageVersionStatusDeleted PackageVersionStatus = "Deleted"
)
// Values returns all known values for PackageVersionStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (PackageVersionStatus) Values() []PackageVersionStatus {
return []PackageVersionStatus{
"Published",
"Unfinished",
"Unlisted",
"Archived",
"Disposed",
"Deleted",
}
}
type ResourceType string
// Enum values for ResourceType
const (
ResourceTypeDomain ResourceType = "domain"
ResourceTypeRepository ResourceType = "repository"
ResourceTypePackage ResourceType = "package"
ResourceTypePackageVersion ResourceType = "package-version"
ResourceTypeAsset ResourceType = "asset"
)
// Values returns all known values for ResourceType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ResourceType) Values() []ResourceType {
return []ResourceType{
"domain",
"repository",
"package",
"package-version",
"asset",
}
}
type ValidationExceptionReason string
// Enum values for ValidationExceptionReason
const (
ValidationExceptionReasonCannotParse ValidationExceptionReason = "CANNOT_PARSE"
ValidationExceptionReasonEncryptionKeyError ValidationExceptionReason = "ENCRYPTION_KEY_ERROR"
ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "FIELD_VALIDATION_FAILED"
ValidationExceptionReasonUnknownOperation ValidationExceptionReason = "UNKNOWN_OPERATION"
ValidationExceptionReasonOther ValidationExceptionReason = "OTHER"
)
// Values returns all known values for ValidationExceptionReason. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (ValidationExceptionReason) Values() []ValidationExceptionReason {
return []ValidationExceptionReason{
"CANNOT_PARSE",
"ENCRYPTION_KEY_ERROR",
"FIELD_VALIDATION_FAILED",
"UNKNOWN_OPERATION",
"OTHER",
}
}
|