@aws-sdk/client-bedrock-agentcore 3.1044.0 → 3.1046.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +343 -127
- package/dist-cjs/models/BedrockAgentCoreServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +14 -16
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.shared.js +10 -12
- package/dist-cjs/schemas/schemas_0.js +458 -33
- package/dist-es/BedrockAgentCore.js +27 -1
- package/dist-es/BedrockAgentCoreClient.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/CompleteResourceTokenAuthCommand.js +2 -2
- package/dist-es/commands/CreateABTestCommand.js +2 -2
- package/dist-es/commands/CreateEventCommand.js +2 -2
- package/dist-es/commands/CreatePaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/CreatePaymentSessionCommand.js +16 -0
- package/dist-es/commands/DeleteABTestCommand.js +2 -2
- package/dist-es/commands/DeleteBatchEvaluationCommand.js +2 -2
- package/dist-es/commands/DeleteEventCommand.js +2 -2
- package/dist-es/commands/DeleteMemoryRecordCommand.js +2 -2
- package/dist-es/commands/DeletePaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/DeletePaymentSessionCommand.js +16 -0
- package/dist-es/commands/DeleteRecommendationCommand.js +2 -2
- package/dist-es/commands/EvaluateCommand.js +2 -2
- package/dist-es/commands/GetABTestCommand.js +2 -2
- package/dist-es/commands/GetAgentCardCommand.js +2 -2
- package/dist-es/commands/GetBatchEvaluationCommand.js +2 -2
- package/dist-es/commands/GetBrowserSessionCommand.js +2 -2
- package/dist-es/commands/GetCodeInterpreterSessionCommand.js +2 -2
- package/dist-es/commands/GetEventCommand.js +2 -2
- package/dist-es/commands/GetMemoryRecordCommand.js +2 -2
- package/dist-es/commands/GetPaymentInstrumentBalanceCommand.js +16 -0
- package/dist-es/commands/GetPaymentInstrumentCommand.js +16 -0
- package/dist-es/commands/GetPaymentSessionCommand.js +16 -0
- package/dist-es/commands/GetRecommendationCommand.js +2 -2
- package/dist-es/commands/GetResourceApiKeyCommand.js +2 -2
- package/dist-es/commands/GetResourceOauth2TokenCommand.js +2 -2
- package/dist-es/commands/GetResourcePaymentTokenCommand.js +16 -0
- package/dist-es/commands/GetWorkloadAccessTokenCommand.js +2 -2
- package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +2 -2
- package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +2 -2
- package/dist-es/commands/InvokeAgentRuntimeCommand.js +2 -2
- package/dist-es/commands/InvokeAgentRuntimeCommandCommand.js +2 -2
- package/dist-es/commands/InvokeBrowserCommand.js +2 -2
- package/dist-es/commands/InvokeCodeInterpreterCommand.js +2 -2
- package/dist-es/commands/InvokeHarnessCommand.js +2 -2
- package/dist-es/commands/ListABTestsCommand.js +2 -2
- package/dist-es/commands/ListActorsCommand.js +2 -2
- package/dist-es/commands/ListBatchEvaluationsCommand.js +2 -2
- package/dist-es/commands/ListBrowserSessionsCommand.js +2 -2
- package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +2 -2
- package/dist-es/commands/ListEventsCommand.js +2 -2
- package/dist-es/commands/ListMemoryExtractionJobsCommand.js +2 -2
- package/dist-es/commands/ListMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/ListPaymentInstrumentsCommand.js +16 -0
- package/dist-es/commands/ListPaymentSessionsCommand.js +16 -0
- package/dist-es/commands/ListRecommendationsCommand.js +2 -2
- package/dist-es/commands/ListSessionsCommand.js +2 -2
- package/dist-es/commands/ProcessPaymentCommand.js +16 -0
- package/dist-es/commands/RetrieveMemoryRecordsCommand.js +2 -2
- package/dist-es/commands/SaveBrowserSessionProfileCommand.js +2 -2
- package/dist-es/commands/SearchRegistryRecordsCommand.js +2 -2
- package/dist-es/commands/StartBatchEvaluationCommand.js +2 -2
- package/dist-es/commands/StartBrowserSessionCommand.js +2 -2
- package/dist-es/commands/StartCodeInterpreterSessionCommand.js +2 -2
- package/dist-es/commands/StartMemoryExtractionJobCommand.js +2 -2
- package/dist-es/commands/StartRecommendationCommand.js +2 -2
- package/dist-es/commands/StopBatchEvaluationCommand.js +2 -2
- package/dist-es/commands/StopBrowserSessionCommand.js +2 -2
- package/dist-es/commands/StopCodeInterpreterSessionCommand.js +2 -2
- package/dist-es/commands/StopRuntimeSessionCommand.js +2 -2
- package/dist-es/commands/UpdateABTestCommand.js +2 -2
- package/dist-es/commands/UpdateBrowserStreamCommand.js +2 -2
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/BedrockAgentCoreServiceException.js +1 -1
- package/dist-es/models/enums.js +45 -0
- package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
- package/dist-es/pagination/ListPaymentSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +5 -7
- package/dist-es/runtimeConfig.js +5 -9
- package/dist-es/runtimeConfig.shared.js +3 -5
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +449 -25
- package/dist-types/BedrockAgentCore.d.ts +91 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +19 -8
- package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/commands/CompleteResourceTokenAuthCommand.d.ts +6 -4
- package/dist-types/commands/CreateABTestCommand.d.ts +6 -4
- package/dist-types/commands/CreateEventCommand.d.ts +6 -4
- package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +214 -0
- package/dist-types/commands/CreatePaymentSessionCommand.d.ts +124 -0
- package/dist-types/commands/DeleteABTestCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteEventCommand.d.ts +6 -4
- package/dist-types/commands/DeleteMemoryRecordCommand.d.ts +6 -4
- package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +112 -0
- package/dist-types/commands/DeletePaymentSessionCommand.d.ts +107 -0
- package/dist-types/commands/DeleteRecommendationCommand.d.ts +6 -4
- package/dist-types/commands/EvaluateCommand.d.ts +6 -4
- package/dist-types/commands/GetABTestCommand.d.ts +6 -4
- package/dist-types/commands/GetAgentCardCommand.d.ts +6 -4
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/commands/GetBrowserSessionCommand.d.ts +6 -4
- package/dist-types/commands/GetCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/commands/GetEventCommand.d.ts +6 -4
- package/dist-types/commands/GetMemoryRecordCommand.d.ts +6 -4
- package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +104 -0
- package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +157 -0
- package/dist-types/commands/GetPaymentSessionCommand.d.ts +114 -0
- package/dist-types/commands/GetRecommendationCommand.d.ts +6 -4
- package/dist-types/commands/GetResourceApiKeyCommand.d.ts +6 -4
- package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +6 -4
- package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +121 -0
- package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +6 -4
- package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +6 -4
- package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +6 -4
- package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +6 -4
- package/dist-types/commands/InvokeAgentRuntimeCommandCommand.d.ts +6 -4
- package/dist-types/commands/InvokeBrowserCommand.d.ts +6 -4
- package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +6 -4
- package/dist-types/commands/InvokeHarnessCommand.d.ts +7 -5
- package/dist-types/commands/ListABTestsCommand.d.ts +6 -4
- package/dist-types/commands/ListActorsCommand.d.ts +6 -4
- package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +6 -4
- package/dist-types/commands/ListBrowserSessionsCommand.d.ts +6 -4
- package/dist-types/commands/ListCodeInterpreterSessionsCommand.d.ts +6 -4
- package/dist-types/commands/ListEventsCommand.d.ts +6 -4
- package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +105 -0
- package/dist-types/commands/ListPaymentSessionsCommand.d.ts +102 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -4
- package/dist-types/commands/ListSessionsCommand.d.ts +6 -4
- package/dist-types/commands/ProcessPaymentCommand.d.ts +119 -0
- package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +7 -5
- package/dist-types/commands/SaveBrowserSessionProfileCommand.d.ts +6 -4
- package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +7 -6
- package/dist-types/commands/StartBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/commands/StartBrowserSessionCommand.d.ts +6 -4
- package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +7 -5
- package/dist-types/commands/StartRecommendationCommand.d.ts +6 -4
- package/dist-types/commands/StopBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/commands/StopBrowserSessionCommand.d.ts +6 -4
- package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/commands/StopRuntimeSessionCommand.d.ts +6 -4
- package/dist-types/commands/UpdateABTestCommand.d.ts +6 -4
- package/dist-types/commands/UpdateBrowserStreamCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/BedrockAgentCoreServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +140 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +222 -154
- package/dist-types/models/models_1.d.ts +1321 -2
- package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPaymentSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +59 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +201 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +78 -18
- package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CompleteResourceTokenAuthCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateABTestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteABTestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteMemoryRecordCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteRecommendationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/EvaluateCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetABTestCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetAgentCardCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBrowserSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetEventCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetMemoryRecordCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourceApiKeyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourceOauth2TokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommandCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeBrowserCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeCodeInterpreterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InvokeHarnessCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListABTestsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListActorsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBatchEvaluationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBrowserSessionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListCodeInterpreterSessionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMemoryRecordsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/SaveBrowserSessionProfileCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +10 -6
- package/dist-types/ts3.4/commands/StartBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartBrowserSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/StartRecommendationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopBatchEvaluationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopBrowserSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopCodeInterpreterSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/StopRuntimeSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateABTestCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateBrowserStreamCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/BedrockAgentCoreServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +62 -0
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +84 -38
- package/dist-types/ts3.4/models/models_1.d.ts +423 -2
- package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPaymentSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +59 -0
- package/package.json +13 -38
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListEvents$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListMemoryExtractionJobs$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListMemoryRecords$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListPaymentInstruments$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListPaymentInstrumentsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ListPaymentInstruments", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ListPaymentInstrumentsCommand")
|
|
14
|
+
.sc(ListPaymentInstruments$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListPaymentSessions$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListPaymentSessionsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ListPaymentSessions", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ListPaymentSessionsCommand")
|
|
14
|
+
.sc(ListPaymentSessions$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListRecommendations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListSessions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ProcessPayment$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ProcessPaymentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonBedrockAgentCore", "ProcessPayment", {})
|
|
13
|
+
.n("BedrockAgentCoreClient", "ProcessPaymentCommand")
|
|
14
|
+
.sc(ProcessPayment$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { RetrieveMemoryRecords$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { SaveBrowserSessionProfile$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { SearchRegistryRecords$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StartBatchEvaluation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StartBrowserSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StartCodeInterpreterSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StartMemoryExtractionJob$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StartRecommendation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StopBatchEvaluation$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StopBrowserSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StopCodeInterpreterSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { StopRuntimeSession$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateABTest$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateBrowserStream$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -4,10 +4,14 @@ export * from "./BatchUpdateMemoryRecordsCommand";
|
|
|
4
4
|
export * from "./CompleteResourceTokenAuthCommand";
|
|
5
5
|
export * from "./CreateABTestCommand";
|
|
6
6
|
export * from "./CreateEventCommand";
|
|
7
|
+
export * from "./CreatePaymentInstrumentCommand";
|
|
8
|
+
export * from "./CreatePaymentSessionCommand";
|
|
7
9
|
export * from "./DeleteABTestCommand";
|
|
8
10
|
export * from "./DeleteBatchEvaluationCommand";
|
|
9
11
|
export * from "./DeleteEventCommand";
|
|
10
12
|
export * from "./DeleteMemoryRecordCommand";
|
|
13
|
+
export * from "./DeletePaymentInstrumentCommand";
|
|
14
|
+
export * from "./DeletePaymentSessionCommand";
|
|
11
15
|
export * from "./DeleteRecommendationCommand";
|
|
12
16
|
export * from "./EvaluateCommand";
|
|
13
17
|
export * from "./GetABTestCommand";
|
|
@@ -17,9 +21,13 @@ export * from "./GetBrowserSessionCommand";
|
|
|
17
21
|
export * from "./GetCodeInterpreterSessionCommand";
|
|
18
22
|
export * from "./GetEventCommand";
|
|
19
23
|
export * from "./GetMemoryRecordCommand";
|
|
24
|
+
export * from "./GetPaymentInstrumentBalanceCommand";
|
|
25
|
+
export * from "./GetPaymentInstrumentCommand";
|
|
26
|
+
export * from "./GetPaymentSessionCommand";
|
|
20
27
|
export * from "./GetRecommendationCommand";
|
|
21
28
|
export * from "./GetResourceApiKeyCommand";
|
|
22
29
|
export * from "./GetResourceOauth2TokenCommand";
|
|
30
|
+
export * from "./GetResourcePaymentTokenCommand";
|
|
23
31
|
export * from "./GetWorkloadAccessTokenCommand";
|
|
24
32
|
export * from "./GetWorkloadAccessTokenForJWTCommand";
|
|
25
33
|
export * from "./GetWorkloadAccessTokenForUserIdCommand";
|
|
@@ -36,8 +44,11 @@ export * from "./ListCodeInterpreterSessionsCommand";
|
|
|
36
44
|
export * from "./ListEventsCommand";
|
|
37
45
|
export * from "./ListMemoryExtractionJobsCommand";
|
|
38
46
|
export * from "./ListMemoryRecordsCommand";
|
|
47
|
+
export * from "./ListPaymentInstrumentsCommand";
|
|
48
|
+
export * from "./ListPaymentSessionsCommand";
|
|
39
49
|
export * from "./ListRecommendationsCommand";
|
|
40
50
|
export * from "./ListSessionsCommand";
|
|
51
|
+
export * from "./ProcessPaymentCommand";
|
|
41
52
|
export * from "./RetrieveMemoryRecordsCommand";
|
|
42
53
|
export * from "./SaveBrowserSessionProfileCommand";
|
|
43
54
|
export * from "./SearchRegistryRecordsCommand";
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
const k = "ref";
|
|
3
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
4
|
const _data = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class BedrockAgentCoreServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
package/dist-es/models/enums.js
CHANGED
|
@@ -93,6 +93,13 @@ export const SessionStatus = {
|
|
|
93
93
|
FAILED: "FAILED",
|
|
94
94
|
IN_PROGRESS: "IN_PROGRESS",
|
|
95
95
|
};
|
|
96
|
+
export const PaymentHttpMethodType = {
|
|
97
|
+
DELETE: "DELETE",
|
|
98
|
+
GET: "GET",
|
|
99
|
+
PATCH: "PATCH",
|
|
100
|
+
POST: "POST",
|
|
101
|
+
PUT: "PUT",
|
|
102
|
+
};
|
|
96
103
|
export const ProgrammingLanguage = {
|
|
97
104
|
JAVASCRIPT: "javascript",
|
|
98
105
|
PYTHON: "python",
|
|
@@ -147,6 +154,7 @@ export const HarnessConversationRole = {
|
|
|
147
154
|
export const OAuthGrantType = {
|
|
148
155
|
AUTHORIZATION_CODE: "AUTHORIZATION_CODE",
|
|
149
156
|
CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS",
|
|
157
|
+
TOKEN_EXCHANGE: "TOKEN_EXCHANGE",
|
|
150
158
|
};
|
|
151
159
|
export const HarnessToolType = {
|
|
152
160
|
AGENTCORE_BROWSER: "agentcore_browser",
|
|
@@ -204,6 +212,43 @@ export const MemoryRecordOperatorType = {
|
|
|
204
212
|
export const EventFilterCondition = {
|
|
205
213
|
HAS_EVENTS: "HAS_EVENTS",
|
|
206
214
|
};
|
|
215
|
+
export const CryptoWalletNetwork = {
|
|
216
|
+
ETHEREUM: "ETHEREUM",
|
|
217
|
+
SOLANA: "SOLANA",
|
|
218
|
+
};
|
|
219
|
+
export const PaymentInstrumentType = {
|
|
220
|
+
EMBEDDED_CRYPTO_WALLET: "EMBEDDED_CRYPTO_WALLET",
|
|
221
|
+
};
|
|
222
|
+
export const PaymentInstrumentStatus = {
|
|
223
|
+
ACTIVE: "ACTIVE",
|
|
224
|
+
DELETED: "DELETED",
|
|
225
|
+
FAILED: "FAILED",
|
|
226
|
+
INITIATED: "INITIATED",
|
|
227
|
+
};
|
|
228
|
+
export const BlockchainChainId = {
|
|
229
|
+
BASE: "BASE",
|
|
230
|
+
BASE_SEPOLIA: "BASE_SEPOLIA",
|
|
231
|
+
ETHEREUM: "ETHEREUM",
|
|
232
|
+
SOLANA: "SOLANA",
|
|
233
|
+
SOLANA_DEVNET: "SOLANA_DEVNET",
|
|
234
|
+
};
|
|
235
|
+
export const InstrumentBalanceToken = {
|
|
236
|
+
USDC: "USDC",
|
|
237
|
+
};
|
|
238
|
+
export const Currency = {
|
|
239
|
+
USD: "USD",
|
|
240
|
+
};
|
|
241
|
+
export const PaymentSessionStatus = {
|
|
242
|
+
ACTIVE: "ACTIVE",
|
|
243
|
+
DELETED: "DELETED",
|
|
244
|
+
EXPIRED: "EXPIRED",
|
|
245
|
+
};
|
|
246
|
+
export const PaymentType = {
|
|
247
|
+
CRYPTO_X402: "CRYPTO_X402",
|
|
248
|
+
};
|
|
249
|
+
export const PaymentStatus = {
|
|
250
|
+
PROOF_GENERATED: "PROOF_GENERATED",
|
|
251
|
+
};
|
|
207
252
|
export const DescriptorType = {
|
|
208
253
|
A2A: "A2A",
|
|
209
254
|
AGENT_SKILLS: "AGENT_SKILLS",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
|
|
3
|
+
import { ListPaymentInstrumentsCommand, } from "../commands/ListPaymentInstrumentsCommand";
|
|
4
|
+
export const paginateListPaymentInstruments = createPaginator(BedrockAgentCoreClient, ListPaymentInstrumentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
|
|
3
|
+
import { ListPaymentSessionsCommand, } from "../commands/ListPaymentSessionsCommand";
|
|
4
|
+
export const paginateListPaymentSessions = createPaginator(BedrockAgentCoreClient, ListPaymentSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -5,6 +5,8 @@ export * from "./ListBatchEvaluationsPaginator";
|
|
|
5
5
|
export * from "./ListEventsPaginator";
|
|
6
6
|
export * from "./ListMemoryExtractionJobsPaginator";
|
|
7
7
|
export * from "./ListMemoryRecordsPaginator";
|
|
8
|
+
export * from "./ListPaymentInstrumentsPaginator";
|
|
9
|
+
export * from "./ListPaymentSessionsPaginator";
|
|
8
10
|
export * from "./ListRecommendationsPaginator";
|
|
9
11
|
export * from "./ListSessionsPaginator";
|
|
10
12
|
export * from "./RetrieveMemoryRecordsPaginator";
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
|
+
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
6
9
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
7
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
8
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
9
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
10
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
11
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
11
|
export const getRuntimeConfig = (config) => {
|
|
14
12
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -3,16 +3,12 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
|
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/
|
|
10
|
-
import {
|
|
6
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
|
+
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";
|
|
8
|
+
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
9
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
10
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
11
11
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
12
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
13
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
16
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
17
13
|
export const getRuntimeConfig = (config) => {
|
|
18
14
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
-
import { NoOpLogger } from "@smithy/
|
|
4
|
-
import { parseUrl } from "@smithy/
|
|
5
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
6
|
-
import { sdkStreamMixin } from "@smithy/util-stream";
|
|
7
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
3
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
4
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
5
|
+
import { fromBase64, fromUtf8, sdkStreamMixin, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
8
6
|
import { defaultBedrockAgentCoreHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
9
7
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
10
8
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|