// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package bedrockagentruntime

import (
	"github.com/aws/aws-sdk-go/private/protocol"
)

const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// This exception is thrown when a request is denied per access permissions
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeBadGatewayException for service response error code
	// "BadGatewayException".
	//
	// This exception is thrown when a request fails due to dependency like Lambda,
	// Bedrock, STS resource
	ErrCodeBadGatewayException = "BadGatewayException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// This exception is thrown when there is a conflict performing an operation
	ErrCodeConflictException = "ConflictException"

	// ErrCodeDependencyFailedException for service response error code
	// "DependencyFailedException".
	//
	// This exception is thrown when a request fails due to dependency like Lambda,
	// Bedrock, STS resource due to a customer fault (i.e. bad configuration)
	ErrCodeDependencyFailedException = "DependencyFailedException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// This exception is thrown if there was an unexpected error during processing
	// of request
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// This exception is thrown when a resource referenced by the operation does
	// not exist
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// This exception is thrown when a request is made beyond the service quota
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// This exception is thrown when the number of requests exceeds the limit
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// This exception is thrown when the request's input validation fails
	ErrCodeValidationException = "ValidationException"
)

var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
	"AccessDeniedException":         newErrorAccessDeniedException,
	"BadGatewayException":           newErrorBadGatewayException,
	"ConflictException":             newErrorConflictException,
	"DependencyFailedException":     newErrorDependencyFailedException,
	"InternalServerException":       newErrorInternalServerException,
	"ResourceNotFoundException":     newErrorResourceNotFoundException,
	"ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
	"ThrottlingException":           newErrorThrottlingException,
	"ValidationException":           newErrorValidationException,
}
