1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type ErrorCode string 6 7// Enum values for ErrorCode 8const ( 9 ErrorCodeDependencyAccessDeniedError ErrorCode = "DEPENDENCY_ACCESS_DENIED_ERROR" 10 ErrorCodeDependencyThrottlingError ErrorCode = "DEPENDENCY_THROTTLING_ERROR" 11 ErrorCodeDependencyServiceError ErrorCode = "DEPENDENCY_SERVICE_ERROR" 12 ErrorCodeServiceQuotaNotAvailableError ErrorCode = "SERVICE_QUOTA_NOT_AVAILABLE_ERROR" 13) 14 15// Values returns all known values for ErrorCode. Note that this can be expanded in 16// the future, and so it is only as up to date as the client. The ordering of this 17// slice is not guaranteed to be stable across updates. 18func (ErrorCode) Values() []ErrorCode { 19 return []ErrorCode{ 20 "DEPENDENCY_ACCESS_DENIED_ERROR", 21 "DEPENDENCY_THROTTLING_ERROR", 22 "DEPENDENCY_SERVICE_ERROR", 23 "SERVICE_QUOTA_NOT_AVAILABLE_ERROR", 24 } 25} 26 27type PeriodUnit string 28 29// Enum values for PeriodUnit 30const ( 31 PeriodUnitMicrosecond PeriodUnit = "MICROSECOND" 32 PeriodUnitMillisecond PeriodUnit = "MILLISECOND" 33 PeriodUnitSecond PeriodUnit = "SECOND" 34 PeriodUnitMinute PeriodUnit = "MINUTE" 35 PeriodUnitHour PeriodUnit = "HOUR" 36 PeriodUnitDay PeriodUnit = "DAY" 37 PeriodUnitWeek PeriodUnit = "WEEK" 38) 39 40// Values returns all known values for PeriodUnit. Note that this can be expanded 41// in the future, and so it is only as up to date as the client. The ordering of 42// this slice is not guaranteed to be stable across updates. 43func (PeriodUnit) Values() []PeriodUnit { 44 return []PeriodUnit{ 45 "MICROSECOND", 46 "MILLISECOND", 47 "SECOND", 48 "MINUTE", 49 "HOUR", 50 "DAY", 51 "WEEK", 52 } 53} 54 55type RequestStatus string 56 57// Enum values for RequestStatus 58const ( 59 RequestStatusPending RequestStatus = "PENDING" 60 RequestStatusCaseOpened RequestStatus = "CASE_OPENED" 61 RequestStatusApproved RequestStatus = "APPROVED" 62 RequestStatusDenied RequestStatus = "DENIED" 63 RequestStatusCaseClosed RequestStatus = "CASE_CLOSED" 64) 65 66// Values returns all known values for RequestStatus. Note that this can be 67// expanded in the future, and so it is only as up to date as the client. The 68// ordering of this slice is not guaranteed to be stable across updates. 69func (RequestStatus) Values() []RequestStatus { 70 return []RequestStatus{ 71 "PENDING", 72 "CASE_OPENED", 73 "APPROVED", 74 "DENIED", 75 "CASE_CLOSED", 76 } 77} 78 79type ServiceQuotaTemplateAssociationStatus string 80 81// Enum values for ServiceQuotaTemplateAssociationStatus 82const ( 83 ServiceQuotaTemplateAssociationStatusAssociated ServiceQuotaTemplateAssociationStatus = "ASSOCIATED" 84 ServiceQuotaTemplateAssociationStatusDisassociated ServiceQuotaTemplateAssociationStatus = "DISASSOCIATED" 85) 86 87// Values returns all known values for ServiceQuotaTemplateAssociationStatus. Note 88// that this can be expanded in the future, and so it is only as up to date as the 89// client. The ordering of this slice is not guaranteed to be stable across 90// updates. 91func (ServiceQuotaTemplateAssociationStatus) Values() []ServiceQuotaTemplateAssociationStatus { 92 return []ServiceQuotaTemplateAssociationStatus{ 93 "ASSOCIATED", 94 "DISASSOCIATED", 95 } 96} 97