File: //opt/go/pkg/mod/github.com/aws/
[email protected]/service/lookoutmetrics/errors.go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package lookoutmetrics
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You do not have sufficient permissions to perform this action.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// There was a conflict processing the request. Try your request again.
ErrCodeConflictException = "ConflictException"
// ErrCodeInternalServerException for service response error code
// "InternalServerException".
//
// The request processing has failed because of an unknown error, exception,
// or failure.
ErrCodeInternalServerException = "InternalServerException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The specified resource cannot be found. Check the ARN of the resource and
// try again.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceQuotaExceededException for service response error code
// "ServiceQuotaExceededException".
//
// The request exceeded the service's quotas. Check the service quotas and try
// again.
ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
// ErrCodeTooManyRequestsException for service response error code
// "TooManyRequestsException".
//
// The request was denied due to too many requests being submitted at the same
// time.
ErrCodeTooManyRequestsException = "TooManyRequestsException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// The input fails to satisfy the constraints specified by the AWS service.
// Check your input values and try again.
ErrCodeValidationException = "ValidationException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AccessDeniedException": newErrorAccessDeniedException,
"ConflictException": newErrorConflictException,
"InternalServerException": newErrorInternalServerException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
"TooManyRequestsException": newErrorTooManyRequestsException,
"ValidationException": newErrorValidationException,
}