1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3package glue 4 5import ( 6 "github.com/aws/aws-sdk-go/private/protocol" 7) 8 9const ( 10 11 // ErrCodeAccessDeniedException for service response error code 12 // "AccessDeniedException". 13 // 14 // Access to a resource was denied. 15 ErrCodeAccessDeniedException = "AccessDeniedException" 16 17 // ErrCodeAlreadyExistsException for service response error code 18 // "AlreadyExistsException". 19 // 20 // A resource to be created or added already exists. 21 ErrCodeAlreadyExistsException = "AlreadyExistsException" 22 23 // ErrCodeConcurrentModificationException for service response error code 24 // "ConcurrentModificationException". 25 // 26 // Two processes are trying to modify a resource simultaneously. 27 ErrCodeConcurrentModificationException = "ConcurrentModificationException" 28 29 // ErrCodeConcurrentRunsExceededException for service response error code 30 // "ConcurrentRunsExceededException". 31 // 32 // Too many jobs are being run concurrently. 33 ErrCodeConcurrentRunsExceededException = "ConcurrentRunsExceededException" 34 35 // ErrCodeConditionCheckFailureException for service response error code 36 // "ConditionCheckFailureException". 37 // 38 // A specified condition was not satisfied. 39 ErrCodeConditionCheckFailureException = "ConditionCheckFailureException" 40 41 // ErrCodeConflictException for service response error code 42 // "ConflictException". 43 // 44 // The CreatePartitions API was called on a table that has indexes enabled. 45 ErrCodeConflictException = "ConflictException" 46 47 // ErrCodeCrawlerNotRunningException for service response error code 48 // "CrawlerNotRunningException". 49 // 50 // The specified crawler is not running. 51 ErrCodeCrawlerNotRunningException = "CrawlerNotRunningException" 52 53 // ErrCodeCrawlerRunningException for service response error code 54 // "CrawlerRunningException". 55 // 56 // The operation cannot be performed because the crawler is already running. 57 ErrCodeCrawlerRunningException = "CrawlerRunningException" 58 59 // ErrCodeCrawlerStoppingException for service response error code 60 // "CrawlerStoppingException". 61 // 62 // The specified crawler is stopping. 63 ErrCodeCrawlerStoppingException = "CrawlerStoppingException" 64 65 // ErrCodeEncryptionException for service response error code 66 // "GlueEncryptionException". 67 // 68 // An encryption operation failed. 69 ErrCodeEncryptionException = "GlueEncryptionException" 70 71 // ErrCodeEntityNotFoundException for service response error code 72 // "EntityNotFoundException". 73 // 74 // A specified entity does not exist 75 ErrCodeEntityNotFoundException = "EntityNotFoundException" 76 77 // ErrCodeIdempotentParameterMismatchException for service response error code 78 // "IdempotentParameterMismatchException". 79 // 80 // The same unique identifier was associated with two different records. 81 ErrCodeIdempotentParameterMismatchException = "IdempotentParameterMismatchException" 82 83 // ErrCodeIllegalWorkflowStateException for service response error code 84 // "IllegalWorkflowStateException". 85 // 86 // The workflow is in an invalid state to perform a requested operation. 87 ErrCodeIllegalWorkflowStateException = "IllegalWorkflowStateException" 88 89 // ErrCodeInternalServiceException for service response error code 90 // "InternalServiceException". 91 // 92 // An internal service error occurred. 93 ErrCodeInternalServiceException = "InternalServiceException" 94 95 // ErrCodeInvalidInputException for service response error code 96 // "InvalidInputException". 97 // 98 // The input provided was not valid. 99 ErrCodeInvalidInputException = "InvalidInputException" 100 101 // ErrCodeMLTransformNotReadyException for service response error code 102 // "MLTransformNotReadyException". 103 // 104 // The machine learning transform is not ready to run. 105 ErrCodeMLTransformNotReadyException = "MLTransformNotReadyException" 106 107 // ErrCodeNoScheduleException for service response error code 108 // "NoScheduleException". 109 // 110 // There is no applicable schedule. 111 ErrCodeNoScheduleException = "NoScheduleException" 112 113 // ErrCodeOperationTimeoutException for service response error code 114 // "OperationTimeoutException". 115 // 116 // The operation timed out. 117 ErrCodeOperationTimeoutException = "OperationTimeoutException" 118 119 // ErrCodeResourceNumberLimitExceededException for service response error code 120 // "ResourceNumberLimitExceededException". 121 // 122 // A resource numerical limit was exceeded. 123 ErrCodeResourceNumberLimitExceededException = "ResourceNumberLimitExceededException" 124 125 // ErrCodeSchedulerNotRunningException for service response error code 126 // "SchedulerNotRunningException". 127 // 128 // The specified scheduler is not running. 129 ErrCodeSchedulerNotRunningException = "SchedulerNotRunningException" 130 131 // ErrCodeSchedulerRunningException for service response error code 132 // "SchedulerRunningException". 133 // 134 // The specified scheduler is already running. 135 ErrCodeSchedulerRunningException = "SchedulerRunningException" 136 137 // ErrCodeSchedulerTransitioningException for service response error code 138 // "SchedulerTransitioningException". 139 // 140 // The specified scheduler is transitioning. 141 ErrCodeSchedulerTransitioningException = "SchedulerTransitioningException" 142 143 // ErrCodeValidationException for service response error code 144 // "ValidationException". 145 // 146 // A value could not be validated. 147 ErrCodeValidationException = "ValidationException" 148 149 // ErrCodeVersionMismatchException for service response error code 150 // "VersionMismatchException". 151 // 152 // There was a version conflict. 153 ErrCodeVersionMismatchException = "VersionMismatchException" 154) 155 156var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 157 "AccessDeniedException": newErrorAccessDeniedException, 158 "AlreadyExistsException": newErrorAlreadyExistsException, 159 "ConcurrentModificationException": newErrorConcurrentModificationException, 160 "ConcurrentRunsExceededException": newErrorConcurrentRunsExceededException, 161 "ConditionCheckFailureException": newErrorConditionCheckFailureException, 162 "ConflictException": newErrorConflictException, 163 "CrawlerNotRunningException": newErrorCrawlerNotRunningException, 164 "CrawlerRunningException": newErrorCrawlerRunningException, 165 "CrawlerStoppingException": newErrorCrawlerStoppingException, 166 "GlueEncryptionException": newErrorEncryptionException, 167 "EntityNotFoundException": newErrorEntityNotFoundException, 168 "IdempotentParameterMismatchException": newErrorIdempotentParameterMismatchException, 169 "IllegalWorkflowStateException": newErrorIllegalWorkflowStateException, 170 "InternalServiceException": newErrorInternalServiceException, 171 "InvalidInputException": newErrorInvalidInputException, 172 "MLTransformNotReadyException": newErrorMLTransformNotReadyException, 173 "NoScheduleException": newErrorNoScheduleException, 174 "OperationTimeoutException": newErrorOperationTimeoutException, 175 "ResourceNumberLimitExceededException": newErrorResourceNumberLimitExceededException, 176 "SchedulerNotRunningException": newErrorSchedulerNotRunningException, 177 "SchedulerRunningException": newErrorSchedulerRunningException, 178 "SchedulerTransitioningException": newErrorSchedulerTransitioningException, 179 "ValidationException": newErrorValidationException, 180 "VersionMismatchException": newErrorVersionMismatchException, 181} 182