-
Notifications
You must be signed in to change notification settings - Fork 623
Closed
Labels
closed-for-stalenessdocumentationThis is a problem with documentation.This is a problem with documentation.p2This is a standard priority issueThis is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Description
Describe the issue
Example code uses const
for all the variables which makes the example hard to use with Copy & Paste. Also, the config
variable is used and not declared nor is any reference provided on how it should be declared.
import { BedrockRuntimeClient, InvokeModelCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
// const { BedrockRuntimeClient, InvokeModelCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
const client = new BedrockRuntimeClient(config);
Links
Metadata
Metadata
Assignees
Labels
closed-for-stalenessdocumentationThis is a problem with documentation.This is a problem with documentation.p2This is a standard priority issueThis is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.