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 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type ApprovalState string
// Enum values for ApprovalState
const (
ApprovalStateApprove ApprovalState = "APPROVE"
ApprovalStateRevoke ApprovalState = "REVOKE"
)
// Values returns all known values for ApprovalState. 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 (ApprovalState) Values() []ApprovalState {
return []ApprovalState{
"APPROVE",
"REVOKE",
}
}
type BatchGetRepositoriesErrorCodeEnum string
// Enum values for BatchGetRepositoriesErrorCodeEnum
const (
BatchGetRepositoriesErrorCodeEnumEncryptionIntegrityChecksFailedException BatchGetRepositoriesErrorCodeEnum = "EncryptionIntegrityChecksFailedException"
BatchGetRepositoriesErrorCodeEnumEncryptionKeyAccessDeniedException BatchGetRepositoriesErrorCodeEnum = "EncryptionKeyAccessDeniedException"
BatchGetRepositoriesErrorCodeEnumEncryptionKeyDisabledException BatchGetRepositoriesErrorCodeEnum = "EncryptionKeyDisabledException"
BatchGetRepositoriesErrorCodeEnumEncryptionKeyNotFoundException BatchGetRepositoriesErrorCodeEnum = "EncryptionKeyNotFoundException"
BatchGetRepositoriesErrorCodeEnumEncryptionKeyUnavailableException BatchGetRepositoriesErrorCodeEnum = "EncryptionKeyUnavailableException"
BatchGetRepositoriesErrorCodeEnumRepositoryDoesNotExistException BatchGetRepositoriesErrorCodeEnum = "RepositoryDoesNotExistException"
)
// Values returns all known values for BatchGetRepositoriesErrorCodeEnum. 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 (BatchGetRepositoriesErrorCodeEnum) Values() []BatchGetRepositoriesErrorCodeEnum {
return []BatchGetRepositoriesErrorCodeEnum{
"EncryptionIntegrityChecksFailedException",
"EncryptionKeyAccessDeniedException",
"EncryptionKeyDisabledException",
"EncryptionKeyNotFoundException",
"EncryptionKeyUnavailableException",
"RepositoryDoesNotExistException",
}
}
type ChangeTypeEnum string
// Enum values for ChangeTypeEnum
const (
ChangeTypeEnumAdded ChangeTypeEnum = "A"
ChangeTypeEnumModified ChangeTypeEnum = "M"
ChangeTypeEnumDeleted ChangeTypeEnum = "D"
)
// Values returns all known values for ChangeTypeEnum. 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 (ChangeTypeEnum) Values() []ChangeTypeEnum {
return []ChangeTypeEnum{
"A",
"M",
"D",
}
}
type ConflictDetailLevelTypeEnum string
// Enum values for ConflictDetailLevelTypeEnum
const (
ConflictDetailLevelTypeEnumFileLevel ConflictDetailLevelTypeEnum = "FILE_LEVEL"
ConflictDetailLevelTypeEnumLineLevel ConflictDetailLevelTypeEnum = "LINE_LEVEL"
)
// Values returns all known values for ConflictDetailLevelTypeEnum. 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 (ConflictDetailLevelTypeEnum) Values() []ConflictDetailLevelTypeEnum {
return []ConflictDetailLevelTypeEnum{
"FILE_LEVEL",
"LINE_LEVEL",
}
}
type ConflictResolutionStrategyTypeEnum string
// Enum values for ConflictResolutionStrategyTypeEnum
const (
ConflictResolutionStrategyTypeEnumNone ConflictResolutionStrategyTypeEnum = "NONE"
ConflictResolutionStrategyTypeEnumAcceptSource ConflictResolutionStrategyTypeEnum = "ACCEPT_SOURCE"
ConflictResolutionStrategyTypeEnumAcceptDestination ConflictResolutionStrategyTypeEnum = "ACCEPT_DESTINATION"
ConflictResolutionStrategyTypeEnumAutomerge ConflictResolutionStrategyTypeEnum = "AUTOMERGE"
)
// Values returns all known values for ConflictResolutionStrategyTypeEnum. 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 (ConflictResolutionStrategyTypeEnum) Values() []ConflictResolutionStrategyTypeEnum {
return []ConflictResolutionStrategyTypeEnum{
"NONE",
"ACCEPT_SOURCE",
"ACCEPT_DESTINATION",
"AUTOMERGE",
}
}
type FileModeTypeEnum string
// Enum values for FileModeTypeEnum
const (
FileModeTypeEnumExecutable FileModeTypeEnum = "EXECUTABLE"
FileModeTypeEnumNormal FileModeTypeEnum = "NORMAL"
FileModeTypeEnumSymlink FileModeTypeEnum = "SYMLINK"
)
// Values returns all known values for FileModeTypeEnum. 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 (FileModeTypeEnum) Values() []FileModeTypeEnum {
return []FileModeTypeEnum{
"EXECUTABLE",
"NORMAL",
"SYMLINK",
}
}
type MergeOptionTypeEnum string
// Enum values for MergeOptionTypeEnum
const (
MergeOptionTypeEnumFastForwardMerge MergeOptionTypeEnum = "FAST_FORWARD_MERGE"
MergeOptionTypeEnumSquashMerge MergeOptionTypeEnum = "SQUASH_MERGE"
MergeOptionTypeEnumThreeWayMerge MergeOptionTypeEnum = "THREE_WAY_MERGE"
)
// Values returns all known values for MergeOptionTypeEnum. 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 (MergeOptionTypeEnum) Values() []MergeOptionTypeEnum {
return []MergeOptionTypeEnum{
"FAST_FORWARD_MERGE",
"SQUASH_MERGE",
"THREE_WAY_MERGE",
}
}
type ObjectTypeEnum string
// Enum values for ObjectTypeEnum
const (
ObjectTypeEnumFile ObjectTypeEnum = "FILE"
ObjectTypeEnumDirectory ObjectTypeEnum = "DIRECTORY"
ObjectTypeEnumGitLink ObjectTypeEnum = "GIT_LINK"
ObjectTypeEnumSymbolicLink ObjectTypeEnum = "SYMBOLIC_LINK"
)
// Values returns all known values for ObjectTypeEnum. 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 (ObjectTypeEnum) Values() []ObjectTypeEnum {
return []ObjectTypeEnum{
"FILE",
"DIRECTORY",
"GIT_LINK",
"SYMBOLIC_LINK",
}
}
type OrderEnum string
// Enum values for OrderEnum
const (
OrderEnumAscending OrderEnum = "ascending"
OrderEnumDescending OrderEnum = "descending"
)
// Values returns all known values for OrderEnum. 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 (OrderEnum) Values() []OrderEnum {
return []OrderEnum{
"ascending",
"descending",
}
}
type OverrideStatus string
// Enum values for OverrideStatus
const (
OverrideStatusOverride OverrideStatus = "OVERRIDE"
OverrideStatusRevoke OverrideStatus = "REVOKE"
)
// Values returns all known values for OverrideStatus. 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 (OverrideStatus) Values() []OverrideStatus {
return []OverrideStatus{
"OVERRIDE",
"REVOKE",
}
}
type PullRequestEventType string
// Enum values for PullRequestEventType
const (
PullRequestEventTypePullRequestCreated PullRequestEventType = "PULL_REQUEST_CREATED"
PullRequestEventTypePullRequestStatusChanged PullRequestEventType = "PULL_REQUEST_STATUS_CHANGED"
PullRequestEventTypePullRequestSourceReferenceUpdated PullRequestEventType = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED"
PullRequestEventTypePullRequestMergeStateChanged PullRequestEventType = "PULL_REQUEST_MERGE_STATE_CHANGED"
PullRequestEventTypePullRequestApprovalRuleCreated PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_CREATED"
PullRequestEventTypePullRequestApprovalRuleUpdated PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_UPDATED"
PullRequestEventTypePullRequestApprovalRuleDeleted PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_DELETED"
PullRequestEventTypePullRequestApprovalRuleOverridden PullRequestEventType = "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN"
PullRequestEventTypePullRequestApprovalStateChanged PullRequestEventType = "PULL_REQUEST_APPROVAL_STATE_CHANGED"
)
// Values returns all known values for PullRequestEventType. 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 (PullRequestEventType) Values() []PullRequestEventType {
return []PullRequestEventType{
"PULL_REQUEST_CREATED",
"PULL_REQUEST_STATUS_CHANGED",
"PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
"PULL_REQUEST_MERGE_STATE_CHANGED",
"PULL_REQUEST_APPROVAL_RULE_CREATED",
"PULL_REQUEST_APPROVAL_RULE_UPDATED",
"PULL_REQUEST_APPROVAL_RULE_DELETED",
"PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN",
"PULL_REQUEST_APPROVAL_STATE_CHANGED",
}
}
type PullRequestStatusEnum string
// Enum values for PullRequestStatusEnum
const (
PullRequestStatusEnumOpen PullRequestStatusEnum = "OPEN"
PullRequestStatusEnumClosed PullRequestStatusEnum = "CLOSED"
)
// Values returns all known values for PullRequestStatusEnum. 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 (PullRequestStatusEnum) Values() []PullRequestStatusEnum {
return []PullRequestStatusEnum{
"OPEN",
"CLOSED",
}
}
type RelativeFileVersionEnum string
// Enum values for RelativeFileVersionEnum
const (
RelativeFileVersionEnumBefore RelativeFileVersionEnum = "BEFORE"
RelativeFileVersionEnumAfter RelativeFileVersionEnum = "AFTER"
)
// Values returns all known values for RelativeFileVersionEnum. 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 (RelativeFileVersionEnum) Values() []RelativeFileVersionEnum {
return []RelativeFileVersionEnum{
"BEFORE",
"AFTER",
}
}
type ReplacementTypeEnum string
// Enum values for ReplacementTypeEnum
const (
ReplacementTypeEnumKeepBase ReplacementTypeEnum = "KEEP_BASE"
ReplacementTypeEnumKeepSource ReplacementTypeEnum = "KEEP_SOURCE"
ReplacementTypeEnumKeepDestination ReplacementTypeEnum = "KEEP_DESTINATION"
ReplacementTypeEnumUseNewContent ReplacementTypeEnum = "USE_NEW_CONTENT"
)
// Values returns all known values for ReplacementTypeEnum. 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 (ReplacementTypeEnum) Values() []ReplacementTypeEnum {
return []ReplacementTypeEnum{
"KEEP_BASE",
"KEEP_SOURCE",
"KEEP_DESTINATION",
"USE_NEW_CONTENT",
}
}
type RepositoryTriggerEventEnum string
// Enum values for RepositoryTriggerEventEnum
const (
RepositoryTriggerEventEnumAll RepositoryTriggerEventEnum = "all"
RepositoryTriggerEventEnumUpdateReference RepositoryTriggerEventEnum = "updateReference"
RepositoryTriggerEventEnumCreateReference RepositoryTriggerEventEnum = "createReference"
RepositoryTriggerEventEnumDeleteReference RepositoryTriggerEventEnum = "deleteReference"
)
// Values returns all known values for RepositoryTriggerEventEnum. 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 (RepositoryTriggerEventEnum) Values() []RepositoryTriggerEventEnum {
return []RepositoryTriggerEventEnum{
"all",
"updateReference",
"createReference",
"deleteReference",
}
}
type SortByEnum string
// Enum values for SortByEnum
const (
SortByEnumRepositoryName SortByEnum = "repositoryName"
SortByEnumModifiedDate SortByEnum = "lastModifiedDate"
)
// Values returns all known values for SortByEnum. 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 (SortByEnum) Values() []SortByEnum {
return []SortByEnum{
"repositoryName",
"lastModifiedDate",
}
}
|