CmdID / aws / aws bedrock-runtime
aws bedrock-runtime invoke-model-with-response-stream
Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. AWS CLI reference
10 options Its page in the AWS CLI reference
Options
--acceptThe desired MIME type of the inference body in the response.--bodyThe prompt and inference parameters in the format specified in the contentType in the header.--content-typeThe MIME type of the input data in the request.--guardrail-identifierThe unique identifier of the guardrail that you want to use.--guardrail-versionThe version number for the guardrail.--model-idThe unique identifier of the model to invoke to run inference.--performance-config-latencyModel performance settings for the request.--request-metadataKey-value pairs that you can use to filter invocation logs.--service-tierSpecifies the processing tier type used for serving the request.--traceSpecifies whether to enable or disable the Bedrock trace.