Nothing
# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common populate
#' @include bedrockruntime_service.R
NULL
.bedrockruntime$invoke_model_input <- function(...) {
args <- c(as.list(environment()), list(...))
shape <- structure(list(body = structure(logical(0), tags = list(type = "blob", sensitive = TRUE)), contentType = structure(logical(0), tags = list(location = "header", locationName = "Content-Type", type = "string")), accept = structure(logical(0), tags = list(location = "header", locationName = "Accept", type = "string")), modelId = structure(logical(0), tags = list(location = "uri", locationName = "modelId", type = "string")), trace = structure(logical(0), tags = list(location = "header", locationName = "X-Amzn-Bedrock-Trace", type = "string")), guardrailIdentifier = structure(logical(0), tags = list(location = "header", locationName = "X-Amzn-Bedrock-GuardrailIdentifier", type = "string")), guardrailVersion = structure(logical(0), tags = list(location = "header", locationName = "X-Amzn-Bedrock-GuardrailVersion", type = "string"))), tags = list(type = "structure", payload = "body"))
return(populate(args, shape))
}
.bedrockruntime$invoke_model_output <- function(...) {
args <- c(as.list(environment()), list(...))
shape <- structure(list(body = structure(logical(0), tags = list(type = "blob", sensitive = TRUE)), contentType = structure(logical(0), tags = list(location = "header", locationName = "Content-Type", type = "string"))), tags = list(type = "structure", payload = "body"))
return(populate(args, shape))
}
.bedrockruntime$invoke_model_with_response_stream_input <- function(...) {
args <- c(as.list(environment()), list(...))
shape <- structure(list(body = structure(logical(0), tags = list(type = "blob", sensitive = TRUE)), contentType = structure(logical(0), tags = list(location = "header", locationName = "Content-Type", type = "string")), accept = structure(logical(0), tags = list(location = "header", locationName = "X-Amzn-Bedrock-Accept", type = "string")), modelId = structure(logical(0), tags = list(location = "uri", locationName = "modelId", type = "string")), trace = structure(logical(0), tags = list(location = "header", locationName = "X-Amzn-Bedrock-Trace", type = "string")), guardrailIdentifier = structure(logical(0), tags = list(location = "header", locationName = "X-Amzn-Bedrock-GuardrailIdentifier", type = "string")), guardrailVersion = structure(logical(0), tags = list(location = "header", locationName = "X-Amzn-Bedrock-GuardrailVersion", type = "string"))), tags = list(type = "structure", payload = "body"))
return(populate(args, shape))
}
.bedrockruntime$invoke_model_with_response_stream_output <- function(...) {
args <- c(as.list(environment()), list(...))
shape <- structure(list(body = structure(list(chunk = structure(list(bytes = structure(logical(0), tags = list(type = "blob", sensitive = TRUE))), tags = list(type = "structure", event = TRUE, sensitive = TRUE)), internalServerException = structure(list(message = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure", exception = TRUE, fault = TRUE)), modelStreamErrorException = structure(list(message = structure(logical(0), tags = list(type = "string")), originalStatusCode = structure(logical(0), tags = list(type = "integer", box = TRUE)), originalMessage = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure", exception = TRUE)), validationException = structure(list(message = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure", exception = TRUE)), throttlingException = structure(list(message = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure", exception = TRUE)), modelTimeoutException = structure(list(message = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure", exception = TRUE))), tags = list(type = "structure", eventstream = TRUE)), contentType = structure(logical(0), tags = list(location = "header", locationName = "X-Amzn-Bedrock-Content-Type", type = "string"))), tags = list(type = "structure", payload = "body"))
return(populate(args, shape))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.