@aws-sdk/client-bedrock-agent-runtime 3.1137.0 → 3.1139.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
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1138.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -1274,10 +1274,10 @@ const _xabfei = "x-amz-bedrock-flow-execution-id";
|
|
|
1274
1274
|
const _xabkbsi = "x-amzn-bedrock-knowledge-base-session-id";
|
|
1275
1275
|
const _xasa = "x-amz-source-arn";
|
|
1276
1276
|
const n0 = "com.amazonaws.bedrockagentruntime";
|
|
1277
|
-
const _s_registry = TypeRegistry
|
|
1277
|
+
const _s_registry = new TypeRegistry(_s);
|
|
1278
1278
|
var BedrockAgentRuntimeServiceException$ = [-3, _s, "BedrockAgentRuntimeServiceException", 0, [], []];
|
|
1279
1279
|
_s_registry.registerError(BedrockAgentRuntimeServiceException$, BedrockAgentRuntimeServiceException);
|
|
1280
|
-
const n0_registry = TypeRegistry
|
|
1280
|
+
const n0_registry = new TypeRegistry(n0);
|
|
1281
1281
|
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
1282
1282
|
{ [_e]: _c, [_hE]: 403 },
|
|
1283
1283
|
[_m],
|
|
@@ -1009,10 +1009,10 @@ const n0 = "com.amazonaws.bedrockagentruntime";
|
|
|
1009
1009
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
1010
1010
|
import { BedrockAgentRuntimeServiceException } from "../models/BedrockAgentRuntimeServiceException";
|
|
1011
1011
|
import { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, InternalServerException, ModelNotReadyException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
1012
|
-
const _s_registry = TypeRegistry
|
|
1012
|
+
const _s_registry = new TypeRegistry(_s);
|
|
1013
1013
|
export var BedrockAgentRuntimeServiceException$ = [-3, _s, "BedrockAgentRuntimeServiceException", 0, [], []];
|
|
1014
1014
|
_s_registry.registerError(BedrockAgentRuntimeServiceException$, BedrockAgentRuntimeServiceException);
|
|
1015
|
-
const n0_registry = TypeRegistry
|
|
1015
|
+
const n0_registry = new TypeRegistry(n0);
|
|
1016
1016
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
1017
1017
|
{ [_e]: _c, [_hE]: 403 },
|
|
1018
1018
|
[_m],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
|
|
3
3
|
import { type AgenticRetrieveStreamCommandInput, type AgenticRetrieveStreamCommandOutput } from "./commands/AgenticRetrieveStreamCommand";
|
|
4
4
|
import { type CheckIngestedDocumentAclCommandInput, type CheckIngestedDocumentAclCommandOutput } from "./commands/CheckIngestedDocumentAclCommand";
|
|
@@ -35,219 +35,225 @@ import { type StopFlowExecutionCommandInput, type StopFlowExecutionCommandOutput
|
|
|
35
35
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
36
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
37
37
|
import { type UpdateSessionCommandInput, type UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface BedrockAgentRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
42
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
43
|
+
}
|
|
38
44
|
export interface BedrockAgentRuntime {
|
|
39
45
|
/**
|
|
40
46
|
* @see {@link AgenticRetrieveStreamCommand}
|
|
41
47
|
*/
|
|
42
|
-
agenticRetrieveStream(args: AgenticRetrieveStreamCommandInput, options?:
|
|
48
|
+
agenticRetrieveStream(args: AgenticRetrieveStreamCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<AgenticRetrieveStreamCommandOutput>;
|
|
43
49
|
agenticRetrieveStream(args: AgenticRetrieveStreamCommandInput, cb: (err: any, data?: AgenticRetrieveStreamCommandOutput) => void): void;
|
|
44
|
-
agenticRetrieveStream(args: AgenticRetrieveStreamCommandInput, options:
|
|
50
|
+
agenticRetrieveStream(args: AgenticRetrieveStreamCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: AgenticRetrieveStreamCommandOutput) => void): void;
|
|
45
51
|
/**
|
|
46
52
|
* @see {@link CheckIngestedDocumentAclCommand}
|
|
47
53
|
*/
|
|
48
|
-
checkIngestedDocumentAcl(args: CheckIngestedDocumentAclCommandInput, options?:
|
|
54
|
+
checkIngestedDocumentAcl(args: CheckIngestedDocumentAclCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<CheckIngestedDocumentAclCommandOutput>;
|
|
49
55
|
checkIngestedDocumentAcl(args: CheckIngestedDocumentAclCommandInput, cb: (err: any, data?: CheckIngestedDocumentAclCommandOutput) => void): void;
|
|
50
|
-
checkIngestedDocumentAcl(args: CheckIngestedDocumentAclCommandInput, options:
|
|
56
|
+
checkIngestedDocumentAcl(args: CheckIngestedDocumentAclCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: CheckIngestedDocumentAclCommandOutput) => void): void;
|
|
51
57
|
/**
|
|
52
58
|
* @see {@link CreateInvocationCommand}
|
|
53
59
|
*/
|
|
54
|
-
createInvocation(args: CreateInvocationCommandInput, options?:
|
|
60
|
+
createInvocation(args: CreateInvocationCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<CreateInvocationCommandOutput>;
|
|
55
61
|
createInvocation(args: CreateInvocationCommandInput, cb: (err: any, data?: CreateInvocationCommandOutput) => void): void;
|
|
56
|
-
createInvocation(args: CreateInvocationCommandInput, options:
|
|
62
|
+
createInvocation(args: CreateInvocationCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: CreateInvocationCommandOutput) => void): void;
|
|
57
63
|
/**
|
|
58
64
|
* @see {@link CreateSessionCommand}
|
|
59
65
|
*/
|
|
60
66
|
createSession(): Promise<CreateSessionCommandOutput>;
|
|
61
|
-
createSession(args: CreateSessionCommandInput, options?:
|
|
67
|
+
createSession(args: CreateSessionCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<CreateSessionCommandOutput>;
|
|
62
68
|
createSession(args: CreateSessionCommandInput, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
|
|
63
|
-
createSession(args: CreateSessionCommandInput, options:
|
|
69
|
+
createSession(args: CreateSessionCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: CreateSessionCommandOutput) => void): void;
|
|
64
70
|
/**
|
|
65
71
|
* @see {@link DeleteAgentMemoryCommand}
|
|
66
72
|
*/
|
|
67
|
-
deleteAgentMemory(args: DeleteAgentMemoryCommandInput, options?:
|
|
73
|
+
deleteAgentMemory(args: DeleteAgentMemoryCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<DeleteAgentMemoryCommandOutput>;
|
|
68
74
|
deleteAgentMemory(args: DeleteAgentMemoryCommandInput, cb: (err: any, data?: DeleteAgentMemoryCommandOutput) => void): void;
|
|
69
|
-
deleteAgentMemory(args: DeleteAgentMemoryCommandInput, options:
|
|
75
|
+
deleteAgentMemory(args: DeleteAgentMemoryCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: DeleteAgentMemoryCommandOutput) => void): void;
|
|
70
76
|
/**
|
|
71
77
|
* @see {@link DeleteSessionCommand}
|
|
72
78
|
*/
|
|
73
|
-
deleteSession(args: DeleteSessionCommandInput, options?:
|
|
79
|
+
deleteSession(args: DeleteSessionCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<DeleteSessionCommandOutput>;
|
|
74
80
|
deleteSession(args: DeleteSessionCommandInput, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
|
|
75
|
-
deleteSession(args: DeleteSessionCommandInput, options:
|
|
81
|
+
deleteSession(args: DeleteSessionCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
|
|
76
82
|
/**
|
|
77
83
|
* @see {@link EndSessionCommand}
|
|
78
84
|
*/
|
|
79
|
-
endSession(args: EndSessionCommandInput, options?:
|
|
85
|
+
endSession(args: EndSessionCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<EndSessionCommandOutput>;
|
|
80
86
|
endSession(args: EndSessionCommandInput, cb: (err: any, data?: EndSessionCommandOutput) => void): void;
|
|
81
|
-
endSession(args: EndSessionCommandInput, options:
|
|
87
|
+
endSession(args: EndSessionCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: EndSessionCommandOutput) => void): void;
|
|
82
88
|
/**
|
|
83
89
|
* @see {@link GenerateQueryCommand}
|
|
84
90
|
*/
|
|
85
|
-
generateQuery(args: GenerateQueryCommandInput, options?:
|
|
91
|
+
generateQuery(args: GenerateQueryCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<GenerateQueryCommandOutput>;
|
|
86
92
|
generateQuery(args: GenerateQueryCommandInput, cb: (err: any, data?: GenerateQueryCommandOutput) => void): void;
|
|
87
|
-
generateQuery(args: GenerateQueryCommandInput, options:
|
|
93
|
+
generateQuery(args: GenerateQueryCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: GenerateQueryCommandOutput) => void): void;
|
|
88
94
|
/**
|
|
89
95
|
* @see {@link GetAgentMemoryCommand}
|
|
90
96
|
*/
|
|
91
|
-
getAgentMemory(args: GetAgentMemoryCommandInput, options?:
|
|
97
|
+
getAgentMemory(args: GetAgentMemoryCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<GetAgentMemoryCommandOutput>;
|
|
92
98
|
getAgentMemory(args: GetAgentMemoryCommandInput, cb: (err: any, data?: GetAgentMemoryCommandOutput) => void): void;
|
|
93
|
-
getAgentMemory(args: GetAgentMemoryCommandInput, options:
|
|
99
|
+
getAgentMemory(args: GetAgentMemoryCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: GetAgentMemoryCommandOutput) => void): void;
|
|
94
100
|
/**
|
|
95
101
|
* @see {@link GetDocumentContentCommand}
|
|
96
102
|
*/
|
|
97
|
-
getDocumentContent(args: GetDocumentContentCommandInput, options?:
|
|
103
|
+
getDocumentContent(args: GetDocumentContentCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<GetDocumentContentCommandOutput>;
|
|
98
104
|
getDocumentContent(args: GetDocumentContentCommandInput, cb: (err: any, data?: GetDocumentContentCommandOutput) => void): void;
|
|
99
|
-
getDocumentContent(args: GetDocumentContentCommandInput, options:
|
|
105
|
+
getDocumentContent(args: GetDocumentContentCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: GetDocumentContentCommandOutput) => void): void;
|
|
100
106
|
/**
|
|
101
107
|
* @see {@link GetExecutionFlowSnapshotCommand}
|
|
102
108
|
*/
|
|
103
|
-
getExecutionFlowSnapshot(args: GetExecutionFlowSnapshotCommandInput, options?:
|
|
109
|
+
getExecutionFlowSnapshot(args: GetExecutionFlowSnapshotCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<GetExecutionFlowSnapshotCommandOutput>;
|
|
104
110
|
getExecutionFlowSnapshot(args: GetExecutionFlowSnapshotCommandInput, cb: (err: any, data?: GetExecutionFlowSnapshotCommandOutput) => void): void;
|
|
105
|
-
getExecutionFlowSnapshot(args: GetExecutionFlowSnapshotCommandInput, options:
|
|
111
|
+
getExecutionFlowSnapshot(args: GetExecutionFlowSnapshotCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: GetExecutionFlowSnapshotCommandOutput) => void): void;
|
|
106
112
|
/**
|
|
107
113
|
* @see {@link GetFlowExecutionCommand}
|
|
108
114
|
*/
|
|
109
|
-
getFlowExecution(args: GetFlowExecutionCommandInput, options?:
|
|
115
|
+
getFlowExecution(args: GetFlowExecutionCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<GetFlowExecutionCommandOutput>;
|
|
110
116
|
getFlowExecution(args: GetFlowExecutionCommandInput, cb: (err: any, data?: GetFlowExecutionCommandOutput) => void): void;
|
|
111
|
-
getFlowExecution(args: GetFlowExecutionCommandInput, options:
|
|
117
|
+
getFlowExecution(args: GetFlowExecutionCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: GetFlowExecutionCommandOutput) => void): void;
|
|
112
118
|
/**
|
|
113
119
|
* @see {@link GetIngestedDocumentAclCommand}
|
|
114
120
|
*/
|
|
115
|
-
getIngestedDocumentAcl(args: GetIngestedDocumentAclCommandInput, options?:
|
|
121
|
+
getIngestedDocumentAcl(args: GetIngestedDocumentAclCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<GetIngestedDocumentAclCommandOutput>;
|
|
116
122
|
getIngestedDocumentAcl(args: GetIngestedDocumentAclCommandInput, cb: (err: any, data?: GetIngestedDocumentAclCommandOutput) => void): void;
|
|
117
|
-
getIngestedDocumentAcl(args: GetIngestedDocumentAclCommandInput, options:
|
|
123
|
+
getIngestedDocumentAcl(args: GetIngestedDocumentAclCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: GetIngestedDocumentAclCommandOutput) => void): void;
|
|
118
124
|
/**
|
|
119
125
|
* @see {@link GetInvocationStepCommand}
|
|
120
126
|
*/
|
|
121
|
-
getInvocationStep(args: GetInvocationStepCommandInput, options?:
|
|
127
|
+
getInvocationStep(args: GetInvocationStepCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<GetInvocationStepCommandOutput>;
|
|
122
128
|
getInvocationStep(args: GetInvocationStepCommandInput, cb: (err: any, data?: GetInvocationStepCommandOutput) => void): void;
|
|
123
|
-
getInvocationStep(args: GetInvocationStepCommandInput, options:
|
|
129
|
+
getInvocationStep(args: GetInvocationStepCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: GetInvocationStepCommandOutput) => void): void;
|
|
124
130
|
/**
|
|
125
131
|
* @see {@link GetSessionCommand}
|
|
126
132
|
*/
|
|
127
|
-
getSession(args: GetSessionCommandInput, options?:
|
|
133
|
+
getSession(args: GetSessionCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<GetSessionCommandOutput>;
|
|
128
134
|
getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
129
|
-
getSession(args: GetSessionCommandInput, options:
|
|
135
|
+
getSession(args: GetSessionCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
|
|
130
136
|
/**
|
|
131
137
|
* @see {@link InvokeAgentCommand}
|
|
132
138
|
*/
|
|
133
|
-
invokeAgent(args: InvokeAgentCommandInput, options?:
|
|
139
|
+
invokeAgent(args: InvokeAgentCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<InvokeAgentCommandOutput>;
|
|
134
140
|
invokeAgent(args: InvokeAgentCommandInput, cb: (err: any, data?: InvokeAgentCommandOutput) => void): void;
|
|
135
|
-
invokeAgent(args: InvokeAgentCommandInput, options:
|
|
141
|
+
invokeAgent(args: InvokeAgentCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: InvokeAgentCommandOutput) => void): void;
|
|
136
142
|
/**
|
|
137
143
|
* @see {@link InvokeFlowCommand}
|
|
138
144
|
*/
|
|
139
|
-
invokeFlow(args: InvokeFlowCommandInput, options?:
|
|
145
|
+
invokeFlow(args: InvokeFlowCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<InvokeFlowCommandOutput>;
|
|
140
146
|
invokeFlow(args: InvokeFlowCommandInput, cb: (err: any, data?: InvokeFlowCommandOutput) => void): void;
|
|
141
|
-
invokeFlow(args: InvokeFlowCommandInput, options:
|
|
147
|
+
invokeFlow(args: InvokeFlowCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: InvokeFlowCommandOutput) => void): void;
|
|
142
148
|
/**
|
|
143
149
|
* @see {@link InvokeInlineAgentCommand}
|
|
144
150
|
*/
|
|
145
|
-
invokeInlineAgent(args: InvokeInlineAgentCommandInput, options?:
|
|
151
|
+
invokeInlineAgent(args: InvokeInlineAgentCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<InvokeInlineAgentCommandOutput>;
|
|
146
152
|
invokeInlineAgent(args: InvokeInlineAgentCommandInput, cb: (err: any, data?: InvokeInlineAgentCommandOutput) => void): void;
|
|
147
|
-
invokeInlineAgent(args: InvokeInlineAgentCommandInput, options:
|
|
153
|
+
invokeInlineAgent(args: InvokeInlineAgentCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: InvokeInlineAgentCommandOutput) => void): void;
|
|
148
154
|
/**
|
|
149
155
|
* @see {@link ListFlowExecutionEventsCommand}
|
|
150
156
|
*/
|
|
151
|
-
listFlowExecutionEvents(args: ListFlowExecutionEventsCommandInput, options?:
|
|
157
|
+
listFlowExecutionEvents(args: ListFlowExecutionEventsCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<ListFlowExecutionEventsCommandOutput>;
|
|
152
158
|
listFlowExecutionEvents(args: ListFlowExecutionEventsCommandInput, cb: (err: any, data?: ListFlowExecutionEventsCommandOutput) => void): void;
|
|
153
|
-
listFlowExecutionEvents(args: ListFlowExecutionEventsCommandInput, options:
|
|
159
|
+
listFlowExecutionEvents(args: ListFlowExecutionEventsCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: ListFlowExecutionEventsCommandOutput) => void): void;
|
|
154
160
|
/**
|
|
155
161
|
* @see {@link ListFlowExecutionsCommand}
|
|
156
162
|
*/
|
|
157
|
-
listFlowExecutions(args: ListFlowExecutionsCommandInput, options?:
|
|
163
|
+
listFlowExecutions(args: ListFlowExecutionsCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<ListFlowExecutionsCommandOutput>;
|
|
158
164
|
listFlowExecutions(args: ListFlowExecutionsCommandInput, cb: (err: any, data?: ListFlowExecutionsCommandOutput) => void): void;
|
|
159
|
-
listFlowExecutions(args: ListFlowExecutionsCommandInput, options:
|
|
165
|
+
listFlowExecutions(args: ListFlowExecutionsCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: ListFlowExecutionsCommandOutput) => void): void;
|
|
160
166
|
/**
|
|
161
167
|
* @see {@link ListInvocationsCommand}
|
|
162
168
|
*/
|
|
163
|
-
listInvocations(args: ListInvocationsCommandInput, options?:
|
|
169
|
+
listInvocations(args: ListInvocationsCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<ListInvocationsCommandOutput>;
|
|
164
170
|
listInvocations(args: ListInvocationsCommandInput, cb: (err: any, data?: ListInvocationsCommandOutput) => void): void;
|
|
165
|
-
listInvocations(args: ListInvocationsCommandInput, options:
|
|
171
|
+
listInvocations(args: ListInvocationsCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: ListInvocationsCommandOutput) => void): void;
|
|
166
172
|
/**
|
|
167
173
|
* @see {@link ListInvocationStepsCommand}
|
|
168
174
|
*/
|
|
169
|
-
listInvocationSteps(args: ListInvocationStepsCommandInput, options?:
|
|
175
|
+
listInvocationSteps(args: ListInvocationStepsCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<ListInvocationStepsCommandOutput>;
|
|
170
176
|
listInvocationSteps(args: ListInvocationStepsCommandInput, cb: (err: any, data?: ListInvocationStepsCommandOutput) => void): void;
|
|
171
|
-
listInvocationSteps(args: ListInvocationStepsCommandInput, options:
|
|
177
|
+
listInvocationSteps(args: ListInvocationStepsCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: ListInvocationStepsCommandOutput) => void): void;
|
|
172
178
|
/**
|
|
173
179
|
* @see {@link ListSessionsCommand}
|
|
174
180
|
*/
|
|
175
181
|
listSessions(): Promise<ListSessionsCommandOutput>;
|
|
176
|
-
listSessions(args: ListSessionsCommandInput, options?:
|
|
182
|
+
listSessions(args: ListSessionsCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<ListSessionsCommandOutput>;
|
|
177
183
|
listSessions(args: ListSessionsCommandInput, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
|
|
178
|
-
listSessions(args: ListSessionsCommandInput, options:
|
|
184
|
+
listSessions(args: ListSessionsCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
|
|
179
185
|
/**
|
|
180
186
|
* @see {@link ListTagsForResourceCommand}
|
|
181
187
|
*/
|
|
182
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?:
|
|
188
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
183
189
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
184
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options:
|
|
190
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
185
191
|
/**
|
|
186
192
|
* @see {@link OptimizePromptCommand}
|
|
187
193
|
*/
|
|
188
|
-
optimizePrompt(args: OptimizePromptCommandInput, options?:
|
|
194
|
+
optimizePrompt(args: OptimizePromptCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<OptimizePromptCommandOutput>;
|
|
189
195
|
optimizePrompt(args: OptimizePromptCommandInput, cb: (err: any, data?: OptimizePromptCommandOutput) => void): void;
|
|
190
|
-
optimizePrompt(args: OptimizePromptCommandInput, options:
|
|
196
|
+
optimizePrompt(args: OptimizePromptCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: OptimizePromptCommandOutput) => void): void;
|
|
191
197
|
/**
|
|
192
198
|
* @see {@link PutInvocationStepCommand}
|
|
193
199
|
*/
|
|
194
|
-
putInvocationStep(args: PutInvocationStepCommandInput, options?:
|
|
200
|
+
putInvocationStep(args: PutInvocationStepCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<PutInvocationStepCommandOutput>;
|
|
195
201
|
putInvocationStep(args: PutInvocationStepCommandInput, cb: (err: any, data?: PutInvocationStepCommandOutput) => void): void;
|
|
196
|
-
putInvocationStep(args: PutInvocationStepCommandInput, options:
|
|
202
|
+
putInvocationStep(args: PutInvocationStepCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: PutInvocationStepCommandOutput) => void): void;
|
|
197
203
|
/**
|
|
198
204
|
* @see {@link RerankCommand}
|
|
199
205
|
*/
|
|
200
|
-
rerank(args: RerankCommandInput, options?:
|
|
206
|
+
rerank(args: RerankCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<RerankCommandOutput>;
|
|
201
207
|
rerank(args: RerankCommandInput, cb: (err: any, data?: RerankCommandOutput) => void): void;
|
|
202
|
-
rerank(args: RerankCommandInput, options:
|
|
208
|
+
rerank(args: RerankCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: RerankCommandOutput) => void): void;
|
|
203
209
|
/**
|
|
204
210
|
* @see {@link RetrieveCommand}
|
|
205
211
|
*/
|
|
206
|
-
retrieve(args: RetrieveCommandInput, options?:
|
|
212
|
+
retrieve(args: RetrieveCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<RetrieveCommandOutput>;
|
|
207
213
|
retrieve(args: RetrieveCommandInput, cb: (err: any, data?: RetrieveCommandOutput) => void): void;
|
|
208
|
-
retrieve(args: RetrieveCommandInput, options:
|
|
214
|
+
retrieve(args: RetrieveCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: RetrieveCommandOutput) => void): void;
|
|
209
215
|
/**
|
|
210
216
|
* @see {@link RetrieveAndGenerateCommand}
|
|
211
217
|
*/
|
|
212
|
-
retrieveAndGenerate(args: RetrieveAndGenerateCommandInput, options?:
|
|
218
|
+
retrieveAndGenerate(args: RetrieveAndGenerateCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<RetrieveAndGenerateCommandOutput>;
|
|
213
219
|
retrieveAndGenerate(args: RetrieveAndGenerateCommandInput, cb: (err: any, data?: RetrieveAndGenerateCommandOutput) => void): void;
|
|
214
|
-
retrieveAndGenerate(args: RetrieveAndGenerateCommandInput, options:
|
|
220
|
+
retrieveAndGenerate(args: RetrieveAndGenerateCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: RetrieveAndGenerateCommandOutput) => void): void;
|
|
215
221
|
/**
|
|
216
222
|
* @see {@link RetrieveAndGenerateStreamCommand}
|
|
217
223
|
*/
|
|
218
|
-
retrieveAndGenerateStream(args: RetrieveAndGenerateStreamCommandInput, options?:
|
|
224
|
+
retrieveAndGenerateStream(args: RetrieveAndGenerateStreamCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<RetrieveAndGenerateStreamCommandOutput>;
|
|
219
225
|
retrieveAndGenerateStream(args: RetrieveAndGenerateStreamCommandInput, cb: (err: any, data?: RetrieveAndGenerateStreamCommandOutput) => void): void;
|
|
220
|
-
retrieveAndGenerateStream(args: RetrieveAndGenerateStreamCommandInput, options:
|
|
226
|
+
retrieveAndGenerateStream(args: RetrieveAndGenerateStreamCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: RetrieveAndGenerateStreamCommandOutput) => void): void;
|
|
221
227
|
/**
|
|
222
228
|
* @see {@link StartFlowExecutionCommand}
|
|
223
229
|
*/
|
|
224
|
-
startFlowExecution(args: StartFlowExecutionCommandInput, options?:
|
|
230
|
+
startFlowExecution(args: StartFlowExecutionCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<StartFlowExecutionCommandOutput>;
|
|
225
231
|
startFlowExecution(args: StartFlowExecutionCommandInput, cb: (err: any, data?: StartFlowExecutionCommandOutput) => void): void;
|
|
226
|
-
startFlowExecution(args: StartFlowExecutionCommandInput, options:
|
|
232
|
+
startFlowExecution(args: StartFlowExecutionCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: StartFlowExecutionCommandOutput) => void): void;
|
|
227
233
|
/**
|
|
228
234
|
* @see {@link StopFlowExecutionCommand}
|
|
229
235
|
*/
|
|
230
|
-
stopFlowExecution(args: StopFlowExecutionCommandInput, options?:
|
|
236
|
+
stopFlowExecution(args: StopFlowExecutionCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<StopFlowExecutionCommandOutput>;
|
|
231
237
|
stopFlowExecution(args: StopFlowExecutionCommandInput, cb: (err: any, data?: StopFlowExecutionCommandOutput) => void): void;
|
|
232
|
-
stopFlowExecution(args: StopFlowExecutionCommandInput, options:
|
|
238
|
+
stopFlowExecution(args: StopFlowExecutionCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: StopFlowExecutionCommandOutput) => void): void;
|
|
233
239
|
/**
|
|
234
240
|
* @see {@link TagResourceCommand}
|
|
235
241
|
*/
|
|
236
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
242
|
+
tagResource(args: TagResourceCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<TagResourceCommandOutput>;
|
|
237
243
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
238
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
244
|
+
tagResource(args: TagResourceCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
239
245
|
/**
|
|
240
246
|
* @see {@link UntagResourceCommand}
|
|
241
247
|
*/
|
|
242
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
248
|
+
untagResource(args: UntagResourceCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
243
249
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
244
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
250
|
+
untagResource(args: UntagResourceCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
245
251
|
/**
|
|
246
252
|
* @see {@link UpdateSessionCommand}
|
|
247
253
|
*/
|
|
248
|
-
updateSession(args: UpdateSessionCommandInput, options?:
|
|
254
|
+
updateSession(args: UpdateSessionCommandInput, options?: BedrockAgentRuntimeRequestOptions): Promise<UpdateSessionCommandOutput>;
|
|
249
255
|
updateSession(args: UpdateSessionCommandInput, cb: (err: any, data?: UpdateSessionCommandOutput) => void): void;
|
|
250
|
-
updateSession(args: UpdateSessionCommandInput, options:
|
|
256
|
+
updateSession(args: UpdateSessionCommandInput, options: BedrockAgentRuntimeRequestOptions, cb: (err: any, data?: UpdateSessionCommandOutput) => void): void;
|
|
251
257
|
/**
|
|
252
258
|
* @see {@link GetAgentMemoryCommand}
|
|
253
259
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -123,10 +124,13 @@ import {
|
|
|
123
124
|
UpdateSessionCommandInput,
|
|
124
125
|
UpdateSessionCommandOutput,
|
|
125
126
|
} from "./commands/UpdateSessionCommand";
|
|
127
|
+
export interface BedrockAgentRuntimeRequestOptions extends __HttpHandlerOptions {
|
|
128
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
129
|
+
}
|
|
126
130
|
export interface BedrockAgentRuntime {
|
|
127
131
|
agenticRetrieveStream(
|
|
128
132
|
args: AgenticRetrieveStreamCommandInput,
|
|
129
|
-
options?:
|
|
133
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
130
134
|
): Promise<AgenticRetrieveStreamCommandOutput>;
|
|
131
135
|
agenticRetrieveStream(
|
|
132
136
|
args: AgenticRetrieveStreamCommandInput,
|
|
@@ -134,12 +138,12 @@ export interface BedrockAgentRuntime {
|
|
|
134
138
|
): void;
|
|
135
139
|
agenticRetrieveStream(
|
|
136
140
|
args: AgenticRetrieveStreamCommandInput,
|
|
137
|
-
options:
|
|
141
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
138
142
|
cb: (err: any, data?: AgenticRetrieveStreamCommandOutput) => void,
|
|
139
143
|
): void;
|
|
140
144
|
checkIngestedDocumentAcl(
|
|
141
145
|
args: CheckIngestedDocumentAclCommandInput,
|
|
142
|
-
options?:
|
|
146
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
143
147
|
): Promise<CheckIngestedDocumentAclCommandOutput>;
|
|
144
148
|
checkIngestedDocumentAcl(
|
|
145
149
|
args: CheckIngestedDocumentAclCommandInput,
|
|
@@ -147,12 +151,12 @@ export interface BedrockAgentRuntime {
|
|
|
147
151
|
): void;
|
|
148
152
|
checkIngestedDocumentAcl(
|
|
149
153
|
args: CheckIngestedDocumentAclCommandInput,
|
|
150
|
-
options:
|
|
154
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
151
155
|
cb: (err: any, data?: CheckIngestedDocumentAclCommandOutput) => void,
|
|
152
156
|
): void;
|
|
153
157
|
createInvocation(
|
|
154
158
|
args: CreateInvocationCommandInput,
|
|
155
|
-
options?:
|
|
159
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
156
160
|
): Promise<CreateInvocationCommandOutput>;
|
|
157
161
|
createInvocation(
|
|
158
162
|
args: CreateInvocationCommandInput,
|
|
@@ -160,13 +164,13 @@ export interface BedrockAgentRuntime {
|
|
|
160
164
|
): void;
|
|
161
165
|
createInvocation(
|
|
162
166
|
args: CreateInvocationCommandInput,
|
|
163
|
-
options:
|
|
167
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
164
168
|
cb: (err: any, data?: CreateInvocationCommandOutput) => void,
|
|
165
169
|
): void;
|
|
166
170
|
createSession(): Promise<CreateSessionCommandOutput>;
|
|
167
171
|
createSession(
|
|
168
172
|
args: CreateSessionCommandInput,
|
|
169
|
-
options?:
|
|
173
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
170
174
|
): Promise<CreateSessionCommandOutput>;
|
|
171
175
|
createSession(
|
|
172
176
|
args: CreateSessionCommandInput,
|
|
@@ -174,12 +178,12 @@ export interface BedrockAgentRuntime {
|
|
|
174
178
|
): void;
|
|
175
179
|
createSession(
|
|
176
180
|
args: CreateSessionCommandInput,
|
|
177
|
-
options:
|
|
181
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
178
182
|
cb: (err: any, data?: CreateSessionCommandOutput) => void,
|
|
179
183
|
): void;
|
|
180
184
|
deleteAgentMemory(
|
|
181
185
|
args: DeleteAgentMemoryCommandInput,
|
|
182
|
-
options?:
|
|
186
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
183
187
|
): Promise<DeleteAgentMemoryCommandOutput>;
|
|
184
188
|
deleteAgentMemory(
|
|
185
189
|
args: DeleteAgentMemoryCommandInput,
|
|
@@ -187,12 +191,12 @@ export interface BedrockAgentRuntime {
|
|
|
187
191
|
): void;
|
|
188
192
|
deleteAgentMemory(
|
|
189
193
|
args: DeleteAgentMemoryCommandInput,
|
|
190
|
-
options:
|
|
194
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
191
195
|
cb: (err: any, data?: DeleteAgentMemoryCommandOutput) => void,
|
|
192
196
|
): void;
|
|
193
197
|
deleteSession(
|
|
194
198
|
args: DeleteSessionCommandInput,
|
|
195
|
-
options?:
|
|
199
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
196
200
|
): Promise<DeleteSessionCommandOutput>;
|
|
197
201
|
deleteSession(
|
|
198
202
|
args: DeleteSessionCommandInput,
|
|
@@ -200,12 +204,12 @@ export interface BedrockAgentRuntime {
|
|
|
200
204
|
): void;
|
|
201
205
|
deleteSession(
|
|
202
206
|
args: DeleteSessionCommandInput,
|
|
203
|
-
options:
|
|
207
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
204
208
|
cb: (err: any, data?: DeleteSessionCommandOutput) => void,
|
|
205
209
|
): void;
|
|
206
210
|
endSession(
|
|
207
211
|
args: EndSessionCommandInput,
|
|
208
|
-
options?:
|
|
212
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
209
213
|
): Promise<EndSessionCommandOutput>;
|
|
210
214
|
endSession(
|
|
211
215
|
args: EndSessionCommandInput,
|
|
@@ -213,12 +217,12 @@ export interface BedrockAgentRuntime {
|
|
|
213
217
|
): void;
|
|
214
218
|
endSession(
|
|
215
219
|
args: EndSessionCommandInput,
|
|
216
|
-
options:
|
|
220
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
217
221
|
cb: (err: any, data?: EndSessionCommandOutput) => void,
|
|
218
222
|
): void;
|
|
219
223
|
generateQuery(
|
|
220
224
|
args: GenerateQueryCommandInput,
|
|
221
|
-
options?:
|
|
225
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
222
226
|
): Promise<GenerateQueryCommandOutput>;
|
|
223
227
|
generateQuery(
|
|
224
228
|
args: GenerateQueryCommandInput,
|
|
@@ -226,12 +230,12 @@ export interface BedrockAgentRuntime {
|
|
|
226
230
|
): void;
|
|
227
231
|
generateQuery(
|
|
228
232
|
args: GenerateQueryCommandInput,
|
|
229
|
-
options:
|
|
233
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
230
234
|
cb: (err: any, data?: GenerateQueryCommandOutput) => void,
|
|
231
235
|
): void;
|
|
232
236
|
getAgentMemory(
|
|
233
237
|
args: GetAgentMemoryCommandInput,
|
|
234
|
-
options?:
|
|
238
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
235
239
|
): Promise<GetAgentMemoryCommandOutput>;
|
|
236
240
|
getAgentMemory(
|
|
237
241
|
args: GetAgentMemoryCommandInput,
|
|
@@ -239,12 +243,12 @@ export interface BedrockAgentRuntime {
|
|
|
239
243
|
): void;
|
|
240
244
|
getAgentMemory(
|
|
241
245
|
args: GetAgentMemoryCommandInput,
|
|
242
|
-
options:
|
|
246
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
243
247
|
cb: (err: any, data?: GetAgentMemoryCommandOutput) => void,
|
|
244
248
|
): void;
|
|
245
249
|
getDocumentContent(
|
|
246
250
|
args: GetDocumentContentCommandInput,
|
|
247
|
-
options?:
|
|
251
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
248
252
|
): Promise<GetDocumentContentCommandOutput>;
|
|
249
253
|
getDocumentContent(
|
|
250
254
|
args: GetDocumentContentCommandInput,
|
|
@@ -252,12 +256,12 @@ export interface BedrockAgentRuntime {
|
|
|
252
256
|
): void;
|
|
253
257
|
getDocumentContent(
|
|
254
258
|
args: GetDocumentContentCommandInput,
|
|
255
|
-
options:
|
|
259
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
256
260
|
cb: (err: any, data?: GetDocumentContentCommandOutput) => void,
|
|
257
261
|
): void;
|
|
258
262
|
getExecutionFlowSnapshot(
|
|
259
263
|
args: GetExecutionFlowSnapshotCommandInput,
|
|
260
|
-
options?:
|
|
264
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
261
265
|
): Promise<GetExecutionFlowSnapshotCommandOutput>;
|
|
262
266
|
getExecutionFlowSnapshot(
|
|
263
267
|
args: GetExecutionFlowSnapshotCommandInput,
|
|
@@ -265,12 +269,12 @@ export interface BedrockAgentRuntime {
|
|
|
265
269
|
): void;
|
|
266
270
|
getExecutionFlowSnapshot(
|
|
267
271
|
args: GetExecutionFlowSnapshotCommandInput,
|
|
268
|
-
options:
|
|
272
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
269
273
|
cb: (err: any, data?: GetExecutionFlowSnapshotCommandOutput) => void,
|
|
270
274
|
): void;
|
|
271
275
|
getFlowExecution(
|
|
272
276
|
args: GetFlowExecutionCommandInput,
|
|
273
|
-
options?:
|
|
277
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
274
278
|
): Promise<GetFlowExecutionCommandOutput>;
|
|
275
279
|
getFlowExecution(
|
|
276
280
|
args: GetFlowExecutionCommandInput,
|
|
@@ -278,12 +282,12 @@ export interface BedrockAgentRuntime {
|
|
|
278
282
|
): void;
|
|
279
283
|
getFlowExecution(
|
|
280
284
|
args: GetFlowExecutionCommandInput,
|
|
281
|
-
options:
|
|
285
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
282
286
|
cb: (err: any, data?: GetFlowExecutionCommandOutput) => void,
|
|
283
287
|
): void;
|
|
284
288
|
getIngestedDocumentAcl(
|
|
285
289
|
args: GetIngestedDocumentAclCommandInput,
|
|
286
|
-
options?:
|
|
290
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
287
291
|
): Promise<GetIngestedDocumentAclCommandOutput>;
|
|
288
292
|
getIngestedDocumentAcl(
|
|
289
293
|
args: GetIngestedDocumentAclCommandInput,
|
|
@@ -291,12 +295,12 @@ export interface BedrockAgentRuntime {
|
|
|
291
295
|
): void;
|
|
292
296
|
getIngestedDocumentAcl(
|
|
293
297
|
args: GetIngestedDocumentAclCommandInput,
|
|
294
|
-
options:
|
|
298
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
295
299
|
cb: (err: any, data?: GetIngestedDocumentAclCommandOutput) => void,
|
|
296
300
|
): void;
|
|
297
301
|
getInvocationStep(
|
|
298
302
|
args: GetInvocationStepCommandInput,
|
|
299
|
-
options?:
|
|
303
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
300
304
|
): Promise<GetInvocationStepCommandOutput>;
|
|
301
305
|
getInvocationStep(
|
|
302
306
|
args: GetInvocationStepCommandInput,
|
|
@@ -304,12 +308,12 @@ export interface BedrockAgentRuntime {
|
|
|
304
308
|
): void;
|
|
305
309
|
getInvocationStep(
|
|
306
310
|
args: GetInvocationStepCommandInput,
|
|
307
|
-
options:
|
|
311
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
308
312
|
cb: (err: any, data?: GetInvocationStepCommandOutput) => void,
|
|
309
313
|
): void;
|
|
310
314
|
getSession(
|
|
311
315
|
args: GetSessionCommandInput,
|
|
312
|
-
options?:
|
|
316
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
313
317
|
): Promise<GetSessionCommandOutput>;
|
|
314
318
|
getSession(
|
|
315
319
|
args: GetSessionCommandInput,
|
|
@@ -317,12 +321,12 @@ export interface BedrockAgentRuntime {
|
|
|
317
321
|
): void;
|
|
318
322
|
getSession(
|
|
319
323
|
args: GetSessionCommandInput,
|
|
320
|
-
options:
|
|
324
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
321
325
|
cb: (err: any, data?: GetSessionCommandOutput) => void,
|
|
322
326
|
): void;
|
|
323
327
|
invokeAgent(
|
|
324
328
|
args: InvokeAgentCommandInput,
|
|
325
|
-
options?:
|
|
329
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
326
330
|
): Promise<InvokeAgentCommandOutput>;
|
|
327
331
|
invokeAgent(
|
|
328
332
|
args: InvokeAgentCommandInput,
|
|
@@ -330,12 +334,12 @@ export interface BedrockAgentRuntime {
|
|
|
330
334
|
): void;
|
|
331
335
|
invokeAgent(
|
|
332
336
|
args: InvokeAgentCommandInput,
|
|
333
|
-
options:
|
|
337
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
334
338
|
cb: (err: any, data?: InvokeAgentCommandOutput) => void,
|
|
335
339
|
): void;
|
|
336
340
|
invokeFlow(
|
|
337
341
|
args: InvokeFlowCommandInput,
|
|
338
|
-
options?:
|
|
342
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
339
343
|
): Promise<InvokeFlowCommandOutput>;
|
|
340
344
|
invokeFlow(
|
|
341
345
|
args: InvokeFlowCommandInput,
|
|
@@ -343,12 +347,12 @@ export interface BedrockAgentRuntime {
|
|
|
343
347
|
): void;
|
|
344
348
|
invokeFlow(
|
|
345
349
|
args: InvokeFlowCommandInput,
|
|
346
|
-
options:
|
|
350
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
347
351
|
cb: (err: any, data?: InvokeFlowCommandOutput) => void,
|
|
348
352
|
): void;
|
|
349
353
|
invokeInlineAgent(
|
|
350
354
|
args: InvokeInlineAgentCommandInput,
|
|
351
|
-
options?:
|
|
355
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
352
356
|
): Promise<InvokeInlineAgentCommandOutput>;
|
|
353
357
|
invokeInlineAgent(
|
|
354
358
|
args: InvokeInlineAgentCommandInput,
|
|
@@ -356,12 +360,12 @@ export interface BedrockAgentRuntime {
|
|
|
356
360
|
): void;
|
|
357
361
|
invokeInlineAgent(
|
|
358
362
|
args: InvokeInlineAgentCommandInput,
|
|
359
|
-
options:
|
|
363
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
360
364
|
cb: (err: any, data?: InvokeInlineAgentCommandOutput) => void,
|
|
361
365
|
): void;
|
|
362
366
|
listFlowExecutionEvents(
|
|
363
367
|
args: ListFlowExecutionEventsCommandInput,
|
|
364
|
-
options?:
|
|
368
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
365
369
|
): Promise<ListFlowExecutionEventsCommandOutput>;
|
|
366
370
|
listFlowExecutionEvents(
|
|
367
371
|
args: ListFlowExecutionEventsCommandInput,
|
|
@@ -369,12 +373,12 @@ export interface BedrockAgentRuntime {
|
|
|
369
373
|
): void;
|
|
370
374
|
listFlowExecutionEvents(
|
|
371
375
|
args: ListFlowExecutionEventsCommandInput,
|
|
372
|
-
options:
|
|
376
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
373
377
|
cb: (err: any, data?: ListFlowExecutionEventsCommandOutput) => void,
|
|
374
378
|
): void;
|
|
375
379
|
listFlowExecutions(
|
|
376
380
|
args: ListFlowExecutionsCommandInput,
|
|
377
|
-
options?:
|
|
381
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
378
382
|
): Promise<ListFlowExecutionsCommandOutput>;
|
|
379
383
|
listFlowExecutions(
|
|
380
384
|
args: ListFlowExecutionsCommandInput,
|
|
@@ -382,12 +386,12 @@ export interface BedrockAgentRuntime {
|
|
|
382
386
|
): void;
|
|
383
387
|
listFlowExecutions(
|
|
384
388
|
args: ListFlowExecutionsCommandInput,
|
|
385
|
-
options:
|
|
389
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
386
390
|
cb: (err: any, data?: ListFlowExecutionsCommandOutput) => void,
|
|
387
391
|
): void;
|
|
388
392
|
listInvocations(
|
|
389
393
|
args: ListInvocationsCommandInput,
|
|
390
|
-
options?:
|
|
394
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
391
395
|
): Promise<ListInvocationsCommandOutput>;
|
|
392
396
|
listInvocations(
|
|
393
397
|
args: ListInvocationsCommandInput,
|
|
@@ -395,12 +399,12 @@ export interface BedrockAgentRuntime {
|
|
|
395
399
|
): void;
|
|
396
400
|
listInvocations(
|
|
397
401
|
args: ListInvocationsCommandInput,
|
|
398
|
-
options:
|
|
402
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
399
403
|
cb: (err: any, data?: ListInvocationsCommandOutput) => void,
|
|
400
404
|
): void;
|
|
401
405
|
listInvocationSteps(
|
|
402
406
|
args: ListInvocationStepsCommandInput,
|
|
403
|
-
options?:
|
|
407
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
404
408
|
): Promise<ListInvocationStepsCommandOutput>;
|
|
405
409
|
listInvocationSteps(
|
|
406
410
|
args: ListInvocationStepsCommandInput,
|
|
@@ -408,13 +412,13 @@ export interface BedrockAgentRuntime {
|
|
|
408
412
|
): void;
|
|
409
413
|
listInvocationSteps(
|
|
410
414
|
args: ListInvocationStepsCommandInput,
|
|
411
|
-
options:
|
|
415
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
412
416
|
cb: (err: any, data?: ListInvocationStepsCommandOutput) => void,
|
|
413
417
|
): void;
|
|
414
418
|
listSessions(): Promise<ListSessionsCommandOutput>;
|
|
415
419
|
listSessions(
|
|
416
420
|
args: ListSessionsCommandInput,
|
|
417
|
-
options?:
|
|
421
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
418
422
|
): Promise<ListSessionsCommandOutput>;
|
|
419
423
|
listSessions(
|
|
420
424
|
args: ListSessionsCommandInput,
|
|
@@ -422,12 +426,12 @@ export interface BedrockAgentRuntime {
|
|
|
422
426
|
): void;
|
|
423
427
|
listSessions(
|
|
424
428
|
args: ListSessionsCommandInput,
|
|
425
|
-
options:
|
|
429
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
426
430
|
cb: (err: any, data?: ListSessionsCommandOutput) => void,
|
|
427
431
|
): void;
|
|
428
432
|
listTagsForResource(
|
|
429
433
|
args: ListTagsForResourceCommandInput,
|
|
430
|
-
options?:
|
|
434
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
431
435
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
432
436
|
listTagsForResource(
|
|
433
437
|
args: ListTagsForResourceCommandInput,
|
|
@@ -435,12 +439,12 @@ export interface BedrockAgentRuntime {
|
|
|
435
439
|
): void;
|
|
436
440
|
listTagsForResource(
|
|
437
441
|
args: ListTagsForResourceCommandInput,
|
|
438
|
-
options:
|
|
442
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
439
443
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
440
444
|
): void;
|
|
441
445
|
optimizePrompt(
|
|
442
446
|
args: OptimizePromptCommandInput,
|
|
443
|
-
options?:
|
|
447
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
444
448
|
): Promise<OptimizePromptCommandOutput>;
|
|
445
449
|
optimizePrompt(
|
|
446
450
|
args: OptimizePromptCommandInput,
|
|
@@ -448,12 +452,12 @@ export interface BedrockAgentRuntime {
|
|
|
448
452
|
): void;
|
|
449
453
|
optimizePrompt(
|
|
450
454
|
args: OptimizePromptCommandInput,
|
|
451
|
-
options:
|
|
455
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
452
456
|
cb: (err: any, data?: OptimizePromptCommandOutput) => void,
|
|
453
457
|
): void;
|
|
454
458
|
putInvocationStep(
|
|
455
459
|
args: PutInvocationStepCommandInput,
|
|
456
|
-
options?:
|
|
460
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
457
461
|
): Promise<PutInvocationStepCommandOutput>;
|
|
458
462
|
putInvocationStep(
|
|
459
463
|
args: PutInvocationStepCommandInput,
|
|
@@ -461,29 +465,32 @@ export interface BedrockAgentRuntime {
|
|
|
461
465
|
): void;
|
|
462
466
|
putInvocationStep(
|
|
463
467
|
args: PutInvocationStepCommandInput,
|
|
464
|
-
options:
|
|
468
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
465
469
|
cb: (err: any, data?: PutInvocationStepCommandOutput) => void,
|
|
466
470
|
): void;
|
|
467
|
-
rerank(
|
|
471
|
+
rerank(
|
|
472
|
+
args: RerankCommandInput,
|
|
473
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
474
|
+
): Promise<RerankCommandOutput>;
|
|
468
475
|
rerank(args: RerankCommandInput, cb: (err: any, data?: RerankCommandOutput) => void): void;
|
|
469
476
|
rerank(
|
|
470
477
|
args: RerankCommandInput,
|
|
471
|
-
options:
|
|
478
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
472
479
|
cb: (err: any, data?: RerankCommandOutput) => void,
|
|
473
480
|
): void;
|
|
474
481
|
retrieve(
|
|
475
482
|
args: RetrieveCommandInput,
|
|
476
|
-
options?:
|
|
483
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
477
484
|
): Promise<RetrieveCommandOutput>;
|
|
478
485
|
retrieve(args: RetrieveCommandInput, cb: (err: any, data?: RetrieveCommandOutput) => void): void;
|
|
479
486
|
retrieve(
|
|
480
487
|
args: RetrieveCommandInput,
|
|
481
|
-
options:
|
|
488
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
482
489
|
cb: (err: any, data?: RetrieveCommandOutput) => void,
|
|
483
490
|
): void;
|
|
484
491
|
retrieveAndGenerate(
|
|
485
492
|
args: RetrieveAndGenerateCommandInput,
|
|
486
|
-
options?:
|
|
493
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
487
494
|
): Promise<RetrieveAndGenerateCommandOutput>;
|
|
488
495
|
retrieveAndGenerate(
|
|
489
496
|
args: RetrieveAndGenerateCommandInput,
|
|
@@ -491,12 +498,12 @@ export interface BedrockAgentRuntime {
|
|
|
491
498
|
): void;
|
|
492
499
|
retrieveAndGenerate(
|
|
493
500
|
args: RetrieveAndGenerateCommandInput,
|
|
494
|
-
options:
|
|
501
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
495
502
|
cb: (err: any, data?: RetrieveAndGenerateCommandOutput) => void,
|
|
496
503
|
): void;
|
|
497
504
|
retrieveAndGenerateStream(
|
|
498
505
|
args: RetrieveAndGenerateStreamCommandInput,
|
|
499
|
-
options?:
|
|
506
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
500
507
|
): Promise<RetrieveAndGenerateStreamCommandOutput>;
|
|
501
508
|
retrieveAndGenerateStream(
|
|
502
509
|
args: RetrieveAndGenerateStreamCommandInput,
|
|
@@ -504,12 +511,12 @@ export interface BedrockAgentRuntime {
|
|
|
504
511
|
): void;
|
|
505
512
|
retrieveAndGenerateStream(
|
|
506
513
|
args: RetrieveAndGenerateStreamCommandInput,
|
|
507
|
-
options:
|
|
514
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
508
515
|
cb: (err: any, data?: RetrieveAndGenerateStreamCommandOutput) => void,
|
|
509
516
|
): void;
|
|
510
517
|
startFlowExecution(
|
|
511
518
|
args: StartFlowExecutionCommandInput,
|
|
512
|
-
options?:
|
|
519
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
513
520
|
): Promise<StartFlowExecutionCommandOutput>;
|
|
514
521
|
startFlowExecution(
|
|
515
522
|
args: StartFlowExecutionCommandInput,
|
|
@@ -517,12 +524,12 @@ export interface BedrockAgentRuntime {
|
|
|
517
524
|
): void;
|
|
518
525
|
startFlowExecution(
|
|
519
526
|
args: StartFlowExecutionCommandInput,
|
|
520
|
-
options:
|
|
527
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
521
528
|
cb: (err: any, data?: StartFlowExecutionCommandOutput) => void,
|
|
522
529
|
): void;
|
|
523
530
|
stopFlowExecution(
|
|
524
531
|
args: StopFlowExecutionCommandInput,
|
|
525
|
-
options?:
|
|
532
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
526
533
|
): Promise<StopFlowExecutionCommandOutput>;
|
|
527
534
|
stopFlowExecution(
|
|
528
535
|
args: StopFlowExecutionCommandInput,
|
|
@@ -530,12 +537,12 @@ export interface BedrockAgentRuntime {
|
|
|
530
537
|
): void;
|
|
531
538
|
stopFlowExecution(
|
|
532
539
|
args: StopFlowExecutionCommandInput,
|
|
533
|
-
options:
|
|
540
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
534
541
|
cb: (err: any, data?: StopFlowExecutionCommandOutput) => void,
|
|
535
542
|
): void;
|
|
536
543
|
tagResource(
|
|
537
544
|
args: TagResourceCommandInput,
|
|
538
|
-
options?:
|
|
545
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
539
546
|
): Promise<TagResourceCommandOutput>;
|
|
540
547
|
tagResource(
|
|
541
548
|
args: TagResourceCommandInput,
|
|
@@ -543,12 +550,12 @@ export interface BedrockAgentRuntime {
|
|
|
543
550
|
): void;
|
|
544
551
|
tagResource(
|
|
545
552
|
args: TagResourceCommandInput,
|
|
546
|
-
options:
|
|
553
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
547
554
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
548
555
|
): void;
|
|
549
556
|
untagResource(
|
|
550
557
|
args: UntagResourceCommandInput,
|
|
551
|
-
options?:
|
|
558
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
552
559
|
): Promise<UntagResourceCommandOutput>;
|
|
553
560
|
untagResource(
|
|
554
561
|
args: UntagResourceCommandInput,
|
|
@@ -556,12 +563,12 @@ export interface BedrockAgentRuntime {
|
|
|
556
563
|
): void;
|
|
557
564
|
untagResource(
|
|
558
565
|
args: UntagResourceCommandInput,
|
|
559
|
-
options:
|
|
566
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
560
567
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
561
568
|
): void;
|
|
562
569
|
updateSession(
|
|
563
570
|
args: UpdateSessionCommandInput,
|
|
564
|
-
options?:
|
|
571
|
+
options?: BedrockAgentRuntimeRequestOptions,
|
|
565
572
|
): Promise<UpdateSessionCommandOutput>;
|
|
566
573
|
updateSession(
|
|
567
574
|
args: UpdateSessionCommandInput,
|
|
@@ -569,7 +576,7 @@ export interface BedrockAgentRuntime {
|
|
|
569
576
|
): void;
|
|
570
577
|
updateSession(
|
|
571
578
|
args: UpdateSessionCommandInput,
|
|
572
|
-
options:
|
|
579
|
+
options: BedrockAgentRuntimeRequestOptions,
|
|
573
580
|
cb: (err: any, data?: UpdateSessionCommandOutput) => void,
|
|
574
581
|
): void;
|
|
575
582
|
paginateGetAgentMemory(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agent-runtime",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|