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

package ssmmds

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

const (

	// ErrCodeAuthorizationFailureException for service response error code
	// "AuthorizationFailureException".
	ErrCodeAuthorizationFailureException = "AuthorizationFailureException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeInvalidDestinationException for service response error code
	// "InvalidDestinationException".
	ErrCodeInvalidDestinationException = "InvalidDestinationException"

	// ErrCodeInvalidMessageIdException for service response error code
	// "InvalidMessageIdException".
	ErrCodeInvalidMessageIdException = "InvalidMessageIdException"

	// ErrCodeRequestTimeoutException for service response error code
	// "RequestTimeoutException".
	ErrCodeRequestTimeoutException = "RequestTimeoutException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// ErrCodeUnsupportedMessageOperationException for service response error code
	// "UnsupportedMessageOperationException".
	ErrCodeUnsupportedMessageOperationException = "UnsupportedMessageOperationException"
)

var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
	"AuthorizationFailureException":        newErrorAuthorizationFailureException,
	"InternalServerException":              newErrorInternalServerException,
	"InvalidDestinationException":          newErrorInvalidDestinationException,
	"InvalidMessageIdException":            newErrorInvalidMessageIdException,
	"RequestTimeoutException":              newErrorRequestTimeoutException,
	"TooManyRequestsException":             newErrorTooManyRequestsException,
	"UnsupportedMessageOperationException": newErrorUnsupportedMessageOperationException,
}
