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

package launchwizard

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

const (

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An internal error has occurred. Retry your request, but if the problem persists,
	// contact us with details by posting a question on re:Post (https://repost.aws/).
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceLimitException for service response error code
	// "ResourceLimitException".
	//
	// You have exceeded an Launch Wizard resource limit. For example, you might
	// have too many deployments in progress.
	ErrCodeResourceLimitException = "ResourceLimitException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified workload or deployment resource can't be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The input fails to satisfy the constraints specified by an Amazon Web Services
	// service.
	ErrCodeValidationException = "ValidationException"
)

var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
	"InternalServerException":   newErrorInternalServerException,
	"ResourceLimitException":    newErrorResourceLimitException,
	"ResourceNotFoundException": newErrorResourceNotFoundException,
	"ValidationException":       newErrorValidationException,
}
