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
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package amplifybackend
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// An error returned if a request is not formed properly.
ErrCodeBadRequestException = "BadRequestException"
// ErrCodeGatewayTimeoutException for service response error code
// "GatewayTimeoutException".
//
// An error returned if there's a temporary issue with the service.
ErrCodeGatewayTimeoutException = "GatewayTimeoutException"
// ErrCodeNotFoundException for service response error code
// "NotFoundException".
//
// An error returned when a specific resource type is not found.
ErrCodeNotFoundException = "NotFoundException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// An error that is returned when a limit of a specific type has been exceeded.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"BadRequestException": newErrorBadRequestException,
"GatewayTimeoutException": newErrorGatewayTimeoutException,
"NotFoundException": newErrorNotFoundException,
"TooManyRequestsException": newErrorTooManyRequestsException,
}
|