github.com/aavshr/aws-sdk-go@v1.41.3/service/signer/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package signer 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. 15 ErrCodeAccessDeniedException = "AccessDeniedException" 16 17 // ErrCodeBadRequestException for service response error code 18 // "BadRequestException". 19 // 20 // The request contains invalid parameters for the ARN or tags. This exception 21 // also occurs when you call a tagging API on a cancelled signing profile. 22 ErrCodeBadRequestException = "BadRequestException" 23 24 // ErrCodeConflictException for service response error code 25 // "ConflictException". 26 // 27 // The resource encountered a conflicting state. 28 ErrCodeConflictException = "ConflictException" 29 30 // ErrCodeInternalServiceErrorException for service response error code 31 // "InternalServiceErrorException". 32 // 33 // An internal error occurred. 34 ErrCodeInternalServiceErrorException = "InternalServiceErrorException" 35 36 // ErrCodeNotFoundException for service response error code 37 // "NotFoundException". 38 // 39 // The signing profile was not found. 40 ErrCodeNotFoundException = "NotFoundException" 41 42 // ErrCodeResourceNotFoundException for service response error code 43 // "ResourceNotFoundException". 44 // 45 // A specified resource could not be found. 46 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 47 48 // ErrCodeServiceLimitExceededException for service response error code 49 // "ServiceLimitExceededException". 50 // 51 // The client is making a request that exceeds service limits. 52 ErrCodeServiceLimitExceededException = "ServiceLimitExceededException" 53 54 // ErrCodeThrottlingException for service response error code 55 // "ThrottlingException". 56 // 57 // The request was denied due to request throttling. 58 // 59 // Instead of this error, TooManyRequestsException should be used. 60 ErrCodeThrottlingException = "ThrottlingException" 61 62 // ErrCodeTooManyRequestsException for service response error code 63 // "TooManyRequestsException". 64 // 65 // The allowed number of job-signing requests has been exceeded. 66 // 67 // This error supersedes the error ThrottlingException. 68 ErrCodeTooManyRequestsException = "TooManyRequestsException" 69 70 // ErrCodeValidationException for service response error code 71 // "ValidationException". 72 // 73 // You signing certificate could not be validated. 74 ErrCodeValidationException = "ValidationException" 75 ) 76 77 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 78 "AccessDeniedException": newErrorAccessDeniedException, 79 "BadRequestException": newErrorBadRequestException, 80 "ConflictException": newErrorConflictException, 81 "InternalServiceErrorException": newErrorInternalServiceErrorException, 82 "NotFoundException": newErrorNotFoundException, 83 "ResourceNotFoundException": newErrorResourceNotFoundException, 84 "ServiceLimitExceededException": newErrorServiceLimitExceededException, 85 "ThrottlingException": newErrorThrottlingException, 86 "TooManyRequestsException": newErrorTooManyRequestsException, 87 "ValidationException": newErrorValidationException, 88 }