github.com/aavshr/aws-sdk-go@v1.41.3/service/healthlake/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package healthlake 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 // Access is denied. Your account is not authorized to perform this operation. 15 ErrCodeAccessDeniedException = "AccessDeniedException" 16 17 // ErrCodeConflictException for service response error code 18 // "ConflictException". 19 // 20 // The Data Store is in a transition state and the user requested action can 21 // not be performed. 22 ErrCodeConflictException = "ConflictException" 23 24 // ErrCodeInternalServerException for service response error code 25 // "InternalServerException". 26 // 27 // Unknown error occurs in the service. 28 ErrCodeInternalServerException = "InternalServerException" 29 30 // ErrCodeResourceNotFoundException for service response error code 31 // "ResourceNotFoundException". 32 // 33 // The requested Data Store was not found. 34 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 35 36 // ErrCodeThrottlingException for service response error code 37 // "ThrottlingException". 38 // 39 // The user has exceeded their maximum number of allowed calls to the given 40 // API. 41 ErrCodeThrottlingException = "ThrottlingException" 42 43 // ErrCodeValidationException for service response error code 44 // "ValidationException". 45 // 46 // The user input parameter was invalid. 47 ErrCodeValidationException = "ValidationException" 48 ) 49 50 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 51 "AccessDeniedException": newErrorAccessDeniedException, 52 "ConflictException": newErrorConflictException, 53 "InternalServerException": newErrorInternalServerException, 54 "ResourceNotFoundException": newErrorResourceNotFoundException, 55 "ThrottlingException": newErrorThrottlingException, 56 "ValidationException": newErrorValidationException, 57 }