@aws-sdk/client-bedrock-agent-runtime 3.952.0 → 3.953.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 +1155 -804
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/CreateInvocationCommand.js +2 -2
- package/dist-es/commands/CreateSessionCommand.js +2 -2
- package/dist-es/commands/DeleteAgentMemoryCommand.js +2 -2
- package/dist-es/commands/DeleteSessionCommand.js +2 -2
- package/dist-es/commands/EndSessionCommand.js +2 -2
- package/dist-es/commands/GenerateQueryCommand.js +2 -2
- package/dist-es/commands/GetAgentMemoryCommand.js +2 -2
- package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +2 -2
- package/dist-es/commands/GetFlowExecutionCommand.js +2 -2
- package/dist-es/commands/GetInvocationStepCommand.js +2 -2
- package/dist-es/commands/GetSessionCommand.js +2 -2
- package/dist-es/commands/InvokeAgentCommand.js +2 -2
- package/dist-es/commands/InvokeFlowCommand.js +2 -2
- package/dist-es/commands/InvokeInlineAgentCommand.js +2 -2
- package/dist-es/commands/ListFlowExecutionEventsCommand.js +2 -2
- package/dist-es/commands/ListFlowExecutionsCommand.js +2 -2
- package/dist-es/commands/ListInvocationStepsCommand.js +2 -2
- package/dist-es/commands/ListInvocationsCommand.js +2 -2
- package/dist-es/commands/ListSessionsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/OptimizePromptCommand.js +2 -2
- package/dist-es/commands/PutInvocationStepCommand.js +2 -2
- package/dist-es/commands/RerankCommand.js +2 -2
- package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -2
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -2
- package/dist-es/commands/RetrieveCommand.js +2 -2
- package/dist-es/commands/StartFlowExecutionCommand.js +2 -2
- package/dist-es/commands/StopFlowExecutionCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateSessionCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +791 -783
- package/dist-types/BedrockAgentRuntimeClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +344 -447
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +343 -449
- package/package.json +37 -37
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.bedrockagentruntime",
|
|
32
|
+
version: "2023-07-26",
|
|
33
|
+
serviceTarget: "AmazonBedrockAgentRunTimeService",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "Bedrock Agent Runtime",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateInvocation } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateInvocation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateInvocationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateInvocationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "CreateInvocation", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "CreateInvocationCommand")
|
|
14
|
-
.sc(CreateInvocation)
|
|
14
|
+
.sc(CreateInvocation$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateSession } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateSessionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateSessionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "CreateSession", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "CreateSessionCommand")
|
|
14
|
-
.sc(CreateSession)
|
|
14
|
+
.sc(CreateSession$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteAgentMemory } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteAgentMemory$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteAgentMemoryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteAgentMemoryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "DeleteAgentMemory", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "DeleteAgentMemoryCommand")
|
|
14
|
-
.sc(DeleteAgentMemory)
|
|
14
|
+
.sc(DeleteAgentMemory$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteSession } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteSessionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteSessionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "DeleteSession", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "DeleteSessionCommand")
|
|
14
|
-
.sc(DeleteSession)
|
|
14
|
+
.sc(DeleteSession$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { EndSession } from "../schemas/schemas_0";
|
|
4
|
+
import { EndSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class EndSessionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class EndSessionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "EndSession", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "EndSessionCommand")
|
|
14
|
-
.sc(EndSession)
|
|
14
|
+
.sc(EndSession$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GenerateQuery } from "../schemas/schemas_0";
|
|
4
|
+
import { GenerateQuery$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GenerateQueryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GenerateQueryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "GenerateQuery", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "GenerateQueryCommand")
|
|
14
|
-
.sc(GenerateQuery)
|
|
14
|
+
.sc(GenerateQuery$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetAgentMemory } from "../schemas/schemas_0";
|
|
4
|
+
import { GetAgentMemory$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetAgentMemoryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetAgentMemoryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "GetAgentMemory", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "GetAgentMemoryCommand")
|
|
14
|
-
.sc(GetAgentMemory)
|
|
14
|
+
.sc(GetAgentMemory$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetExecutionFlowSnapshot } from "../schemas/schemas_0";
|
|
4
|
+
import { GetExecutionFlowSnapshot$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetExecutionFlowSnapshotCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetExecutionFlowSnapshotCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "GetExecutionFlowSnapshot", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "GetExecutionFlowSnapshotCommand")
|
|
14
|
-
.sc(GetExecutionFlowSnapshot)
|
|
14
|
+
.sc(GetExecutionFlowSnapshot$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetFlowExecution } from "../schemas/schemas_0";
|
|
4
|
+
import { GetFlowExecution$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetFlowExecutionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetFlowExecutionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "GetFlowExecution", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "GetFlowExecutionCommand")
|
|
14
|
-
.sc(GetFlowExecution)
|
|
14
|
+
.sc(GetFlowExecution$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetInvocationStep } from "../schemas/schemas_0";
|
|
4
|
+
import { GetInvocationStep$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetInvocationStepCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetInvocationStepCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "GetInvocationStep", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "GetInvocationStepCommand")
|
|
14
|
-
.sc(GetInvocationStep)
|
|
14
|
+
.sc(GetInvocationStep$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetSession } from "../schemas/schemas_0";
|
|
4
|
+
import { GetSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetSessionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetSessionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "GetSession", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "GetSessionCommand")
|
|
14
|
-
.sc(GetSession)
|
|
14
|
+
.sc(GetSession$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { InvokeAgent } from "../schemas/schemas_0";
|
|
4
|
+
import { InvokeAgent$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class InvokeAgentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -15,6 +15,6 @@ export class InvokeAgentCommand extends $Command
|
|
|
15
15
|
},
|
|
16
16
|
})
|
|
17
17
|
.n("BedrockAgentRuntimeClient", "InvokeAgentCommand")
|
|
18
|
-
.sc(InvokeAgent)
|
|
18
|
+
.sc(InvokeAgent$)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { InvokeFlow } from "../schemas/schemas_0";
|
|
4
|
+
import { InvokeFlow$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class InvokeFlowCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -15,6 +15,6 @@ export class InvokeFlowCommand extends $Command
|
|
|
15
15
|
},
|
|
16
16
|
})
|
|
17
17
|
.n("BedrockAgentRuntimeClient", "InvokeFlowCommand")
|
|
18
|
-
.sc(InvokeFlow)
|
|
18
|
+
.sc(InvokeFlow$)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { InvokeInlineAgent } from "../schemas/schemas_0";
|
|
4
|
+
import { InvokeInlineAgent$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class InvokeInlineAgentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -15,6 +15,6 @@ export class InvokeInlineAgentCommand extends $Command
|
|
|
15
15
|
},
|
|
16
16
|
})
|
|
17
17
|
.n("BedrockAgentRuntimeClient", "InvokeInlineAgentCommand")
|
|
18
|
-
.sc(InvokeInlineAgent)
|
|
18
|
+
.sc(InvokeInlineAgent$)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListFlowExecutionEvents } from "../schemas/schemas_0";
|
|
4
|
+
import { ListFlowExecutionEvents$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListFlowExecutionEventsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListFlowExecutionEventsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "ListFlowExecutionEvents", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "ListFlowExecutionEventsCommand")
|
|
14
|
-
.sc(ListFlowExecutionEvents)
|
|
14
|
+
.sc(ListFlowExecutionEvents$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListFlowExecutions } from "../schemas/schemas_0";
|
|
4
|
+
import { ListFlowExecutions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListFlowExecutionsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListFlowExecutionsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "ListFlowExecutions", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "ListFlowExecutionsCommand")
|
|
14
|
-
.sc(ListFlowExecutions)
|
|
14
|
+
.sc(ListFlowExecutions$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListInvocationSteps } from "../schemas/schemas_0";
|
|
4
|
+
import { ListInvocationSteps$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListInvocationStepsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListInvocationStepsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "ListInvocationSteps", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "ListInvocationStepsCommand")
|
|
14
|
-
.sc(ListInvocationSteps)
|
|
14
|
+
.sc(ListInvocationSteps$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListInvocations } from "../schemas/schemas_0";
|
|
4
|
+
import { ListInvocations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListInvocationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListInvocationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "ListInvocations", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "ListInvocationsCommand")
|
|
14
|
-
.sc(ListInvocations)
|
|
14
|
+
.sc(ListInvocations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListSessions } from "../schemas/schemas_0";
|
|
4
|
+
import { ListSessions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListSessionsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListSessionsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "ListSessions", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "ListSessionsCommand")
|
|
14
|
-
.sc(ListSessions)
|
|
14
|
+
.sc(ListSessions$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "ListTagsForResource", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { OptimizePrompt } from "../schemas/schemas_0";
|
|
4
|
+
import { OptimizePrompt$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class OptimizePromptCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -15,6 +15,6 @@ export class OptimizePromptCommand extends $Command
|
|
|
15
15
|
},
|
|
16
16
|
})
|
|
17
17
|
.n("BedrockAgentRuntimeClient", "OptimizePromptCommand")
|
|
18
|
-
.sc(OptimizePrompt)
|
|
18
|
+
.sc(OptimizePrompt$)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutInvocationStep } from "../schemas/schemas_0";
|
|
4
|
+
import { PutInvocationStep$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutInvocationStepCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutInvocationStepCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "PutInvocationStep", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "PutInvocationStepCommand")
|
|
14
|
-
.sc(PutInvocationStep)
|
|
14
|
+
.sc(PutInvocationStep$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { Rerank } from "../schemas/schemas_0";
|
|
4
|
+
import { Rerank$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RerankCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RerankCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "Rerank", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "RerankCommand")
|
|
14
|
-
.sc(Rerank)
|
|
14
|
+
.sc(Rerank$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { RetrieveAndGenerate } from "../schemas/schemas_0";
|
|
4
|
+
import { RetrieveAndGenerate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RetrieveAndGenerateCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RetrieveAndGenerateCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "RetrieveAndGenerate", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateCommand")
|
|
14
|
-
.sc(RetrieveAndGenerate)
|
|
14
|
+
.sc(RetrieveAndGenerate$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { RetrieveAndGenerateStream } from "../schemas/schemas_0";
|
|
4
|
+
import { RetrieveAndGenerateStream$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RetrieveAndGenerateStreamCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -15,6 +15,6 @@ export class RetrieveAndGenerateStreamCommand extends $Command
|
|
|
15
15
|
},
|
|
16
16
|
})
|
|
17
17
|
.n("BedrockAgentRuntimeClient", "RetrieveAndGenerateStreamCommand")
|
|
18
|
-
.sc(RetrieveAndGenerateStream)
|
|
18
|
+
.sc(RetrieveAndGenerateStream$)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { Retrieve } from "../schemas/schemas_0";
|
|
4
|
+
import { Retrieve$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class RetrieveCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class RetrieveCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "Retrieve", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "RetrieveCommand")
|
|
14
|
-
.sc(Retrieve)
|
|
14
|
+
.sc(Retrieve$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartFlowExecution } from "../schemas/schemas_0";
|
|
4
|
+
import { StartFlowExecution$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartFlowExecutionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartFlowExecutionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "StartFlowExecution", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "StartFlowExecutionCommand")
|
|
14
|
-
.sc(StartFlowExecution)
|
|
14
|
+
.sc(StartFlowExecution$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StopFlowExecution } from "../schemas/schemas_0";
|
|
4
|
+
import { StopFlowExecution$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StopFlowExecutionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StopFlowExecutionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "StopFlowExecution", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "StopFlowExecutionCommand")
|
|
14
|
-
.sc(StopFlowExecution)
|
|
14
|
+
.sc(StopFlowExecution$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "TagResource", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "UntagResource", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateSession } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateSessionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateSessionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonBedrockAgentRunTimeService", "UpdateSession", {})
|
|
13
13
|
.n("BedrockAgentRuntimeClient", "UpdateSessionCommand")
|
|
14
|
-
.sc(UpdateSession)
|
|
14
|
+
.sc(UpdateSession$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.bedrockagentruntime",
|
|
29
|
+
version: "2023-07-26",
|
|
30
|
+
serviceTarget: "AmazonBedrockAgentRunTimeService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "Bedrock Agent Runtime",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|