// 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, }