@aws-sdk/client-bedrock-agent-runtime 3.703.0 → 3.706.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.
@@ -1,6 +1,7 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { EventStreamSerdeContext as __EventStreamSerdeContext, SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from "../commands/DeleteAgentMemoryCommand";
4
+ import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "../commands/GenerateQueryCommand";
4
5
  import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "../commands/GetAgentMemoryCommand";
5
6
  import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "../commands/InvokeAgentCommand";
6
7
  import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "../commands/InvokeFlowCommand";
@@ -14,6 +15,10 @@ import { RetrieveCommandInput, RetrieveCommandOutput } from "../commands/Retriev
14
15
  * serializeAws_restJson1DeleteAgentMemoryCommand
15
16
  */
16
17
  export declare const se_DeleteAgentMemoryCommand: (input: DeleteAgentMemoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ /**
19
+ * serializeAws_restJson1GenerateQueryCommand
20
+ */
21
+ export declare const se_GenerateQueryCommand: (input: GenerateQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
22
  /**
18
23
  * serializeAws_restJson1GetAgentMemoryCommand
19
24
  */
@@ -54,6 +59,10 @@ export declare const se_RetrieveAndGenerateStreamCommand: (input: RetrieveAndGen
54
59
  * deserializeAws_restJson1DeleteAgentMemoryCommand
55
60
  */
56
61
  export declare const de_DeleteAgentMemoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAgentMemoryCommandOutput>;
62
+ /**
63
+ * deserializeAws_restJson1GenerateQueryCommand
64
+ */
65
+ export declare const de_GenerateQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateQueryCommandOutput>;
57
66
  /**
58
67
  * deserializeAws_restJson1GetAgentMemoryCommand
59
68
  */
@@ -4,6 +4,10 @@ import {
4
4
  DeleteAgentMemoryCommandInput,
5
5
  DeleteAgentMemoryCommandOutput,
6
6
  } from "./commands/DeleteAgentMemoryCommand";
7
+ import {
8
+ GenerateQueryCommandInput,
9
+ GenerateQueryCommandOutput,
10
+ } from "./commands/GenerateQueryCommand";
7
11
  import {
8
12
  GetAgentMemoryCommandInput,
9
13
  GetAgentMemoryCommandOutput,
@@ -54,6 +58,19 @@ export interface BedrockAgentRuntime {
54
58
  options: __HttpHandlerOptions,
55
59
  cb: (err: any, data?: DeleteAgentMemoryCommandOutput) => void
56
60
  ): void;
61
+ generateQuery(
62
+ args: GenerateQueryCommandInput,
63
+ options?: __HttpHandlerOptions
64
+ ): Promise<GenerateQueryCommandOutput>;
65
+ generateQuery(
66
+ args: GenerateQueryCommandInput,
67
+ cb: (err: any, data?: GenerateQueryCommandOutput) => void
68
+ ): void;
69
+ generateQuery(
70
+ args: GenerateQueryCommandInput,
71
+ options: __HttpHandlerOptions,
72
+ cb: (err: any, data?: GenerateQueryCommandOutput) => void
73
+ ): void;
57
74
  getAgentMemory(
58
75
  args: GetAgentMemoryCommandInput,
59
76
  options?: __HttpHandlerOptions
@@ -54,6 +54,10 @@ import {
54
54
  DeleteAgentMemoryCommandInput,
55
55
  DeleteAgentMemoryCommandOutput,
56
56
  } from "./commands/DeleteAgentMemoryCommand";
57
+ import {
58
+ GenerateQueryCommandInput,
59
+ GenerateQueryCommandOutput,
60
+ } from "./commands/GenerateQueryCommand";
57
61
  import {
58
62
  GetAgentMemoryCommandInput,
59
63
  GetAgentMemoryCommandOutput,
@@ -99,6 +103,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
99
103
  export { __Client };
100
104
  export type ServiceInputTypes =
101
105
  | DeleteAgentMemoryCommandInput
106
+ | GenerateQueryCommandInput
102
107
  | GetAgentMemoryCommandInput
103
108
  | InvokeAgentCommandInput
104
109
  | InvokeFlowCommandInput
@@ -110,6 +115,7 @@ export type ServiceInputTypes =
110
115
  | RetrieveCommandInput;
111
116
  export type ServiceOutputTypes =
112
117
  | DeleteAgentMemoryCommandOutput
118
+ | GenerateQueryCommandOutput
113
119
  | GetAgentMemoryCommandOutput
114
120
  | InvokeAgentCommandOutput
115
121
  | InvokeFlowCommandOutput
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentRuntimeClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentRuntimeClient";
8
+ import {
9
+ GenerateQueryRequest,
10
+ GenerateQueryResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GenerateQueryCommandInput extends GenerateQueryRequest {}
15
+ export interface GenerateQueryCommandOutput
16
+ extends GenerateQueryResponse,
17
+ __MetadataBearer {}
18
+ declare const GenerateQueryCommand_base: {
19
+ new (
20
+ input: GenerateQueryCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GenerateQueryCommandInput,
23
+ GenerateQueryCommandOutput,
24
+ BedrockAgentRuntimeClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GenerateQueryCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GenerateQueryCommandInput,
32
+ GenerateQueryCommandOutput,
33
+ BedrockAgentRuntimeClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GenerateQueryCommand extends GenerateQueryCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GenerateQueryRequest;
43
+ output: GenerateQueryResponse;
44
+ };
45
+ sdk: {
46
+ input: GenerateQueryCommandInput;
47
+ output: GenerateQueryCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./DeleteAgentMemoryCommand";
2
+ export * from "./GenerateQueryCommand";
2
3
  export * from "./GetAgentMemoryCommand";
3
4
  export * from "./InvokeAgentCommand";
4
5
  export * from "./InvokeFlowCommand";