@aws-sdk/client-bedrock-agent-runtime 3.613.0 → 3.616.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 +677 -76
- package/dist-es/BedrockAgentRuntime.js +6 -0
- package/dist-es/BedrockAgentRuntimeClient.js +5 -5
- 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 +7 -4
- 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/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/ts3.4/BedrockAgentRuntime.d.ts +51 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +20 -2
- 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/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/package.json +24 -24
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetAgentMemoryCommandInput,
|
|
4
|
+
GetAgentMemoryCommandOutput,
|
|
5
|
+
} from "../commands/GetAgentMemoryCommand";
|
|
6
|
+
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetAgentMemory: (
|
|
8
|
+
config: BedrockAgentRuntimePaginationConfiguration,
|
|
9
|
+
input: GetAgentMemoryCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetAgentMemoryCommandOutput>;
|
|
@@ -6,10 +6,22 @@ import {
|
|
|
6
6
|
EventStreamSerdeContext as __EventStreamSerdeContext,
|
|
7
7
|
SerdeContext as __SerdeContext,
|
|
8
8
|
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
DeleteAgentMemoryCommandInput,
|
|
11
|
+
DeleteAgentMemoryCommandOutput,
|
|
12
|
+
} from "../commands/DeleteAgentMemoryCommand";
|
|
13
|
+
import {
|
|
14
|
+
GetAgentMemoryCommandInput,
|
|
15
|
+
GetAgentMemoryCommandOutput,
|
|
16
|
+
} from "../commands/GetAgentMemoryCommand";
|
|
9
17
|
import {
|
|
10
18
|
InvokeAgentCommandInput,
|
|
11
19
|
InvokeAgentCommandOutput,
|
|
12
20
|
} from "../commands/InvokeAgentCommand";
|
|
21
|
+
import {
|
|
22
|
+
InvokeFlowCommandInput,
|
|
23
|
+
InvokeFlowCommandOutput,
|
|
24
|
+
} from "../commands/InvokeFlowCommand";
|
|
13
25
|
import {
|
|
14
26
|
RetrieveAndGenerateCommandInput,
|
|
15
27
|
RetrieveAndGenerateCommandOutput,
|
|
@@ -18,10 +30,22 @@ import {
|
|
|
18
30
|
RetrieveCommandInput,
|
|
19
31
|
RetrieveCommandOutput,
|
|
20
32
|
} from "../commands/RetrieveCommand";
|
|
33
|
+
export declare const se_DeleteAgentMemoryCommand: (
|
|
34
|
+
input: DeleteAgentMemoryCommandInput,
|
|
35
|
+
context: __SerdeContext
|
|
36
|
+
) => Promise<__HttpRequest>;
|
|
37
|
+
export declare const se_GetAgentMemoryCommand: (
|
|
38
|
+
input: GetAgentMemoryCommandInput,
|
|
39
|
+
context: __SerdeContext
|
|
40
|
+
) => Promise<__HttpRequest>;
|
|
21
41
|
export declare const se_InvokeAgentCommand: (
|
|
22
42
|
input: InvokeAgentCommandInput,
|
|
23
43
|
context: __SerdeContext
|
|
24
44
|
) => Promise<__HttpRequest>;
|
|
45
|
+
export declare const se_InvokeFlowCommand: (
|
|
46
|
+
input: InvokeFlowCommandInput,
|
|
47
|
+
context: __SerdeContext
|
|
48
|
+
) => Promise<__HttpRequest>;
|
|
25
49
|
export declare const se_RetrieveCommand: (
|
|
26
50
|
input: RetrieveCommandInput,
|
|
27
51
|
context: __SerdeContext
|
|
@@ -30,10 +54,22 @@ export declare const se_RetrieveAndGenerateCommand: (
|
|
|
30
54
|
input: RetrieveAndGenerateCommandInput,
|
|
31
55
|
context: __SerdeContext
|
|
32
56
|
) => Promise<__HttpRequest>;
|
|
57
|
+
export declare const de_DeleteAgentMemoryCommand: (
|
|
58
|
+
output: __HttpResponse,
|
|
59
|
+
context: __SerdeContext
|
|
60
|
+
) => Promise<DeleteAgentMemoryCommandOutput>;
|
|
61
|
+
export declare const de_GetAgentMemoryCommand: (
|
|
62
|
+
output: __HttpResponse,
|
|
63
|
+
context: __SerdeContext
|
|
64
|
+
) => Promise<GetAgentMemoryCommandOutput>;
|
|
33
65
|
export declare const de_InvokeAgentCommand: (
|
|
34
66
|
output: __HttpResponse,
|
|
35
67
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
36
68
|
) => Promise<InvokeAgentCommandOutput>;
|
|
69
|
+
export declare const de_InvokeFlowCommand: (
|
|
70
|
+
output: __HttpResponse,
|
|
71
|
+
context: __SerdeContext & __EventStreamSerdeContext
|
|
72
|
+
) => Promise<InvokeFlowCommandOutput>;
|
|
37
73
|
export declare const de_RetrieveCommand: (
|
|
38
74
|
output: __HttpResponse,
|
|
39
75
|
context: __SerdeContext
|
|
@@ -59,11 +59,11 @@ export declare const getRuntimeConfig: (
|
|
|
59
59
|
}
|
|
60
60
|
) => import("@smithy/types").EndpointV2;
|
|
61
61
|
tls?: boolean | undefined;
|
|
62
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
62
63
|
retryStrategy?:
|
|
63
64
|
| import("@smithy/types").RetryStrategy
|
|
64
65
|
| import("@smithy/types").RetryStrategyV2
|
|
65
66
|
| undefined;
|
|
66
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
67
67
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
68
68
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
|
|
69
69
|
credentials?:
|
|
@@ -63,11 +63,11 @@ export declare const getRuntimeConfig: (
|
|
|
63
63
|
}
|
|
64
64
|
) => import("@smithy/types").EndpointV2;
|
|
65
65
|
tls?: boolean | undefined;
|
|
66
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
66
67
|
retryStrategy?:
|
|
67
68
|
| import("@smithy/types").RetryStrategy
|
|
68
69
|
| import("@smithy/types").RetryStrategyV2
|
|
69
70
|
| undefined;
|
|
70
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
71
71
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
72
72
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
|
|
73
73
|
credentials?:
|
|
@@ -53,11 +53,11 @@ export declare const getRuntimeConfig: (
|
|
|
53
53
|
}
|
|
54
54
|
) => import("@smithy/types").EndpointV2;
|
|
55
55
|
tls?: boolean | undefined;
|
|
56
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
56
57
|
retryStrategy?:
|
|
57
58
|
| import("@smithy/types").RetryStrategy
|
|
58
59
|
| import("@smithy/types").RetryStrategyV2
|
|
59
60
|
| undefined;
|
|
60
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
61
61
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
62
62
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentRuntimeHttpAuthSchemeProvider;
|
|
63
63
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.616.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",
|
|
@@ -20,44 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.616.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.616.0",
|
|
25
|
+
"@aws-sdk/core": "3.616.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.616.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.616.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.616.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.616.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.614.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.2.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
+
"@smithy/core": "^2.2.7",
|
|
38
38
|
"@smithy/eventstream-serde-browser": "^3.0.4",
|
|
39
39
|
"@smithy/eventstream-serde-config-resolver": "^3.0.3",
|
|
40
40
|
"@smithy/eventstream-serde-node": "^3.0.4",
|
|
41
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
41
|
+
"@smithy/fetch-http-handler": "^3.2.2",
|
|
42
42
|
"@smithy/hash-node": "^3.0.3",
|
|
43
43
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
44
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
45
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
46
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
+
"@smithy/middleware-content-length": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-endpoint": "^3.0.5",
|
|
46
|
+
"@smithy/middleware-retry": "^3.0.10",
|
|
47
47
|
"@smithy/middleware-serde": "^3.0.3",
|
|
48
48
|
"@smithy/middleware-stack": "^3.0.3",
|
|
49
|
-
"@smithy/node-config-provider": "^3.1.
|
|
50
|
-
"@smithy/node-http-handler": "^3.1.
|
|
51
|
-
"@smithy/protocol-http": "^4.0.
|
|
52
|
-
"@smithy/smithy-client": "^3.1.
|
|
49
|
+
"@smithy/node-config-provider": "^3.1.4",
|
|
50
|
+
"@smithy/node-http-handler": "^3.1.3",
|
|
51
|
+
"@smithy/protocol-http": "^4.0.4",
|
|
52
|
+
"@smithy/smithy-client": "^3.1.8",
|
|
53
53
|
"@smithy/types": "^3.3.0",
|
|
54
54
|
"@smithy/url-parser": "^3.0.3",
|
|
55
55
|
"@smithy/util-base64": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
60
|
-
"@smithy/util-endpoints": "^2.0.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^3.0.10",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^3.0.10",
|
|
60
|
+
"@smithy/util-endpoints": "^2.0.5",
|
|
61
61
|
"@smithy/util-middleware": "^3.0.3",
|
|
62
62
|
"@smithy/util-retry": "^3.0.3",
|
|
63
63
|
"@smithy/util-utf8": "^3.0.0",
|