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

package memorydb

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

const (

	// ErrCodeACLAlreadyExistsFault for service response error code
	// "ACLAlreadyExistsFault".
	ErrCodeACLAlreadyExistsFault = "ACLAlreadyExistsFault"

	// ErrCodeACLNotFoundFault for service response error code
	// "ACLNotFoundFault".
	ErrCodeACLNotFoundFault = "ACLNotFoundFault"

	// ErrCodeACLQuotaExceededFault for service response error code
	// "ACLQuotaExceededFault".
	ErrCodeACLQuotaExceededFault = "ACLQuotaExceededFault"

	// ErrCodeAPICallRateForCustomerExceededFault for service response error code
	// "APICallRateForCustomerExceededFault".
	ErrCodeAPICallRateForCustomerExceededFault = "APICallRateForCustomerExceededFault"

	// ErrCodeClusterAlreadyExistsFault for service response error code
	// "ClusterAlreadyExistsFault".
	ErrCodeClusterAlreadyExistsFault = "ClusterAlreadyExistsFault"

	// ErrCodeClusterNotFoundFault for service response error code
	// "ClusterNotFoundFault".
	ErrCodeClusterNotFoundFault = "ClusterNotFoundFault"

	// ErrCodeClusterQuotaForCustomerExceededFault for service response error code
	// "ClusterQuotaForCustomerExceededFault".
	ErrCodeClusterQuotaForCustomerExceededFault = "ClusterQuotaForCustomerExceededFault"

	// ErrCodeDefaultUserRequired for service response error code
	// "DefaultUserRequired".
	ErrCodeDefaultUserRequired = "DefaultUserRequired"

	// ErrCodeDuplicateUserNameFault for service response error code
	// "DuplicateUserNameFault".
	ErrCodeDuplicateUserNameFault = "DuplicateUserNameFault"

	// ErrCodeInsufficientClusterCapacityFault for service response error code
	// "InsufficientClusterCapacityFault".
	ErrCodeInsufficientClusterCapacityFault = "InsufficientClusterCapacityFault"

	// ErrCodeInvalidACLStateFault for service response error code
	// "InvalidACLStateFault".
	ErrCodeInvalidACLStateFault = "InvalidACLStateFault"

	// ErrCodeInvalidARNFault for service response error code
	// "InvalidARNFault".
	ErrCodeInvalidARNFault = "InvalidARNFault"

	// ErrCodeInvalidClusterStateFault for service response error code
	// "InvalidClusterStateFault".
	ErrCodeInvalidClusterStateFault = "InvalidClusterStateFault"

	// ErrCodeInvalidCredentialsException for service response error code
	// "InvalidCredentialsException".
	ErrCodeInvalidCredentialsException = "InvalidCredentialsException"

	// ErrCodeInvalidKMSKeyFault for service response error code
	// "InvalidKMSKeyFault".
	ErrCodeInvalidKMSKeyFault = "InvalidKMSKeyFault"

	// ErrCodeInvalidNodeStateFault for service response error code
	// "InvalidNodeStateFault".
	ErrCodeInvalidNodeStateFault = "InvalidNodeStateFault"

	// ErrCodeInvalidParameterCombinationException for service response error code
	// "InvalidParameterCombinationException".
	ErrCodeInvalidParameterCombinationException = "InvalidParameterCombinationException"

	// ErrCodeInvalidParameterGroupStateFault for service response error code
	// "InvalidParameterGroupStateFault".
	ErrCodeInvalidParameterGroupStateFault = "InvalidParameterGroupStateFault"

	// ErrCodeInvalidParameterValueException for service response error code
	// "InvalidParameterValueException".
	ErrCodeInvalidParameterValueException = "InvalidParameterValueException"

	// ErrCodeInvalidSnapshotStateFault for service response error code
	// "InvalidSnapshotStateFault".
	ErrCodeInvalidSnapshotStateFault = "InvalidSnapshotStateFault"

	// ErrCodeInvalidSubnet for service response error code
	// "InvalidSubnet".
	ErrCodeInvalidSubnet = "InvalidSubnet"

	// ErrCodeInvalidUserStateFault for service response error code
	// "InvalidUserStateFault".
	ErrCodeInvalidUserStateFault = "InvalidUserStateFault"

	// ErrCodeInvalidVPCNetworkStateFault for service response error code
	// "InvalidVPCNetworkStateFault".
	ErrCodeInvalidVPCNetworkStateFault = "InvalidVPCNetworkStateFault"

	// ErrCodeNoOperationFault for service response error code
	// "NoOperationFault".
	ErrCodeNoOperationFault = "NoOperationFault"

	// ErrCodeNodeQuotaForClusterExceededFault for service response error code
	// "NodeQuotaForClusterExceededFault".
	ErrCodeNodeQuotaForClusterExceededFault = "NodeQuotaForClusterExceededFault"

	// ErrCodeNodeQuotaForCustomerExceededFault for service response error code
	// "NodeQuotaForCustomerExceededFault".
	ErrCodeNodeQuotaForCustomerExceededFault = "NodeQuotaForCustomerExceededFault"

	// ErrCodeParameterGroupAlreadyExistsFault for service response error code
	// "ParameterGroupAlreadyExistsFault".
	ErrCodeParameterGroupAlreadyExistsFault = "ParameterGroupAlreadyExistsFault"

	// ErrCodeParameterGroupNotFoundFault for service response error code
	// "ParameterGroupNotFoundFault".
	ErrCodeParameterGroupNotFoundFault = "ParameterGroupNotFoundFault"

	// ErrCodeParameterGroupQuotaExceededFault for service response error code
	// "ParameterGroupQuotaExceededFault".
	ErrCodeParameterGroupQuotaExceededFault = "ParameterGroupQuotaExceededFault"

	// ErrCodeServiceLinkedRoleNotFoundFault for service response error code
	// "ServiceLinkedRoleNotFoundFault".
	ErrCodeServiceLinkedRoleNotFoundFault = "ServiceLinkedRoleNotFoundFault"

	// ErrCodeServiceUpdateNotFoundFault for service response error code
	// "ServiceUpdateNotFoundFault".
	ErrCodeServiceUpdateNotFoundFault = "ServiceUpdateNotFoundFault"

	// ErrCodeShardNotFoundFault for service response error code
	// "ShardNotFoundFault".
	ErrCodeShardNotFoundFault = "ShardNotFoundFault"

	// ErrCodeShardsPerClusterQuotaExceededFault for service response error code
	// "ShardsPerClusterQuotaExceededFault".
	ErrCodeShardsPerClusterQuotaExceededFault = "ShardsPerClusterQuotaExceededFault"

	// ErrCodeSnapshotAlreadyExistsFault for service response error code
	// "SnapshotAlreadyExistsFault".
	ErrCodeSnapshotAlreadyExistsFault = "SnapshotAlreadyExistsFault"

	// ErrCodeSnapshotNotFoundFault for service response error code
	// "SnapshotNotFoundFault".
	ErrCodeSnapshotNotFoundFault = "SnapshotNotFoundFault"

	// ErrCodeSnapshotQuotaExceededFault for service response error code
	// "SnapshotQuotaExceededFault".
	ErrCodeSnapshotQuotaExceededFault = "SnapshotQuotaExceededFault"

	// ErrCodeSubnetGroupAlreadyExistsFault for service response error code
	// "SubnetGroupAlreadyExistsFault".
	ErrCodeSubnetGroupAlreadyExistsFault = "SubnetGroupAlreadyExistsFault"

	// ErrCodeSubnetGroupInUseFault for service response error code
	// "SubnetGroupInUseFault".
	ErrCodeSubnetGroupInUseFault = "SubnetGroupInUseFault"

	// ErrCodeSubnetGroupNotFoundFault for service response error code
	// "SubnetGroupNotFoundFault".
	ErrCodeSubnetGroupNotFoundFault = "SubnetGroupNotFoundFault"

	// ErrCodeSubnetGroupQuotaExceededFault for service response error code
	// "SubnetGroupQuotaExceededFault".
	ErrCodeSubnetGroupQuotaExceededFault = "SubnetGroupQuotaExceededFault"

	// ErrCodeSubnetInUse for service response error code
	// "SubnetInUse".
	ErrCodeSubnetInUse = "SubnetInUse"

	// ErrCodeSubnetNotAllowedFault for service response error code
	// "SubnetNotAllowedFault".
	ErrCodeSubnetNotAllowedFault = "SubnetNotAllowedFault"

	// ErrCodeSubnetQuotaExceededFault for service response error code
	// "SubnetQuotaExceededFault".
	ErrCodeSubnetQuotaExceededFault = "SubnetQuotaExceededFault"

	// ErrCodeTagNotFoundFault for service response error code
	// "TagNotFoundFault".
	ErrCodeTagNotFoundFault = "TagNotFoundFault"

	// ErrCodeTagQuotaPerResourceExceeded for service response error code
	// "TagQuotaPerResourceExceeded".
	ErrCodeTagQuotaPerResourceExceeded = "TagQuotaPerResourceExceeded"

	// ErrCodeTestFailoverNotAvailableFault for service response error code
	// "TestFailoverNotAvailableFault".
	ErrCodeTestFailoverNotAvailableFault = "TestFailoverNotAvailableFault"

	// ErrCodeUserAlreadyExistsFault for service response error code
	// "UserAlreadyExistsFault".
	ErrCodeUserAlreadyExistsFault = "UserAlreadyExistsFault"

	// ErrCodeUserNotFoundFault for service response error code
	// "UserNotFoundFault".
	ErrCodeUserNotFoundFault = "UserNotFoundFault"

	// ErrCodeUserQuotaExceededFault for service response error code
	// "UserQuotaExceededFault".
	ErrCodeUserQuotaExceededFault = "UserQuotaExceededFault"
)

var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
	"ACLAlreadyExistsFault":                newErrorACLAlreadyExistsFault,
	"ACLNotFoundFault":                     newErrorACLNotFoundFault,
	"ACLQuotaExceededFault":                newErrorACLQuotaExceededFault,
	"APICallRateForCustomerExceededFault":  newErrorAPICallRateForCustomerExceededFault,
	"ClusterAlreadyExistsFault":            newErrorClusterAlreadyExistsFault,
	"ClusterNotFoundFault":                 newErrorClusterNotFoundFault,
	"ClusterQuotaForCustomerExceededFault": newErrorClusterQuotaForCustomerExceededFault,
	"DefaultUserRequired":                  newErrorDefaultUserRequired,
	"DuplicateUserNameFault":               newErrorDuplicateUserNameFault,
	"InsufficientClusterCapacityFault":     newErrorInsufficientClusterCapacityFault,
	"InvalidACLStateFault":                 newErrorInvalidACLStateFault,
	"InvalidARNFault":                      newErrorInvalidARNFault,
	"InvalidClusterStateFault":             newErrorInvalidClusterStateFault,
	"InvalidCredentialsException":          newErrorInvalidCredentialsException,
	"InvalidKMSKeyFault":                   newErrorInvalidKMSKeyFault,
	"InvalidNodeStateFault":                newErrorInvalidNodeStateFault,
	"InvalidParameterCombinationException": newErrorInvalidParameterCombinationException,
	"InvalidParameterGroupStateFault":      newErrorInvalidParameterGroupStateFault,
	"InvalidParameterValueException":       newErrorInvalidParameterValueException,
	"InvalidSnapshotStateFault":            newErrorInvalidSnapshotStateFault,
	"InvalidSubnet":                        newErrorInvalidSubnet,
	"InvalidUserStateFault":                newErrorInvalidUserStateFault,
	"InvalidVPCNetworkStateFault":          newErrorInvalidVPCNetworkStateFault,
	"NoOperationFault":                     newErrorNoOperationFault,
	"NodeQuotaForClusterExceededFault":     newErrorNodeQuotaForClusterExceededFault,
	"NodeQuotaForCustomerExceededFault":    newErrorNodeQuotaForCustomerExceededFault,
	"ParameterGroupAlreadyExistsFault":     newErrorParameterGroupAlreadyExistsFault,
	"ParameterGroupNotFoundFault":          newErrorParameterGroupNotFoundFault,
	"ParameterGroupQuotaExceededFault":     newErrorParameterGroupQuotaExceededFault,
	"ServiceLinkedRoleNotFoundFault":       newErrorServiceLinkedRoleNotFoundFault,
	"ServiceUpdateNotFoundFault":           newErrorServiceUpdateNotFoundFault,
	"ShardNotFoundFault":                   newErrorShardNotFoundFault,
	"ShardsPerClusterQuotaExceededFault":   newErrorShardsPerClusterQuotaExceededFault,
	"SnapshotAlreadyExistsFault":           newErrorSnapshotAlreadyExistsFault,
	"SnapshotNotFoundFault":                newErrorSnapshotNotFoundFault,
	"SnapshotQuotaExceededFault":           newErrorSnapshotQuotaExceededFault,
	"SubnetGroupAlreadyExistsFault":        newErrorSubnetGroupAlreadyExistsFault,
	"SubnetGroupInUseFault":                newErrorSubnetGroupInUseFault,
	"SubnetGroupNotFoundFault":             newErrorSubnetGroupNotFoundFault,
	"SubnetGroupQuotaExceededFault":        newErrorSubnetGroupQuotaExceededFault,
	"SubnetInUse":                          newErrorSubnetInUse,
	"SubnetNotAllowedFault":                newErrorSubnetNotAllowedFault,
	"SubnetQuotaExceededFault":             newErrorSubnetQuotaExceededFault,
	"TagNotFoundFault":                     newErrorTagNotFoundFault,
	"TagQuotaPerResourceExceeded":          newErrorTagQuotaPerResourceExceeded,
	"TestFailoverNotAvailableFault":        newErrorTestFailoverNotAvailableFault,
	"UserAlreadyExistsFault":               newErrorUserAlreadyExistsFault,
	"UserNotFoundFault":                    newErrorUserNotFoundFault,
	"UserQuotaExceededFault":               newErrorUserQuotaExceededFault,
}
