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
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package pinpointsmsvoice
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExistsException".
//
// The resource specified in your request already exists.
ErrCodeAlreadyExistsException = "AlreadyExistsException"
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// The input you provided is invalid.
ErrCodeBadRequestException = "BadRequestException"
// ErrCodeInternalServiceErrorException for service response error code
// "InternalServiceErrorException".
//
// The API encountered an unexpected error and couldn't complete the request.
// You might be able to successfully issue the request again in the future.
ErrCodeInternalServiceErrorException = "InternalServiceErrorException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// There are too many instances of the specified resource type.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeNotFoundException for service response error code
// "NotFoundException".
//
// The resource you attempted to access doesn't exist.
ErrCodeNotFoundException = "NotFoundException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// You've issued too many requests to the resource. Wait a few minutes, and
// then try again.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AlreadyExistsException": newErrorAlreadyExistsException,
"BadRequestException": newErrorBadRequestException,
"InternalServiceErrorException": newErrorInternalServiceErrorException,
"LimitExceededException": newErrorLimitExceededException,
"NotFoundException": newErrorNotFoundException,
"TooManyRequestsException": newErrorTooManyRequestsException,
}
|