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

package sms

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

const (

	// ErrCodeDryRunOperationException for service response error code
	// "DryRunOperationException".
	//
	// The user has the required permissions, so the request would have succeeded,
	// but a dry run was performed.
	ErrCodeDryRunOperationException = "DryRunOperationException"

	// ErrCodeInternalError for service response error code
	// "InternalError".
	//
	// An internal error occurred.
	ErrCodeInternalError = "InternalError"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// A specified parameter is not valid.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeMissingRequiredParameterException for service response error code
	// "MissingRequiredParameterException".
	//
	// A required parameter is missing.
	ErrCodeMissingRequiredParameterException = "MissingRequiredParameterException"

	// ErrCodeNoConnectorsAvailableException for service response error code
	// "NoConnectorsAvailableException".
	//
	// There are no connectors available.
	ErrCodeNoConnectorsAvailableException = "NoConnectorsAvailableException"

	// ErrCodeOperationNotPermittedException for service response error code
	// "OperationNotPermittedException".
	//
	// This operation is not allowed.
	ErrCodeOperationNotPermittedException = "OperationNotPermittedException"

	// ErrCodeReplicationJobAlreadyExistsException for service response error code
	// "ReplicationJobAlreadyExistsException".
	//
	// The specified replication job already exists.
	ErrCodeReplicationJobAlreadyExistsException = "ReplicationJobAlreadyExistsException"

	// ErrCodeReplicationJobNotFoundException for service response error code
	// "ReplicationJobNotFoundException".
	//
	// The specified replication job does not exist.
	ErrCodeReplicationJobNotFoundException = "ReplicationJobNotFoundException"

	// ErrCodeReplicationRunLimitExceededException for service response error code
	// "ReplicationRunLimitExceededException".
	//
	// You have exceeded the number of on-demand replication runs you can request
	// in a 24-hour period.
	ErrCodeReplicationRunLimitExceededException = "ReplicationRunLimitExceededException"

	// ErrCodeServerCannotBeReplicatedException for service response error code
	// "ServerCannotBeReplicatedException".
	//
	// The specified server cannot be replicated.
	ErrCodeServerCannotBeReplicatedException = "ServerCannotBeReplicatedException"

	// ErrCodeTemporarilyUnavailableException for service response error code
	// "TemporarilyUnavailableException".
	//
	// The service is temporarily unavailable.
	ErrCodeTemporarilyUnavailableException = "TemporarilyUnavailableException"

	// ErrCodeUnauthorizedOperationException for service response error code
	// "UnauthorizedOperationException".
	//
	// You lack permissions needed to perform this operation. Check your IAM policies,
	// and ensure that you are using the correct access keys.
	ErrCodeUnauthorizedOperationException = "UnauthorizedOperationException"
)

var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
	"DryRunOperationException":             newErrorDryRunOperationException,
	"InternalError":                        newErrorInternalError,
	"InvalidParameterException":            newErrorInvalidParameterException,
	"MissingRequiredParameterException":    newErrorMissingRequiredParameterException,
	"NoConnectorsAvailableException":       newErrorNoConnectorsAvailableException,
	"OperationNotPermittedException":       newErrorOperationNotPermittedException,
	"ReplicationJobAlreadyExistsException": newErrorReplicationJobAlreadyExistsException,
	"ReplicationJobNotFoundException":      newErrorReplicationJobNotFoundException,
	"ReplicationRunLimitExceededException": newErrorReplicationRunLimitExceededException,
	"ServerCannotBeReplicatedException":    newErrorServerCannotBeReplicatedException,
	"TemporarilyUnavailableException":      newErrorTemporarilyUnavailableException,
	"UnauthorizedOperationException":       newErrorUnauthorizedOperationException,
}
