@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,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetAgentMemory$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetAgentMemoryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "GetAgentMemory", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "GetAgentMemoryCommand")
|
|
14
|
-
.sc(GetAgentMemory$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetAgentMemoryCommand extends command(_ep0, _mw0, "GetAgentMemory", GetAgentMemory$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetDocumentContent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetDocumentContentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "GetDocumentContent", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "GetDocumentContentCommand")
|
|
14
|
-
.sc(GetDocumentContent$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetDocumentContentCommand extends command(_ep0, _mw0, "GetDocumentContent", GetDocumentContent$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetExecutionFlowSnapshot$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetExecutionFlowSnapshotCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "GetExecutionFlowSnapshot", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "GetExecutionFlowSnapshotCommand")
|
|
14
|
-
.sc(GetExecutionFlowSnapshot$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetExecutionFlowSnapshotCommand extends command(_ep0, _mw0, "GetExecutionFlowSnapshot", GetExecutionFlowSnapshot$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetFlowExecution$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetFlowExecutionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "GetFlowExecution", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "GetFlowExecutionCommand")
|
|
14
|
-
.sc(GetFlowExecution$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetFlowExecutionCommand extends command(_ep0, _mw0, "GetFlowExecution", GetFlowExecution$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetInvocationStep$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetInvocationStepCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "GetInvocationStep", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "GetInvocationStepCommand")
|
|
14
|
-
.sc(GetInvocationStep$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetInvocationStepCommand extends command(_ep0, _mw0, "GetInvocationStep", GetInvocationStep$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "GetSession", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "GetSessionCommand")
|
|
14
|
-
.sc(GetSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSessionCommand extends command(_ep0, _mw0, "GetSession", GetSession$) {
|
|
16
4
|
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { InvokeAgent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class InvokeAgentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeAgent", {
|
|
13
|
-
eventStream: {
|
|
14
|
-
output: true,
|
|
15
|
-
},
|
|
16
|
-
})
|
|
17
|
-
.n("BedrockAgentRuntimeClient", "InvokeAgentCommand")
|
|
18
|
-
.sc(InvokeAgent$)
|
|
19
|
-
.build() {
|
|
3
|
+
export class InvokeAgentCommand extends command(_ep0, _mw0, "InvokeAgent", InvokeAgent$) {
|
|
20
4
|
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { InvokeFlow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class InvokeFlowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeFlow", {
|
|
13
|
-
eventStream: {
|
|
14
|
-
output: true,
|
|
15
|
-
},
|
|
16
|
-
})
|
|
17
|
-
.n("BedrockAgentRuntimeClient", "InvokeFlowCommand")
|
|
18
|
-
.sc(InvokeFlow$)
|
|
19
|
-
.build() {
|
|
3
|
+
export class InvokeFlowCommand extends command(_ep0, _mw0, "InvokeFlow", InvokeFlow$) {
|
|
20
4
|
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { InvokeInlineAgent$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class InvokeInlineAgentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "InvokeInlineAgent", {
|
|
13
|
-
eventStream: {
|
|
14
|
-
output: true,
|
|
15
|
-
},
|
|
16
|
-
})
|
|
17
|
-
.n("BedrockAgentRuntimeClient", "InvokeInlineAgentCommand")
|
|
18
|
-
.sc(InvokeInlineAgent$)
|
|
19
|
-
.build() {
|
|
3
|
+
export class InvokeInlineAgentCommand extends command(_ep0, _mw0, "InvokeInlineAgent", InvokeInlineAgent$) {
|
|
20
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListFlowExecutionEvents$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListFlowExecutionEventsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "ListFlowExecutionEvents", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "ListFlowExecutionEventsCommand")
|
|
14
|
-
.sc(ListFlowExecutionEvents$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListFlowExecutionEventsCommand extends command(_ep0, _mw0, "ListFlowExecutionEvents", ListFlowExecutionEvents$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListFlowExecutions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListFlowExecutionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "ListFlowExecutions", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "ListFlowExecutionsCommand")
|
|
14
|
-
.sc(ListFlowExecutions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListFlowExecutionsCommand extends command(_ep0, _mw0, "ListFlowExecutions", ListFlowExecutions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListInvocationSteps$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListInvocationStepsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "ListInvocationSteps", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "ListInvocationStepsCommand")
|
|
14
|
-
.sc(ListInvocationSteps$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListInvocationStepsCommand extends command(_ep0, _mw0, "ListInvocationSteps", ListInvocationSteps$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListInvocations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListInvocationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "ListInvocations", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "ListInvocationsCommand")
|
|
14
|
-
.sc(ListInvocations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListInvocationsCommand extends command(_ep0, _mw0, "ListInvocations", ListInvocations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListSessions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListSessionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "ListSessions", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "ListSessionsCommand")
|
|
14
|
-
.sc(ListSessions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListSessionsCommand extends command(_ep0, _mw0, "ListSessions", ListSessions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "ListTagsForResource", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { OptimizePrompt$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class OptimizePromptCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "OptimizePrompt", {
|
|
13
|
-
eventStream: {
|
|
14
|
-
output: true,
|
|
15
|
-
},
|
|
16
|
-
})
|
|
17
|
-
.n("BedrockAgentRuntimeClient", "OptimizePromptCommand")
|
|
18
|
-
.sc(OptimizePrompt$)
|
|
19
|
-
.build() {
|
|
3
|
+
export class OptimizePromptCommand extends command(_ep0, _mw0, "OptimizePrompt", OptimizePrompt$) {
|
|
20
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutInvocationStep$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutInvocationStepCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "PutInvocationStep", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "PutInvocationStepCommand")
|
|
14
|
-
.sc(PutInvocationStep$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutInvocationStepCommand extends command(_ep0, _mw0, "PutInvocationStep", PutInvocationStep$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { Rerank$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RerankCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "Rerank", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "RerankCommand")
|
|
14
|
-
.sc(Rerank$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RerankCommand extends command(_ep0, _mw0, "Rerank", Rerank$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RetrieveAndGenerate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RetrieveAndGenerateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerate", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateCommand")
|
|
14
|
-
.sc(RetrieveAndGenerate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RetrieveAndGenerateCommand extends command(_ep0, _mw0, "RetrieveAndGenerate", RetrieveAndGenerate$) {
|
|
16
4
|
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RetrieveAndGenerateStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RetrieveAndGenerateStreamCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerateStream", {
|
|
13
|
-
eventStream: {
|
|
14
|
-
output: true,
|
|
15
|
-
},
|
|
16
|
-
})
|
|
17
|
-
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateStreamCommand")
|
|
18
|
-
.sc(RetrieveAndGenerateStream$)
|
|
19
|
-
.build() {
|
|
3
|
+
export class RetrieveAndGenerateStreamCommand extends command(_ep0, _mw0, "RetrieveAndGenerateStream", RetrieveAndGenerateStream$) {
|
|
20
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { Retrieve$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RetrieveCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "Retrieve", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "RetrieveCommand")
|
|
14
|
-
.sc(Retrieve$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RetrieveCommand extends command(_ep0, _mw0, "Retrieve", Retrieve$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartFlowExecution$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartFlowExecutionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "StartFlowExecution", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "StartFlowExecutionCommand")
|
|
14
|
-
.sc(StartFlowExecution$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartFlowExecutionCommand extends command(_ep0, _mw0, "StartFlowExecution", StartFlowExecution$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StopFlowExecution$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StopFlowExecutionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "StopFlowExecution", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "StopFlowExecutionCommand")
|
|
14
|
-
.sc(StopFlowExecution$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StopFlowExecutionCommand extends command(_ep0, _mw0, "StopFlowExecution", StopFlowExecution$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "TagResource", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "UntagResource", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonBedrockAgentRunTimeService", "UpdateSession", {})
|
|
13
|
-
.n("BedrockAgentRuntimeClient", "UpdateSessionCommand")
|
|
14
|
-
.sc(UpdateSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateSessionCommand extends command(_ep0, _mw0, "UpdateSession", UpdateSession$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./BedrockAgentRuntimeClient";
|
|
2
2
|
export * from "./BedrockAgentRuntime";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -25,7 +24,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
24
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
26
25
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
26
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
28
|
-
sha256: config?.sha256 ?? Sha256,
|
|
29
27
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
30
28
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
31
29
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,7 @@ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smi
|
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
8
8
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
|
-
import { calculateBodyLength
|
|
9
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
10
10
|
import { NodeHttp2Handler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
@@ -41,7 +41,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
41
41
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
42
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
43
43
|
}, config),
|
|
44
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
45
44
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
46
45
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
47
46
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AmazonBedrockAgentRunTimeService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Bedrock Agent Runtime",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./BedrockAgentRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|