File: //opt/go/pkg/mod/github.com/aws/
[email protected]/service/bedrockagentruntime/errors.go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package bedrockagentruntime
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// The request is denied because of missing access permissions. Check your permissions
// and retry your request.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeBadGatewayException for service response error code
// "BadGatewayException".
//
// There was an issue with a dependency due to a server issue. Retry your request.
ErrCodeBadGatewayException = "BadGatewayException"
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// There was a conflict performing an operation. Resolve the conflict and retry
// your request.
ErrCodeConflictException = "ConflictException"
// ErrCodeDependencyFailedException for service response error code
// "DependencyFailedException".
//
// There was an issue with a dependency. Check the resource configurations and
// retry the request.
ErrCodeDependencyFailedException = "DependencyFailedException"
// ErrCodeInternalServerException for service response error code
// "InternalServerException".
//
// An internal server error occurred. Retry your request.
ErrCodeInternalServerException = "InternalServerException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The specified resource Amazon Resource Name (ARN) was not found. Check the
// Amazon Resource Name (ARN) and try your request again.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceQuotaExceededException for service response error code
// "ServiceQuotaExceededException".
//
// The number of requests exceeds the service quota. Resubmit your request later.
ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
// The number of requests exceeds the limit. Resubmit your request later.
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// Input validation failed. Check your request parameters and retry the request.
ErrCodeValidationException = "ValidationException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AccessDeniedException": newErrorAccessDeniedException,
"BadGatewayException": newErrorBadGatewayException,
"ConflictException": newErrorConflictException,
"DependencyFailedException": newErrorDependencyFailedException,
"InternalServerException": newErrorInternalServerException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
"ThrottlingException": newErrorThrottlingException,
"ValidationException": newErrorValidationException,
}