@aws-sdk/client-bedrock-agent-runtime 3.1076.0 → 3.1078.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/index.js +44 -359
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AgenticRetrieveStreamCommand.js +2 -18
- package/dist-es/commands/CreateInvocationCommand.js +2 -14
- package/dist-es/commands/CreateSessionCommand.js +2 -14
- package/dist-es/commands/DeleteAgentMemoryCommand.js +2 -14
- package/dist-es/commands/DeleteSessionCommand.js +2 -14
- package/dist-es/commands/EndSessionCommand.js +2 -14
- package/dist-es/commands/GenerateQueryCommand.js +2 -14
- package/dist-es/commands/GetAgentMemoryCommand.js +2 -14
- package/dist-es/commands/GetDocumentContentCommand.js +2 -14
- package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +2 -14
- package/dist-es/commands/GetFlowExecutionCommand.js +2 -14
- package/dist-es/commands/GetInvocationStepCommand.js +2 -14
- package/dist-es/commands/GetSessionCommand.js +2 -14
- package/dist-es/commands/InvokeAgentCommand.js +2 -18
- package/dist-es/commands/InvokeFlowCommand.js +2 -18
- package/dist-es/commands/InvokeInlineAgentCommand.js +2 -18
- package/dist-es/commands/ListFlowExecutionEventsCommand.js +2 -14
- package/dist-es/commands/ListFlowExecutionsCommand.js +2 -14
- package/dist-es/commands/ListInvocationStepsCommand.js +2 -14
- package/dist-es/commands/ListInvocationsCommand.js +2 -14
- package/dist-es/commands/ListSessionsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/OptimizePromptCommand.js +2 -18
- package/dist-es/commands/PutInvocationStepCommand.js +2 -14
- package/dist-es/commands/RerankCommand.js +2 -14
- package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -14
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -18
- package/dist-es/commands/RetrieveCommand.js +2 -14
- package/dist-es/commands/StartFlowExecutionCommand.js +2 -14
- package/dist-es/commands/StopFlowExecutionCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateSessionCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +3 -8
- package/dist-types/commands/CreateInvocationCommand.d.ts +3 -8
- package/dist-types/commands/CreateSessionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +3 -8
- package/dist-types/commands/DeleteSessionCommand.d.ts +3 -8
- package/dist-types/commands/EndSessionCommand.d.ts +3 -8
- package/dist-types/commands/GenerateQueryCommand.d.ts +3 -8
- package/dist-types/commands/GetAgentMemoryCommand.d.ts +3 -8
- package/dist-types/commands/GetDocumentContentCommand.d.ts +3 -8
- package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +3 -8
- package/dist-types/commands/GetFlowExecutionCommand.d.ts +3 -8
- package/dist-types/commands/GetInvocationStepCommand.d.ts +3 -8
- package/dist-types/commands/GetSessionCommand.d.ts +3 -8
- package/dist-types/commands/InvokeAgentCommand.d.ts +3 -8
- package/dist-types/commands/InvokeFlowCommand.d.ts +3 -8
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +3 -8
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +3 -8
- package/dist-types/commands/ListFlowExecutionsCommand.d.ts +3 -8
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +3 -8
- package/dist-types/commands/ListInvocationsCommand.d.ts +3 -8
- package/dist-types/commands/ListSessionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/OptimizePromptCommand.d.ts +3 -8
- package/dist-types/commands/PutInvocationStepCommand.d.ts +3 -8
- package/dist-types/commands/RerankCommand.d.ts +3 -8
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +3 -8
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +3 -8
- package/dist-types/commands/RetrieveCommand.d.ts +3 -8
- package/dist-types/commands/StartFlowExecutionCommand.d.ts +3 -8
- package/dist-types/commands/StopFlowExecutionCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateSessionCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AgenticRetrieveStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/OptimizePromptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RerankCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopFlowExecutionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { ListSessionsRequest, ListSessionsResponse } from "../models/models_1";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListSessionsCommandInput extends ListSessionsRequest {
|
|
|
22
19
|
export interface ListSessionsCommandOutput extends ListSessionsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListSessionsCommand_base: {
|
|
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
|
-
};
|
|
22
|
+
new (input: ListSessionsCommandInput): import("@smithy/core/client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListSessionsCommandInput]): import("@smithy/core/client").CommandImpl<ListSessionsCommandInput, ListSessionsCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <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,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
|
|
|
22
19
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListTagsForResourceCommand_base: {
|
|
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
|
-
};
|
|
22
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>List all the tags for the resource you specify.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { OptimizePromptRequest, OptimizePromptResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface OptimizePromptCommandInput extends OptimizePromptRequest {
|
|
|
22
19
|
export interface OptimizePromptCommandOutput extends OptimizePromptResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const OptimizePromptCommand_base: {
|
|
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
|
-
};
|
|
22
|
+
new (input: OptimizePromptCommandInput): import("@smithy/core/client").CommandImpl<OptimizePromptCommandInput, OptimizePromptCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: OptimizePromptCommandInput): import("@smithy/core/client").CommandImpl<OptimizePromptCommandInput, OptimizePromptCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <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,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { PutInvocationStepRequest, PutInvocationStepResponse } from "../models/models_1";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface PutInvocationStepCommandInput extends PutInvocationStepRequest
|
|
|
22
19
|
export interface PutInvocationStepCommandOutput extends PutInvocationStepResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const PutInvocationStepCommand_base: {
|
|
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
|
-
};
|
|
22
|
+
new (input: PutInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<PutInvocationStepCommandInput, PutInvocationStepCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: PutInvocationStepCommandInput): import("@smithy/core/client").CommandImpl<PutInvocationStepCommandInput, PutInvocationStepCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <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,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { RerankRequest, RerankResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface RerankCommandInput extends RerankRequest {
|
|
|
22
19
|
export interface RerankCommandOutput extends RerankResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const RerankCommand_base: {
|
|
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
|
-
};
|
|
22
|
+
new (input: RerankCommandInput): import("@smithy/core/client").CommandImpl<RerankCommandInput, RerankCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RerankCommandInput): import("@smithy/core/client").CommandImpl<RerankCommandInput, RerankCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <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,13 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { RetrieveAndGenerateResponse } from "../models/models_0";
|
|
5
3
|
import type { RetrieveAndGenerateRequest } from "../models/models_1";
|
|
6
4
|
/**
|
|
7
5
|
* @public
|
|
8
6
|
*/
|
|
9
7
|
export type { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
8
|
/**
|
|
12
9
|
* @public
|
|
13
10
|
*
|
|
@@ -23,11 +20,9 @@ export interface RetrieveAndGenerateCommandInput extends RetrieveAndGenerateRequ
|
|
|
23
20
|
export interface RetrieveAndGenerateCommandOutput extends RetrieveAndGenerateResponse, __MetadataBearer {
|
|
24
21
|
}
|
|
25
22
|
declare const RetrieveAndGenerateCommand_base: {
|
|
26
|
-
new (input: RetrieveAndGenerateCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (input: RetrieveAndGenerateCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
-
getEndpointParameterInstructions():
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
23
|
+
new (input: RetrieveAndGenerateCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
new (input: RetrieveAndGenerateCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
31
26
|
};
|
|
32
27
|
/**
|
|
33
28
|
* <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> <note> <p>This API cannot be used with managed knowledge bases. Use <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_AgenticRetrieveStream.html">AgenticRetrieveStream</a> or <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html">Retrieve</a> with managed knowledge bases.</p> </note>
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { RetrieveAndGenerateStreamResponse } from "../models/models_0";
|
|
5
3
|
import type { RetrieveAndGenerateStreamRequest } from "../models/models_1";
|
|
6
4
|
/**
|
|
7
5
|
* @public
|
|
8
6
|
*/
|
|
9
7
|
export type { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
8
|
/**
|
|
12
9
|
* @public
|
|
13
10
|
*
|
|
@@ -23,11 +20,9 @@ export interface RetrieveAndGenerateStreamCommandInput extends RetrieveAndGenera
|
|
|
23
20
|
export interface RetrieveAndGenerateStreamCommandOutput extends RetrieveAndGenerateStreamResponse, __MetadataBearer {
|
|
24
21
|
}
|
|
25
22
|
declare const RetrieveAndGenerateStreamCommand_base: {
|
|
26
|
-
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
-
getEndpointParameterInstructions():
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
23
|
+
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
new (input: RetrieveAndGenerateStreamCommandInput): import("@smithy/core/client").CommandImpl<RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
31
26
|
};
|
|
32
27
|
/**
|
|
33
28
|
* <p>Queries a knowledge base and generates responses based on the retrieved results, with output in streaming format.</p> <note> <p>This API cannot be used with managed knowledge bases. Use <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_AgenticRetrieveStream.html">AgenticRetrieveStream</a> or <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html">Retrieve</a> with managed knowledge bases.</p> </note> <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,13 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { RetrieveResponse } from "../models/models_0";
|
|
5
3
|
import type { RetrieveRequest } from "../models/models_1";
|
|
6
4
|
/**
|
|
7
5
|
* @public
|
|
8
6
|
*/
|
|
9
7
|
export type { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
8
|
/**
|
|
12
9
|
* @public
|
|
13
10
|
*
|
|
@@ -23,11 +20,9 @@ export interface RetrieveCommandInput extends RetrieveRequest {
|
|
|
23
20
|
export interface RetrieveCommandOutput extends RetrieveResponse, __MetadataBearer {
|
|
24
21
|
}
|
|
25
22
|
declare const RetrieveCommand_base: {
|
|
26
|
-
new (input: RetrieveCommandInput): import("@smithy/core/client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (input: RetrieveCommandInput): import("@smithy/core/client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
-
getEndpointParameterInstructions():
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
23
|
+
new (input: RetrieveCommandInput): import("@smithy/core/client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
new (input: RetrieveCommandInput): import("@smithy/core/client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
31
26
|
};
|
|
32
27
|
/**
|
|
33
28
|
* <p>Queries a knowledge base and retrieves information from it.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { StartFlowExecutionRequest, StartFlowExecutionResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface StartFlowExecutionCommandInput extends StartFlowExecutionReques
|
|
|
22
19
|
export interface StartFlowExecutionCommandOutput extends StartFlowExecutionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const StartFlowExecutionCommand_base: {
|
|
25
|
-
new (input: StartFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: StartFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: StartFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StartFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Starts an execution of an Amazon Bedrock flow. Unlike flows that run until completion or time out after five minutes, flow executions let you run flows asynchronously for longer durations. Flow executions also yield control so that your application can perform other tasks.</p> <p>This operation returns an Amazon Resource Name (ARN) that you can use to track and manage your flow execution.</p> <note> <p>Flow executions is in preview release for Amazon Bedrock and is subject to change.</p> </note>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { StopFlowExecutionRequest, StopFlowExecutionResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface StopFlowExecutionCommandInput extends StopFlowExecutionRequest
|
|
|
22
19
|
export interface StopFlowExecutionCommandOutput extends StopFlowExecutionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const StopFlowExecutionCommand_base: {
|
|
25
|
-
new (input: StopFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: StopFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: StopFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StopFlowExecutionCommandInput): import("@smithy/core/client").CommandImpl<StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Stops an Amazon Bedrock flow's execution. This operation prevents further processing of the flow and changes the execution status to <code>Aborted</code>.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { TagResourceRequest, TagResourceResponse } from "../models/models_1";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
22
19
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const TagResourceCommand_base: {
|
|
25
|
-
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Associate tags with a resource. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</a> in the Amazon Bedrock User Guide.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
22
19
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const UntagResourceCommand_base: {
|
|
25
|
-
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Remove tags from a resource.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
2
|
import type { UpdateSessionRequest, UpdateSessionResponse } from "../models/models_1";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface UpdateSessionCommandInput extends UpdateSessionRequest {
|
|
|
22
19
|
export interface UpdateSessionCommandOutput extends UpdateSessionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const UpdateSessionCommand_base: {
|
|
25
|
-
new (input: UpdateSessionCommandInput): import("@smithy/core/client").CommandImpl<UpdateSessionCommandInput, UpdateSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: UpdateSessionCommandInput): import("@smithy/core/client").CommandImpl<UpdateSessionCommandInput, UpdateSessionCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: UpdateSessionCommandInput): import("@smithy/core/client").CommandImpl<UpdateSessionCommandInput, UpdateSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateSessionCommandInput): import("@smithy/core/client").CommandImpl<UpdateSessionCommandInput, UpdateSessionCommandOutput, import("..").BedrockAgentRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Updates the metadata or encryption settings of 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>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { BedrockAgentRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
12
13
|
export * from "./schemas/schemas_0";
|
|
13
14
|
export * from "./pagination";
|
|
14
15
|
export * from "./models/enums";
|
|
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
14
14
|
region: string | import("@smithy/types").Provider<any>;
|
|
15
15
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
18
17
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -25,6 +24,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
25
24
|
[setting: string]: unknown;
|
|
26
25
|
};
|
|
27
26
|
apiVersion: string;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
28
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
29
|
base64Decoder: import("@smithy/types").Decoder;
|
|
30
30
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -15,7 +15,6 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
15
15
|
region: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
17
17
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
19
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
20
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -27,6 +26,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
27
26
|
[setting: string]: unknown;
|
|
28
27
|
};
|
|
29
28
|
apiVersion: string;
|
|
29
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
30
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
31
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
32
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -4,7 +4,6 @@ import type { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClien
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
8
7
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
8
|
cacheMiddleware?: boolean;
|
|
10
9
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
13
12
|
[setting: string]: unknown;
|
|
14
13
|
};
|
|
15
14
|
apiVersion: string;
|
|
15
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
16
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig)
|
|
|
21
21
|
defaultNamespace?: string;
|
|
22
22
|
};
|
|
23
23
|
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
27
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
4
|
+
ServiceInputTypes,
|
|
5
|
+
ServiceOutputTypes,
|
|
6
|
+
} from "./BedrockAgentRuntimeClient";
|
|
7
|
+
export declare const command: <
|
|
8
|
+
I extends ServiceInputTypes,
|
|
9
|
+
O extends ServiceOutputTypes
|
|
10
|
+
>(
|
|
11
|
+
added: EndpointParameterInstructions,
|
|
12
|
+
plugins: (
|
|
13
|
+
CommandCtor: any,
|
|
14
|
+
clientStack: any,
|
|
15
|
+
config: any,
|
|
16
|
+
options: any
|
|
17
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
|
+
op: string,
|
|
19
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
+
smithyContext?: Record<string, unknown>
|
|
21
|
+
) => {
|
|
22
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
I,
|
|
24
|
+
O,
|
|
25
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
I,
|
|
33
|
+
O,
|
|
34
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
+
export declare const _mw0: (
|
|
42
|
+
Command: any,
|
|
43
|
+
cs: any,
|
|
44
|
+
config: any,
|
|
45
|
+
o: any
|
|
46
|
+
) => never[];
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockAgentRuntimeClient";
|
|
8
2
|
import { AgenticRetrieveStreamResponse } from "../models/models_0";
|
|
9
3
|
import { AgenticRetrieveStreamRequest } from "../models/models_1";
|
|
10
4
|
export { __MetadataBearer };
|
|
11
|
-
export { $Command };
|
|
12
5
|
export interface AgenticRetrieveStreamCommandInput
|
|
13
6
|
extends AgenticRetrieveStreamRequest {}
|
|
14
7
|
export interface AgenticRetrieveStreamCommandOutput
|
|
@@ -20,22 +13,20 @@ declare const AgenticRetrieveStreamCommand_base: {
|
|
|
20
13
|
): import("@smithy/core/client").CommandImpl<
|
|
21
14
|
AgenticRetrieveStreamCommandInput,
|
|
22
15
|
AgenticRetrieveStreamCommandOutput,
|
|
23
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
24
|
-
ServiceInputTypes,
|
|
25
|
-
ServiceOutputTypes
|
|
16
|
+
import("..").BedrockAgentRuntimeClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
26
19
|
>;
|
|
27
20
|
new (
|
|
28
21
|
input: AgenticRetrieveStreamCommandInput
|
|
29
22
|
): import("@smithy/core/client").CommandImpl<
|
|
30
23
|
AgenticRetrieveStreamCommandInput,
|
|
31
24
|
AgenticRetrieveStreamCommandOutput,
|
|
32
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
33
|
-
ServiceInputTypes,
|
|
34
|
-
ServiceOutputTypes
|
|
25
|
+
import("..").BedrockAgentRuntimeClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
35
28
|
>;
|
|
36
|
-
getEndpointParameterInstructions():
|
|
37
|
-
[x: string]: unknown;
|
|
38
|
-
};
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
39
30
|
};
|
|
40
31
|
export declare class AgenticRetrieveStreamCommand extends AgenticRetrieveStreamCommand_base {
|
|
41
32
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockAgentRuntimeClient";
|
|
8
2
|
import {
|
|
9
3
|
CreateInvocationRequest,
|
|
10
4
|
CreateInvocationResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface CreateInvocationCommandInput extends CreateInvocationRequest {}
|
|
15
8
|
export interface CreateInvocationCommandOutput
|
|
16
9
|
extends CreateInvocationResponse,
|
|
@@ -21,22 +14,20 @@ declare const CreateInvocationCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
CreateInvocationCommandInput,
|
|
23
16
|
CreateInvocationCommandOutput,
|
|
24
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockAgentRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: CreateInvocationCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
CreateInvocationCommandInput,
|
|
32
25
|
CreateInvocationCommandOutput,
|
|
33
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").BedrockAgentRuntimeClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class CreateInvocationCommand extends CreateInvocationCommand_base {
|
|
42
33
|
protected static __types: {
|