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

package budgets

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

const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You are not authorized to use this operation with the given parameters.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeCreationLimitExceededException for service response error code
	// "CreationLimitExceededException".
	//
	// You've exceeded the notification or subscriber limit.
	ErrCodeCreationLimitExceededException = "CreationLimitExceededException"

	// ErrCodeDuplicateRecordException for service response error code
	// "DuplicateRecordException".
	//
	// The budget name already exists. Budget names must be unique within an account.
	ErrCodeDuplicateRecordException = "DuplicateRecordException"

	// ErrCodeExpiredNextTokenException for service response error code
	// "ExpiredNextTokenException".
	//
	// The pagination token expired.
	ErrCodeExpiredNextTokenException = "ExpiredNextTokenException"

	// ErrCodeInternalErrorException for service response error code
	// "InternalErrorException".
	//
	// An error on the server occurred during the processing of your request. Try
	// again later.
	ErrCodeInternalErrorException = "InternalErrorException"

	// ErrCodeInvalidNextTokenException for service response error code
	// "InvalidNextTokenException".
	//
	// The pagination token is invalid.
	ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// An error on the client occurred. Typically, the cause is an invalid input
	// value.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// We can’t locate the resource that you specified.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeResourceLockedException for service response error code
	// "ResourceLockedException".
	//
	// The request was received and recognized by the server, but the server rejected
	// that particular method for the requested resource.
	ErrCodeResourceLockedException = "ResourceLockedException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// You've reached the limit on the number of tags you can associate with a resource.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The number of API requests has exceeded the maximum allowed API request throttling
	// limit for the account.
	ErrCodeThrottlingException = "ThrottlingException"
)

var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
	"AccessDeniedException":          newErrorAccessDeniedException,
	"CreationLimitExceededException": newErrorCreationLimitExceededException,
	"DuplicateRecordException":       newErrorDuplicateRecordException,
	"ExpiredNextTokenException":      newErrorExpiredNextTokenException,
	"InternalErrorException":         newErrorInternalErrorException,
	"InvalidNextTokenException":      newErrorInvalidNextTokenException,
	"InvalidParameterException":      newErrorInvalidParameterException,
	"NotFoundException":              newErrorNotFoundException,
	"ResourceLockedException":        newErrorResourceLockedException,
	"ServiceQuotaExceededException":  newErrorServiceQuotaExceededException,
	"ThrottlingException":            newErrorThrottlingException,
}
