@aws-sdk/client-bedrock-agent-runtime 3.1044.0 → 3.1046.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-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +80 -81
- package/dist-cjs/models/BedrockAgentRuntimeServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +14 -16
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/BedrockAgentRuntime.js +1 -1
- package/dist-es/BedrockAgentRuntimeClient.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CreateInvocationCommand.js +2 -2
- package/dist-es/commands/CreateSessionCommand.js +2 -2
- package/dist-es/commands/DeleteAgentMemoryCommand.js +2 -2
- package/dist-es/commands/DeleteSessionCommand.js +2 -2
- package/dist-es/commands/EndSessionCommand.js +2 -2
- package/dist-es/commands/GenerateQueryCommand.js +2 -2
- package/dist-es/commands/GetAgentMemoryCommand.js +2 -2
- package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +2 -2
- package/dist-es/commands/GetFlowExecutionCommand.js +2 -2
- package/dist-es/commands/GetInvocationStepCommand.js +2 -2
- package/dist-es/commands/GetSessionCommand.js +2 -2
- package/dist-es/commands/InvokeAgentCommand.js +2 -2
- package/dist-es/commands/InvokeFlowCommand.js +2 -2
- package/dist-es/commands/InvokeInlineAgentCommand.js +2 -2
- package/dist-es/commands/ListFlowExecutionEventsCommand.js +2 -2
- package/dist-es/commands/ListFlowExecutionsCommand.js +2 -2
- package/dist-es/commands/ListInvocationStepsCommand.js +2 -2
- package/dist-es/commands/ListInvocationsCommand.js +2 -2
- package/dist-es/commands/ListSessionsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/OptimizePromptCommand.js +2 -2
- package/dist-es/commands/PutInvocationStepCommand.js +2 -2
- package/dist-es/commands/RerankCommand.js +2 -2
- package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -2
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -2
- package/dist-es/commands/RetrieveCommand.js +2 -2
- package/dist-es/commands/StartFlowExecutionCommand.js +2 -2
- package/dist-es/commands/StopFlowExecutionCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateSessionCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/BedrockAgentRuntimeServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +5 -7
- package/dist-es/runtimeConfig.js +5 -9
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/BedrockAgentRuntimeClient.d.ts +6 -6
- package/dist-types/commands/CreateInvocationCommand.d.ts +6 -4
- package/dist-types/commands/CreateSessionCommand.d.ts +6 -4
- package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +6 -4
- package/dist-types/commands/DeleteSessionCommand.d.ts +6 -4
- package/dist-types/commands/EndSessionCommand.d.ts +6 -4
- package/dist-types/commands/GenerateQueryCommand.d.ts +6 -4
- package/dist-types/commands/GetAgentMemoryCommand.d.ts +6 -4
- package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +6 -4
- package/dist-types/commands/GetFlowExecutionCommand.d.ts +6 -4
- package/dist-types/commands/GetInvocationStepCommand.d.ts +6 -4
- package/dist-types/commands/GetSessionCommand.d.ts +6 -4
- package/dist-types/commands/InvokeAgentCommand.d.ts +6 -4
- package/dist-types/commands/InvokeFlowCommand.d.ts +6 -4
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +6 -4
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +6 -4
- package/dist-types/commands/ListFlowExecutionsCommand.d.ts +6 -4
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +6 -4
- package/dist-types/commands/ListInvocationsCommand.d.ts +6 -4
- package/dist-types/commands/ListSessionsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/OptimizePromptCommand.d.ts +6 -4
- package/dist-types/commands/PutInvocationStepCommand.d.ts +6 -4
- package/dist-types/commands/RerankCommand.d.ts +6 -4
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +6 -4
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +6 -4
- package/dist-types/commands/RetrieveCommand.d.ts +6 -4
- package/dist-types/commands/StartFlowExecutionCommand.d.ts +6 -4
- package/dist-types/commands/StopFlowExecutionCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateSessionCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/BedrockAgentRuntimeServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -18
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/OptimizePromptCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RerankCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopFlowExecutionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/BedrockAgentRuntimeServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -37
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { CreateSessionRequest, CreateSessionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateSessionCommandInput extends CreateSessionRequest {
|
|
|
22
22
|
export interface CreateSessionCommandOutput extends CreateSessionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateSessionCommand_base: {
|
|
25
|
-
new (input: CreateSessionCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [CreateSessionCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateSessionCommandInput): import("@smithy/core/client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [CreateSessionCommandInput]): import("@smithy/core/client").CommandImpl<CreateSessionCommandInput, CreateSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a session to temporarily store conversations for generative AI (GenAI) applications built with open-source frameworks such as LangGraph and LlamaIndex. Sessions enable you to save the state of conversations at checkpoints, with the added security and infrastructure of Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p> <p>By default, Amazon Bedrock uses Amazon Web Services-managed keys for session encryption, including session metadata, or you can use your own KMS key. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html">Amazon Bedrock session encryption</a>.</p> <note> <p> You use a session to store state and conversation history for generative AI applications built with open-source frameworks. For Amazon Bedrock Agents, the service automatically manages conversation context and associates them with the agent-specific sessionId you specify in the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html">InvokeAgent</a> API operation. </p> </note> <p>Related APIs:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListSessions.html">ListSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetSession.html">GetSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_EndSession.html">EndSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_DeleteSession.html">DeleteSession</a> </p> </li> </ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { DeleteAgentMemoryRequest, DeleteAgentMemoryResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteAgentMemoryCommandInput extends DeleteAgentMemoryRequest
|
|
|
22
22
|
export interface DeleteAgentMemoryCommandOutput extends DeleteAgentMemoryResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteAgentMemoryCommand_base: {
|
|
25
|
-
new (input: DeleteAgentMemoryCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteAgentMemoryCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes memory from the specified memory identifier.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteSessionCommandInput extends DeleteSessionRequest {
|
|
|
22
22
|
export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteSessionCommand_base: {
|
|
25
|
-
new (input: DeleteSessionCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteSessionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteSessionCommandInput): import("@smithy/core/client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes a session that you ended. You can't delete a session with an <code>ACTIVE</code> status. To delete an active session, you must first end it with the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_EndSession.html">EndSession</a> API operation. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { EndSessionRequest, EndSessionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface EndSessionCommandInput extends EndSessionRequest {
|
|
|
22
22
|
export interface EndSessionCommandOutput extends EndSessionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const EndSessionCommand_base: {
|
|
25
|
-
new (input: EndSessionCommandInput): import("@smithy/
|
|
26
|
-
new (input: EndSessionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: EndSessionCommandInput): import("@smithy/core/client").CommandImpl<EndSessionCommandInput, EndSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: EndSessionCommandInput): import("@smithy/core/client").CommandImpl<EndSessionCommandInput, EndSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Ends the session. After you end a session, you can still access its content but you can’t add to it. To delete the session and it's content, you use the DeleteSession API operation. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { GenerateQueryRequest, GenerateQueryResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GenerateQueryCommandInput extends GenerateQueryRequest {
|
|
|
22
22
|
export interface GenerateQueryCommandOutput extends GenerateQueryResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GenerateQueryCommand_base: {
|
|
25
|
-
new (input: GenerateQueryCommandInput): import("@smithy/
|
|
26
|
-
new (input: GenerateQueryCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GenerateQueryCommandInput): import("@smithy/core/client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GenerateQueryCommandInput): import("@smithy/core/client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Generates an SQL query from a natural language query. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-generate-query.html">Generate a query for structured data</a> in the Amazon Bedrock User Guide.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { GetAgentMemoryRequest, GetAgentMemoryResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetAgentMemoryCommandInput extends GetAgentMemoryRequest {
|
|
|
22
22
|
export interface GetAgentMemoryCommandOutput extends GetAgentMemoryResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetAgentMemoryCommand_base: {
|
|
25
|
-
new (input: GetAgentMemoryCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetAgentMemoryCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAgentMemoryCommandInput): import("@smithy/core/client").CommandImpl<GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Gets the sessions stored in the memory of the agent.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { GetExecutionFlowSnapshotRequest, GetExecutionFlowSnapshotResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetExecutionFlowSnapshotCommandInput extends GetExecutionFlowSn
|
|
|
22
22
|
export interface GetExecutionFlowSnapshotCommandOutput extends GetExecutionFlowSnapshotResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetExecutionFlowSnapshotCommand_base: {
|
|
25
|
-
new (input: GetExecutionFlowSnapshotCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetExecutionFlowSnapshotCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetExecutionFlowSnapshotCommandInput): import("@smithy/core/client").CommandImpl<GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetExecutionFlowSnapshotCommandInput): import("@smithy/core/client").CommandImpl<GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves the flow definition snapshot used for a flow execution. The snapshot represents the flow metadata and definition as it existed at the time the execution was started. Note that even if the flow is edited after an execution starts, the snapshot connected to the execution remains unchanged.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { GetFlowExecutionRequest, GetFlowExecutionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetFlowExecutionCommandInput extends GetFlowExecutionRequest {
|
|
|
22
22
|
export interface GetFlowExecutionCommandOutput extends GetFlowExecutionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetFlowExecutionCommand_base: {
|
|
25
|
-
new (input: GetFlowExecutionCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetFlowExecutionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves details about a specific flow execution, including its status, start and end times, and any errors that occurred during execution.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { GetInvocationStepRequest, GetInvocationStepResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetInvocationStepCommandInput extends GetInvocationStepRequest
|
|
|
22
22
|
export interface GetInvocationStepCommandOutput extends GetInvocationStepResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetInvocationStepCommand_base: {
|
|
25
|
-
new (input: GetInvocationStepCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetInvocationStepCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<GetInvocationStepCommandInput, GetInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<GetInvocationStepCommandInput, GetInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves the details of a specific invocation step within an invocation in a session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { GetSessionRequest, GetSessionResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetSessionCommandInput extends GetSessionRequest {
|
|
|
22
22
|
export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetSessionCommand_base: {
|
|
25
|
-
new (input: GetSessionCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetSessionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetSessionCommandInput): import("@smithy/core/client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves details about a specific session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { InvokeAgentRequest, InvokeAgentResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface InvokeAgentCommandInput extends InvokeAgentRequest {
|
|
|
22
22
|
export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const InvokeAgentCommand_base: {
|
|
25
|
-
new (input: InvokeAgentCommandInput): import("@smithy/
|
|
26
|
-
new (input: InvokeAgentCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: InvokeAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: InvokeAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <note> </note> <p>Sends a prompt for the agent to process and respond to. Note the following fields for the request:</p> <ul> <li> <p>To continue the same conversation with an agent, use the same <code>sessionId</code> value in the request.</p> </li> <li> <p>To activate trace enablement, turn <code>enableTrace</code> to <code>true</code>. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events">Trace enablement</a>.</p> </li> <li> <p>End a conversation by setting <code>endSession</code> to <code>true</code>.</p> </li> <li> <p>In the <code>sessionState</code> object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.</p> </li> </ul> <p>The response contains both <b>chunk</b> and <b>trace</b> attributes.</p> <p>The final response is returned in the <code>bytes</code> field of the <code>chunk</code> object. The <code>InvokeAgent</code> returns one chunk for the entire interaction.</p> <ul> <li> <p>The <code>attribution</code> object contains citations for parts of the response.</p> </li> <li> <p>If you set <code>enableTrace</code> to <code>true</code> in the request, you can trace the agent's steps and reasoning process that led it to the response.</p> </li> <li> <p>If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the <code>returnControl</code> field.</p> </li> <li> <p>Errors are also surfaced in the response.</p> </li> </ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { InvokeFlowRequest, InvokeFlowResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface InvokeFlowCommandInput extends InvokeFlowRequest {
|
|
|
22
22
|
export interface InvokeFlowCommandOutput extends InvokeFlowResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const InvokeFlowCommand_base: {
|
|
25
|
-
new (input: InvokeFlowCommandInput): import("@smithy/
|
|
26
|
-
new (input: InvokeFlowCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: InvokeFlowCommandInput): import("@smithy/core/client").CommandImpl<InvokeFlowCommandInput, InvokeFlowCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: InvokeFlowCommandInput): import("@smithy/core/client").CommandImpl<InvokeFlowCommandInput, InvokeFlowCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html">Test a flow in Amazon Bedrock</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeFlow</code>.</p> </note>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { InvokeInlineAgentResponse } from "../models/models_0";
|
|
@@ -23,9 +23,11 @@ export interface InvokeInlineAgentCommandInput extends InvokeInlineAgentRequest
|
|
|
23
23
|
export interface InvokeInlineAgentCommandOutput extends InvokeInlineAgentResponse, __MetadataBearer {
|
|
24
24
|
}
|
|
25
25
|
declare const InvokeInlineAgentCommand_base: {
|
|
26
|
-
new (input: InvokeInlineAgentCommandInput): import("@smithy/
|
|
27
|
-
new (input: InvokeInlineAgentCommandInput): import("@smithy/
|
|
28
|
-
getEndpointParameterInstructions():
|
|
26
|
+
new (input: InvokeInlineAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (input: InvokeInlineAgentCommandInput): import("@smithy/core/client").CommandImpl<InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
getEndpointParameterInstructions(): {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
29
31
|
};
|
|
30
32
|
/**
|
|
31
33
|
* <p> Invokes an inline Amazon Bedrock agent using the configurations you provide with the request. </p> <ul> <li> <p>Specify the following fields for security purposes.</p> <ul> <li> <p>(Optional) <code>customerEncryptionKeyArn</code> – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.</p> </li> <li> <p>(Optional) <code>idleSessionTTLinSeconds</code> – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent <code>InvokeInlineAgent</code> request begins a new session.</p> </li> </ul> </li> <li> <p>To override the default prompt behavior for agent orchestration and to use advanced prompts, include a <code>promptOverrideConfiguration</code> object. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>.</p> </li> <li> <p>The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.</p> </li> </ul> <note> </note>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { ListFlowExecutionEventsRequest, ListFlowExecutionEventsResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListFlowExecutionEventsCommandInput extends ListFlowExecutionEv
|
|
|
22
22
|
export interface ListFlowExecutionEventsCommandOutput extends ListFlowExecutionEventsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListFlowExecutionEventsCommand_base: {
|
|
25
|
-
new (input: ListFlowExecutionEventsCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListFlowExecutionEventsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListFlowExecutionEventsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListFlowExecutionEventsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists events that occurred during a flow execution. Events provide detailed information about the execution progress, including node inputs and outputs, flow inputs and outputs, condition results, and failure events.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { ListFlowExecutionsRequest, ListFlowExecutionsResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListFlowExecutionsCommandInput extends ListFlowExecutionsReques
|
|
|
22
22
|
export interface ListFlowExecutionsCommandOutput extends ListFlowExecutionsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListFlowExecutionsCommand_base: {
|
|
25
|
-
new (input: ListFlowExecutionsCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListFlowExecutionsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListFlowExecutionsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListFlowExecutionsCommandInput): import("@smithy/core/client").CommandImpl<ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists all executions of a flow. Results can be paginated and include summary information about each execution, such as status, start and end times, and the execution's Amazon Resource Name (ARN).</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { ListInvocationStepsRequest, ListInvocationStepsResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListInvocationStepsCommandInput extends ListInvocationStepsRequ
|
|
|
22
22
|
export interface ListInvocationStepsCommandOutput extends ListInvocationStepsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListInvocationStepsCommand_base: {
|
|
25
|
-
new (input: ListInvocationStepsCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListInvocationStepsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListInvocationStepsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListInvocationStepsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists all invocation steps associated with a session and optionally, an invocation within the session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { ListInvocationsRequest, ListInvocationsResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListInvocationsCommandInput extends ListInvocationsRequest {
|
|
|
22
22
|
export interface ListInvocationsCommandOutput extends ListInvocationsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListInvocationsCommand_base: {
|
|
25
|
-
new (input: ListInvocationsCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListInvocationsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListInvocationsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationsCommandInput, ListInvocationsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListInvocationsCommandInput): import("@smithy/core/client").CommandImpl<ListInvocationsCommandInput, ListInvocationsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists all invocations associated with a specific session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { ListSessionsRequest, ListSessionsResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListSessionsCommandInput extends ListSessionsRequest {
|
|
|
22
22
|
export interface ListSessionsCommandOutput extends ListSessionsResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListSessionsCommand_base: {
|
|
25
|
-
new (input: ListSessionsCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [ListSessionsCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListSessionsCommandInput): import("@smithy/core/client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListSessionsCommandInput]): import("@smithy/core/client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists all sessions in your Amazon Web Services account. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
|
|
|
22
22
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListTagsForResourceCommand_base: {
|
|
25
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>List all the tags for the resource you specify.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { OptimizePromptRequest, OptimizePromptResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface OptimizePromptCommandInput extends OptimizePromptRequest {
|
|
|
22
22
|
export interface OptimizePromptCommandOutput extends OptimizePromptResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const OptimizePromptCommand_base: {
|
|
25
|
-
new (input: OptimizePromptCommandInput): import("@smithy/
|
|
26
|
-
new (input: OptimizePromptCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: OptimizePromptCommandInput): import("@smithy/core/client").CommandImpl<OptimizePromptCommandInput, OptimizePromptCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: OptimizePromptCommandInput): import("@smithy/core/client").CommandImpl<OptimizePromptCommandInput, OptimizePromptCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Optimizes a prompt for the task that you specify. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-optimize.html">Optimize a prompt</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { PutInvocationStepRequest, PutInvocationStepResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface PutInvocationStepCommandInput extends PutInvocationStepRequest
|
|
|
22
22
|
export interface PutInvocationStepCommandOutput extends PutInvocationStepResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PutInvocationStepCommand_base: {
|
|
25
|
-
new (input: PutInvocationStepCommandInput): import("@smithy/
|
|
26
|
-
new (input: PutInvocationStepCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PutInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<PutInvocationStepCommandInput, PutInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<PutInvocationStepCommandInput, PutInvocationStepCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Add an invocation step to an invocation in a session. An invocation step stores fine-grained state checkpoints, including text and images, for each interaction. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.</p> <p>Related APIs:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_GetInvocationStep.html">GetInvocationStep</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListInvocationSteps.html">ListInvocationSteps</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListInvocations.html">ListInvocations</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListInvocations.html">ListSessions</a> </p> </li> </ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { RerankRequest, RerankResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface RerankCommandInput extends RerankRequest {
|
|
|
22
22
|
export interface RerankCommandOutput extends RerankResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RerankCommand_base: {
|
|
25
|
-
new (input: RerankCommandInput): import("@smithy/
|
|
26
|
-
new (input: RerankCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: RerankCommandInput): import("@smithy/core/client").CommandImpl<RerankCommandInput, RerankCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RerankCommandInput): import("@smithy/core/client").CommandImpl<RerankCommandInput, RerankCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Reranks the relevance of sources based on queries. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/rerank.html">Improve the relevance of query responses with a reranker model</a>.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { RetrieveAndGenerateRequest, RetrieveAndGenerateResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface RetrieveAndGenerateCommandInput extends RetrieveAndGenerateRequ
|
|
|
22
22
|
export interface RetrieveAndGenerateCommandOutput extends RetrieveAndGenerateResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RetrieveAndGenerateCommand_base: {
|
|
25
|
-
new (input: RetrieveAndGenerateCommandInput): import("@smithy/
|
|
26
|
-
new (input: RetrieveAndGenerateCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: RetrieveAndGenerateCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RetrieveAndGenerateCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html">inference profile</a>. The response only cites sources that are relevant to the query.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { RetrieveAndGenerateStreamRequest, RetrieveAndGenerateStreamResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface RetrieveAndGenerateStreamCommandInput extends RetrieveAndGenera
|
|
|
22
22
|
export interface RetrieveAndGenerateStreamCommandOutput extends RetrieveAndGenerateStreamResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RetrieveAndGenerateStreamCommand_base: {
|
|
25
|
-
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/
|
|
26
|
-
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p> </note> <p>This operation requires permission for the <code> bedrock:RetrieveAndGenerate</code> action.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
4
|
import type { RetrieveRequest, RetrieveResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface RetrieveCommandInput extends RetrieveRequest {
|
|
|
22
22
|
export interface RetrieveCommandOutput extends RetrieveResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const RetrieveCommand_base: {
|
|
25
|
-
new (input: RetrieveCommandInput): import("@smithy/
|
|
26
|
-
new (input: RetrieveCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: RetrieveCommandInput): import("@smithy/core/client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RetrieveCommandInput): import("@smithy/core/client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Queries a knowledge base and retrieves information from it.</p>
|