@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
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { CreatePaymentSessionRequest, CreatePaymentSessionResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreatePaymentSessionCommand}.
14
+ */
15
+ export interface CreatePaymentSessionCommandInput extends CreatePaymentSessionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreatePaymentSessionCommand}.
21
+ */
22
+ export interface CreatePaymentSessionCommandOutput extends CreatePaymentSessionResponse, __MetadataBearer {
23
+ }
24
+ declare const CreatePaymentSessionCommand_base: {
25
+ new (input: CreatePaymentSessionCommandInput): import("@smithy/core/client").CommandImpl<CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreatePaymentSessionCommandInput): import("@smithy/core/client").CommandImpl<CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Create a new payment manager session
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BedrockAgentCoreClient, CreatePaymentSessionCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
37
+ * // const { BedrockAgentCoreClient, CreatePaymentSessionCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
38
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
39
+ * const config = {}; // type is BedrockAgentCoreClientConfig
40
+ * const client = new BedrockAgentCoreClient(config);
41
+ * const input = { // CreatePaymentSessionRequest
42
+ * userId: "STRING_VALUE",
43
+ * agentName: "STRING_VALUE",
44
+ * paymentManagerArn: "STRING_VALUE", // required
45
+ * limits: { // SessionLimits
46
+ * maxSpendAmount: { // Amount
47
+ * value: "STRING_VALUE", // required
48
+ * currency: "USD", // required
49
+ * },
50
+ * },
51
+ * expiryTimeInMinutes: Number("int"), // required
52
+ * clientToken: "STRING_VALUE",
53
+ * };
54
+ * const command = new CreatePaymentSessionCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // CreatePaymentSessionResponse
57
+ * // paymentSession: { // PaymentSession
58
+ * // paymentSessionId: "STRING_VALUE", // required
59
+ * // paymentManagerArn: "STRING_VALUE", // required
60
+ * // limits: { // SessionLimits
61
+ * // maxSpendAmount: { // Amount
62
+ * // value: "STRING_VALUE", // required
63
+ * // currency: "USD", // required
64
+ * // },
65
+ * // },
66
+ * // userId: "STRING_VALUE", // required
67
+ * // expiryTimeInMinutes: Number("int"), // required
68
+ * // createdAt: new Date("TIMESTAMP"), // required
69
+ * // availableLimits: { // AvailableLimits
70
+ * // availableSpendAmount: {
71
+ * // value: "STRING_VALUE", // required
72
+ * // currency: "USD", // required
73
+ * // },
74
+ * // updatedAt: new Date("TIMESTAMP"),
75
+ * // },
76
+ * // updatedAt: new Date("TIMESTAMP"), // required
77
+ * // },
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param CreatePaymentSessionCommandInput - {@link CreatePaymentSessionCommandInput}
83
+ * @returns {@link CreatePaymentSessionCommandOutput}
84
+ * @see {@link CreatePaymentSessionCommandInput} for command's `input` shape.
85
+ * @see {@link CreatePaymentSessionCommandOutput} for command's `response` shape.
86
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
96
+ *
97
+ * @throws {@link ServiceQuotaExceededException} (client fault)
98
+ * <p>The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
105
+ *
106
+ * @throws {@link BedrockAgentCoreServiceException}
107
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class CreatePaymentSessionCommand extends CreatePaymentSessionCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: CreatePaymentSessionRequest;
117
+ output: CreatePaymentSessionResponse;
118
+ };
119
+ sdk: {
120
+ input: CreatePaymentSessionCommandInput;
121
+ output: CreatePaymentSessionCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { DeleteABTestRequest, DeleteABTestResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteABTestCommandInput extends DeleteABTestRequest {
22
22
  export interface DeleteABTestCommandOutput extends DeleteABTestResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteABTestCommand_base: {
25
- new (input: DeleteABTestCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteABTestCommandInput, DeleteABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteABTestCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteABTestCommandInput, DeleteABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteABTestCommandInput): import("@smithy/core/client").CommandImpl<DeleteABTestCommandInput, DeleteABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteABTestCommandInput): import("@smithy/core/client").CommandImpl<DeleteABTestCommandInput, DeleteABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes an A/B test and its associated gateway rules.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { DeleteBatchEvaluationRequest, DeleteBatchEvaluationResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteBatchEvaluationCommandInput extends DeleteBatchEvaluation
22
22
  export interface DeleteBatchEvaluationCommandOutput extends DeleteBatchEvaluationResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteBatchEvaluationCommand_base: {
25
- new (input: DeleteBatchEvaluationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteBatchEvaluationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteBatchEvaluationCommandInput): import("@smithy/core/client").CommandImpl<DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteBatchEvaluationCommandInput): import("@smithy/core/client").CommandImpl<DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes a batch evaluation and its associated results.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { DeleteEventInput, DeleteEventOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteEventCommandInput extends DeleteEventInput {
22
22
  export interface DeleteEventCommandOutput extends DeleteEventOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteEventCommand_base: {
25
- new (input: DeleteEventCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEventCommandInput, DeleteEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteEventCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEventCommandInput, DeleteEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteEventCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventCommandInput, DeleteEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteEventCommandInput): import("@smithy/core/client").CommandImpl<DeleteEventCommandInput, DeleteEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes an event from an AgentCore Memory resource. When you delete an event, it is permanently removed.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:DeleteEvent</code> permission.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { DeleteMemoryRecordInput, DeleteMemoryRecordOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteMemoryRecordCommandInput extends DeleteMemoryRecordInput
22
22
  export interface DeleteMemoryRecordCommandOutput extends DeleteMemoryRecordOutput, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteMemoryRecordCommand_base: {
25
- new (input: DeleteMemoryRecordCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteMemoryRecordCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteMemoryRecordCommandInput): import("@smithy/core/client").CommandImpl<DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteMemoryRecordCommandInput): import("@smithy/core/client").CommandImpl<DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently removed.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:DeleteMemoryRecord</code> permission.</p>
@@ -0,0 +1,112 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { DeletePaymentInstrumentRequest, DeletePaymentInstrumentResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeletePaymentInstrumentCommand}.
14
+ */
15
+ export interface DeletePaymentInstrumentCommandInput extends DeletePaymentInstrumentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeletePaymentInstrumentCommand}.
21
+ */
22
+ export interface DeletePaymentInstrumentCommandOutput extends DeletePaymentInstrumentResponse, __MetadataBearer {
23
+ }
24
+ declare const DeletePaymentInstrumentCommand_base: {
25
+ new (input: DeletePaymentInstrumentCommandInput): import("@smithy/core/client").CommandImpl<DeletePaymentInstrumentCommandInput, DeletePaymentInstrumentCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeletePaymentInstrumentCommandInput): import("@smithy/core/client").CommandImpl<DeletePaymentInstrumentCommandInput, DeletePaymentInstrumentCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Delete a payment instrument
33
+ *
34
+ * Marks a payment instrument as deleted by updating its status to DELETED. This is a soft delete
35
+ * operation that preserves the record in the database for audit and compliance purposes. The record
36
+ * remains queryable for audit purposes but is excluded from normal list and get operations.
37
+ *
38
+ * Deleting an already-deleted or non-existent instrument returns ResourceNotFoundException (404).
39
+ *
40
+ * Authorization: The caller must own the instrument (accountId, userId, and paymentManagerId must match).
41
+ * If authorization fails, a 403 Forbidden error is returned.
42
+ *
43
+ * Timestamp Management: The updatedAt timestamp is set to the current time, while createdAt is preserved.
44
+ * The version field is incremented for optimistic locking.
45
+ *
46
+ * Errors:
47
+ * - ResourceNotFoundException: The instrument does not exist or is already deleted
48
+ * - AccessDeniedException: The caller is not authorized to delete this instrument
49
+ * - ValidationException: Required fields are missing or invalid
50
+ * - InternalServerException: An unexpected server error occurred
51
+ * @example
52
+ * Use a bare-bones client and the command you need to make an API call.
53
+ * ```javascript
54
+ * import { BedrockAgentCoreClient, DeletePaymentInstrumentCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
55
+ * // const { BedrockAgentCoreClient, DeletePaymentInstrumentCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
56
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
57
+ * const config = {}; // type is BedrockAgentCoreClientConfig
58
+ * const client = new BedrockAgentCoreClient(config);
59
+ * const input = { // DeletePaymentInstrumentRequest
60
+ * userId: "STRING_VALUE",
61
+ * paymentManagerArn: "STRING_VALUE", // required
62
+ * paymentConnectorId: "STRING_VALUE", // required
63
+ * paymentInstrumentId: "STRING_VALUE", // required
64
+ * };
65
+ * const command = new DeletePaymentInstrumentCommand(input);
66
+ * const response = await client.send(command);
67
+ * // { // DeletePaymentInstrumentResponse
68
+ * // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED", // required
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param DeletePaymentInstrumentCommandInput - {@link DeletePaymentInstrumentCommandInput}
74
+ * @returns {@link DeletePaymentInstrumentCommandOutput}
75
+ * @see {@link DeletePaymentInstrumentCommandInput} for command's `input` shape.
76
+ * @see {@link DeletePaymentInstrumentCommandOutput} for command's `response` shape.
77
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
78
+ *
79
+ * @throws {@link AccessDeniedException} (client fault)
80
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
93
+ *
94
+ * @throws {@link BedrockAgentCoreServiceException}
95
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
96
+ *
97
+ *
98
+ * @public
99
+ */
100
+ export declare class DeletePaymentInstrumentCommand extends DeletePaymentInstrumentCommand_base {
101
+ /** @internal type navigation helper, not in runtime. */
102
+ protected static __types: {
103
+ api: {
104
+ input: DeletePaymentInstrumentRequest;
105
+ output: DeletePaymentInstrumentResponse;
106
+ };
107
+ sdk: {
108
+ input: DeletePaymentInstrumentCommandInput;
109
+ output: DeletePaymentInstrumentCommandOutput;
110
+ };
111
+ };
112
+ }
@@ -0,0 +1,107 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { DeletePaymentSessionRequest, DeletePaymentSessionResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeletePaymentSessionCommand}.
14
+ */
15
+ export interface DeletePaymentSessionCommandInput extends DeletePaymentSessionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeletePaymentSessionCommand}.
21
+ */
22
+ export interface DeletePaymentSessionCommandOutput extends DeletePaymentSessionResponse, __MetadataBearer {
23
+ }
24
+ declare const DeletePaymentSessionCommand_base: {
25
+ new (input: DeletePaymentSessionCommandInput): import("@smithy/core/client").CommandImpl<DeletePaymentSessionCommandInput, DeletePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeletePaymentSessionCommandInput): import("@smithy/core/client").CommandImpl<DeletePaymentSessionCommandInput, DeletePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * Delete a payment manager session
33
+ *
34
+ * Permanently removes a payment session record from the database. This is a hard delete operation
35
+ * that removes the session completely.
36
+ *
37
+ * Deleting a non-existent or already-deleted session returns ResourceNotFoundException (404).
38
+ *
39
+ * Authorization: The caller must own the session (accountId, userId, and paymentManagerId must match).
40
+ * If authorization fails, a 403 Forbidden error is returned.
41
+ *
42
+ * Errors:
43
+ * - ResourceNotFoundException: The session does not exist or has already been deleted
44
+ * - AccessDeniedException: The caller is not authorized to delete this session
45
+ * - ValidationException: Required fields are missing or invalid
46
+ * - InternalServerException: An unexpected server error occurred
47
+ * @example
48
+ * Use a bare-bones client and the command you need to make an API call.
49
+ * ```javascript
50
+ * import { BedrockAgentCoreClient, DeletePaymentSessionCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
51
+ * // const { BedrockAgentCoreClient, DeletePaymentSessionCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
52
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
53
+ * const config = {}; // type is BedrockAgentCoreClientConfig
54
+ * const client = new BedrockAgentCoreClient(config);
55
+ * const input = { // DeletePaymentSessionRequest
56
+ * userId: "STRING_VALUE",
57
+ * paymentManagerArn: "STRING_VALUE", // required
58
+ * paymentSessionId: "STRING_VALUE", // required
59
+ * };
60
+ * const command = new DeletePaymentSessionCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // DeletePaymentSessionResponse
63
+ * // status: "ACTIVE" || "EXPIRED" || "DELETED", // required
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param DeletePaymentSessionCommandInput - {@link DeletePaymentSessionCommandInput}
69
+ * @returns {@link DeletePaymentSessionCommandOutput}
70
+ * @see {@link DeletePaymentSessionCommandInput} for command's `input` shape.
71
+ * @see {@link DeletePaymentSessionCommandOutput} for command's `response` shape.
72
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.</p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.</p>
88
+ *
89
+ * @throws {@link BedrockAgentCoreServiceException}
90
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
91
+ *
92
+ *
93
+ * @public
94
+ */
95
+ export declare class DeletePaymentSessionCommand extends DeletePaymentSessionCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: DeletePaymentSessionRequest;
100
+ output: DeletePaymentSessionResponse;
101
+ };
102
+ sdk: {
103
+ input: DeletePaymentSessionCommandInput;
104
+ output: DeletePaymentSessionCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { DeleteRecommendationRequest, DeleteRecommendationResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface DeleteRecommendationCommandInput extends DeleteRecommendationRe
22
22
  export interface DeleteRecommendationCommandOutput extends DeleteRecommendationResponse, __MetadataBearer {
23
23
  }
24
24
  declare const DeleteRecommendationCommand_base: {
25
- new (input: DeleteRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRecommendationCommandInput, DeleteRecommendationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRecommendationCommandInput, DeleteRecommendationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: DeleteRecommendationCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecommendationCommandInput, DeleteRecommendationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteRecommendationCommandInput): import("@smithy/core/client").CommandImpl<DeleteRecommendationCommandInput, DeleteRecommendationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Deletes a recommendation and its associated results.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { EvaluateRequest, EvaluateResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface EvaluateCommandInput extends EvaluateRequest {
22
22
  export interface EvaluateCommandOutput extends EvaluateResponse, __MetadataBearer {
23
23
  }
24
24
  declare const EvaluateCommand_base: {
25
- new (input: EvaluateCommandInput): import("@smithy/smithy-client").CommandImpl<EvaluateCommandInput, EvaluateCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: EvaluateCommandInput): import("@smithy/smithy-client").CommandImpl<EvaluateCommandInput, EvaluateCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: EvaluateCommandInput): import("@smithy/core/client").CommandImpl<EvaluateCommandInput, EvaluateCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: EvaluateCommandInput): import("@smithy/core/client").CommandImpl<EvaluateCommandInput, EvaluateCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p> Performs on-demand evaluation of agent traces using a specified evaluator. This synchronous API accepts traces in OpenTelemetry format and returns immediate scoring results with detailed explanations.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { GetABTestRequest, GetABTestResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetABTestCommandInput extends GetABTestRequest {
22
22
  export interface GetABTestCommandOutput extends GetABTestResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetABTestCommand_base: {
25
- new (input: GetABTestCommandInput): import("@smithy/smithy-client").CommandImpl<GetABTestCommandInput, GetABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetABTestCommandInput): import("@smithy/smithy-client").CommandImpl<GetABTestCommandInput, GetABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetABTestCommandInput): import("@smithy/core/client").CommandImpl<GetABTestCommandInput, GetABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetABTestCommandInput): import("@smithy/core/client").CommandImpl<GetABTestCommandInput, GetABTestCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves detailed information about an A/B test, including its configuration, status, and statistical results.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { GetAgentCardRequest, GetAgentCardResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetAgentCardCommandInput extends GetAgentCardRequest {
22
22
  export interface GetAgentCardCommandOutput extends GetAgentCardResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetAgentCardCommand_base: {
25
- new (input: GetAgentCardCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgentCardCommandInput, GetAgentCardCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetAgentCardCommandInput): import("@smithy/smithy-client").CommandImpl<GetAgentCardCommandInput, GetAgentCardCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetAgentCardCommandInput): import("@smithy/core/client").CommandImpl<GetAgentCardCommandInput, GetAgentCardCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetAgentCardCommandInput): import("@smithy/core/client").CommandImpl<GetAgentCardCommandInput, GetAgentCardCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves the A2A agent card associated with an AgentCore Runtime agent.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { GetBatchEvaluationRequest, GetBatchEvaluationResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetBatchEvaluationCommandInput extends GetBatchEvaluationReques
22
22
  export interface GetBatchEvaluationCommandOutput extends GetBatchEvaluationResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetBatchEvaluationCommand_base: {
25
- new (input: GetBatchEvaluationCommandInput): import("@smithy/smithy-client").CommandImpl<GetBatchEvaluationCommandInput, GetBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetBatchEvaluationCommandInput): import("@smithy/smithy-client").CommandImpl<GetBatchEvaluationCommandInput, GetBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetBatchEvaluationCommandInput): import("@smithy/core/client").CommandImpl<GetBatchEvaluationCommandInput, GetBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetBatchEvaluationCommandInput): import("@smithy/core/client").CommandImpl<GetBatchEvaluationCommandInput, GetBatchEvaluationCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves detailed information about a batch evaluation, including its status, configuration, results, and any error details.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { GetBrowserSessionRequest, GetBrowserSessionResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetBrowserSessionCommandInput extends GetBrowserSessionRequest
22
22
  export interface GetBrowserSessionCommandOutput extends GetBrowserSessionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetBrowserSessionCommand_base: {
25
- new (input: GetBrowserSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetBrowserSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetBrowserSessionCommandInput): import("@smithy/core/client").CommandImpl<GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetBrowserSessionCommandInput): import("@smithy/core/client").CommandImpl<GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, associated streams, and metadata.</p> <p>To get a browser session, you must specify both the browser identifier and the session ID. The response includes information about the session's viewport configuration, timeout settings, and stream endpoints.</p> <p>The following operations are related to <code>GetBrowserSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html">StartBrowserSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListBrowserSessions.html">ListBrowserSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopBrowserSession.html">StopBrowserSession</a> </p> </li> </ul>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { GetCodeInterpreterSessionRequest, GetCodeInterpreterSessionResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetCodeInterpreterSessionCommandInput extends GetCodeInterprete
22
22
  export interface GetCodeInterpreterSessionCommandOutput extends GetCodeInterpreterSessionResponse, __MetadataBearer {
23
23
  }
24
24
  declare const GetCodeInterpreterSessionCommand_base: {
25
- new (input: GetCodeInterpreterSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetCodeInterpreterSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetCodeInterpreterSessionCommandInput): import("@smithy/core/client").CommandImpl<GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetCodeInterpreterSessionCommandInput): import("@smithy/core/client").CommandImpl<GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, and metadata.</p> <p>To get a code interpreter session, you must specify both the code interpreter identifier and the session ID. The response includes information about the session's timeout settings and current status.</p> <p>The following operations are related to <code>GetCodeInterpreterSession</code>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartCodeInterpreterSession.html">StartCodeInterpreterSession</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_ListCodeInterpreterSessions.html">ListCodeInterpreterSessions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StopCodeInterpreterSession.html">StopCodeInterpreterSession</a> </p> </li> </ul>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
4
  import type { GetEventInput, GetEventOutput } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface GetEventCommandInput extends GetEventInput {
22
22
  export interface GetEventCommandOutput extends GetEventOutput, __MetadataBearer {
23
23
  }
24
24
  declare const GetEventCommand_base: {
25
- new (input: GetEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetEventCommandInput, GetEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetEventCommandInput): import("@smithy/smithy-client").CommandImpl<GetEventCommandInput, GetEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: GetEventCommandInput): import("@smithy/core/client").CommandImpl<GetEventCommandInput, GetEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetEventCommandInput): import("@smithy/core/client").CommandImpl<GetEventCommandInput, GetEventCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Retrieves information about a specific event in an AgentCore Memory resource.</p> <p>To use this operation, you must have the <code>bedrock-agentcore:GetEvent</code> permission.</p>