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
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package personalize
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeInvalidInputException for service response error code
// "InvalidInputException".
//
// Provide a valid value for the field or parameter.
ErrCodeInvalidInputException = "InvalidInputException"
// ErrCodeInvalidNextTokenException for service response error code
// "InvalidNextTokenException".
//
// The token is not valid.
ErrCodeInvalidNextTokenException = "InvalidNextTokenException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// The limit on the number of requests per second has been exceeded.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeResourceAlreadyExistsException for service response error code
// "ResourceAlreadyExistsException".
//
// The specified resource already exists.
ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"
// ErrCodeResourceInUseException for service response error code
// "ResourceInUseException".
//
// The specified resource is in use.
ErrCodeResourceInUseException = "ResourceInUseException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// Could not find the specified resource.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeTooManyTagKeysException for service response error code
// "TooManyTagKeysException".
//
// The request contains more tag keys than can be associated with a resource
// (50 tag keys per resource).
ErrCodeTooManyTagKeysException = "TooManyTagKeysException"
// ErrCodeTooManyTagsException for service response error code
// "TooManyTagsException".
//
// You have exceeded the maximum number of tags you can apply to this resource.
ErrCodeTooManyTagsException = "TooManyTagsException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"InvalidInputException": newErrorInvalidInputException,
"InvalidNextTokenException": newErrorInvalidNextTokenException,
"LimitExceededException": newErrorLimitExceededException,
"ResourceAlreadyExistsException": newErrorResourceAlreadyExistsException,
"ResourceInUseException": newErrorResourceInUseException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"TooManyTagKeysException": newErrorTooManyTagKeysException,
"TooManyTagsException": newErrorTooManyTagsException,
}
|