File: //opt/go/pkg/mod/github.com/aws/
[email protected]/service/augmentedairuntime/errors.go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package augmentedairuntime
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// Your request has the same name as another active human loop but has different
// input data. You cannot start two human loops with the same name and different
// input data.
ErrCodeConflictException = "ConflictException"
// ErrCodeInternalServerException for service response error code
// "InternalServerException".
//
// We couldn't process your request because of an issue with the server. Try
// again later.
ErrCodeInternalServerException = "InternalServerException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// We couldn't find the requested resource. Check that your resources exists
// and were created in the same AWS Region as your request, and try your request
// again.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceQuotaExceededException for service response error code
// "ServiceQuotaExceededException".
//
// You exceeded your service quota. Service quotas, also referred to as limits,
// are the maximum number of service resources or operations for your AWS account.
// For a list of Amazon A2I service quotes, see Amazon Augmented AI Service
// Quotes (https://docs.aws.amazon.com/general/latest/gr/a2i.html). Delete some
// resources or request an increase in your service quota. You can request a
// quota increase using Service Quotas or the AWS Support Center. To request
// an increase, see AWS Service Quotas (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html)
// in the AWS General Reference.
ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
// You exceeded the maximum number of requests.
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// The request isn't valid. Check the syntax and try again.
ErrCodeValidationException = "ValidationException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"ConflictException": newErrorConflictException,
"InternalServerException": newErrorInternalServerException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
"ThrottlingException": newErrorThrottlingException,
"ValidationException": newErrorValidationException,
}