github.com/aavshr/aws-sdk-go@v1.41.3/service/datapipeline/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package datapipeline 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeInternalServiceError for service response error code 12 // "InternalServiceError". 13 // 14 // An internal service error occurred. 15 ErrCodeInternalServiceError = "InternalServiceError" 16 17 // ErrCodeInvalidRequestException for service response error code 18 // "InvalidRequestException". 19 // 20 // The request was not valid. Verify that your request was properly formatted, 21 // that the signature was generated with the correct credentials, and that you 22 // haven't exceeded any of the service limits for your account. 23 ErrCodeInvalidRequestException = "InvalidRequestException" 24 25 // ErrCodePipelineDeletedException for service response error code 26 // "PipelineDeletedException". 27 // 28 // The specified pipeline has been deleted. 29 ErrCodePipelineDeletedException = "PipelineDeletedException" 30 31 // ErrCodePipelineNotFoundException for service response error code 32 // "PipelineNotFoundException". 33 // 34 // The specified pipeline was not found. Verify that you used the correct user 35 // and account identifiers. 36 ErrCodePipelineNotFoundException = "PipelineNotFoundException" 37 38 // ErrCodeTaskNotFoundException for service response error code 39 // "TaskNotFoundException". 40 // 41 // The specified task was not found. 42 ErrCodeTaskNotFoundException = "TaskNotFoundException" 43 ) 44 45 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 46 "InternalServiceError": newErrorInternalServiceError, 47 "InvalidRequestException": newErrorInvalidRequestException, 48 "PipelineDeletedException": newErrorPipelineDeletedException, 49 "PipelineNotFoundException": newErrorPipelineNotFoundException, 50 "TaskNotFoundException": newErrorTaskNotFoundException, 51 }