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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package neptunedata
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// Raised in case of an authentication or authorization failure.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// Raised when a request is submitted that cannot be processed.
ErrCodeBadRequestException = "BadRequestException"
// ErrCodeBulkLoadIdNotFoundException for service response error code
// "BulkLoadIdNotFoundException".
//
// Raised when a specified bulk-load job ID cannot be found.
ErrCodeBulkLoadIdNotFoundException = "BulkLoadIdNotFoundException"
// ErrCodeCancelledByUserException for service response error code
// "CancelledByUserException".
//
// Raised when a user cancelled a request.
ErrCodeCancelledByUserException = "CancelledByUserException"
// ErrCodeClientTimeoutException for service response error code
// "ClientTimeoutException".
//
// Raised when a request timed out in the client.
ErrCodeClientTimeoutException = "ClientTimeoutException"
// ErrCodeConcurrentModificationException for service response error code
// "ConcurrentModificationException".
//
// Raised when a request attempts to modify data that is concurrently being
// modified by another process.
ErrCodeConcurrentModificationException = "ConcurrentModificationException"
// ErrCodeConstraintViolationException for service response error code
// "ConstraintViolationException".
//
// Raised when a value in a request field did not satisfy required constraints.
ErrCodeConstraintViolationException = "ConstraintViolationException"
// ErrCodeExpiredStreamException for service response error code
// "ExpiredStreamException".
//
// Raised when a request attempts to access an stream that has expired.
ErrCodeExpiredStreamException = "ExpiredStreamException"
// ErrCodeFailureByQueryException for service response error code
// "FailureByQueryException".
//
// Raised when a request fails.
ErrCodeFailureByQueryException = "FailureByQueryException"
// ErrCodeIllegalArgumentException for service response error code
// "IllegalArgumentException".
//
// Raised when an argument in a request is not supported.
ErrCodeIllegalArgumentException = "IllegalArgumentException"
// ErrCodeInternalFailureException for service response error code
// "InternalFailureException".
//
// Raised when the processing of the request failed unexpectedly.
ErrCodeInternalFailureException = "InternalFailureException"
// ErrCodeInvalidArgumentException for service response error code
// "InvalidArgumentException".
//
// Raised when an argument in a request has an invalid value.
ErrCodeInvalidArgumentException = "InvalidArgumentException"
// ErrCodeInvalidNumericDataException for service response error code
// "InvalidNumericDataException".
//
// Raised when invalid numerical data is encountered when servicing a request.
ErrCodeInvalidNumericDataException = "InvalidNumericDataException"
// ErrCodeInvalidParameterException for service response error code
// "InvalidParameterException".
//
// Raised when a parameter value is not valid.
ErrCodeInvalidParameterException = "InvalidParameterException"
// ErrCodeLoadUrlAccessDeniedException for service response error code
// "LoadUrlAccessDeniedException".
//
// Raised when access is denied to a specified load URL.
ErrCodeLoadUrlAccessDeniedException = "LoadUrlAccessDeniedException"
// ErrCodeMLResourceNotFoundException for service response error code
// "MLResourceNotFoundException".
//
// Raised when a specified machine-learning resource could not be found.
ErrCodeMLResourceNotFoundException = "MLResourceNotFoundException"
// ErrCodeMalformedQueryException for service response error code
// "MalformedQueryException".
//
// Raised when a query is submitted that is syntactically incorrect or does
// not pass additional validation.
ErrCodeMalformedQueryException = "MalformedQueryException"
// ErrCodeMemoryLimitExceededException for service response error code
// "MemoryLimitExceededException".
//
// Raised when a request fails because of insufficient memory resources. The
// request can be retried.
ErrCodeMemoryLimitExceededException = "MemoryLimitExceededException"
// ErrCodeMethodNotAllowedException for service response error code
// "MethodNotAllowedException".
//
// Raised when the HTTP method used by a request is not supported by the endpoint
// being used.
ErrCodeMethodNotAllowedException = "MethodNotAllowedException"
// ErrCodeMissingParameterException for service response error code
// "MissingParameterException".
//
// Raised when a required parameter is missing.
ErrCodeMissingParameterException = "MissingParameterException"
// ErrCodeParsingException for service response error code
// "ParsingException".
//
// Raised when a parsing issue is encountered.
ErrCodeParsingException = "ParsingException"
// ErrCodePreconditionsFailedException for service response error code
// "PreconditionsFailedException".
//
// Raised when a precondition for processing a request is not satisfied.
ErrCodePreconditionsFailedException = "PreconditionsFailedException"
// ErrCodeQueryLimitExceededException for service response error code
// "QueryLimitExceededException".
//
// Raised when the number of active queries exceeds what the server can process.
// The query in question can be retried when the system is less busy.
ErrCodeQueryLimitExceededException = "QueryLimitExceededException"
// ErrCodeQueryLimitException for service response error code
// "QueryLimitException".
//
// Raised when the size of a query exceeds the system limit.
ErrCodeQueryLimitException = "QueryLimitException"
// ErrCodeQueryTooLargeException for service response error code
// "QueryTooLargeException".
//
// Raised when the body of a query is too large.
ErrCodeQueryTooLargeException = "QueryTooLargeException"
// ErrCodeReadOnlyViolationException for service response error code
// "ReadOnlyViolationException".
//
// Raised when a request attempts to write to a read-only resource.
ErrCodeReadOnlyViolationException = "ReadOnlyViolationException"
// ErrCodeS3Exception for service response error code
// "S3Exception".
//
// Raised when there is a problem accessing Amazon S3.
ErrCodeS3Exception = "S3Exception"
// ErrCodeServerShutdownException for service response error code
// "ServerShutdownException".
//
// Raised when the server shuts down while processing a request.
ErrCodeServerShutdownException = "ServerShutdownException"
// ErrCodeStatisticsNotAvailableException for service response error code
// "StatisticsNotAvailableException".
//
// Raised when statistics needed to satisfy a request are not available.
ErrCodeStatisticsNotAvailableException = "StatisticsNotAvailableException"
// ErrCodeStreamRecordsNotFoundException for service response error code
// "StreamRecordsNotFoundException".
//
// Raised when stream records requested by a query cannot be found.
ErrCodeStreamRecordsNotFoundException = "StreamRecordsNotFoundException"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
// Raised when the rate of requests exceeds the maximum throughput. Requests
// can be retried after encountering this exception.
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeTimeLimitExceededException for service response error code
// "TimeLimitExceededException".
//
// Raised when the an operation exceeds the time limit allowed for it.
ErrCodeTimeLimitExceededException = "TimeLimitExceededException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// Raised when the number of requests being processed exceeds the limit.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
// ErrCodeUnsupportedOperationException for service response error code
// "UnsupportedOperationException".
//
// Raised when a request attempts to initiate an operation that is not supported.
ErrCodeUnsupportedOperationException = "UnsupportedOperationException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AccessDeniedException": newErrorAccessDeniedException,
"BadRequestException": newErrorBadRequestException,
"BulkLoadIdNotFoundException": newErrorBulkLoadIdNotFoundException,
"CancelledByUserException": newErrorCancelledByUserException,
"ClientTimeoutException": newErrorClientTimeoutException,
"ConcurrentModificationException": newErrorConcurrentModificationException,
"ConstraintViolationException": newErrorConstraintViolationException,
"ExpiredStreamException": newErrorExpiredStreamException,
"FailureByQueryException": newErrorFailureByQueryException,
"IllegalArgumentException": newErrorIllegalArgumentException,
"InternalFailureException": newErrorInternalFailureException,
"InvalidArgumentException": newErrorInvalidArgumentException,
"InvalidNumericDataException": newErrorInvalidNumericDataException,
"InvalidParameterException": newErrorInvalidParameterException,
"LoadUrlAccessDeniedException": newErrorLoadUrlAccessDeniedException,
"MLResourceNotFoundException": newErrorMLResourceNotFoundException,
"MalformedQueryException": newErrorMalformedQueryException,
"MemoryLimitExceededException": newErrorMemoryLimitExceededException,
"MethodNotAllowedException": newErrorMethodNotAllowedException,
"MissingParameterException": newErrorMissingParameterException,
"ParsingException": newErrorParsingException,
"PreconditionsFailedException": newErrorPreconditionsFailedException,
"QueryLimitExceededException": newErrorQueryLimitExceededException,
"QueryLimitException": newErrorQueryLimitException,
"QueryTooLargeException": newErrorQueryTooLargeException,
"ReadOnlyViolationException": newErrorReadOnlyViolationException,
"S3Exception": newErrorS3Exception,
"ServerShutdownException": newErrorServerShutdownException,
"StatisticsNotAvailableException": newErrorStatisticsNotAvailableException,
"StreamRecordsNotFoundException": newErrorStreamRecordsNotFoundException,
"ThrottlingException": newErrorThrottlingException,
"TimeLimitExceededException": newErrorTimeLimitExceededException,
"TooManyRequestsException": newErrorTooManyRequestsException,
"UnsupportedOperationException": newErrorUnsupportedOperationException,
}
|