github.com/aavshr/aws-sdk-go@v1.41.3/service/codepipeline/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package codepipeline 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeActionNotFoundException for service response error code 12 // "ActionNotFoundException". 13 // 14 // The specified action cannot be found. 15 ErrCodeActionNotFoundException = "ActionNotFoundException" 16 17 // ErrCodeActionTypeNotFoundException for service response error code 18 // "ActionTypeNotFoundException". 19 // 20 // The specified action type cannot be found. 21 ErrCodeActionTypeNotFoundException = "ActionTypeNotFoundException" 22 23 // ErrCodeApprovalAlreadyCompletedException for service response error code 24 // "ApprovalAlreadyCompletedException". 25 // 26 // The approval action has already been approved or rejected. 27 ErrCodeApprovalAlreadyCompletedException = "ApprovalAlreadyCompletedException" 28 29 // ErrCodeConcurrentModificationException for service response error code 30 // "ConcurrentModificationException". 31 // 32 // Unable to modify the tag due to a simultaneous update request. 33 ErrCodeConcurrentModificationException = "ConcurrentModificationException" 34 35 // ErrCodeConflictException for service response error code 36 // "ConflictException". 37 // 38 // Your request cannot be handled because the pipeline is busy handling ongoing 39 // activities. Try again later. 40 ErrCodeConflictException = "ConflictException" 41 42 // ErrCodeDuplicatedStopRequestException for service response error code 43 // "DuplicatedStopRequestException". 44 // 45 // The pipeline execution is already in a Stopping state. If you already chose 46 // to stop and wait, you cannot make that request again. You can choose to stop 47 // and abandon now, but be aware that this option can lead to failed tasks or 48 // out of sequence tasks. If you already chose to stop and abandon, you cannot 49 // make that request again. 50 ErrCodeDuplicatedStopRequestException = "DuplicatedStopRequestException" 51 52 // ErrCodeInvalidActionDeclarationException for service response error code 53 // "InvalidActionDeclarationException". 54 // 55 // The action declaration was specified in an invalid format. 56 ErrCodeInvalidActionDeclarationException = "InvalidActionDeclarationException" 57 58 // ErrCodeInvalidApprovalTokenException for service response error code 59 // "InvalidApprovalTokenException". 60 // 61 // The approval request already received a response or has expired. 62 ErrCodeInvalidApprovalTokenException = "InvalidApprovalTokenException" 63 64 // ErrCodeInvalidArnException for service response error code 65 // "InvalidArnException". 66 // 67 // The specified resource ARN is invalid. 68 ErrCodeInvalidArnException = "InvalidArnException" 69 70 // ErrCodeInvalidBlockerDeclarationException for service response error code 71 // "InvalidBlockerDeclarationException". 72 // 73 // Reserved for future use. 74 ErrCodeInvalidBlockerDeclarationException = "InvalidBlockerDeclarationException" 75 76 // ErrCodeInvalidClientTokenException for service response error code 77 // "InvalidClientTokenException". 78 // 79 // The client token was specified in an invalid format 80 ErrCodeInvalidClientTokenException = "InvalidClientTokenException" 81 82 // ErrCodeInvalidJobException for service response error code 83 // "InvalidJobException". 84 // 85 // The job was specified in an invalid format or cannot be found. 86 ErrCodeInvalidJobException = "InvalidJobException" 87 88 // ErrCodeInvalidJobStateException for service response error code 89 // "InvalidJobStateException". 90 // 91 // The job state was specified in an invalid format. 92 ErrCodeInvalidJobStateException = "InvalidJobStateException" 93 94 // ErrCodeInvalidNextTokenException for service response error code 95 // "InvalidNextTokenException". 96 // 97 // The next token was specified in an invalid format. Make sure that the next 98 // token you provide is the token returned by a previous call. 99 ErrCodeInvalidNextTokenException = "InvalidNextTokenException" 100 101 // ErrCodeInvalidNonceException for service response error code 102 // "InvalidNonceException". 103 // 104 // The nonce was specified in an invalid format. 105 ErrCodeInvalidNonceException = "InvalidNonceException" 106 107 // ErrCodeInvalidStageDeclarationException for service response error code 108 // "InvalidStageDeclarationException". 109 // 110 // The stage declaration was specified in an invalid format. 111 ErrCodeInvalidStageDeclarationException = "InvalidStageDeclarationException" 112 113 // ErrCodeInvalidStructureException for service response error code 114 // "InvalidStructureException". 115 // 116 // The structure was specified in an invalid format. 117 ErrCodeInvalidStructureException = "InvalidStructureException" 118 119 // ErrCodeInvalidTagsException for service response error code 120 // "InvalidTagsException". 121 // 122 // The specified resource tags are invalid. 123 ErrCodeInvalidTagsException = "InvalidTagsException" 124 125 // ErrCodeInvalidWebhookAuthenticationParametersException for service response error code 126 // "InvalidWebhookAuthenticationParametersException". 127 // 128 // The specified authentication type is in an invalid format. 129 ErrCodeInvalidWebhookAuthenticationParametersException = "InvalidWebhookAuthenticationParametersException" 130 131 // ErrCodeInvalidWebhookFilterPatternException for service response error code 132 // "InvalidWebhookFilterPatternException". 133 // 134 // The specified event filter rule is in an invalid format. 135 ErrCodeInvalidWebhookFilterPatternException = "InvalidWebhookFilterPatternException" 136 137 // ErrCodeJobNotFoundException for service response error code 138 // "JobNotFoundException". 139 // 140 // The job was specified in an invalid format or cannot be found. 141 ErrCodeJobNotFoundException = "JobNotFoundException" 142 143 // ErrCodeLimitExceededException for service response error code 144 // "LimitExceededException". 145 // 146 // The number of pipelines associated with the AWS account has exceeded the 147 // limit allowed for the account. 148 ErrCodeLimitExceededException = "LimitExceededException" 149 150 // ErrCodeNotLatestPipelineExecutionException for service response error code 151 // "NotLatestPipelineExecutionException". 152 // 153 // The stage has failed in a later run of the pipeline and the pipelineExecutionId 154 // associated with the request is out of date. 155 ErrCodeNotLatestPipelineExecutionException = "NotLatestPipelineExecutionException" 156 157 // ErrCodeOutputVariablesSizeExceededException for service response error code 158 // "OutputVariablesSizeExceededException". 159 // 160 // Exceeded the total size limit for all variables in the pipeline. 161 ErrCodeOutputVariablesSizeExceededException = "OutputVariablesSizeExceededException" 162 163 // ErrCodePipelineExecutionNotFoundException for service response error code 164 // "PipelineExecutionNotFoundException". 165 // 166 // The pipeline execution was specified in an invalid format or cannot be found, 167 // or an execution ID does not belong to the specified pipeline. 168 ErrCodePipelineExecutionNotFoundException = "PipelineExecutionNotFoundException" 169 170 // ErrCodePipelineExecutionNotStoppableException for service response error code 171 // "PipelineExecutionNotStoppableException". 172 // 173 // Unable to stop the pipeline execution. The execution might already be in 174 // a Stopped state, or it might no longer be in progress. 175 ErrCodePipelineExecutionNotStoppableException = "PipelineExecutionNotStoppableException" 176 177 // ErrCodePipelineNameInUseException for service response error code 178 // "PipelineNameInUseException". 179 // 180 // The specified pipeline name is already in use. 181 ErrCodePipelineNameInUseException = "PipelineNameInUseException" 182 183 // ErrCodePipelineNotFoundException for service response error code 184 // "PipelineNotFoundException". 185 // 186 // The pipeline was specified in an invalid format or cannot be found. 187 ErrCodePipelineNotFoundException = "PipelineNotFoundException" 188 189 // ErrCodePipelineVersionNotFoundException for service response error code 190 // "PipelineVersionNotFoundException". 191 // 192 // The pipeline version was specified in an invalid format or cannot be found. 193 ErrCodePipelineVersionNotFoundException = "PipelineVersionNotFoundException" 194 195 // ErrCodeRequestFailedException for service response error code 196 // "RequestFailedException". 197 // 198 // The request failed because of an unknown error, exception, or failure. 199 ErrCodeRequestFailedException = "RequestFailedException" 200 201 // ErrCodeResourceNotFoundException for service response error code 202 // "ResourceNotFoundException". 203 // 204 // The resource was specified in an invalid format. 205 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 206 207 // ErrCodeStageNotFoundException for service response error code 208 // "StageNotFoundException". 209 // 210 // The stage was specified in an invalid format or cannot be found. 211 ErrCodeStageNotFoundException = "StageNotFoundException" 212 213 // ErrCodeStageNotRetryableException for service response error code 214 // "StageNotRetryableException". 215 // 216 // Unable to retry. The pipeline structure or stage state might have changed 217 // while actions awaited retry, or the stage contains no failed actions. 218 ErrCodeStageNotRetryableException = "StageNotRetryableException" 219 220 // ErrCodeTooManyTagsException for service response error code 221 // "TooManyTagsException". 222 // 223 // The tags limit for a resource has been exceeded. 224 ErrCodeTooManyTagsException = "TooManyTagsException" 225 226 // ErrCodeValidationException for service response error code 227 // "ValidationException". 228 // 229 // The validation was specified in an invalid format. 230 ErrCodeValidationException = "ValidationException" 231 232 // ErrCodeWebhookNotFoundException for service response error code 233 // "WebhookNotFoundException". 234 // 235 // The specified webhook was entered in an invalid format or cannot be found. 236 ErrCodeWebhookNotFoundException = "WebhookNotFoundException" 237 ) 238 239 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 240 "ActionNotFoundException": newErrorActionNotFoundException, 241 "ActionTypeNotFoundException": newErrorActionTypeNotFoundException, 242 "ApprovalAlreadyCompletedException": newErrorApprovalAlreadyCompletedException, 243 "ConcurrentModificationException": newErrorConcurrentModificationException, 244 "ConflictException": newErrorConflictException, 245 "DuplicatedStopRequestException": newErrorDuplicatedStopRequestException, 246 "InvalidActionDeclarationException": newErrorInvalidActionDeclarationException, 247 "InvalidApprovalTokenException": newErrorInvalidApprovalTokenException, 248 "InvalidArnException": newErrorInvalidArnException, 249 "InvalidBlockerDeclarationException": newErrorInvalidBlockerDeclarationException, 250 "InvalidClientTokenException": newErrorInvalidClientTokenException, 251 "InvalidJobException": newErrorInvalidJobException, 252 "InvalidJobStateException": newErrorInvalidJobStateException, 253 "InvalidNextTokenException": newErrorInvalidNextTokenException, 254 "InvalidNonceException": newErrorInvalidNonceException, 255 "InvalidStageDeclarationException": newErrorInvalidStageDeclarationException, 256 "InvalidStructureException": newErrorInvalidStructureException, 257 "InvalidTagsException": newErrorInvalidTagsException, 258 "InvalidWebhookAuthenticationParametersException": newErrorInvalidWebhookAuthenticationParametersException, 259 "InvalidWebhookFilterPatternException": newErrorInvalidWebhookFilterPatternException, 260 "JobNotFoundException": newErrorJobNotFoundException, 261 "LimitExceededException": newErrorLimitExceededException, 262 "NotLatestPipelineExecutionException": newErrorNotLatestPipelineExecutionException, 263 "OutputVariablesSizeExceededException": newErrorOutputVariablesSizeExceededException, 264 "PipelineExecutionNotFoundException": newErrorPipelineExecutionNotFoundException, 265 "PipelineExecutionNotStoppableException": newErrorPipelineExecutionNotStoppableException, 266 "PipelineNameInUseException": newErrorPipelineNameInUseException, 267 "PipelineNotFoundException": newErrorPipelineNotFoundException, 268 "PipelineVersionNotFoundException": newErrorPipelineVersionNotFoundException, 269 "RequestFailedException": newErrorRequestFailedException, 270 "ResourceNotFoundException": newErrorResourceNotFoundException, 271 "StageNotFoundException": newErrorStageNotFoundException, 272 "StageNotRetryableException": newErrorStageNotRetryableException, 273 "TooManyTagsException": newErrorTooManyTagsException, 274 "ValidationException": newErrorValidationException, 275 "WebhookNotFoundException": newErrorWebhookNotFoundException, 276 }