github.com/aavshr/aws-sdk-go@v1.41.3/service/augmentedairuntime/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package augmentedairuntime 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 // Your request has the same name as another active human loop but has different 15 // input data. You cannot start two human loops with the same name and different 16 // input data. 17 ErrCodeConflictException = "ConflictException" 18 19 // ErrCodeInternalServerException for service response error code 20 // "InternalServerException". 21 // 22 // We couldn't process your request because of an issue with the server. Try 23 // again later. 24 ErrCodeInternalServerException = "InternalServerException" 25 26 // ErrCodeResourceNotFoundException for service response error code 27 // "ResourceNotFoundException". 28 // 29 // We couldn't find the requested resource. Check that your resources exists 30 // and were created in the same AWS Region as your request, and try your request 31 // again. 32 ErrCodeResourceNotFoundException = "ResourceNotFoundException" 33 34 // ErrCodeServiceQuotaExceededException for service response error code 35 // "ServiceQuotaExceededException". 36 // 37 // You exceeded your service quota. Service quotas, also referred to as limits, 38 // are the maximum number of service resources or operations for your AWS account. 39 // For a list of Amazon A2I service quotes, see Amazon Augmented AI Service 40 // Quotes (https://docs.aws.amazon.com/general/latest/gr/a2i.html). Delete some 41 // resources or request an increase in your service quota. You can request a 42 // quota increase using Service Quotas or the AWS Support Center. To request 43 // an increase, see AWS Service Quotas (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) 44 // in the AWS General Reference. 45 ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" 46 47 // ErrCodeThrottlingException for service response error code 48 // "ThrottlingException". 49 // 50 // You exceeded the maximum number of requests. 51 ErrCodeThrottlingException = "ThrottlingException" 52 53 // ErrCodeValidationException for service response error code 54 // "ValidationException". 55 // 56 // The request isn't valid. Check the syntax and try again. 57 ErrCodeValidationException = "ValidationException" 58 ) 59 60 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 61 "ConflictException": newErrorConflictException, 62 "InternalServerException": newErrorInternalServerException, 63 "ResourceNotFoundException": newErrorResourceNotFoundException, 64 "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, 65 "ThrottlingException": newErrorThrottlingException, 66 "ValidationException": newErrorValidationException, 67 }