@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,13 +1,6 @@
|
|
|
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 { TagResourceRequest, TagResourceResponse } from "../models/models_1";
|
|
9
3
|
export { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
4
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
12
5
|
export interface TagResourceCommandOutput
|
|
13
6
|
extends TagResourceResponse,
|
|
@@ -18,22 +11,20 @@ declare const TagResourceCommand_base: {
|
|
|
18
11
|
): import("@smithy/core/client").CommandImpl<
|
|
19
12
|
TagResourceCommandInput,
|
|
20
13
|
TagResourceCommandOutput,
|
|
21
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
22
|
-
ServiceInputTypes,
|
|
23
|
-
ServiceOutputTypes
|
|
14
|
+
import("..").BedrockAgentRuntimeClientResolvedConfig,
|
|
15
|
+
import("..").ServiceInputTypes,
|
|
16
|
+
import("..").ServiceOutputTypes
|
|
24
17
|
>;
|
|
25
18
|
new (
|
|
26
19
|
input: TagResourceCommandInput
|
|
27
20
|
): import("@smithy/core/client").CommandImpl<
|
|
28
21
|
TagResourceCommandInput,
|
|
29
22
|
TagResourceCommandOutput,
|
|
30
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
31
|
-
ServiceInputTypes,
|
|
32
|
-
ServiceOutputTypes
|
|
23
|
+
import("..").BedrockAgentRuntimeClientResolvedConfig,
|
|
24
|
+
import("..").ServiceInputTypes,
|
|
25
|
+
import("..").ServiceOutputTypes
|
|
33
26
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
37
28
|
};
|
|
38
29
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
39
30
|
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
|
UntagResourceRequest,
|
|
10
4
|
UntagResourceResponse,
|
|
11
5
|
} from "../models/models_1";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
15
8
|
export interface UntagResourceCommandOutput
|
|
16
9
|
extends UntagResourceResponse,
|
|
@@ -21,22 +14,20 @@ declare const UntagResourceCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
UntagResourceCommandInput,
|
|
23
16
|
UntagResourceCommandOutput,
|
|
24
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockAgentRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: UntagResourceCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
UntagResourceCommandInput,
|
|
32
25
|
UntagResourceCommandOutput,
|
|
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 UntagResourceCommand extends UntagResourceCommand_base {
|
|
42
33
|
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
|
UpdateSessionRequest,
|
|
10
4
|
UpdateSessionResponse,
|
|
11
5
|
} from "../models/models_1";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface UpdateSessionCommandInput extends UpdateSessionRequest {}
|
|
15
8
|
export interface UpdateSessionCommandOutput
|
|
16
9
|
extends UpdateSessionResponse,
|
|
@@ -21,22 +14,20 @@ declare const UpdateSessionCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
UpdateSessionCommandInput,
|
|
23
16
|
UpdateSessionCommandOutput,
|
|
24
|
-
BedrockAgentRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockAgentRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: UpdateSessionCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
UpdateSessionCommandInput,
|
|
32
25
|
UpdateSessionCommandOutput,
|
|
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 UpdateSessionCommand extends UpdateSessionCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { BedrockAgentRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./pagination";
|
|
9
10
|
export * from "./models/enums";
|
|
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (
|
|
|
23
23
|
| import("@smithy/core/protocols").HttpHandler<any>
|
|
24
24
|
| RequestHandler;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
27
26
|
streamCollector: (
|
|
28
27
|
stream:
|
|
29
28
|
| import("stream").Readable
|
|
@@ -45,6 +44,7 @@ export declare const getRuntimeConfig: (
|
|
|
45
44
|
[setting: string]: unknown;
|
|
46
45
|
};
|
|
47
46
|
apiVersion: string;
|
|
47
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
48
48
|
urlParser: import("@smithy/types").UrlParser;
|
|
49
49
|
base64Decoder: import("@smithy/types").Decoder;
|
|
50
50
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -24,7 +24,6 @@ export declare const getRuntimeConfig: (
|
|
|
24
24
|
| RequestHandler
|
|
25
25
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
28
27
|
streamCollector: (
|
|
29
28
|
stream:
|
|
30
29
|
| import("stream").Readable
|
|
@@ -45,6 +44,7 @@ export declare const getRuntimeConfig: (
|
|
|
45
44
|
[setting: string]: unknown;
|
|
46
45
|
};
|
|
47
46
|
apiVersion: string;
|
|
47
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
48
48
|
urlParser: import("@smithy/types").UrlParser;
|
|
49
49
|
base64Decoder: import("@smithy/types").Decoder;
|
|
50
50
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -3,7 +3,6 @@ export declare const getRuntimeConfig: (
|
|
|
3
3
|
config: BedrockAgentRuntimeClientConfig
|
|
4
4
|
) => {
|
|
5
5
|
runtime: string;
|
|
6
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
7
6
|
requestHandler:
|
|
8
7
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
9
8
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -20,6 +19,7 @@ export declare const getRuntimeConfig: (
|
|
|
20
19
|
[setting: string]: unknown;
|
|
21
20
|
};
|
|
22
21
|
apiVersion: string;
|
|
22
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
25
|
streamCollector: (
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (
|
|
|
26
26
|
defaultNamespace?: string;
|
|
27
27
|
};
|
|
28
28
|
serviceId: string;
|
|
29
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
31
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
32
|
utf8Encoder: (input: Uint8Array | string) => string;
|
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.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,15 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-
|
|
23
|
-
"@aws-
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@smithy/
|
|
28
|
-
"@smithy/
|
|
29
|
-
"@smithy/node-http-handler": "^4.9.0",
|
|
30
|
-
"@smithy/types": "^4.15.0",
|
|
22
|
+
"@aws-sdk/core": "^3.974.26",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
24
|
+
"@aws-sdk/types": "^3.973.15",
|
|
25
|
+
"@smithy/core": "^3.29.0",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
28
|
+
"@smithy/types": "^4.15.1",
|
|
31
29
|
"tslib": "^2.6.2"
|
|
32
30
|
},
|
|
33
31
|
"devDependencies": {
|