github.com/aavshr/aws-sdk-go@v1.41.3/service/ssmincidents/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package ssmincidents 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 don't have sufficient access to perform this action. 15 ErrCodeAccessDeniedException = "AccessDeniedException" 16 17 // ErrCodeConflictException for service response error code 18 // "ConflictException". 19 // 20 // Updating or deleting a resource causes an inconsistent state. 21 ErrCodeConflictException = "ConflictException" 22 23 // ErrCodeInternalServerException for service response error code 24 // "InternalServerException". 25 // 26 // The request processing has failed because of an unknown error, exception 27 // or failure. 28 ErrCodeInternalServerException = "InternalServerException" 29 30 // ErrCodeResourceNotFoundException for service response error code 31 // "ResourceNotFoundException". 32 // 33 // Request references a resource which does not exist. 34 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 35 36 // ErrCodeServiceQuotaExceededException for service response error code 37 // "ServiceQuotaExceededException". 38 // 39 // Request would cause a service quota to be exceeded. 40 ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" 41 42 // ErrCodeThrottlingException for service response error code 43 // "ThrottlingException". 44 // 45 // The request was denied due to request throttling. 46 ErrCodeThrottlingException = "ThrottlingException" 47 48 // ErrCodeValidationException for service response error code 49 // "ValidationException". 50 // 51 // The input fails to satisfy the constraints specified by an AWS service. 52 ErrCodeValidationException = "ValidationException" 53 ) 54 55 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 56 "AccessDeniedException": newErrorAccessDeniedException, 57 "ConflictException": newErrorConflictException, 58 "InternalServerException": newErrorInternalServerException, 59 "ResourceNotFoundException": newErrorResourceNotFoundException, 60 "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, 61 "ThrottlingException": newErrorThrottlingException, 62 "ValidationException": newErrorValidationException, 63 }