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 mobile
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccountActionRequiredException for service response error code
// "AccountActionRequiredException".
//
// Account Action is required in order to continue the request.
ErrCodeAccountActionRequiredException = "AccountActionRequiredException"
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// The request cannot be processed because some parameter is not valid or the
// project state prevents the operation from being performed.
ErrCodeBadRequestException = "BadRequestException"
// ErrCodeInternalFailureException for service response error code
// "InternalFailureException".
//
// The service has encountered an unexpected error condition which prevents
// it from servicing the request.
ErrCodeInternalFailureException = "InternalFailureException"
// ErrCodeLimitExceededException for service response error code
// "LimitExceededException".
//
// There are too many AWS Mobile Hub projects in the account or the account
// has exceeded the maximum number of resources in some AWS service. You should
// create another sub-account using AWS Organizations or remove some resources
// and retry your request.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeNotFoundException for service response error code
// "NotFoundException".
//
// No entity can be found with the specified identifier.
ErrCodeNotFoundException = "NotFoundException"
// ErrCodeServiceUnavailableException for service response error code
// "ServiceUnavailableException".
//
// The service is temporarily unavailable. The request should be retried after
// some time delay.
ErrCodeServiceUnavailableException = "ServiceUnavailableException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// Too many requests have been received for this AWS account in too short a
// time. The request should be retried after some time delay.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
// ErrCodeUnauthorizedException for service response error code
// "UnauthorizedException".
//
// Credentials of the caller are insufficient to authorize the request.
ErrCodeUnauthorizedException = "UnauthorizedException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AccountActionRequiredException": newErrorAccountActionRequiredException,
"BadRequestException": newErrorBadRequestException,
"InternalFailureException": newErrorInternalFailureException,
"LimitExceededException": newErrorLimitExceededException,
"NotFoundException": newErrorNotFoundException,
"ServiceUnavailableException": newErrorServiceUnavailableException,
"TooManyRequestsException": newErrorTooManyRequestsException,
"UnauthorizedException": newErrorUnauthorizedException,
}
|