@aws-sdk/client-bedrock-agent-runtime 3.810.0 → 3.815.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 +48 -0
- package/dist-cjs/index.js +829 -176
- package/dist-es/BedrockAgentRuntime.js +12 -0
- package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +22 -0
- package/dist-es/commands/GetFlowExecutionCommand.js +22 -0
- package/dist-es/commands/GetInvocationStepCommand.js +1 -1
- package/dist-es/commands/ListFlowExecutionEventsCommand.js +23 -0
- package/dist-es/commands/ListFlowExecutionsCommand.js +22 -0
- package/dist-es/commands/PutInvocationStepCommand.js +1 -1
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +1 -2
- package/dist-es/commands/RetrieveCommand.js +1 -2
- package/dist-es/commands/StartFlowExecutionCommand.js +23 -0
- package/dist-es/commands/StopFlowExecutionCommand.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +202 -196
- package/dist-es/models/models_1.js +141 -1
- package/dist-es/pagination/ListFlowExecutionEventsPaginator.js +4 -0
- package/dist-es/pagination/ListFlowExecutionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +370 -2
- package/dist-types/BedrockAgentRuntime.d.ts +42 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +8 -2
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +94 -0
- package/dist-types/commands/GetFlowExecutionCommand.d.ts +102 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +164 -0
- package/dist-types/commands/ListFlowExecutionsCommand.d.ts +101 -0
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -2
- package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -2
- package/dist-types/commands/RetrieveCommand.d.ts +1 -2
- package/dist-types/commands/StartFlowExecutionCommand.d.ts +116 -0
- package/dist-types/commands/StopFlowExecutionCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +3521 -3592
- package/dist-types/models/models_1.d.ts +972 -1
- package/dist-types/pagination/ListFlowExecutionEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +102 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopFlowExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +393 -507
- package/dist-types/ts3.4/models/models_1.d.ts +490 -2
- package/dist-types/ts3.4/pagination/ListFlowExecutionEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +5 -5
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
RetrieveAndGenerateStreamRequest,
|
|
10
|
+
RetrieveAndGenerateStreamResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface RetrieveAndGenerateStreamCommandInput
|
|
@@ -5,8 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../BedrockAgentRuntimeClient";
|
|
8
|
-
import { RetrieveResponse } from "../models/
|
|
9
|
-
import { RetrieveRequest } from "../models/models_1";
|
|
8
|
+
import { RetrieveRequest, RetrieveResponse } from "../models/models_1";
|
|
10
9
|
export { __MetadataBearer };
|
|
11
10
|
export { $Command };
|
|
12
11
|
export interface RetrieveCommandInput extends RetrieveRequest {}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
StartFlowExecutionRequest,
|
|
10
|
+
StartFlowExecutionResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StartFlowExecutionCommandInput
|
|
15
|
+
extends StartFlowExecutionRequest {}
|
|
16
|
+
export interface StartFlowExecutionCommandOutput
|
|
17
|
+
extends StartFlowExecutionResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const StartFlowExecutionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: StartFlowExecutionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
StartFlowExecutionCommandInput,
|
|
24
|
+
StartFlowExecutionCommandOutput,
|
|
25
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: StartFlowExecutionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
StartFlowExecutionCommandInput,
|
|
33
|
+
StartFlowExecutionCommandOutput,
|
|
34
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class StartFlowExecutionCommand extends StartFlowExecutionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: StartFlowExecutionRequest;
|
|
44
|
+
output: StartFlowExecutionResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: StartFlowExecutionCommandInput;
|
|
48
|
+
output: StartFlowExecutionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
StopFlowExecutionRequest,
|
|
10
|
+
StopFlowExecutionResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface StopFlowExecutionCommandInput
|
|
15
|
+
extends StopFlowExecutionRequest {}
|
|
16
|
+
export interface StopFlowExecutionCommandOutput
|
|
17
|
+
extends StopFlowExecutionResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const StopFlowExecutionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: StopFlowExecutionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
StopFlowExecutionCommandInput,
|
|
24
|
+
StopFlowExecutionCommandOutput,
|
|
25
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: StopFlowExecutionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
StopFlowExecutionCommandInput,
|
|
33
|
+
StopFlowExecutionCommandOutput,
|
|
34
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class StopFlowExecutionCommand extends StopFlowExecutionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: StopFlowExecutionRequest;
|
|
44
|
+
output: StopFlowExecutionResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: StopFlowExecutionCommandInput;
|
|
48
|
+
output: StopFlowExecutionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -5,11 +5,15 @@ export * from "./DeleteSessionCommand";
|
|
|
5
5
|
export * from "./EndSessionCommand";
|
|
6
6
|
export * from "./GenerateQueryCommand";
|
|
7
7
|
export * from "./GetAgentMemoryCommand";
|
|
8
|
+
export * from "./GetExecutionFlowSnapshotCommand";
|
|
9
|
+
export * from "./GetFlowExecutionCommand";
|
|
8
10
|
export * from "./GetInvocationStepCommand";
|
|
9
11
|
export * from "./GetSessionCommand";
|
|
10
12
|
export * from "./InvokeAgentCommand";
|
|
11
13
|
export * from "./InvokeFlowCommand";
|
|
12
14
|
export * from "./InvokeInlineAgentCommand";
|
|
15
|
+
export * from "./ListFlowExecutionEventsCommand";
|
|
16
|
+
export * from "./ListFlowExecutionsCommand";
|
|
13
17
|
export * from "./ListInvocationStepsCommand";
|
|
14
18
|
export * from "./ListInvocationsCommand";
|
|
15
19
|
export * from "./ListSessionsCommand";
|
|
@@ -20,6 +24,8 @@ export * from "./RerankCommand";
|
|
|
20
24
|
export * from "./RetrieveAndGenerateCommand";
|
|
21
25
|
export * from "./RetrieveAndGenerateStreamCommand";
|
|
22
26
|
export * from "./RetrieveCommand";
|
|
27
|
+
export * from "./StartFlowExecutionCommand";
|
|
28
|
+
export * from "./StopFlowExecutionCommand";
|
|
23
29
|
export * from "./TagResourceCommand";
|
|
24
30
|
export * from "./UntagResourceCommand";
|
|
25
31
|
export * from "./UpdateSessionCommand";
|