github.com/aavshr/aws-sdk-go@v1.41.3/service/honeycode/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package honeycode 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeAccessDeniedException for service response error code 12 // "AccessDeniedException". 13 // 14 // You do not have sufficient access to perform this action. Check that the 15 // workbook is owned by you and your IAM policy allows access to the resource 16 // in the request. 17 ErrCodeAccessDeniedException = "AccessDeniedException" 18 19 // ErrCodeAutomationExecutionException for service response error code 20 // "AutomationExecutionException". 21 // 22 // The automation execution did not end successfully. 23 ErrCodeAutomationExecutionException = "AutomationExecutionException" 24 25 // ErrCodeAutomationExecutionTimeoutException for service response error code 26 // "AutomationExecutionTimeoutException". 27 // 28 // The automation execution timed out. 29 ErrCodeAutomationExecutionTimeoutException = "AutomationExecutionTimeoutException" 30 31 // ErrCodeInternalServerException for service response error code 32 // "InternalServerException". 33 // 34 // There were unexpected errors from the server. 35 ErrCodeInternalServerException = "InternalServerException" 36 37 // ErrCodeRequestTimeoutException for service response error code 38 // "RequestTimeoutException". 39 // 40 // The request timed out. 41 ErrCodeRequestTimeoutException = "RequestTimeoutException" 42 43 // ErrCodeResourceNotFoundException for service response error code 44 // "ResourceNotFoundException". 45 // 46 // A Workbook, Table, App, Screen or Screen Automation was not found with the 47 // given ID. 48 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 49 50 // ErrCodeServiceQuotaExceededException for service response error code 51 // "ServiceQuotaExceededException". 52 // 53 // The request caused service quota to be breached. 54 ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" 55 56 // ErrCodeServiceUnavailableException for service response error code 57 // "ServiceUnavailableException". 58 // 59 // Remote service is unreachable. 60 ErrCodeServiceUnavailableException = "ServiceUnavailableException" 61 62 // ErrCodeThrottlingException for service response error code 63 // "ThrottlingException". 64 // 65 // Tps(transactions per second) rate reached. 66 ErrCodeThrottlingException = "ThrottlingException" 67 68 // ErrCodeValidationException for service response error code 69 // "ValidationException". 70 // 71 // Request is invalid. The message in the response contains details on why the 72 // request is invalid. 73 ErrCodeValidationException = "ValidationException" 74 ) 75 76 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 77 "AccessDeniedException": newErrorAccessDeniedException, 78 "AutomationExecutionException": newErrorAutomationExecutionException, 79 "AutomationExecutionTimeoutException": newErrorAutomationExecutionTimeoutException, 80 "InternalServerException": newErrorInternalServerException, 81 "RequestTimeoutException": newErrorRequestTimeoutException, 82 "ResourceNotFoundException": newErrorResourceNotFoundException, 83 "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, 84 "ServiceUnavailableException": newErrorServiceUnavailableException, 85 "ThrottlingException": newErrorThrottlingException, 86 "ValidationException": newErrorValidationException, 87 }