@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.
Files changed (256) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  3. package/dist-cjs/endpoint/bdd.js +2 -2
  4. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  5. package/dist-cjs/index.js +343 -127
  6. package/dist-cjs/models/BedrockAgentCoreServiceException.js +3 -3
  7. package/dist-cjs/runtimeConfig.browser.js +14 -16
  8. package/dist-cjs/runtimeConfig.js +20 -24
  9. package/dist-cjs/runtimeConfig.shared.js +10 -12
  10. package/dist-cjs/schemas/schemas_0.js +458 -33
  11. package/dist-es/BedrockAgentCore.js +27 -1
  12. package/dist-es/BedrockAgentCoreClient.js +6 -6
  13. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  14. package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +2 -2
  15. package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +2 -2
  16. package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +2 -2
  17. package/dist-es/commands/CompleteResourceTokenAuthCommand.js +2 -2
  18. package/dist-es/commands/CreateABTestCommand.js +2 -2
  19. package/dist-es/commands/CreateEventCommand.js +2 -2
  20. package/dist-es/commands/CreatePaymentInstrumentCommand.js +16 -0
  21. package/dist-es/commands/CreatePaymentSessionCommand.js +16 -0
  22. package/dist-es/commands/DeleteABTestCommand.js +2 -2
  23. package/dist-es/commands/DeleteBatchEvaluationCommand.js +2 -2
  24. package/dist-es/commands/DeleteEventCommand.js +2 -2
  25. package/dist-es/commands/DeleteMemoryRecordCommand.js +2 -2
  26. package/dist-es/commands/DeletePaymentInstrumentCommand.js +16 -0
  27. package/dist-es/commands/DeletePaymentSessionCommand.js +16 -0
  28. package/dist-es/commands/DeleteRecommendationCommand.js +2 -2
  29. package/dist-es/commands/EvaluateCommand.js +2 -2
  30. package/dist-es/commands/GetABTestCommand.js +2 -2
  31. package/dist-es/commands/GetAgentCardCommand.js +2 -2
  32. package/dist-es/commands/GetBatchEvaluationCommand.js +2 -2
  33. package/dist-es/commands/GetBrowserSessionCommand.js +2 -2
  34. package/dist-es/commands/GetCodeInterpreterSessionCommand.js +2 -2
  35. package/dist-es/commands/GetEventCommand.js +2 -2
  36. package/dist-es/commands/GetMemoryRecordCommand.js +2 -2
  37. package/dist-es/commands/GetPaymentInstrumentBalanceCommand.js +16 -0
  38. package/dist-es/commands/GetPaymentInstrumentCommand.js +16 -0
  39. package/dist-es/commands/GetPaymentSessionCommand.js +16 -0
  40. package/dist-es/commands/GetRecommendationCommand.js +2 -2
  41. package/dist-es/commands/GetResourceApiKeyCommand.js +2 -2
  42. package/dist-es/commands/GetResourceOauth2TokenCommand.js +2 -2
  43. package/dist-es/commands/GetResourcePaymentTokenCommand.js +16 -0
  44. package/dist-es/commands/GetWorkloadAccessTokenCommand.js +2 -2
  45. package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +2 -2
  46. package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +2 -2
  47. package/dist-es/commands/InvokeAgentRuntimeCommand.js +2 -2
  48. package/dist-es/commands/InvokeAgentRuntimeCommandCommand.js +2 -2
  49. package/dist-es/commands/InvokeBrowserCommand.js +2 -2
  50. package/dist-es/commands/InvokeCodeInterpreterCommand.js +2 -2
  51. package/dist-es/commands/InvokeHarnessCommand.js +2 -2
  52. package/dist-es/commands/ListABTestsCommand.js +2 -2
  53. package/dist-es/commands/ListActorsCommand.js +2 -2
  54. package/dist-es/commands/ListBatchEvaluationsCommand.js +2 -2
  55. package/dist-es/commands/ListBrowserSessionsCommand.js +2 -2
  56. package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +2 -2
  57. package/dist-es/commands/ListEventsCommand.js +2 -2
  58. package/dist-es/commands/ListMemoryExtractionJobsCommand.js +2 -2
  59. package/dist-es/commands/ListMemoryRecordsCommand.js +2 -2
  60. package/dist-es/commands/ListPaymentInstrumentsCommand.js +16 -0
  61. package/dist-es/commands/ListPaymentSessionsCommand.js +16 -0
  62. package/dist-es/commands/ListRecommendationsCommand.js +2 -2
  63. package/dist-es/commands/ListSessionsCommand.js +2 -2
  64. package/dist-es/commands/ProcessPaymentCommand.js +16 -0
  65. package/dist-es/commands/RetrieveMemoryRecordsCommand.js +2 -2
  66. package/dist-es/commands/SaveBrowserSessionProfileCommand.js +2 -2
  67. package/dist-es/commands/SearchRegistryRecordsCommand.js +2 -2
  68. package/dist-es/commands/StartBatchEvaluationCommand.js +2 -2
  69. package/dist-es/commands/StartBrowserSessionCommand.js +2 -2
  70. package/dist-es/commands/StartCodeInterpreterSessionCommand.js +2 -2
  71. package/dist-es/commands/StartMemoryExtractionJobCommand.js +2 -2
  72. package/dist-es/commands/StartRecommendationCommand.js +2 -2
  73. package/dist-es/commands/StopBatchEvaluationCommand.js +2 -2
  74. package/dist-es/commands/StopBrowserSessionCommand.js +2 -2
  75. package/dist-es/commands/StopCodeInterpreterSessionCommand.js +2 -2
  76. package/dist-es/commands/StopRuntimeSessionCommand.js +2 -2
  77. package/dist-es/commands/UpdateABTestCommand.js +2 -2
  78. package/dist-es/commands/UpdateBrowserStreamCommand.js +2 -2
  79. package/dist-es/commands/index.js +11 -0
  80. package/dist-es/endpoint/bdd.js +1 -1
  81. package/dist-es/endpoint/endpointResolver.js +1 -1
  82. package/dist-es/models/BedrockAgentCoreServiceException.js +1 -1
  83. package/dist-es/models/enums.js +45 -0
  84. package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
  85. package/dist-es/pagination/ListPaymentSessionsPaginator.js +4 -0
  86. package/dist-es/pagination/index.js +2 -0
  87. package/dist-es/runtimeConfig.browser.js +5 -7
  88. package/dist-es/runtimeConfig.js +5 -9
  89. package/dist-es/runtimeConfig.shared.js +3 -5
  90. package/dist-es/runtimeExtensions.js +2 -2
  91. package/dist-es/schemas/schemas_0.js +449 -25
  92. package/dist-types/BedrockAgentCore.d.ts +91 -0
  93. package/dist-types/BedrockAgentCoreClient.d.ts +19 -8
  94. package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +6 -4
  95. package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +6 -4
  96. package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +6 -4
  97. package/dist-types/commands/CompleteResourceTokenAuthCommand.d.ts +6 -4
  98. package/dist-types/commands/CreateABTestCommand.d.ts +6 -4
  99. package/dist-types/commands/CreateEventCommand.d.ts +6 -4
  100. package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +214 -0
  101. package/dist-types/commands/CreatePaymentSessionCommand.d.ts +124 -0
  102. package/dist-types/commands/DeleteABTestCommand.d.ts +6 -4
  103. package/dist-types/commands/DeleteBatchEvaluationCommand.d.ts +6 -4
  104. package/dist-types/commands/DeleteEventCommand.d.ts +6 -4
  105. package/dist-types/commands/DeleteMemoryRecordCommand.d.ts +6 -4
  106. package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +112 -0
  107. package/dist-types/commands/DeletePaymentSessionCommand.d.ts +107 -0
  108. package/dist-types/commands/DeleteRecommendationCommand.d.ts +6 -4
  109. package/dist-types/commands/EvaluateCommand.d.ts +6 -4
  110. package/dist-types/commands/GetABTestCommand.d.ts +6 -4
  111. package/dist-types/commands/GetAgentCardCommand.d.ts +6 -4
  112. package/dist-types/commands/GetBatchEvaluationCommand.d.ts +6 -4
  113. package/dist-types/commands/GetBrowserSessionCommand.d.ts +6 -4
  114. package/dist-types/commands/GetCodeInterpreterSessionCommand.d.ts +6 -4
  115. package/dist-types/commands/GetEventCommand.d.ts +6 -4
  116. package/dist-types/commands/GetMemoryRecordCommand.d.ts +6 -4
  117. package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +104 -0
  118. package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +157 -0
  119. package/dist-types/commands/GetPaymentSessionCommand.d.ts +114 -0
  120. package/dist-types/commands/GetRecommendationCommand.d.ts +6 -4
  121. package/dist-types/commands/GetResourceApiKeyCommand.d.ts +6 -4
  122. package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +6 -4
  123. package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +121 -0
  124. package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +6 -4
  125. package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +6 -4
  126. package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +6 -4
  127. package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +6 -4
  128. package/dist-types/commands/InvokeAgentRuntimeCommandCommand.d.ts +6 -4
  129. package/dist-types/commands/InvokeBrowserCommand.d.ts +6 -4
  130. package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +6 -4
  131. package/dist-types/commands/InvokeHarnessCommand.d.ts +7 -5
  132. package/dist-types/commands/ListABTestsCommand.d.ts +6 -4
  133. package/dist-types/commands/ListActorsCommand.d.ts +6 -4
  134. package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +6 -4
  135. package/dist-types/commands/ListBrowserSessionsCommand.d.ts +6 -4
  136. package/dist-types/commands/ListCodeInterpreterSessionsCommand.d.ts +6 -4
  137. package/dist-types/commands/ListEventsCommand.d.ts +6 -4
  138. package/dist-types/commands/ListMemoryExtractionJobsCommand.d.ts +6 -4
  139. package/dist-types/commands/ListMemoryRecordsCommand.d.ts +6 -4
  140. package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +105 -0
  141. package/dist-types/commands/ListPaymentSessionsCommand.d.ts +102 -0
  142. package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -4
  143. package/dist-types/commands/ListSessionsCommand.d.ts +6 -4
  144. package/dist-types/commands/ProcessPaymentCommand.d.ts +119 -0
  145. package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +7 -5
  146. package/dist-types/commands/SaveBrowserSessionProfileCommand.d.ts +6 -4
  147. package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +7 -6
  148. package/dist-types/commands/StartBatchEvaluationCommand.d.ts +6 -4
  149. package/dist-types/commands/StartBrowserSessionCommand.d.ts +6 -4
  150. package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +6 -4
  151. package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +7 -5
  152. package/dist-types/commands/StartRecommendationCommand.d.ts +6 -4
  153. package/dist-types/commands/StopBatchEvaluationCommand.d.ts +6 -4
  154. package/dist-types/commands/StopBrowserSessionCommand.d.ts +6 -4
  155. package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +6 -4
  156. package/dist-types/commands/StopRuntimeSessionCommand.d.ts +6 -4
  157. package/dist-types/commands/UpdateABTestCommand.d.ts +6 -4
  158. package/dist-types/commands/UpdateBrowserStreamCommand.d.ts +6 -4
  159. package/dist-types/commands/index.d.ts +11 -0
  160. package/dist-types/endpoint/bdd.d.ts +1 -1
  161. package/dist-types/extensionConfiguration.d.ts +1 -1
  162. package/dist-types/models/BedrockAgentCoreServiceException.d.ts +1 -1
  163. package/dist-types/models/enums.d.ts +140 -0
  164. package/dist-types/models/errors.d.ts +1 -1
  165. package/dist-types/models/models_0.d.ts +222 -154
  166. package/dist-types/models/models_1.d.ts +1321 -2
  167. package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
  168. package/dist-types/pagination/ListPaymentSessionsPaginator.d.ts +7 -0
  169. package/dist-types/pagination/index.d.ts +2 -0
  170. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  171. package/dist-types/runtimeConfig.d.ts +2 -2
  172. package/dist-types/runtimeConfig.native.d.ts +2 -2
  173. package/dist-types/schemas/schemas_0.d.ts +59 -0
  174. package/dist-types/ts3.4/BedrockAgentCore.d.ts +201 -0
  175. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +78 -18
  176. package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +6 -4
  177. package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +6 -4
  178. package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +6 -4
  179. package/dist-types/ts3.4/commands/CompleteResourceTokenAuthCommand.d.ts +6 -4
  180. package/dist-types/ts3.4/commands/CreateABTestCommand.d.ts +6 -4
  181. package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +6 -4
  182. package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +53 -0
  183. package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +53 -0
  184. package/dist-types/ts3.4/commands/DeleteABTestCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/DeleteBatchEvaluationCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/DeleteMemoryRecordCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +53 -0
  189. package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +53 -0
  190. package/dist-types/ts3.4/commands/DeleteRecommendationCommand.d.ts +6 -4
  191. package/dist-types/ts3.4/commands/EvaluateCommand.d.ts +6 -8
  192. package/dist-types/ts3.4/commands/GetABTestCommand.d.ts +6 -8
  193. package/dist-types/ts3.4/commands/GetAgentCardCommand.d.ts +6 -4
  194. package/dist-types/ts3.4/commands/GetBatchEvaluationCommand.d.ts +6 -4
  195. package/dist-types/ts3.4/commands/GetBrowserSessionCommand.d.ts +6 -4
  196. package/dist-types/ts3.4/commands/GetCodeInterpreterSessionCommand.d.ts +6 -4
  197. package/dist-types/ts3.4/commands/GetEventCommand.d.ts +6 -8
  198. package/dist-types/ts3.4/commands/GetMemoryRecordCommand.d.ts +6 -4
  199. package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +53 -0
  200. package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +53 -0
  201. package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +53 -0
  202. package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +6 -4
  203. package/dist-types/ts3.4/commands/GetResourceApiKeyCommand.d.ts +6 -4
  204. package/dist-types/ts3.4/commands/GetResourceOauth2TokenCommand.d.ts +6 -4
  205. package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +53 -0
  206. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenCommand.d.ts +6 -4
  207. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +6 -4
  208. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +6 -4
  209. package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommand.d.ts +6 -4
  210. package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommandCommand.d.ts +6 -4
  211. package/dist-types/ts3.4/commands/InvokeBrowserCommand.d.ts +6 -4
  212. package/dist-types/ts3.4/commands/InvokeCodeInterpreterCommand.d.ts +6 -4
  213. package/dist-types/ts3.4/commands/InvokeHarnessCommand.d.ts +6 -4
  214. package/dist-types/ts3.4/commands/ListABTestsCommand.d.ts +6 -4
  215. package/dist-types/ts3.4/commands/ListActorsCommand.d.ts +6 -4
  216. package/dist-types/ts3.4/commands/ListBatchEvaluationsCommand.d.ts +6 -4
  217. package/dist-types/ts3.4/commands/ListBrowserSessionsCommand.d.ts +6 -4
  218. package/dist-types/ts3.4/commands/ListCodeInterpreterSessionsCommand.d.ts +6 -4
  219. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +6 -4
  220. package/dist-types/ts3.4/commands/ListMemoryExtractionJobsCommand.d.ts +6 -4
  221. package/dist-types/ts3.4/commands/ListMemoryRecordsCommand.d.ts +6 -4
  222. package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +53 -0
  223. package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +53 -0
  224. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +6 -4
  225. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +6 -4
  226. package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +52 -0
  227. package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +7 -5
  228. package/dist-types/ts3.4/commands/SaveBrowserSessionProfileCommand.d.ts +6 -4
  229. package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +10 -6
  230. package/dist-types/ts3.4/commands/StartBatchEvaluationCommand.d.ts +6 -4
  231. package/dist-types/ts3.4/commands/StartBrowserSessionCommand.d.ts +6 -4
  232. package/dist-types/ts3.4/commands/StartCodeInterpreterSessionCommand.d.ts +6 -4
  233. package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +7 -5
  234. package/dist-types/ts3.4/commands/StartRecommendationCommand.d.ts +6 -4
  235. package/dist-types/ts3.4/commands/StopBatchEvaluationCommand.d.ts +6 -4
  236. package/dist-types/ts3.4/commands/StopBrowserSessionCommand.d.ts +6 -4
  237. package/dist-types/ts3.4/commands/StopCodeInterpreterSessionCommand.d.ts +6 -4
  238. package/dist-types/ts3.4/commands/StopRuntimeSessionCommand.d.ts +6 -4
  239. package/dist-types/ts3.4/commands/UpdateABTestCommand.d.ts +6 -4
  240. package/dist-types/ts3.4/commands/UpdateBrowserStreamCommand.d.ts +6 -4
  241. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  242. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  243. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  244. package/dist-types/ts3.4/models/BedrockAgentCoreServiceException.d.ts +1 -1
  245. package/dist-types/ts3.4/models/enums.d.ts +62 -0
  246. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  247. package/dist-types/ts3.4/models/models_0.d.ts +84 -38
  248. package/dist-types/ts3.4/models/models_1.d.ts +423 -2
  249. package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
  250. package/dist-types/ts3.4/pagination/ListPaymentSessionsPaginator.d.ts +11 -0
  251. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  252. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  253. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  254. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  255. package/dist-types/ts3.4/schemas/schemas_0.d.ts +59 -0
  256. package/package.json +13 -38
package/dist-cjs/index.js CHANGED
@@ -4,18 +4,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var eventStreams = require('@smithy/core/event-streams');
12
+ var protocols = require('@smithy/core/protocols');
13
+ var retry = require('@smithy/core/retry');
9
14
  var schema = require('@smithy/core/schema');
10
- var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
11
- var middlewareContentLength = require('@smithy/middleware-content-length');
12
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
13
- var middlewareRetry = require('@smithy/middleware-retry');
14
- var smithyClient = require('@smithy/smithy-client');
15
15
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
16
16
  var runtimeConfig = require('./runtimeConfig');
17
17
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
18
- var protocolHttp = require('@smithy/protocol-http');
19
18
  var schemas_0 = require('./schemas/schemas_0');
20
19
  var errors = require('./models/errors');
21
20
  var BedrockAgentCoreServiceException = require('./models/BedrockAgentCoreServiceException');
@@ -74,12 +73,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
74
73
  };
75
74
 
76
75
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
77
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
78
77
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
79
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
80
79
  };
81
80
 
82
- class BedrockAgentCoreClient extends smithyClient.Client {
81
+ class BedrockAgentCoreClient extends client.Client {
83
82
  config;
84
83
  constructor(...[configuration]) {
85
84
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -87,18 +86,18 @@ class BedrockAgentCoreClient extends smithyClient.Client {
87
86
  this.initConfig = _config_0;
88
87
  const _config_1 = resolveClientEndpointParameters(_config_0);
89
88
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
90
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
91
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_3 = retry.resolveRetryConfig(_config_2);
90
+ const _config_4 = config.resolveRegionConfig(_config_3);
92
91
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
93
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
94
- const _config_7 = eventstreamSerdeConfigResolver.resolveEventStreamSerdeConfig(_config_6);
92
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
93
+ const _config_7 = eventStreams.resolveEventStreamSerdeConfig(_config_6);
95
94
  const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
96
95
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
97
96
  this.config = _config_9;
98
97
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
99
98
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
100
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
101
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
99
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
100
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
102
101
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
103
102
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
104
103
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -115,11 +114,11 @@ class BedrockAgentCoreClient extends smithyClient.Client {
115
114
  }
116
115
  }
117
116
 
118
- class BatchCreateMemoryRecordsCommand extends smithyClient.Command
117
+ class BatchCreateMemoryRecordsCommand extends client.Command
119
118
  .classBuilder()
120
119
  .ep(commonParams)
121
120
  .m(function (Command, cs, config, o) {
122
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
123
122
  })
124
123
  .s("AmazonBedrockAgentCore", "BatchCreateMemoryRecords", {})
125
124
  .n("BedrockAgentCoreClient", "BatchCreateMemoryRecordsCommand")
@@ -127,11 +126,11 @@ class BatchCreateMemoryRecordsCommand extends smithyClient.Command
127
126
  .build() {
128
127
  }
129
128
 
130
- class BatchDeleteMemoryRecordsCommand extends smithyClient.Command
129
+ class BatchDeleteMemoryRecordsCommand extends client.Command
131
130
  .classBuilder()
132
131
  .ep(commonParams)
133
132
  .m(function (Command, cs, config, o) {
134
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
133
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
135
134
  })
136
135
  .s("AmazonBedrockAgentCore", "BatchDeleteMemoryRecords", {})
137
136
  .n("BedrockAgentCoreClient", "BatchDeleteMemoryRecordsCommand")
@@ -139,11 +138,11 @@ class BatchDeleteMemoryRecordsCommand extends smithyClient.Command
139
138
  .build() {
140
139
  }
141
140
 
142
- class BatchUpdateMemoryRecordsCommand extends smithyClient.Command
141
+ class BatchUpdateMemoryRecordsCommand extends client.Command
143
142
  .classBuilder()
144
143
  .ep(commonParams)
145
144
  .m(function (Command, cs, config, o) {
146
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
147
146
  })
148
147
  .s("AmazonBedrockAgentCore", "BatchUpdateMemoryRecords", {})
149
148
  .n("BedrockAgentCoreClient", "BatchUpdateMemoryRecordsCommand")
@@ -151,11 +150,11 @@ class BatchUpdateMemoryRecordsCommand extends smithyClient.Command
151
150
  .build() {
152
151
  }
153
152
 
154
- class CompleteResourceTokenAuthCommand extends smithyClient.Command
153
+ class CompleteResourceTokenAuthCommand extends client.Command
155
154
  .classBuilder()
156
155
  .ep(commonParams)
157
156
  .m(function (Command, cs, config, o) {
158
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
157
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
159
158
  })
160
159
  .s("AmazonBedrockAgentCore", "CompleteResourceTokenAuth", {})
161
160
  .n("BedrockAgentCoreClient", "CompleteResourceTokenAuthCommand")
@@ -163,11 +162,11 @@ class CompleteResourceTokenAuthCommand extends smithyClient.Command
163
162
  .build() {
164
163
  }
165
164
 
166
- class CreateABTestCommand extends smithyClient.Command
165
+ class CreateABTestCommand extends client.Command
167
166
  .classBuilder()
168
167
  .ep(commonParams)
169
168
  .m(function (Command, cs, config, o) {
170
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
169
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
171
170
  })
172
171
  .s("AmazonBedrockAgentCore", "CreateABTest", {})
173
172
  .n("BedrockAgentCoreClient", "CreateABTestCommand")
@@ -175,11 +174,11 @@ class CreateABTestCommand extends smithyClient.Command
175
174
  .build() {
176
175
  }
177
176
 
178
- class CreateEventCommand extends smithyClient.Command
177
+ class CreateEventCommand extends client.Command
179
178
  .classBuilder()
180
179
  .ep(commonParams)
181
180
  .m(function (Command, cs, config, o) {
182
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
181
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
183
182
  })
184
183
  .s("AmazonBedrockAgentCore", "CreateEvent", {})
185
184
  .n("BedrockAgentCoreClient", "CreateEventCommand")
@@ -187,11 +186,35 @@ class CreateEventCommand extends smithyClient.Command
187
186
  .build() {
188
187
  }
189
188
 
190
- class DeleteABTestCommand extends smithyClient.Command
189
+ class CreatePaymentInstrumentCommand extends client.Command
191
190
  .classBuilder()
192
191
  .ep(commonParams)
193
192
  .m(function (Command, cs, config, o) {
194
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
193
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
194
+ })
195
+ .s("AmazonBedrockAgentCore", "CreatePaymentInstrument", {})
196
+ .n("BedrockAgentCoreClient", "CreatePaymentInstrumentCommand")
197
+ .sc(schemas_0.CreatePaymentInstrument$)
198
+ .build() {
199
+ }
200
+
201
+ class CreatePaymentSessionCommand extends client.Command
202
+ .classBuilder()
203
+ .ep(commonParams)
204
+ .m(function (Command, cs, config, o) {
205
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
206
+ })
207
+ .s("AmazonBedrockAgentCore", "CreatePaymentSession", {})
208
+ .n("BedrockAgentCoreClient", "CreatePaymentSessionCommand")
209
+ .sc(schemas_0.CreatePaymentSession$)
210
+ .build() {
211
+ }
212
+
213
+ class DeleteABTestCommand extends client.Command
214
+ .classBuilder()
215
+ .ep(commonParams)
216
+ .m(function (Command, cs, config, o) {
217
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
195
218
  })
196
219
  .s("AmazonBedrockAgentCore", "DeleteABTest", {})
197
220
  .n("BedrockAgentCoreClient", "DeleteABTestCommand")
@@ -199,11 +222,11 @@ class DeleteABTestCommand extends smithyClient.Command
199
222
  .build() {
200
223
  }
201
224
 
202
- class DeleteBatchEvaluationCommand extends smithyClient.Command
225
+ class DeleteBatchEvaluationCommand extends client.Command
203
226
  .classBuilder()
204
227
  .ep(commonParams)
205
228
  .m(function (Command, cs, config, o) {
206
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
229
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
207
230
  })
208
231
  .s("AmazonBedrockAgentCore", "DeleteBatchEvaluation", {})
209
232
  .n("BedrockAgentCoreClient", "DeleteBatchEvaluationCommand")
@@ -211,11 +234,11 @@ class DeleteBatchEvaluationCommand extends smithyClient.Command
211
234
  .build() {
212
235
  }
213
236
 
214
- class DeleteEventCommand extends smithyClient.Command
237
+ class DeleteEventCommand extends client.Command
215
238
  .classBuilder()
216
239
  .ep(commonParams)
217
240
  .m(function (Command, cs, config, o) {
218
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
241
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
219
242
  })
220
243
  .s("AmazonBedrockAgentCore", "DeleteEvent", {})
221
244
  .n("BedrockAgentCoreClient", "DeleteEventCommand")
@@ -223,11 +246,11 @@ class DeleteEventCommand extends smithyClient.Command
223
246
  .build() {
224
247
  }
225
248
 
226
- class DeleteMemoryRecordCommand extends smithyClient.Command
249
+ class DeleteMemoryRecordCommand extends client.Command
227
250
  .classBuilder()
228
251
  .ep(commonParams)
229
252
  .m(function (Command, cs, config, o) {
230
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
253
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
231
254
  })
232
255
  .s("AmazonBedrockAgentCore", "DeleteMemoryRecord", {})
233
256
  .n("BedrockAgentCoreClient", "DeleteMemoryRecordCommand")
@@ -235,11 +258,35 @@ class DeleteMemoryRecordCommand extends smithyClient.Command
235
258
  .build() {
236
259
  }
237
260
 
238
- class DeleteRecommendationCommand extends smithyClient.Command
261
+ class DeletePaymentInstrumentCommand extends client.Command
262
+ .classBuilder()
263
+ .ep(commonParams)
264
+ .m(function (Command, cs, config, o) {
265
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
266
+ })
267
+ .s("AmazonBedrockAgentCore", "DeletePaymentInstrument", {})
268
+ .n("BedrockAgentCoreClient", "DeletePaymentInstrumentCommand")
269
+ .sc(schemas_0.DeletePaymentInstrument$)
270
+ .build() {
271
+ }
272
+
273
+ class DeletePaymentSessionCommand extends client.Command
274
+ .classBuilder()
275
+ .ep(commonParams)
276
+ .m(function (Command, cs, config, o) {
277
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
278
+ })
279
+ .s("AmazonBedrockAgentCore", "DeletePaymentSession", {})
280
+ .n("BedrockAgentCoreClient", "DeletePaymentSessionCommand")
281
+ .sc(schemas_0.DeletePaymentSession$)
282
+ .build() {
283
+ }
284
+
285
+ class DeleteRecommendationCommand extends client.Command
239
286
  .classBuilder()
240
287
  .ep(commonParams)
241
288
  .m(function (Command, cs, config, o) {
242
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
289
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
243
290
  })
244
291
  .s("AmazonBedrockAgentCore", "DeleteRecommendation", {})
245
292
  .n("BedrockAgentCoreClient", "DeleteRecommendationCommand")
@@ -247,11 +294,11 @@ class DeleteRecommendationCommand extends smithyClient.Command
247
294
  .build() {
248
295
  }
249
296
 
250
- class EvaluateCommand extends smithyClient.Command
297
+ class EvaluateCommand extends client.Command
251
298
  .classBuilder()
252
299
  .ep(commonParams)
253
300
  .m(function (Command, cs, config, o) {
254
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
301
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
255
302
  })
256
303
  .s("AmazonBedrockAgentCore", "Evaluate", {})
257
304
  .n("BedrockAgentCoreClient", "EvaluateCommand")
@@ -259,11 +306,11 @@ class EvaluateCommand extends smithyClient.Command
259
306
  .build() {
260
307
  }
261
308
 
262
- class GetABTestCommand extends smithyClient.Command
309
+ class GetABTestCommand extends client.Command
263
310
  .classBuilder()
264
311
  .ep(commonParams)
265
312
  .m(function (Command, cs, config, o) {
266
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
313
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
267
314
  })
268
315
  .s("AmazonBedrockAgentCore", "GetABTest", {})
269
316
  .n("BedrockAgentCoreClient", "GetABTestCommand")
@@ -271,11 +318,11 @@ class GetABTestCommand extends smithyClient.Command
271
318
  .build() {
272
319
  }
273
320
 
274
- class GetAgentCardCommand extends smithyClient.Command
321
+ class GetAgentCardCommand extends client.Command
275
322
  .classBuilder()
276
323
  .ep(commonParams)
277
324
  .m(function (Command, cs, config, o) {
278
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
325
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
279
326
  })
280
327
  .s("AmazonBedrockAgentCore", "GetAgentCard", {})
281
328
  .n("BedrockAgentCoreClient", "GetAgentCardCommand")
@@ -283,11 +330,11 @@ class GetAgentCardCommand extends smithyClient.Command
283
330
  .build() {
284
331
  }
285
332
 
286
- class GetBatchEvaluationCommand extends smithyClient.Command
333
+ class GetBatchEvaluationCommand extends client.Command
287
334
  .classBuilder()
288
335
  .ep(commonParams)
289
336
  .m(function (Command, cs, config, o) {
290
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
337
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
291
338
  })
292
339
  .s("AmazonBedrockAgentCore", "GetBatchEvaluation", {})
293
340
  .n("BedrockAgentCoreClient", "GetBatchEvaluationCommand")
@@ -295,11 +342,11 @@ class GetBatchEvaluationCommand extends smithyClient.Command
295
342
  .build() {
296
343
  }
297
344
 
298
- class GetBrowserSessionCommand extends smithyClient.Command
345
+ class GetBrowserSessionCommand extends client.Command
299
346
  .classBuilder()
300
347
  .ep(commonParams)
301
348
  .m(function (Command, cs, config, o) {
302
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
349
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
303
350
  })
304
351
  .s("AmazonBedrockAgentCore", "GetBrowserSession", {})
305
352
  .n("BedrockAgentCoreClient", "GetBrowserSessionCommand")
@@ -307,11 +354,11 @@ class GetBrowserSessionCommand extends smithyClient.Command
307
354
  .build() {
308
355
  }
309
356
 
310
- class GetCodeInterpreterSessionCommand extends smithyClient.Command
357
+ class GetCodeInterpreterSessionCommand extends client.Command
311
358
  .classBuilder()
312
359
  .ep(commonParams)
313
360
  .m(function (Command, cs, config, o) {
314
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
361
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
315
362
  })
316
363
  .s("AmazonBedrockAgentCore", "GetCodeInterpreterSession", {})
317
364
  .n("BedrockAgentCoreClient", "GetCodeInterpreterSessionCommand")
@@ -319,11 +366,11 @@ class GetCodeInterpreterSessionCommand extends smithyClient.Command
319
366
  .build() {
320
367
  }
321
368
 
322
- class GetEventCommand extends smithyClient.Command
369
+ class GetEventCommand extends client.Command
323
370
  .classBuilder()
324
371
  .ep(commonParams)
325
372
  .m(function (Command, cs, config, o) {
326
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
373
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
327
374
  })
328
375
  .s("AmazonBedrockAgentCore", "GetEvent", {})
329
376
  .n("BedrockAgentCoreClient", "GetEventCommand")
@@ -331,11 +378,11 @@ class GetEventCommand extends smithyClient.Command
331
378
  .build() {
332
379
  }
333
380
 
334
- class GetMemoryRecordCommand extends smithyClient.Command
381
+ class GetMemoryRecordCommand extends client.Command
335
382
  .classBuilder()
336
383
  .ep(commonParams)
337
384
  .m(function (Command, cs, config, o) {
338
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
385
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
339
386
  })
340
387
  .s("AmazonBedrockAgentCore", "GetMemoryRecord", {})
341
388
  .n("BedrockAgentCoreClient", "GetMemoryRecordCommand")
@@ -343,11 +390,47 @@ class GetMemoryRecordCommand extends smithyClient.Command
343
390
  .build() {
344
391
  }
345
392
 
346
- class GetRecommendationCommand extends smithyClient.Command
393
+ class GetPaymentInstrumentBalanceCommand extends client.Command
394
+ .classBuilder()
395
+ .ep(commonParams)
396
+ .m(function (Command, cs, config, o) {
397
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
398
+ })
399
+ .s("AmazonBedrockAgentCore", "GetPaymentInstrumentBalance", {})
400
+ .n("BedrockAgentCoreClient", "GetPaymentInstrumentBalanceCommand")
401
+ .sc(schemas_0.GetPaymentInstrumentBalance$)
402
+ .build() {
403
+ }
404
+
405
+ class GetPaymentInstrumentCommand extends client.Command
406
+ .classBuilder()
407
+ .ep(commonParams)
408
+ .m(function (Command, cs, config, o) {
409
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
410
+ })
411
+ .s("AmazonBedrockAgentCore", "GetPaymentInstrument", {})
412
+ .n("BedrockAgentCoreClient", "GetPaymentInstrumentCommand")
413
+ .sc(schemas_0.GetPaymentInstrument$)
414
+ .build() {
415
+ }
416
+
417
+ class GetPaymentSessionCommand extends client.Command
418
+ .classBuilder()
419
+ .ep(commonParams)
420
+ .m(function (Command, cs, config, o) {
421
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
422
+ })
423
+ .s("AmazonBedrockAgentCore", "GetPaymentSession", {})
424
+ .n("BedrockAgentCoreClient", "GetPaymentSessionCommand")
425
+ .sc(schemas_0.GetPaymentSession$)
426
+ .build() {
427
+ }
428
+
429
+ class GetRecommendationCommand extends client.Command
347
430
  .classBuilder()
348
431
  .ep(commonParams)
349
432
  .m(function (Command, cs, config, o) {
350
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
433
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
351
434
  })
352
435
  .s("AmazonBedrockAgentCore", "GetRecommendation", {})
353
436
  .n("BedrockAgentCoreClient", "GetRecommendationCommand")
@@ -355,11 +438,11 @@ class GetRecommendationCommand extends smithyClient.Command
355
438
  .build() {
356
439
  }
357
440
 
358
- class GetResourceApiKeyCommand extends smithyClient.Command
441
+ class GetResourceApiKeyCommand extends client.Command
359
442
  .classBuilder()
360
443
  .ep(commonParams)
361
444
  .m(function (Command, cs, config, o) {
362
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
445
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
363
446
  })
364
447
  .s("AmazonBedrockAgentCore", "GetResourceApiKey", {})
365
448
  .n("BedrockAgentCoreClient", "GetResourceApiKeyCommand")
@@ -367,11 +450,11 @@ class GetResourceApiKeyCommand extends smithyClient.Command
367
450
  .build() {
368
451
  }
369
452
 
370
- class GetResourceOauth2TokenCommand extends smithyClient.Command
453
+ class GetResourceOauth2TokenCommand extends client.Command
371
454
  .classBuilder()
372
455
  .ep(commonParams)
373
456
  .m(function (Command, cs, config, o) {
374
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
457
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
375
458
  })
376
459
  .s("AmazonBedrockAgentCore", "GetResourceOauth2Token", {})
377
460
  .n("BedrockAgentCoreClient", "GetResourceOauth2TokenCommand")
@@ -379,11 +462,23 @@ class GetResourceOauth2TokenCommand extends smithyClient.Command
379
462
  .build() {
380
463
  }
381
464
 
382
- class GetWorkloadAccessTokenCommand extends smithyClient.Command
465
+ class GetResourcePaymentTokenCommand extends client.Command
466
+ .classBuilder()
467
+ .ep(commonParams)
468
+ .m(function (Command, cs, config, o) {
469
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
470
+ })
471
+ .s("AmazonBedrockAgentCore", "GetResourcePaymentToken", {})
472
+ .n("BedrockAgentCoreClient", "GetResourcePaymentTokenCommand")
473
+ .sc(schemas_0.GetResourcePaymentToken$)
474
+ .build() {
475
+ }
476
+
477
+ class GetWorkloadAccessTokenCommand extends client.Command
383
478
  .classBuilder()
384
479
  .ep(commonParams)
385
480
  .m(function (Command, cs, config, o) {
386
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
481
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
387
482
  })
388
483
  .s("AmazonBedrockAgentCore", "GetWorkloadAccessToken", {})
389
484
  .n("BedrockAgentCoreClient", "GetWorkloadAccessTokenCommand")
@@ -391,11 +486,11 @@ class GetWorkloadAccessTokenCommand extends smithyClient.Command
391
486
  .build() {
392
487
  }
393
488
 
394
- class GetWorkloadAccessTokenForJWTCommand extends smithyClient.Command
489
+ class GetWorkloadAccessTokenForJWTCommand extends client.Command
395
490
  .classBuilder()
396
491
  .ep(commonParams)
397
492
  .m(function (Command, cs, config, o) {
398
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
493
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
399
494
  })
400
495
  .s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForJWT", {})
401
496
  .n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForJWTCommand")
@@ -403,11 +498,11 @@ class GetWorkloadAccessTokenForJWTCommand extends smithyClient.Command
403
498
  .build() {
404
499
  }
405
500
 
406
- class GetWorkloadAccessTokenForUserIdCommand extends smithyClient.Command
501
+ class GetWorkloadAccessTokenForUserIdCommand extends client.Command
407
502
  .classBuilder()
408
503
  .ep(commonParams)
409
504
  .m(function (Command, cs, config, o) {
410
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
505
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
411
506
  })
412
507
  .s("AmazonBedrockAgentCore", "GetWorkloadAccessTokenForUserId", {})
413
508
  .n("BedrockAgentCoreClient", "GetWorkloadAccessTokenForUserIdCommand")
@@ -415,11 +510,11 @@ class GetWorkloadAccessTokenForUserIdCommand extends smithyClient.Command
415
510
  .build() {
416
511
  }
417
512
 
418
- class InvokeAgentRuntimeCommand extends smithyClient.Command
513
+ class InvokeAgentRuntimeCommand extends client.Command
419
514
  .classBuilder()
420
515
  .ep(commonParams)
421
516
  .m(function (Command, cs, config, o) {
422
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
517
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
423
518
  })
424
519
  .s("AmazonBedrockAgentCore", "InvokeAgentRuntime", {})
425
520
  .n("BedrockAgentCoreClient", "InvokeAgentRuntimeCommand")
@@ -427,11 +522,11 @@ class InvokeAgentRuntimeCommand extends smithyClient.Command
427
522
  .build() {
428
523
  }
429
524
 
430
- class InvokeAgentRuntimeCommandCommand extends smithyClient.Command
525
+ class InvokeAgentRuntimeCommandCommand extends client.Command
431
526
  .classBuilder()
432
527
  .ep(commonParams)
433
528
  .m(function (Command, cs, config, o) {
434
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
529
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
435
530
  })
436
531
  .s("AmazonBedrockAgentCore", "InvokeAgentRuntimeCommand", {
437
532
  eventStream: {
@@ -443,11 +538,11 @@ class InvokeAgentRuntimeCommandCommand extends smithyClient.Command
443
538
  .build() {
444
539
  }
445
540
 
446
- class InvokeBrowserCommand extends smithyClient.Command
541
+ class InvokeBrowserCommand extends client.Command
447
542
  .classBuilder()
448
543
  .ep(commonParams)
449
544
  .m(function (Command, cs, config, o) {
450
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
545
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
451
546
  })
452
547
  .s("AmazonBedrockAgentCore", "InvokeBrowser", {})
453
548
  .n("BedrockAgentCoreClient", "InvokeBrowserCommand")
@@ -455,11 +550,11 @@ class InvokeBrowserCommand extends smithyClient.Command
455
550
  .build() {
456
551
  }
457
552
 
458
- class InvokeCodeInterpreterCommand extends smithyClient.Command
553
+ class InvokeCodeInterpreterCommand extends client.Command
459
554
  .classBuilder()
460
555
  .ep(commonParams)
461
556
  .m(function (Command, cs, config, o) {
462
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
557
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
463
558
  })
464
559
  .s("AmazonBedrockAgentCore", "InvokeCodeInterpreter", {
465
560
  eventStream: {
@@ -471,11 +566,11 @@ class InvokeCodeInterpreterCommand extends smithyClient.Command
471
566
  .build() {
472
567
  }
473
568
 
474
- class InvokeHarnessCommand extends smithyClient.Command
569
+ class InvokeHarnessCommand extends client.Command
475
570
  .classBuilder()
476
571
  .ep(commonParams)
477
572
  .m(function (Command, cs, config, o) {
478
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
573
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
479
574
  })
480
575
  .s("AmazonBedrockAgentCore", "InvokeHarness", {
481
576
  eventStream: {
@@ -487,11 +582,11 @@ class InvokeHarnessCommand extends smithyClient.Command
487
582
  .build() {
488
583
  }
489
584
 
490
- class ListABTestsCommand extends smithyClient.Command
585
+ class ListABTestsCommand extends client.Command
491
586
  .classBuilder()
492
587
  .ep(commonParams)
493
588
  .m(function (Command, cs, config, o) {
494
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
589
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
495
590
  })
496
591
  .s("AmazonBedrockAgentCore", "ListABTests", {})
497
592
  .n("BedrockAgentCoreClient", "ListABTestsCommand")
@@ -499,11 +594,11 @@ class ListABTestsCommand extends smithyClient.Command
499
594
  .build() {
500
595
  }
501
596
 
502
- class ListActorsCommand extends smithyClient.Command
597
+ class ListActorsCommand extends client.Command
503
598
  .classBuilder()
504
599
  .ep(commonParams)
505
600
  .m(function (Command, cs, config, o) {
506
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
601
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
507
602
  })
508
603
  .s("AmazonBedrockAgentCore", "ListActors", {})
509
604
  .n("BedrockAgentCoreClient", "ListActorsCommand")
@@ -511,11 +606,11 @@ class ListActorsCommand extends smithyClient.Command
511
606
  .build() {
512
607
  }
513
608
 
514
- class ListBatchEvaluationsCommand extends smithyClient.Command
609
+ class ListBatchEvaluationsCommand extends client.Command
515
610
  .classBuilder()
516
611
  .ep(commonParams)
517
612
  .m(function (Command, cs, config, o) {
518
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
613
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
519
614
  })
520
615
  .s("AmazonBedrockAgentCore", "ListBatchEvaluations", {})
521
616
  .n("BedrockAgentCoreClient", "ListBatchEvaluationsCommand")
@@ -523,11 +618,11 @@ class ListBatchEvaluationsCommand extends smithyClient.Command
523
618
  .build() {
524
619
  }
525
620
 
526
- class ListBrowserSessionsCommand extends smithyClient.Command
621
+ class ListBrowserSessionsCommand extends client.Command
527
622
  .classBuilder()
528
623
  .ep(commonParams)
529
624
  .m(function (Command, cs, config, o) {
530
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
625
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
531
626
  })
532
627
  .s("AmazonBedrockAgentCore", "ListBrowserSessions", {})
533
628
  .n("BedrockAgentCoreClient", "ListBrowserSessionsCommand")
@@ -535,11 +630,11 @@ class ListBrowserSessionsCommand extends smithyClient.Command
535
630
  .build() {
536
631
  }
537
632
 
538
- class ListCodeInterpreterSessionsCommand extends smithyClient.Command
633
+ class ListCodeInterpreterSessionsCommand extends client.Command
539
634
  .classBuilder()
540
635
  .ep(commonParams)
541
636
  .m(function (Command, cs, config, o) {
542
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
637
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
543
638
  })
544
639
  .s("AmazonBedrockAgentCore", "ListCodeInterpreterSessions", {})
545
640
  .n("BedrockAgentCoreClient", "ListCodeInterpreterSessionsCommand")
@@ -547,11 +642,11 @@ class ListCodeInterpreterSessionsCommand extends smithyClient.Command
547
642
  .build() {
548
643
  }
549
644
 
550
- class ListEventsCommand extends smithyClient.Command
645
+ class ListEventsCommand extends client.Command
551
646
  .classBuilder()
552
647
  .ep(commonParams)
553
648
  .m(function (Command, cs, config, o) {
554
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
649
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
555
650
  })
556
651
  .s("AmazonBedrockAgentCore", "ListEvents", {})
557
652
  .n("BedrockAgentCoreClient", "ListEventsCommand")
@@ -559,11 +654,11 @@ class ListEventsCommand extends smithyClient.Command
559
654
  .build() {
560
655
  }
561
656
 
562
- class ListMemoryExtractionJobsCommand extends smithyClient.Command
657
+ class ListMemoryExtractionJobsCommand extends client.Command
563
658
  .classBuilder()
564
659
  .ep(commonParams)
565
660
  .m(function (Command, cs, config, o) {
566
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
661
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
567
662
  })
568
663
  .s("AmazonBedrockAgentCore", "ListMemoryExtractionJobs", {})
569
664
  .n("BedrockAgentCoreClient", "ListMemoryExtractionJobsCommand")
@@ -571,11 +666,11 @@ class ListMemoryExtractionJobsCommand extends smithyClient.Command
571
666
  .build() {
572
667
  }
573
668
 
574
- class ListMemoryRecordsCommand extends smithyClient.Command
669
+ class ListMemoryRecordsCommand extends client.Command
575
670
  .classBuilder()
576
671
  .ep(commonParams)
577
672
  .m(function (Command, cs, config, o) {
578
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
673
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
579
674
  })
580
675
  .s("AmazonBedrockAgentCore", "ListMemoryRecords", {})
581
676
  .n("BedrockAgentCoreClient", "ListMemoryRecordsCommand")
@@ -583,11 +678,35 @@ class ListMemoryRecordsCommand extends smithyClient.Command
583
678
  .build() {
584
679
  }
585
680
 
586
- class ListRecommendationsCommand extends smithyClient.Command
681
+ class ListPaymentInstrumentsCommand extends client.Command
682
+ .classBuilder()
683
+ .ep(commonParams)
684
+ .m(function (Command, cs, config, o) {
685
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
686
+ })
687
+ .s("AmazonBedrockAgentCore", "ListPaymentInstruments", {})
688
+ .n("BedrockAgentCoreClient", "ListPaymentInstrumentsCommand")
689
+ .sc(schemas_0.ListPaymentInstruments$)
690
+ .build() {
691
+ }
692
+
693
+ class ListPaymentSessionsCommand extends client.Command
694
+ .classBuilder()
695
+ .ep(commonParams)
696
+ .m(function (Command, cs, config, o) {
697
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
698
+ })
699
+ .s("AmazonBedrockAgentCore", "ListPaymentSessions", {})
700
+ .n("BedrockAgentCoreClient", "ListPaymentSessionsCommand")
701
+ .sc(schemas_0.ListPaymentSessions$)
702
+ .build() {
703
+ }
704
+
705
+ class ListRecommendationsCommand extends client.Command
587
706
  .classBuilder()
588
707
  .ep(commonParams)
589
708
  .m(function (Command, cs, config, o) {
590
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
709
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
591
710
  })
592
711
  .s("AmazonBedrockAgentCore", "ListRecommendations", {})
593
712
  .n("BedrockAgentCoreClient", "ListRecommendationsCommand")
@@ -595,11 +714,11 @@ class ListRecommendationsCommand extends smithyClient.Command
595
714
  .build() {
596
715
  }
597
716
 
598
- class ListSessionsCommand extends smithyClient.Command
717
+ class ListSessionsCommand extends client.Command
599
718
  .classBuilder()
600
719
  .ep(commonParams)
601
720
  .m(function (Command, cs, config, o) {
602
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
721
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
603
722
  })
604
723
  .s("AmazonBedrockAgentCore", "ListSessions", {})
605
724
  .n("BedrockAgentCoreClient", "ListSessionsCommand")
@@ -607,11 +726,23 @@ class ListSessionsCommand extends smithyClient.Command
607
726
  .build() {
608
727
  }
609
728
 
610
- class RetrieveMemoryRecordsCommand extends smithyClient.Command
729
+ class ProcessPaymentCommand extends client.Command
730
+ .classBuilder()
731
+ .ep(commonParams)
732
+ .m(function (Command, cs, config, o) {
733
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
734
+ })
735
+ .s("AmazonBedrockAgentCore", "ProcessPayment", {})
736
+ .n("BedrockAgentCoreClient", "ProcessPaymentCommand")
737
+ .sc(schemas_0.ProcessPayment$)
738
+ .build() {
739
+ }
740
+
741
+ class RetrieveMemoryRecordsCommand extends client.Command
611
742
  .classBuilder()
612
743
  .ep(commonParams)
613
744
  .m(function (Command, cs, config, o) {
614
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
745
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
615
746
  })
616
747
  .s("AmazonBedrockAgentCore", "RetrieveMemoryRecords", {})
617
748
  .n("BedrockAgentCoreClient", "RetrieveMemoryRecordsCommand")
@@ -619,11 +750,11 @@ class RetrieveMemoryRecordsCommand extends smithyClient.Command
619
750
  .build() {
620
751
  }
621
752
 
622
- class SaveBrowserSessionProfileCommand extends smithyClient.Command
753
+ class SaveBrowserSessionProfileCommand extends client.Command
623
754
  .classBuilder()
624
755
  .ep(commonParams)
625
756
  .m(function (Command, cs, config, o) {
626
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
757
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
627
758
  })
628
759
  .s("AmazonBedrockAgentCore", "SaveBrowserSessionProfile", {})
629
760
  .n("BedrockAgentCoreClient", "SaveBrowserSessionProfileCommand")
@@ -631,11 +762,11 @@ class SaveBrowserSessionProfileCommand extends smithyClient.Command
631
762
  .build() {
632
763
  }
633
764
 
634
- class SearchRegistryRecordsCommand extends smithyClient.Command
765
+ class SearchRegistryRecordsCommand extends client.Command
635
766
  .classBuilder()
636
767
  .ep(commonParams)
637
768
  .m(function (Command, cs, config, o) {
638
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
769
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
639
770
  })
640
771
  .s("AmazonBedrockAgentCore", "SearchRegistryRecords", {})
641
772
  .n("BedrockAgentCoreClient", "SearchRegistryRecordsCommand")
@@ -643,11 +774,11 @@ class SearchRegistryRecordsCommand extends smithyClient.Command
643
774
  .build() {
644
775
  }
645
776
 
646
- class StartBatchEvaluationCommand extends smithyClient.Command
777
+ class StartBatchEvaluationCommand extends client.Command
647
778
  .classBuilder()
648
779
  .ep(commonParams)
649
780
  .m(function (Command, cs, config, o) {
650
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
781
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
651
782
  })
652
783
  .s("AmazonBedrockAgentCore", "StartBatchEvaluation", {})
653
784
  .n("BedrockAgentCoreClient", "StartBatchEvaluationCommand")
@@ -655,11 +786,11 @@ class StartBatchEvaluationCommand extends smithyClient.Command
655
786
  .build() {
656
787
  }
657
788
 
658
- class StartBrowserSessionCommand extends smithyClient.Command
789
+ class StartBrowserSessionCommand extends client.Command
659
790
  .classBuilder()
660
791
  .ep(commonParams)
661
792
  .m(function (Command, cs, config, o) {
662
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
793
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
663
794
  })
664
795
  .s("AmazonBedrockAgentCore", "StartBrowserSession", {})
665
796
  .n("BedrockAgentCoreClient", "StartBrowserSessionCommand")
@@ -667,11 +798,11 @@ class StartBrowserSessionCommand extends smithyClient.Command
667
798
  .build() {
668
799
  }
669
800
 
670
- class StartCodeInterpreterSessionCommand extends smithyClient.Command
801
+ class StartCodeInterpreterSessionCommand extends client.Command
671
802
  .classBuilder()
672
803
  .ep(commonParams)
673
804
  .m(function (Command, cs, config, o) {
674
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
805
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
675
806
  })
676
807
  .s("AmazonBedrockAgentCore", "StartCodeInterpreterSession", {})
677
808
  .n("BedrockAgentCoreClient", "StartCodeInterpreterSessionCommand")
@@ -679,11 +810,11 @@ class StartCodeInterpreterSessionCommand extends smithyClient.Command
679
810
  .build() {
680
811
  }
681
812
 
682
- class StartMemoryExtractionJobCommand extends smithyClient.Command
813
+ class StartMemoryExtractionJobCommand extends client.Command
683
814
  .classBuilder()
684
815
  .ep(commonParams)
685
816
  .m(function (Command, cs, config, o) {
686
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
817
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
687
818
  })
688
819
  .s("AmazonBedrockAgentCore", "StartMemoryExtractionJob", {})
689
820
  .n("BedrockAgentCoreClient", "StartMemoryExtractionJobCommand")
@@ -691,11 +822,11 @@ class StartMemoryExtractionJobCommand extends smithyClient.Command
691
822
  .build() {
692
823
  }
693
824
 
694
- class StartRecommendationCommand extends smithyClient.Command
825
+ class StartRecommendationCommand extends client.Command
695
826
  .classBuilder()
696
827
  .ep(commonParams)
697
828
  .m(function (Command, cs, config, o) {
698
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
829
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
699
830
  })
700
831
  .s("AmazonBedrockAgentCore", "StartRecommendation", {})
701
832
  .n("BedrockAgentCoreClient", "StartRecommendationCommand")
@@ -703,11 +834,11 @@ class StartRecommendationCommand extends smithyClient.Command
703
834
  .build() {
704
835
  }
705
836
 
706
- class StopBatchEvaluationCommand extends smithyClient.Command
837
+ class StopBatchEvaluationCommand extends client.Command
707
838
  .classBuilder()
708
839
  .ep(commonParams)
709
840
  .m(function (Command, cs, config, o) {
710
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
841
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
711
842
  })
712
843
  .s("AmazonBedrockAgentCore", "StopBatchEvaluation", {})
713
844
  .n("BedrockAgentCoreClient", "StopBatchEvaluationCommand")
@@ -715,11 +846,11 @@ class StopBatchEvaluationCommand extends smithyClient.Command
715
846
  .build() {
716
847
  }
717
848
 
718
- class StopBrowserSessionCommand extends smithyClient.Command
849
+ class StopBrowserSessionCommand extends client.Command
719
850
  .classBuilder()
720
851
  .ep(commonParams)
721
852
  .m(function (Command, cs, config, o) {
722
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
853
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
723
854
  })
724
855
  .s("AmazonBedrockAgentCore", "StopBrowserSession", {})
725
856
  .n("BedrockAgentCoreClient", "StopBrowserSessionCommand")
@@ -727,11 +858,11 @@ class StopBrowserSessionCommand extends smithyClient.Command
727
858
  .build() {
728
859
  }
729
860
 
730
- class StopCodeInterpreterSessionCommand extends smithyClient.Command
861
+ class StopCodeInterpreterSessionCommand extends client.Command
731
862
  .classBuilder()
732
863
  .ep(commonParams)
733
864
  .m(function (Command, cs, config, o) {
734
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
865
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
735
866
  })
736
867
  .s("AmazonBedrockAgentCore", "StopCodeInterpreterSession", {})
737
868
  .n("BedrockAgentCoreClient", "StopCodeInterpreterSessionCommand")
@@ -739,11 +870,11 @@ class StopCodeInterpreterSessionCommand extends smithyClient.Command
739
870
  .build() {
740
871
  }
741
872
 
742
- class StopRuntimeSessionCommand extends smithyClient.Command
873
+ class StopRuntimeSessionCommand extends client.Command
743
874
  .classBuilder()
744
875
  .ep(commonParams)
745
876
  .m(function (Command, cs, config, o) {
746
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
877
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
747
878
  })
748
879
  .s("AmazonBedrockAgentCore", "StopRuntimeSession", {})
749
880
  .n("BedrockAgentCoreClient", "StopRuntimeSessionCommand")
@@ -751,11 +882,11 @@ class StopRuntimeSessionCommand extends smithyClient.Command
751
882
  .build() {
752
883
  }
753
884
 
754
- class UpdateABTestCommand extends smithyClient.Command
885
+ class UpdateABTestCommand extends client.Command
755
886
  .classBuilder()
756
887
  .ep(commonParams)
757
888
  .m(function (Command, cs, config, o) {
758
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
889
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
759
890
  })
760
891
  .s("AmazonBedrockAgentCore", "UpdateABTest", {})
761
892
  .n("BedrockAgentCoreClient", "UpdateABTestCommand")
@@ -763,11 +894,11 @@ class UpdateABTestCommand extends smithyClient.Command
763
894
  .build() {
764
895
  }
765
896
 
766
- class UpdateBrowserStreamCommand extends smithyClient.Command
897
+ class UpdateBrowserStreamCommand extends client.Command
767
898
  .classBuilder()
768
899
  .ep(commonParams)
769
900
  .m(function (Command, cs, config, o) {
770
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
901
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
771
902
  })
772
903
  .s("AmazonBedrockAgentCore", "UpdateBrowserStream", {})
773
904
  .n("BedrockAgentCoreClient", "UpdateBrowserStreamCommand")
@@ -787,6 +918,10 @@ const paginateListMemoryExtractionJobs = core.createPaginator(BedrockAgentCoreCl
787
918
 
788
919
  const paginateListMemoryRecords = core.createPaginator(BedrockAgentCoreClient, ListMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
789
920
 
921
+ const paginateListPaymentInstruments = core.createPaginator(BedrockAgentCoreClient, ListPaymentInstrumentsCommand, "nextToken", "nextToken", "maxResults");
922
+
923
+ const paginateListPaymentSessions = core.createPaginator(BedrockAgentCoreClient, ListPaymentSessionsCommand, "nextToken", "nextToken", "maxResults");
924
+
790
925
  const paginateListRecommendations = core.createPaginator(BedrockAgentCoreClient, ListRecommendationsCommand, "nextToken", "nextToken", "maxResults");
791
926
 
792
927
  const paginateListSessions = core.createPaginator(BedrockAgentCoreClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
@@ -800,10 +935,14 @@ const commands = {
800
935
  CompleteResourceTokenAuthCommand,
801
936
  CreateABTestCommand,
802
937
  CreateEventCommand,
938
+ CreatePaymentInstrumentCommand,
939
+ CreatePaymentSessionCommand,
803
940
  DeleteABTestCommand,
804
941
  DeleteBatchEvaluationCommand,
805
942
  DeleteEventCommand,
806
943
  DeleteMemoryRecordCommand,
944
+ DeletePaymentInstrumentCommand,
945
+ DeletePaymentSessionCommand,
807
946
  DeleteRecommendationCommand,
808
947
  EvaluateCommand,
809
948
  GetABTestCommand,
@@ -813,9 +952,13 @@ const commands = {
813
952
  GetCodeInterpreterSessionCommand,
814
953
  GetEventCommand,
815
954
  GetMemoryRecordCommand,
955
+ GetPaymentInstrumentCommand,
956
+ GetPaymentInstrumentBalanceCommand,
957
+ GetPaymentSessionCommand,
816
958
  GetRecommendationCommand,
817
959
  GetResourceApiKeyCommand,
818
960
  GetResourceOauth2TokenCommand,
961
+ GetResourcePaymentTokenCommand,
819
962
  GetWorkloadAccessTokenCommand,
820
963
  GetWorkloadAccessTokenForJWTCommand,
821
964
  GetWorkloadAccessTokenForUserIdCommand,
@@ -832,8 +975,11 @@ const commands = {
832
975
  ListEventsCommand,
833
976
  ListMemoryExtractionJobsCommand,
834
977
  ListMemoryRecordsCommand,
978
+ ListPaymentInstrumentsCommand,
979
+ ListPaymentSessionsCommand,
835
980
  ListRecommendationsCommand,
836
981
  ListSessionsCommand,
982
+ ProcessPaymentCommand,
837
983
  RetrieveMemoryRecordsCommand,
838
984
  SaveBrowserSessionProfileCommand,
839
985
  SearchRegistryRecordsCommand,
@@ -856,13 +1002,15 @@ const paginators = {
856
1002
  paginateListEvents,
857
1003
  paginateListMemoryExtractionJobs,
858
1004
  paginateListMemoryRecords,
1005
+ paginateListPaymentInstruments,
1006
+ paginateListPaymentSessions,
859
1007
  paginateListRecommendations,
860
1008
  paginateListSessions,
861
1009
  paginateRetrieveMemoryRecords,
862
1010
  };
863
1011
  class BedrockAgentCore extends BedrockAgentCoreClient {
864
1012
  }
865
- smithyClient.createAggregatedClient(commands, BedrockAgentCore, { paginators });
1013
+ client.createAggregatedClient(commands, BedrockAgentCore, { paginators });
866
1014
 
867
1015
  const ABTestExecutionStatus = {
868
1016
  NOT_STARTED: "NOT_STARTED",
@@ -959,6 +1107,13 @@ const SessionStatus = {
959
1107
  FAILED: "FAILED",
960
1108
  IN_PROGRESS: "IN_PROGRESS",
961
1109
  };
1110
+ const PaymentHttpMethodType = {
1111
+ DELETE: "DELETE",
1112
+ GET: "GET",
1113
+ PATCH: "PATCH",
1114
+ POST: "POST",
1115
+ PUT: "PUT",
1116
+ };
962
1117
  const ProgrammingLanguage = {
963
1118
  JAVASCRIPT: "javascript",
964
1119
  PYTHON: "python",
@@ -1013,6 +1168,7 @@ const HarnessConversationRole = {
1013
1168
  const OAuthGrantType = {
1014
1169
  AUTHORIZATION_CODE: "AUTHORIZATION_CODE",
1015
1170
  CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS",
1171
+ TOKEN_EXCHANGE: "TOKEN_EXCHANGE",
1016
1172
  };
1017
1173
  const HarnessToolType = {
1018
1174
  AGENTCORE_BROWSER: "agentcore_browser",
@@ -1070,6 +1226,43 @@ const MemoryRecordOperatorType = {
1070
1226
  const EventFilterCondition = {
1071
1227
  HAS_EVENTS: "HAS_EVENTS",
1072
1228
  };
1229
+ const CryptoWalletNetwork = {
1230
+ ETHEREUM: "ETHEREUM",
1231
+ SOLANA: "SOLANA",
1232
+ };
1233
+ const PaymentInstrumentType = {
1234
+ EMBEDDED_CRYPTO_WALLET: "EMBEDDED_CRYPTO_WALLET",
1235
+ };
1236
+ const PaymentInstrumentStatus = {
1237
+ ACTIVE: "ACTIVE",
1238
+ DELETED: "DELETED",
1239
+ FAILED: "FAILED",
1240
+ INITIATED: "INITIATED",
1241
+ };
1242
+ const BlockchainChainId = {
1243
+ BASE: "BASE",
1244
+ BASE_SEPOLIA: "BASE_SEPOLIA",
1245
+ ETHEREUM: "ETHEREUM",
1246
+ SOLANA: "SOLANA",
1247
+ SOLANA_DEVNET: "SOLANA_DEVNET",
1248
+ };
1249
+ const InstrumentBalanceToken = {
1250
+ USDC: "USDC",
1251
+ };
1252
+ const Currency = {
1253
+ USD: "USD",
1254
+ };
1255
+ const PaymentSessionStatus = {
1256
+ ACTIVE: "ACTIVE",
1257
+ DELETED: "DELETED",
1258
+ EXPIRED: "EXPIRED",
1259
+ };
1260
+ const PaymentType = {
1261
+ CRYPTO_X402: "CRYPTO_X402",
1262
+ };
1263
+ const PaymentStatus = {
1264
+ PROOF_GENERATED: "PROOF_GENERATED",
1265
+ };
1073
1266
  const DescriptorType = {
1074
1267
  A2A: "A2A",
1075
1268
  AGENT_SKILLS: "AGENT_SKILLS",
@@ -1084,8 +1277,8 @@ const RegistryRecordStatus = {
1084
1277
  REJECTED: "REJECTED",
1085
1278
  };
1086
1279
 
1087
- exports.$Command = smithyClient.Command;
1088
- exports.__Client = smithyClient.Client;
1280
+ exports.$Command = client.Command;
1281
+ exports.__Client = client.Client;
1089
1282
  exports.BedrockAgentCoreServiceException = BedrockAgentCoreServiceException.BedrockAgentCoreServiceException;
1090
1283
  exports.ABTestExecutionStatus = ABTestExecutionStatus;
1091
1284
  exports.ABTestStatus = ABTestStatus;
@@ -1096,6 +1289,7 @@ exports.BatchEvaluationStatus = BatchEvaluationStatus;
1096
1289
  exports.BatchUpdateMemoryRecordsCommand = BatchUpdateMemoryRecordsCommand;
1097
1290
  exports.BedrockAgentCore = BedrockAgentCore;
1098
1291
  exports.BedrockAgentCoreClient = BedrockAgentCoreClient;
1292
+ exports.BlockchainChainId = BlockchainChainId;
1099
1293
  exports.BrowserActionStatus = BrowserActionStatus;
1100
1294
  exports.BrowserEnterprisePolicyType = BrowserEnterprisePolicyType;
1101
1295
  exports.BrowserSessionStatus = BrowserSessionStatus;
@@ -1106,10 +1300,16 @@ exports.CompleteResourceTokenAuthCommand = CompleteResourceTokenAuthCommand;
1106
1300
  exports.ContentBlockType = ContentBlockType;
1107
1301
  exports.CreateABTestCommand = CreateABTestCommand;
1108
1302
  exports.CreateEventCommand = CreateEventCommand;
1303
+ exports.CreatePaymentInstrumentCommand = CreatePaymentInstrumentCommand;
1304
+ exports.CreatePaymentSessionCommand = CreatePaymentSessionCommand;
1305
+ exports.CryptoWalletNetwork = CryptoWalletNetwork;
1306
+ exports.Currency = Currency;
1109
1307
  exports.DeleteABTestCommand = DeleteABTestCommand;
1110
1308
  exports.DeleteBatchEvaluationCommand = DeleteBatchEvaluationCommand;
1111
1309
  exports.DeleteEventCommand = DeleteEventCommand;
1112
1310
  exports.DeleteMemoryRecordCommand = DeleteMemoryRecordCommand;
1311
+ exports.DeletePaymentInstrumentCommand = DeletePaymentInstrumentCommand;
1312
+ exports.DeletePaymentSessionCommand = DeletePaymentSessionCommand;
1113
1313
  exports.DeleteRecommendationCommand = DeleteRecommendationCommand;
1114
1314
  exports.DescriptorType = DescriptorType;
1115
1315
  exports.EvaluateCommand = EvaluateCommand;
@@ -1122,9 +1322,13 @@ exports.GetBrowserSessionCommand = GetBrowserSessionCommand;
1122
1322
  exports.GetCodeInterpreterSessionCommand = GetCodeInterpreterSessionCommand;
1123
1323
  exports.GetEventCommand = GetEventCommand;
1124
1324
  exports.GetMemoryRecordCommand = GetMemoryRecordCommand;
1325
+ exports.GetPaymentInstrumentBalanceCommand = GetPaymentInstrumentBalanceCommand;
1326
+ exports.GetPaymentInstrumentCommand = GetPaymentInstrumentCommand;
1327
+ exports.GetPaymentSessionCommand = GetPaymentSessionCommand;
1125
1328
  exports.GetRecommendationCommand = GetRecommendationCommand;
1126
1329
  exports.GetResourceApiKeyCommand = GetResourceApiKeyCommand;
1127
1330
  exports.GetResourceOauth2TokenCommand = GetResourceOauth2TokenCommand;
1331
+ exports.GetResourcePaymentTokenCommand = GetResourcePaymentTokenCommand;
1128
1332
  exports.GetWorkloadAccessTokenCommand = GetWorkloadAccessTokenCommand;
1129
1333
  exports.GetWorkloadAccessTokenForJWTCommand = GetWorkloadAccessTokenForJWTCommand;
1130
1334
  exports.GetWorkloadAccessTokenForUserIdCommand = GetWorkloadAccessTokenForUserIdCommand;
@@ -1133,6 +1337,7 @@ exports.HarnessStopReason = HarnessStopReason;
1133
1337
  exports.HarnessToolType = HarnessToolType;
1134
1338
  exports.HarnessToolUseStatus = HarnessToolUseStatus;
1135
1339
  exports.HarnessToolUseType = HarnessToolUseType;
1340
+ exports.InstrumentBalanceToken = InstrumentBalanceToken;
1136
1341
  exports.InvokeAgentRuntimeCommand = InvokeAgentRuntimeCommand;
1137
1342
  exports.InvokeAgentRuntimeCommandCommand = InvokeAgentRuntimeCommandCommand;
1138
1343
  exports.InvokeBrowserCommand = InvokeBrowserCommand;
@@ -1147,6 +1352,8 @@ exports.ListCodeInterpreterSessionsCommand = ListCodeInterpreterSessionsCommand;
1147
1352
  exports.ListEventsCommand = ListEventsCommand;
1148
1353
  exports.ListMemoryExtractionJobsCommand = ListMemoryExtractionJobsCommand;
1149
1354
  exports.ListMemoryRecordsCommand = ListMemoryRecordsCommand;
1355
+ exports.ListPaymentInstrumentsCommand = ListPaymentInstrumentsCommand;
1356
+ exports.ListPaymentSessionsCommand = ListPaymentSessionsCommand;
1150
1357
  exports.ListRecommendationsCommand = ListRecommendationsCommand;
1151
1358
  exports.ListSessionsCommand = ListSessionsCommand;
1152
1359
  exports.MemoryRecordOperatorType = MemoryRecordOperatorType;
@@ -1155,6 +1362,13 @@ exports.MouseButton = MouseButton;
1155
1362
  exports.OAuthGrantType = OAuthGrantType;
1156
1363
  exports.Oauth2FlowType = Oauth2FlowType;
1157
1364
  exports.OperatorType = OperatorType;
1365
+ exports.PaymentHttpMethodType = PaymentHttpMethodType;
1366
+ exports.PaymentInstrumentStatus = PaymentInstrumentStatus;
1367
+ exports.PaymentInstrumentType = PaymentInstrumentType;
1368
+ exports.PaymentSessionStatus = PaymentSessionStatus;
1369
+ exports.PaymentStatus = PaymentStatus;
1370
+ exports.PaymentType = PaymentType;
1371
+ exports.ProcessPaymentCommand = ProcessPaymentCommand;
1158
1372
  exports.ProgrammingLanguage = ProgrammingLanguage;
1159
1373
  exports.RecommendationStatus = RecommendationStatus;
1160
1374
  exports.RecommendationType = RecommendationType;
@@ -1186,6 +1400,8 @@ exports.paginateListBatchEvaluations = paginateListBatchEvaluations;
1186
1400
  exports.paginateListEvents = paginateListEvents;
1187
1401
  exports.paginateListMemoryExtractionJobs = paginateListMemoryExtractionJobs;
1188
1402
  exports.paginateListMemoryRecords = paginateListMemoryRecords;
1403
+ exports.paginateListPaymentInstruments = paginateListPaymentInstruments;
1404
+ exports.paginateListPaymentSessions = paginateListPaymentSessions;
1189
1405
  exports.paginateListRecommendations = paginateListRecommendations;
1190
1406
  exports.paginateListSessions = paginateListSessions;
1191
1407
  exports.paginateRetrieveMemoryRecords = paginateRetrieveMemoryRecords;