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
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package kafkaconnect
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// HTTP Status Code 400: Bad request due to incorrect input. Correct your request
// and then retry it.
ErrCodeBadRequestException = "BadRequestException"
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// HTTP Status Code 409: Conflict. A resource with this name already exists.
// Retry your request with another name.
ErrCodeConflictException = "ConflictException"
// ErrCodeForbiddenException for service response error code
// "ForbiddenException".
//
// HTTP Status Code 403: Access forbidden. Correct your credentials and then
// retry your request.
ErrCodeForbiddenException = "ForbiddenException"
// ErrCodeInternalServerErrorException for service response error code
// "InternalServerErrorException".
//
// HTTP Status Code 500: Unexpected internal server error. Retrying your request
// might resolve the issue.
ErrCodeInternalServerErrorException = "InternalServerErrorException"
// ErrCodeNotFoundException for service response error code
// "NotFoundException".
//
// HTTP Status Code 404: Resource not found due to incorrect input. Correct
// your request and then retry it.
ErrCodeNotFoundException = "NotFoundException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// HTTP Status Code 503: Service Unavailable. Retrying your request in some
// time might resolve the issue.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// HTTP Status Code 429: Limit exceeded. Resource limit reached.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
// ErrCodeUnauthorizedException for service response error code
// "UnauthorizedException".
//
// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't
// be validated.
ErrCodeUnauthorizedException = "UnauthorizedException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"BadRequestException": newErrorBadRequestException,
"ConflictException": newErrorConflictException,
"ForbiddenException": newErrorForbiddenException,
"InternalServerErrorException": newErrorInternalServerErrorException,
"NotFoundException": newErrorNotFoundException,
"ServiceUnavailableException": newErrorServiceUnavailableException,
"TooManyRequestsException": newErrorTooManyRequestsException,
"UnauthorizedException": newErrorUnauthorizedException,
}
|