📁 File Manager
🏠 /
/
opt
/
go
/
pkg
/
mod
/
github.com
/
aws
/
aws-sdk-go@v1.50.8
/
service
/
bedrockruntime
Dosya Düzenle: errors.go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package bedrockruntime 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. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // An internal server error occurred. Retry your request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeModelErrorException for service response error code // "ModelErrorException". // // The request failed due to an error while processing the model. ErrCodeModelErrorException = "ModelErrorException" // ErrCodeModelNotReadyException for service response error code // "ModelNotReadyException". // // The model specified in the request is not ready to serve inference requests. ErrCodeModelNotReadyException = "ModelNotReadyException" // ErrCodeModelStreamErrorException for service response error code // "ModelStreamErrorException". // // An error occurred while streaming the response. ErrCodeModelStreamErrorException = "ModelStreamErrorException" // ErrCodeModelTimeoutException for service response error code // "ModelTimeoutException". // // The request took too long to process. Processing time exceeded the model // timeout length. ErrCodeModelTimeoutException = "ModelTimeoutException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The specified resource ARN was not found. Check the 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, "InternalServerException": newErrorInternalServerException, "ModelErrorException": newErrorModelErrorException, "ModelNotReadyException": newErrorModelNotReadyException, "ModelStreamErrorException": newErrorModelStreamErrorException, "ModelTimeoutException": newErrorModelTimeoutException, "ResourceNotFoundException": newErrorResourceNotFoundException, "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, "ThrottlingException": newErrorThrottlingException, "ValidationException": newErrorValidationException, }
💾 Kaydet
İptal