File: //opt/go/pkg/mod/github.com/aws/
[email protected]/service/networkmonitor/errors.go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package networkmonitor
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You do not have sufficient access to perform this action.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// This operation attempted to create a resource that already exists.
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 does not exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceQuotaExceededException for service response error code
// "ServiceQuotaExceededException".
//
// This request exceeds a service quota.
ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
// The request was denied due to request throttling
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// One of the parameters for the request is not valid.
ErrCodeValidationException = "ValidationException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AccessDeniedException": newErrorAccessDeniedException,
"ConflictException": newErrorConflictException,
"InternalServerException": newErrorInternalServerException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
"ThrottlingException": newErrorThrottlingException,
"ValidationException": newErrorValidationException,
}