1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type AssignmentStatus string 6 7// Enum values for AssignmentStatus 8const ( 9 AssignmentStatusSubmitted AssignmentStatus = "Submitted" 10 AssignmentStatusApproved AssignmentStatus = "Approved" 11 AssignmentStatusRejected AssignmentStatus = "Rejected" 12) 13 14// Values returns all known values for AssignmentStatus. Note that this can be 15// expanded in the future, and so it is only as up to date as the client. The 16// ordering of this slice is not guaranteed to be stable across updates. 17func (AssignmentStatus) Values() []AssignmentStatus { 18 return []AssignmentStatus{ 19 "Submitted", 20 "Approved", 21 "Rejected", 22 } 23} 24 25type Comparator string 26 27// Enum values for Comparator 28const ( 29 ComparatorLessThan Comparator = "LessThan" 30 ComparatorLessThanOrEqualTo Comparator = "LessThanOrEqualTo" 31 ComparatorGreaterThan Comparator = "GreaterThan" 32 ComparatorGreaterThanOrEqualTo Comparator = "GreaterThanOrEqualTo" 33 ComparatorEqualTo Comparator = "EqualTo" 34 ComparatorNotEqualTo Comparator = "NotEqualTo" 35 ComparatorExists Comparator = "Exists" 36 ComparatorDoesNotExist Comparator = "DoesNotExist" 37 ComparatorIn Comparator = "In" 38 ComparatorNotIn Comparator = "NotIn" 39) 40 41// Values returns all known values for Comparator. Note that this can be expanded 42// in the future, and so it is only as up to date as the client. The ordering of 43// this slice is not guaranteed to be stable across updates. 44func (Comparator) Values() []Comparator { 45 return []Comparator{ 46 "LessThan", 47 "LessThanOrEqualTo", 48 "GreaterThan", 49 "GreaterThanOrEqualTo", 50 "EqualTo", 51 "NotEqualTo", 52 "Exists", 53 "DoesNotExist", 54 "In", 55 "NotIn", 56 } 57} 58 59type EventType string 60 61// Enum values for EventType 62const ( 63 EventTypeAssignmentAccepted EventType = "AssignmentAccepted" 64 EventTypeAssignmentAbandoned EventType = "AssignmentAbandoned" 65 EventTypeAssignmentReturned EventType = "AssignmentReturned" 66 EventTypeAssignmentSubmitted EventType = "AssignmentSubmitted" 67 EventTypeAssignmentRejected EventType = "AssignmentRejected" 68 EventTypeAssignmentApproved EventType = "AssignmentApproved" 69 EventTypeHITCreated EventType = "HITCreated" 70 EventTypeHITExpired EventType = "HITExpired" 71 EventTypeHITReviewable EventType = "HITReviewable" 72 EventTypeHITExtended EventType = "HITExtended" 73 EventTypeHITDisposed EventType = "HITDisposed" 74 EventTypePing EventType = "Ping" 75) 76 77// Values returns all known values for EventType. Note that this can be expanded in 78// the future, and so it is only as up to date as the client. The ordering of this 79// slice is not guaranteed to be stable across updates. 80func (EventType) Values() []EventType { 81 return []EventType{ 82 "AssignmentAccepted", 83 "AssignmentAbandoned", 84 "AssignmentReturned", 85 "AssignmentSubmitted", 86 "AssignmentRejected", 87 "AssignmentApproved", 88 "HITCreated", 89 "HITExpired", 90 "HITReviewable", 91 "HITExtended", 92 "HITDisposed", 93 "Ping", 94 } 95} 96 97type HITAccessActions string 98 99// Enum values for HITAccessActions 100const ( 101 HITAccessActionsAccept HITAccessActions = "Accept" 102 HITAccessActionsPreviewAndAccept HITAccessActions = "PreviewAndAccept" 103 HITAccessActionsDiscoverPreviewAndAccept HITAccessActions = "DiscoverPreviewAndAccept" 104) 105 106// Values returns all known values for HITAccessActions. Note that this can be 107// expanded in the future, and so it is only as up to date as the client. The 108// ordering of this slice is not guaranteed to be stable across updates. 109func (HITAccessActions) Values() []HITAccessActions { 110 return []HITAccessActions{ 111 "Accept", 112 "PreviewAndAccept", 113 "DiscoverPreviewAndAccept", 114 } 115} 116 117type HITReviewStatus string 118 119// Enum values for HITReviewStatus 120const ( 121 HITReviewStatusNotReviewed HITReviewStatus = "NotReviewed" 122 HITReviewStatusMarkedForReview HITReviewStatus = "MarkedForReview" 123 HITReviewStatusReviewedAppropriate HITReviewStatus = "ReviewedAppropriate" 124 HITReviewStatusReviewedInappropriate HITReviewStatus = "ReviewedInappropriate" 125) 126 127// Values returns all known values for HITReviewStatus. Note that this can be 128// expanded in the future, and so it is only as up to date as the client. The 129// ordering of this slice is not guaranteed to be stable across updates. 130func (HITReviewStatus) Values() []HITReviewStatus { 131 return []HITReviewStatus{ 132 "NotReviewed", 133 "MarkedForReview", 134 "ReviewedAppropriate", 135 "ReviewedInappropriate", 136 } 137} 138 139type HITStatus string 140 141// Enum values for HITStatus 142const ( 143 HITStatusAssignable HITStatus = "Assignable" 144 HITStatusUnassignable HITStatus = "Unassignable" 145 HITStatusReviewable HITStatus = "Reviewable" 146 HITStatusReviewing HITStatus = "Reviewing" 147 HITStatusDisposed HITStatus = "Disposed" 148) 149 150// Values returns all known values for HITStatus. Note that this can be expanded in 151// the future, and so it is only as up to date as the client. The ordering of this 152// slice is not guaranteed to be stable across updates. 153func (HITStatus) Values() []HITStatus { 154 return []HITStatus{ 155 "Assignable", 156 "Unassignable", 157 "Reviewable", 158 "Reviewing", 159 "Disposed", 160 } 161} 162 163type NotificationTransport string 164 165// Enum values for NotificationTransport 166const ( 167 NotificationTransportEmail NotificationTransport = "Email" 168 NotificationTransportSqs NotificationTransport = "SQS" 169 NotificationTransportSns NotificationTransport = "SNS" 170) 171 172// Values returns all known values for NotificationTransport. Note that this can be 173// expanded in the future, and so it is only as up to date as the client. The 174// ordering of this slice is not guaranteed to be stable across updates. 175func (NotificationTransport) Values() []NotificationTransport { 176 return []NotificationTransport{ 177 "Email", 178 "SQS", 179 "SNS", 180 } 181} 182 183type NotifyWorkersFailureCode string 184 185// Enum values for NotifyWorkersFailureCode 186const ( 187 NotifyWorkersFailureCodeSoftFailure NotifyWorkersFailureCode = "SoftFailure" 188 NotifyWorkersFailureCodeHardFailure NotifyWorkersFailureCode = "HardFailure" 189) 190 191// Values returns all known values for NotifyWorkersFailureCode. Note that this can 192// be expanded in the future, and so it is only as up to date as the client. The 193// ordering of this slice is not guaranteed to be stable across updates. 194func (NotifyWorkersFailureCode) Values() []NotifyWorkersFailureCode { 195 return []NotifyWorkersFailureCode{ 196 "SoftFailure", 197 "HardFailure", 198 } 199} 200 201type QualificationStatus string 202 203// Enum values for QualificationStatus 204const ( 205 QualificationStatusGranted QualificationStatus = "Granted" 206 QualificationStatusRevoked QualificationStatus = "Revoked" 207) 208 209// Values returns all known values for QualificationStatus. Note that this can be 210// expanded in the future, and so it is only as up to date as the client. The 211// ordering of this slice is not guaranteed to be stable across updates. 212func (QualificationStatus) Values() []QualificationStatus { 213 return []QualificationStatus{ 214 "Granted", 215 "Revoked", 216 } 217} 218 219type QualificationTypeStatus string 220 221// Enum values for QualificationTypeStatus 222const ( 223 QualificationTypeStatusActive QualificationTypeStatus = "Active" 224 QualificationTypeStatusInactive QualificationTypeStatus = "Inactive" 225) 226 227// Values returns all known values for QualificationTypeStatus. Note that this can 228// be expanded in the future, and so it is only as up to date as the client. The 229// ordering of this slice is not guaranteed to be stable across updates. 230func (QualificationTypeStatus) Values() []QualificationTypeStatus { 231 return []QualificationTypeStatus{ 232 "Active", 233 "Inactive", 234 } 235} 236 237type ReviewableHITStatus string 238 239// Enum values for ReviewableHITStatus 240const ( 241 ReviewableHITStatusReviewable ReviewableHITStatus = "Reviewable" 242 ReviewableHITStatusReviewing ReviewableHITStatus = "Reviewing" 243) 244 245// Values returns all known values for ReviewableHITStatus. Note that this can be 246// expanded in the future, and so it is only as up to date as the client. The 247// ordering of this slice is not guaranteed to be stable across updates. 248func (ReviewableHITStatus) Values() []ReviewableHITStatus { 249 return []ReviewableHITStatus{ 250 "Reviewable", 251 "Reviewing", 252 } 253} 254 255type ReviewActionStatus string 256 257// Enum values for ReviewActionStatus 258const ( 259 ReviewActionStatusIntended ReviewActionStatus = "Intended" 260 ReviewActionStatusSucceeded ReviewActionStatus = "Succeeded" 261 ReviewActionStatusFailed ReviewActionStatus = "Failed" 262 ReviewActionStatusCancelled ReviewActionStatus = "Cancelled" 263) 264 265// Values returns all known values for ReviewActionStatus. Note that this can be 266// expanded in the future, and so it is only as up to date as the client. The 267// ordering of this slice is not guaranteed to be stable across updates. 268func (ReviewActionStatus) Values() []ReviewActionStatus { 269 return []ReviewActionStatus{ 270 "Intended", 271 "Succeeded", 272 "Failed", 273 "Cancelled", 274 } 275} 276 277type ReviewPolicyLevel string 278 279// Enum values for ReviewPolicyLevel 280const ( 281 ReviewPolicyLevelAssignment ReviewPolicyLevel = "Assignment" 282 ReviewPolicyLevelHit ReviewPolicyLevel = "HIT" 283) 284 285// Values returns all known values for ReviewPolicyLevel. Note that this can be 286// expanded in the future, and so it is only as up to date as the client. The 287// ordering of this slice is not guaranteed to be stable across updates. 288func (ReviewPolicyLevel) Values() []ReviewPolicyLevel { 289 return []ReviewPolicyLevel{ 290 "Assignment", 291 "HIT", 292 } 293} 294