github.com/aavshr/aws-sdk-go@v1.41.3/service/appflow/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package appflow 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeConflictException for service response error code 12 // "ConflictException". 13 // 14 // There was a conflict when processing the request (for example, a flow with 15 // the given name already exists within the account. Check for conflicting resource 16 // names and try again. 17 ErrCodeConflictException = "ConflictException" 18 19 // ErrCodeConnectorAuthenticationException for service response error code 20 // "ConnectorAuthenticationException". 21 // 22 // An error occurred when authenticating with the connector endpoint. 23 ErrCodeConnectorAuthenticationException = "ConnectorAuthenticationException" 24 25 // ErrCodeConnectorServerException for service response error code 26 // "ConnectorServerException". 27 // 28 // An error occurred when retrieving data from the connector endpoint. 29 ErrCodeConnectorServerException = "ConnectorServerException" 30 31 // ErrCodeInternalServerException for service response error code 32 // "InternalServerException". 33 // 34 // An internal service error occurred during the processing of your request. 35 // Try again later. 36 ErrCodeInternalServerException = "InternalServerException" 37 38 // ErrCodeResourceNotFoundException for service response error code 39 // "ResourceNotFoundException". 40 // 41 // The resource specified in the request (such as the source or destination 42 // connector profile) is not found. 43 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 44 45 // ErrCodeServiceQuotaExceededException for service response error code 46 // "ServiceQuotaExceededException". 47 // 48 // The request would cause a service quota (such as the number of flows) to 49 // be exceeded. 50 ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" 51 52 // ErrCodeUnsupportedOperationException for service response error code 53 // "UnsupportedOperationException". 54 // 55 // The requested operation is not supported for the current flow. 56 ErrCodeUnsupportedOperationException = "UnsupportedOperationException" 57 58 // ErrCodeValidationException for service response error code 59 // "ValidationException". 60 // 61 // The request has invalid or missing parameters. 62 ErrCodeValidationException = "ValidationException" 63 ) 64 65 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 66 "ConflictException": newErrorConflictException, 67 "ConnectorAuthenticationException": newErrorConnectorAuthenticationException, 68 "ConnectorServerException": newErrorConnectorServerException, 69 "InternalServerException": newErrorInternalServerException, 70 "ResourceNotFoundException": newErrorResourceNotFoundException, 71 "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, 72 "UnsupportedOperationException": newErrorUnsupportedOperationException, 73 "ValidationException": newErrorValidationException, 74 }