1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
// 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,
}
|