@aws-sdk/client-bedrock-agent-runtime 3.609.0 → 3.614.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/README.md +24 -0
- package/dist-cjs/index.js +672 -71
- package/dist-es/BedrockAgentRuntime.js +6 -0
- package/dist-es/commands/DeleteAgentMemoryCommand.js +24 -0
- package/dist-es/commands/GetAgentMemoryCommand.js +24 -0
- package/dist-es/commands/InvokeFlowCommand.js +29 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +221 -49
- package/dist-es/pagination/GetAgentMemoryPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +311 -3
- package/dist-types/BedrockAgentRuntime.d.ts +21 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +5 -2
- package/dist-types/commands/DeleteAgentMemoryCommand.d.ts +87 -0
- package/dist-types/commands/GetAgentMemoryCommand.d.ts +103 -0
- package/dist-types/commands/InvokeAgentCommand.d.ts +134 -4
- package/dist-types/commands/InvokeFlowCommand.d.ts +137 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +18 -1
- package/dist-types/commands/RetrieveCommand.d.ts +13 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +1339 -299
- package/dist-types/pagination/GetAgentMemoryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +51 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteAgentMemoryCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetAgentMemoryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/InvokeFlowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +527 -54
- package/dist-types/ts3.4/pagination/GetAgentMemoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +20 -20
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "../commands/GetAgentMemoryCommand";
|
|
3
|
+
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetAgentMemory: (config: BedrockAgentRuntimePaginationConfiguration, input: GetAgentMemoryCommandInput, ...rest: any[]) => Paginator<GetAgentMemoryCommandOutput>;
|
|
@@ -1,12 +1,27 @@
|
|
|
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
|
+
import { DeleteAgentMemoryCommandInput, DeleteAgentMemoryCommandOutput } from "../commands/DeleteAgentMemoryCommand";
|
|
4
|
+
import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "../commands/GetAgentMemoryCommand";
|
|
3
5
|
import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "../commands/InvokeAgentCommand";
|
|
6
|
+
import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "../commands/InvokeFlowCommand";
|
|
4
7
|
import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "../commands/RetrieveAndGenerateCommand";
|
|
5
8
|
import { RetrieveCommandInput, RetrieveCommandOutput } from "../commands/RetrieveCommand";
|
|
9
|
+
/**
|
|
10
|
+
* serializeAws_restJson1DeleteAgentMemoryCommand
|
|
11
|
+
*/
|
|
12
|
+
export declare const se_DeleteAgentMemoryCommand: (input: DeleteAgentMemoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
/**
|
|
14
|
+
* serializeAws_restJson1GetAgentMemoryCommand
|
|
15
|
+
*/
|
|
16
|
+
export declare const se_GetAgentMemoryCommand: (input: GetAgentMemoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
6
17
|
/**
|
|
7
18
|
* serializeAws_restJson1InvokeAgentCommand
|
|
8
19
|
*/
|
|
9
20
|
export declare const se_InvokeAgentCommand: (input: InvokeAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
/**
|
|
22
|
+
* serializeAws_restJson1InvokeFlowCommand
|
|
23
|
+
*/
|
|
24
|
+
export declare const se_InvokeFlowCommand: (input: InvokeFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
25
|
/**
|
|
11
26
|
* serializeAws_restJson1RetrieveCommand
|
|
12
27
|
*/
|
|
@@ -15,10 +30,22 @@ export declare const se_RetrieveCommand: (input: RetrieveCommandInput, context:
|
|
|
15
30
|
* serializeAws_restJson1RetrieveAndGenerateCommand
|
|
16
31
|
*/
|
|
17
32
|
export declare const se_RetrieveAndGenerateCommand: (input: RetrieveAndGenerateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
|
+
/**
|
|
34
|
+
* deserializeAws_restJson1DeleteAgentMemoryCommand
|
|
35
|
+
*/
|
|
36
|
+
export declare const de_DeleteAgentMemoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAgentMemoryCommandOutput>;
|
|
37
|
+
/**
|
|
38
|
+
* deserializeAws_restJson1GetAgentMemoryCommand
|
|
39
|
+
*/
|
|
40
|
+
export declare const de_GetAgentMemoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAgentMemoryCommandOutput>;
|
|
18
41
|
/**
|
|
19
42
|
* deserializeAws_restJson1InvokeAgentCommand
|
|
20
43
|
*/
|
|
21
44
|
export declare const de_InvokeAgentCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeAgentCommandOutput>;
|
|
45
|
+
/**
|
|
46
|
+
* deserializeAws_restJson1InvokeFlowCommand
|
|
47
|
+
*/
|
|
48
|
+
export declare const de_InvokeFlowCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeFlowCommandOutput>;
|
|
22
49
|
/**
|
|
23
50
|
* deserializeAws_restJson1RetrieveCommand
|
|
24
51
|
*/
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
|
|
3
|
+
import {
|
|
4
|
+
DeleteAgentMemoryCommandInput,
|
|
5
|
+
DeleteAgentMemoryCommandOutput,
|
|
6
|
+
} from "./commands/DeleteAgentMemoryCommand";
|
|
7
|
+
import {
|
|
8
|
+
GetAgentMemoryCommandInput,
|
|
9
|
+
GetAgentMemoryCommandOutput,
|
|
10
|
+
} from "./commands/GetAgentMemoryCommand";
|
|
3
11
|
import {
|
|
4
12
|
InvokeAgentCommandInput,
|
|
5
13
|
InvokeAgentCommandOutput,
|
|
6
14
|
} from "./commands/InvokeAgentCommand";
|
|
15
|
+
import {
|
|
16
|
+
InvokeFlowCommandInput,
|
|
17
|
+
InvokeFlowCommandOutput,
|
|
18
|
+
} from "./commands/InvokeFlowCommand";
|
|
7
19
|
import {
|
|
8
20
|
RetrieveAndGenerateCommandInput,
|
|
9
21
|
RetrieveAndGenerateCommandOutput,
|
|
@@ -13,6 +25,32 @@ import {
|
|
|
13
25
|
RetrieveCommandOutput,
|
|
14
26
|
} from "./commands/RetrieveCommand";
|
|
15
27
|
export interface BedrockAgentRuntime {
|
|
28
|
+
deleteAgentMemory(
|
|
29
|
+
args: DeleteAgentMemoryCommandInput,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Promise<DeleteAgentMemoryCommandOutput>;
|
|
32
|
+
deleteAgentMemory(
|
|
33
|
+
args: DeleteAgentMemoryCommandInput,
|
|
34
|
+
cb: (err: any, data?: DeleteAgentMemoryCommandOutput) => void
|
|
35
|
+
): void;
|
|
36
|
+
deleteAgentMemory(
|
|
37
|
+
args: DeleteAgentMemoryCommandInput,
|
|
38
|
+
options: __HttpHandlerOptions,
|
|
39
|
+
cb: (err: any, data?: DeleteAgentMemoryCommandOutput) => void
|
|
40
|
+
): void;
|
|
41
|
+
getAgentMemory(
|
|
42
|
+
args: GetAgentMemoryCommandInput,
|
|
43
|
+
options?: __HttpHandlerOptions
|
|
44
|
+
): Promise<GetAgentMemoryCommandOutput>;
|
|
45
|
+
getAgentMemory(
|
|
46
|
+
args: GetAgentMemoryCommandInput,
|
|
47
|
+
cb: (err: any, data?: GetAgentMemoryCommandOutput) => void
|
|
48
|
+
): void;
|
|
49
|
+
getAgentMemory(
|
|
50
|
+
args: GetAgentMemoryCommandInput,
|
|
51
|
+
options: __HttpHandlerOptions,
|
|
52
|
+
cb: (err: any, data?: GetAgentMemoryCommandOutput) => void
|
|
53
|
+
): void;
|
|
16
54
|
invokeAgent(
|
|
17
55
|
args: InvokeAgentCommandInput,
|
|
18
56
|
options?: __HttpHandlerOptions
|
|
@@ -26,6 +64,19 @@ export interface BedrockAgentRuntime {
|
|
|
26
64
|
options: __HttpHandlerOptions,
|
|
27
65
|
cb: (err: any, data?: InvokeAgentCommandOutput) => void
|
|
28
66
|
): void;
|
|
67
|
+
invokeFlow(
|
|
68
|
+
args: InvokeFlowCommandInput,
|
|
69
|
+
options?: __HttpHandlerOptions
|
|
70
|
+
): Promise<InvokeFlowCommandOutput>;
|
|
71
|
+
invokeFlow(
|
|
72
|
+
args: InvokeFlowCommandInput,
|
|
73
|
+
cb: (err: any, data?: InvokeFlowCommandOutput) => void
|
|
74
|
+
): void;
|
|
75
|
+
invokeFlow(
|
|
76
|
+
args: InvokeFlowCommandInput,
|
|
77
|
+
options: __HttpHandlerOptions,
|
|
78
|
+
cb: (err: any, data?: InvokeFlowCommandOutput) => void
|
|
79
|
+
): void;
|
|
29
80
|
retrieve(
|
|
30
81
|
args: RetrieveCommandInput,
|
|
31
82
|
options?: __HttpHandlerOptions
|
|
@@ -50,10 +50,22 @@ import {
|
|
|
50
50
|
HttpAuthSchemeInputConfig,
|
|
51
51
|
HttpAuthSchemeResolvedConfig,
|
|
52
52
|
} from "./auth/httpAuthSchemeProvider";
|
|
53
|
+
import {
|
|
54
|
+
DeleteAgentMemoryCommandInput,
|
|
55
|
+
DeleteAgentMemoryCommandOutput,
|
|
56
|
+
} from "./commands/DeleteAgentMemoryCommand";
|
|
57
|
+
import {
|
|
58
|
+
GetAgentMemoryCommandInput,
|
|
59
|
+
GetAgentMemoryCommandOutput,
|
|
60
|
+
} from "./commands/GetAgentMemoryCommand";
|
|
53
61
|
import {
|
|
54
62
|
InvokeAgentCommandInput,
|
|
55
63
|
InvokeAgentCommandOutput,
|
|
56
64
|
} from "./commands/InvokeAgentCommand";
|
|
65
|
+
import {
|
|
66
|
+
InvokeFlowCommandInput,
|
|
67
|
+
InvokeFlowCommandOutput,
|
|
68
|
+
} from "./commands/InvokeFlowCommand";
|
|
57
69
|
import {
|
|
58
70
|
RetrieveAndGenerateCommandInput,
|
|
59
71
|
RetrieveAndGenerateCommandOutput,
|
|
@@ -70,11 +82,17 @@ import {
|
|
|
70
82
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
71
83
|
export { __Client };
|
|
72
84
|
export type ServiceInputTypes =
|
|
85
|
+
| DeleteAgentMemoryCommandInput
|
|
86
|
+
| GetAgentMemoryCommandInput
|
|
73
87
|
| InvokeAgentCommandInput
|
|
88
|
+
| InvokeFlowCommandInput
|
|
74
89
|
| RetrieveAndGenerateCommandInput
|
|
75
90
|
| RetrieveCommandInput;
|
|
76
91
|
export type ServiceOutputTypes =
|
|
92
|
+
| DeleteAgentMemoryCommandOutput
|
|
93
|
+
| GetAgentMemoryCommandOutput
|
|
77
94
|
| InvokeAgentCommandOutput
|
|
95
|
+
| InvokeFlowCommandOutput
|
|
78
96
|
| RetrieveAndGenerateCommandOutput
|
|
79
97
|
| RetrieveCommandOutput;
|
|
80
98
|
export interface ClientDefaults
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
DeleteAgentMemoryRequest,
|
|
10
|
+
DeleteAgentMemoryResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteAgentMemoryCommandInput
|
|
15
|
+
extends DeleteAgentMemoryRequest {}
|
|
16
|
+
export interface DeleteAgentMemoryCommandOutput
|
|
17
|
+
extends DeleteAgentMemoryResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteAgentMemoryCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteAgentMemoryCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteAgentMemoryCommandInput,
|
|
24
|
+
DeleteAgentMemoryCommandOutput,
|
|
25
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: DeleteAgentMemoryCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteAgentMemoryCommandInput,
|
|
33
|
+
DeleteAgentMemoryCommandOutput,
|
|
34
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteAgentMemoryCommand extends DeleteAgentMemoryCommand_base {}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
GetAgentMemoryRequest,
|
|
10
|
+
GetAgentMemoryResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetAgentMemoryCommandInput extends GetAgentMemoryRequest {}
|
|
15
|
+
export interface GetAgentMemoryCommandOutput
|
|
16
|
+
extends GetAgentMemoryResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetAgentMemoryCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetAgentMemoryCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetAgentMemoryCommandInput,
|
|
23
|
+
GetAgentMemoryCommandOutput,
|
|
24
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: GetAgentMemoryCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetAgentMemoryCommandInput,
|
|
32
|
+
GetAgentMemoryCommandOutput,
|
|
33
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetAgentMemoryCommand extends GetAgentMemoryCommand_base {}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { InvokeFlowRequest, InvokeFlowResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface InvokeFlowCommandInput extends InvokeFlowRequest {}
|
|
12
|
+
export interface InvokeFlowCommandOutput
|
|
13
|
+
extends InvokeFlowResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const InvokeFlowCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: InvokeFlowCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
InvokeFlowCommandInput,
|
|
20
|
+
InvokeFlowCommandOutput,
|
|
21
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: InvokeFlowCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
InvokeFlowCommandInput,
|
|
29
|
+
InvokeFlowCommandOutput,
|
|
30
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class InvokeFlowCommand extends InvokeFlowCommand_base {}
|