@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
package/README.md
CHANGED
|
@@ -223,6 +223,20 @@ CreateEvent
|
|
|
223
223
|
</details>
|
|
224
224
|
<details>
|
|
225
225
|
<summary>
|
|
226
|
+
CreatePaymentInstrument
|
|
227
|
+
</summary>
|
|
228
|
+
|
|
229
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/CreatePaymentInstrumentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/CreatePaymentInstrumentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/CreatePaymentInstrumentCommandOutput/)
|
|
230
|
+
</details>
|
|
231
|
+
<details>
|
|
232
|
+
<summary>
|
|
233
|
+
CreatePaymentSession
|
|
234
|
+
</summary>
|
|
235
|
+
|
|
236
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/CreatePaymentSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/CreatePaymentSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/CreatePaymentSessionCommandOutput/)
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
226
240
|
DeleteABTest
|
|
227
241
|
</summary>
|
|
228
242
|
|
|
@@ -251,6 +265,20 @@ DeleteMemoryRecord
|
|
|
251
265
|
</details>
|
|
252
266
|
<details>
|
|
253
267
|
<summary>
|
|
268
|
+
DeletePaymentInstrument
|
|
269
|
+
</summary>
|
|
270
|
+
|
|
271
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/DeletePaymentInstrumentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/DeletePaymentInstrumentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/DeletePaymentInstrumentCommandOutput/)
|
|
272
|
+
</details>
|
|
273
|
+
<details>
|
|
274
|
+
<summary>
|
|
275
|
+
DeletePaymentSession
|
|
276
|
+
</summary>
|
|
277
|
+
|
|
278
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/DeletePaymentSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/DeletePaymentSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/DeletePaymentSessionCommandOutput/)
|
|
279
|
+
</details>
|
|
280
|
+
<details>
|
|
281
|
+
<summary>
|
|
254
282
|
DeleteRecommendation
|
|
255
283
|
</summary>
|
|
256
284
|
|
|
@@ -314,6 +342,27 @@ GetMemoryRecord
|
|
|
314
342
|
</details>
|
|
315
343
|
<details>
|
|
316
344
|
<summary>
|
|
345
|
+
GetPaymentInstrument
|
|
346
|
+
</summary>
|
|
347
|
+
|
|
348
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/GetPaymentInstrumentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetPaymentInstrumentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetPaymentInstrumentCommandOutput/)
|
|
349
|
+
</details>
|
|
350
|
+
<details>
|
|
351
|
+
<summary>
|
|
352
|
+
GetPaymentInstrumentBalance
|
|
353
|
+
</summary>
|
|
354
|
+
|
|
355
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/GetPaymentInstrumentBalanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetPaymentInstrumentBalanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetPaymentInstrumentBalanceCommandOutput/)
|
|
356
|
+
</details>
|
|
357
|
+
<details>
|
|
358
|
+
<summary>
|
|
359
|
+
GetPaymentSession
|
|
360
|
+
</summary>
|
|
361
|
+
|
|
362
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/GetPaymentSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetPaymentSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetPaymentSessionCommandOutput/)
|
|
363
|
+
</details>
|
|
364
|
+
<details>
|
|
365
|
+
<summary>
|
|
317
366
|
GetRecommendation
|
|
318
367
|
</summary>
|
|
319
368
|
|
|
@@ -335,6 +384,13 @@ GetResourceOauth2Token
|
|
|
335
384
|
</details>
|
|
336
385
|
<details>
|
|
337
386
|
<summary>
|
|
387
|
+
GetResourcePaymentToken
|
|
388
|
+
</summary>
|
|
389
|
+
|
|
390
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/GetResourcePaymentTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetResourcePaymentTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/GetResourcePaymentTokenCommandOutput/)
|
|
391
|
+
</details>
|
|
392
|
+
<details>
|
|
393
|
+
<summary>
|
|
338
394
|
GetWorkloadAccessToken
|
|
339
395
|
</summary>
|
|
340
396
|
|
|
@@ -447,6 +503,20 @@ ListMemoryRecords
|
|
|
447
503
|
</details>
|
|
448
504
|
<details>
|
|
449
505
|
<summary>
|
|
506
|
+
ListPaymentInstruments
|
|
507
|
+
</summary>
|
|
508
|
+
|
|
509
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/ListPaymentInstrumentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ListPaymentInstrumentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ListPaymentInstrumentsCommandOutput/)
|
|
510
|
+
</details>
|
|
511
|
+
<details>
|
|
512
|
+
<summary>
|
|
513
|
+
ListPaymentSessions
|
|
514
|
+
</summary>
|
|
515
|
+
|
|
516
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/ListPaymentSessionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ListPaymentSessionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ListPaymentSessionsCommandOutput/)
|
|
517
|
+
</details>
|
|
518
|
+
<details>
|
|
519
|
+
<summary>
|
|
450
520
|
ListRecommendations
|
|
451
521
|
</summary>
|
|
452
522
|
|
|
@@ -461,6 +531,13 @@ ListSessions
|
|
|
461
531
|
</details>
|
|
462
532
|
<details>
|
|
463
533
|
<summary>
|
|
534
|
+
ProcessPayment
|
|
535
|
+
</summary>
|
|
536
|
+
|
|
537
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/ProcessPaymentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ProcessPaymentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/ProcessPaymentCommandOutput/)
|
|
538
|
+
</details>
|
|
539
|
+
<details>
|
|
540
|
+
<summary>
|
|
464
541
|
RetrieveMemoryRecords
|
|
465
542
|
</summary>
|
|
466
543
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultBedrockAgentCoreHttpAuthSchemeProvider = exports.defaultBedrockAgentCoreHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultBedrockAgentCoreHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultBedrockAgentCoreHttpAuthSchemeProvider = defaultBedrockAgentCoreH
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const k = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -46,4 +46,4 @@ const nodes = new Int32Array([
|
|
|
46
46
|
3, r + 1, 13,
|
|
47
47
|
4, r + 2, r + 3,
|
|
48
48
|
]);
|
|
49
|
-
exports.bdd =
|
|
49
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|