@aws-sdk/client-bedrock-agent-runtime 3.888.0 → 3.891.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateInvocationCommand.d.ts +2 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSessionCommand.d.ts +2 -0
- package/dist-types/commands/EndSessionCommand.d.ts +2 -0
- package/dist-types/commands/GenerateQueryCommand.d.ts +2 -0
- package/dist-types/commands/GetAgentMemoryCommand.d.ts +2 -0
- package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/GetFlowExecutionCommand.d.ts +2 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +2 -0
- package/dist-types/commands/GetSessionCommand.d.ts +2 -0
- package/dist-types/commands/InvokeAgentCommand.d.ts +2 -0
- package/dist-types/commands/InvokeFlowCommand.d.ts +2 -0
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +2 -0
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +2 -0
- package/dist-types/commands/ListFlowExecutionsCommand.d.ts +2 -0
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +2 -0
- package/dist-types/commands/ListInvocationsCommand.d.ts +2 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/OptimizePromptCommand.d.ts +2 -0
- package/dist-types/commands/PutInvocationStepCommand.d.ts +2 -0
- package/dist-types/commands/RerankCommand.d.ts +2 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +2 -0
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -0
- package/dist-types/commands/RetrieveCommand.d.ts +2 -0
- package/dist-types/commands/StartFlowExecutionCommand.d.ts +2 -0
- package/dist-types/commands/StopFlowExecutionCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +2 -0
- package/package.json +19 -19
|
@@ -33,6 +33,8 @@ declare const CreateInvocationCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, CreateInvocationCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, CreateInvocationCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // CreateInvocationRequest
|
|
38
40
|
* invocationId: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const CreateSessionCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, CreateSessionCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, CreateSessionCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // CreateSessionRequest
|
|
38
40
|
* sessionMetadata: { // SessionMetadataMap
|
|
@@ -33,6 +33,8 @@ declare const DeleteAgentMemoryCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, DeleteAgentMemoryCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, DeleteAgentMemoryCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // DeleteAgentMemoryRequest
|
|
38
40
|
* agentId: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const DeleteSessionCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, DeleteSessionCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, DeleteSessionCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // DeleteSessionRequest
|
|
38
40
|
* sessionIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const EndSessionCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, EndSessionCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, EndSessionCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // EndSessionRequest
|
|
38
40
|
* sessionIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const GenerateQueryCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, GenerateQueryCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, GenerateQueryCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // GenerateQueryRequest
|
|
38
40
|
* queryGenerationInput: { // QueryGenerationInput
|
|
@@ -33,6 +33,8 @@ declare const GetAgentMemoryCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, GetAgentMemoryCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, GetAgentMemoryCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // GetAgentMemoryRequest
|
|
38
40
|
* nextToken: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const GetExecutionFlowSnapshotCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, GetExecutionFlowSnapshotCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, GetExecutionFlowSnapshotCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // GetExecutionFlowSnapshotRequest
|
|
38
40
|
* flowIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const GetFlowExecutionCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, GetFlowExecutionCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, GetFlowExecutionCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // GetFlowExecutionRequest
|
|
38
40
|
* flowIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const GetInvocationStepCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, GetInvocationStepCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, GetInvocationStepCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // GetInvocationStepRequest
|
|
38
40
|
* invocationIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const GetSessionCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, GetSessionCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, GetSessionCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // GetSessionRequest
|
|
38
40
|
* sessionIdentifier: "STRING_VALUE", // required
|
|
@@ -34,6 +34,8 @@ declare const InvokeAgentCommand_base: {
|
|
|
34
34
|
* ```javascript
|
|
35
35
|
* import { BedrockAgentRuntimeClient, InvokeAgentCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
36
36
|
* // const { BedrockAgentRuntimeClient, InvokeAgentCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
37
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
38
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
37
39
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
38
40
|
* const input = { // InvokeAgentRequest
|
|
39
41
|
* sessionState: { // SessionState
|
|
@@ -33,6 +33,8 @@ declare const InvokeFlowCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, InvokeFlowCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, InvokeFlowCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // InvokeFlowRequest
|
|
38
40
|
* flowIdentifier: "STRING_VALUE", // required
|
|
@@ -34,6 +34,8 @@ declare const InvokeInlineAgentCommand_base: {
|
|
|
34
34
|
* ```javascript
|
|
35
35
|
* import { BedrockAgentRuntimeClient, InvokeInlineAgentCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
36
36
|
* // const { BedrockAgentRuntimeClient, InvokeInlineAgentCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
37
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
38
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
37
39
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
38
40
|
* const input = { // InvokeInlineAgentRequest
|
|
39
41
|
* customerEncryptionKeyArn: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const ListFlowExecutionEventsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, ListFlowExecutionEventsCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, ListFlowExecutionEventsCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // ListFlowExecutionEventsRequest
|
|
38
40
|
* flowIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListFlowExecutionsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, ListFlowExecutionsCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, ListFlowExecutionsCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // ListFlowExecutionsRequest
|
|
38
40
|
* flowIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListInvocationStepsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, ListInvocationStepsCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, ListInvocationStepsCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // ListInvocationStepsRequest
|
|
38
40
|
* invocationIdentifier: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const ListInvocationsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, ListInvocationsCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, ListInvocationsCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // ListInvocationsRequest
|
|
38
40
|
* nextToken: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const ListSessionsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, ListSessionsCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, ListSessionsCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // ListSessionsRequest
|
|
38
40
|
* maxResults: Number("int"),
|
|
@@ -33,6 +33,8 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, ListTagsForResourceCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, ListTagsForResourceCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // ListTagsForResourceRequest
|
|
38
40
|
* resourceArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const OptimizePromptCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, OptimizePromptCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, OptimizePromptCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // OptimizePromptRequest
|
|
38
40
|
* input: { // InputPrompt Union: only one key present
|
|
@@ -33,6 +33,8 @@ declare const PutInvocationStepCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, PutInvocationStepCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, PutInvocationStepCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // PutInvocationStepRequest
|
|
38
40
|
* sessionIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const RerankCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, RerankCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, RerankCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // RerankRequest
|
|
38
40
|
* queries: [ // RerankQueriesList // required
|
|
@@ -34,6 +34,8 @@ declare const RetrieveAndGenerateCommand_base: {
|
|
|
34
34
|
* ```javascript
|
|
35
35
|
* import { BedrockAgentRuntimeClient, RetrieveAndGenerateCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
36
36
|
* // const { BedrockAgentRuntimeClient, RetrieveAndGenerateCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
37
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
38
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
37
39
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
38
40
|
* const input = { // RetrieveAndGenerateRequest
|
|
39
41
|
* sessionId: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const RetrieveAndGenerateStreamCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, RetrieveAndGenerateStreamCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, RetrieveAndGenerateStreamCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // RetrieveAndGenerateStreamRequest
|
|
38
40
|
* sessionId: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const RetrieveCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, RetrieveCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, RetrieveCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // RetrieveRequest
|
|
38
40
|
* knowledgeBaseId: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const StartFlowExecutionCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, StartFlowExecutionCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, StartFlowExecutionCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // StartFlowExecutionRequest
|
|
38
40
|
* flowIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const StopFlowExecutionCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, StopFlowExecutionCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, StopFlowExecutionCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // StopFlowExecutionRequest
|
|
38
40
|
* flowIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const TagResourceCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, TagResourceCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, TagResourceCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // TagResourceRequest
|
|
38
40
|
* resourceArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UntagResourceCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, UntagResourceCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, UntagResourceCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // UntagResourceRequest
|
|
38
40
|
* resourceArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UpdateSessionCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockAgentRuntimeClient, UpdateSessionCommand } from "@aws-sdk/client-bedrock-agent-runtime"; // ES Modules import
|
|
35
35
|
* // const { BedrockAgentRuntimeClient, UpdateSessionCommand } = require("@aws-sdk/client-bedrock-agent-runtime"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentRuntimeClientConfig } from "@aws-sdk/client-bedrock-agent-runtime";
|
|
37
|
+
* const config = {}; // type is BedrockAgentRuntimeClientConfig
|
|
36
38
|
* const client = new BedrockAgentRuntimeClient(config);
|
|
37
39
|
* const input = { // UpdateSessionRequest
|
|
38
40
|
* sessionMetadata: { // SessionMetadataMap
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.891.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
23
|
+
"@aws-sdk/core": "3.890.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.891.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.891.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.891.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.891.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.891.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.890.0",
|
|
30
30
|
"@aws-sdk/types": "3.887.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.891.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.2.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.891.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.0",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.1.1",
|
|
37
37
|
"@smithy/eventstream-serde-config-resolver": "^4.2.1",
|
|
@@ -40,24 +40,24 @@
|
|
|
40
40
|
"@smithy/hash-node": "^4.1.1",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
44
|
-
"@smithy/middleware-retry": "^4.2.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.2.2",
|
|
44
|
+
"@smithy/middleware-retry": "^4.2.3",
|
|
45
45
|
"@smithy/middleware-serde": "^4.1.1",
|
|
46
46
|
"@smithy/middleware-stack": "^4.1.1",
|
|
47
|
-
"@smithy/node-config-provider": "^4.2.
|
|
47
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
48
48
|
"@smithy/node-http-handler": "^4.2.1",
|
|
49
49
|
"@smithy/protocol-http": "^5.2.1",
|
|
50
|
-
"@smithy/smithy-client": "^4.6.
|
|
50
|
+
"@smithy/smithy-client": "^4.6.2",
|
|
51
51
|
"@smithy/types": "^4.5.0",
|
|
52
52
|
"@smithy/url-parser": "^4.1.1",
|
|
53
53
|
"@smithy/util-base64": "^4.1.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
58
|
-
"@smithy/util-endpoints": "^3.1.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.1.2",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.1.2",
|
|
58
|
+
"@smithy/util-endpoints": "^3.1.2",
|
|
59
59
|
"@smithy/util-middleware": "^4.1.1",
|
|
60
|
-
"@smithy/util-retry": "^4.1.
|
|
60
|
+
"@smithy/util-retry": "^4.1.2",
|
|
61
61
|
"@smithy/util-utf8": "^4.1.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|