@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
@@ -1,9 +1,430 @@
1
- import { DescriptorType, RegistryRecordStatus } from "./enums";
1
+ import { DocumentType as __DocumentType } from "@smithy/types";
2
+ import {
3
+ BlockchainChainId,
4
+ CryptoWalletNetwork,
5
+ Currency,
6
+ DescriptorType,
7
+ InstrumentBalanceToken,
8
+ PaymentInstrumentStatus,
9
+ PaymentInstrumentType,
10
+ PaymentSessionStatus,
11
+ PaymentStatus,
12
+ PaymentType,
13
+ RegistryRecordStatus,
14
+ } from "./enums";
2
15
  import {
3
16
  A2aDescriptor,
4
17
  AgentSkillsDescriptor,
5
- CustomDescriptor,
18
+ MemoryMetadataFilterExpression,
19
+ MemoryRecordSummary,
6
20
  } from "./models_0";
21
+ export interface SearchCriteria {
22
+ searchQuery: string | undefined;
23
+ memoryStrategyId?: string | undefined;
24
+ topK?: number | undefined;
25
+ metadataFilters?: MemoryMetadataFilterExpression[] | undefined;
26
+ }
27
+ export interface RetrieveMemoryRecordsInput {
28
+ memoryId: string | undefined;
29
+ namespace?: string | undefined;
30
+ namespacePath?: string | undefined;
31
+ searchCriteria: SearchCriteria | undefined;
32
+ nextToken?: string | undefined;
33
+ maxResults?: number | undefined;
34
+ }
35
+ export interface RetrieveMemoryRecordsOutput {
36
+ memoryRecordSummaries: MemoryRecordSummary[] | undefined;
37
+ nextToken?: string | undefined;
38
+ }
39
+ export interface ExtractionJob {
40
+ jobId: string | undefined;
41
+ }
42
+ export interface StartMemoryExtractionJobInput {
43
+ memoryId: string | undefined;
44
+ extractionJob: ExtractionJob | undefined;
45
+ clientToken?: string | undefined;
46
+ }
47
+ export interface StartMemoryExtractionJobOutput {
48
+ jobId: string | undefined;
49
+ }
50
+ export interface LinkedAccountDeveloperJwt {
51
+ kid: string | undefined;
52
+ sub: string | undefined;
53
+ }
54
+ export interface LinkedAccountEmail {
55
+ emailAddress: string | undefined;
56
+ }
57
+ export interface OAuth2Authentication {
58
+ sub: string | undefined;
59
+ emailAddress?: string | undefined;
60
+ name?: string | undefined;
61
+ username?: string | undefined;
62
+ }
63
+ export type LinkedAccountOAuth2 =
64
+ | LinkedAccountOAuth2.AppleMember
65
+ | LinkedAccountOAuth2.GithubMember
66
+ | LinkedAccountOAuth2.GoogleMember
67
+ | LinkedAccountOAuth2.TelegramMember
68
+ | LinkedAccountOAuth2.XMember
69
+ | LinkedAccountOAuth2.$UnknownMember;
70
+ export declare namespace LinkedAccountOAuth2 {
71
+ interface GoogleMember {
72
+ google: OAuth2Authentication;
73
+ apple?: never;
74
+ x?: never;
75
+ telegram?: never;
76
+ github?: never;
77
+ $unknown?: never;
78
+ }
79
+ interface AppleMember {
80
+ google?: never;
81
+ apple: OAuth2Authentication;
82
+ x?: never;
83
+ telegram?: never;
84
+ github?: never;
85
+ $unknown?: never;
86
+ }
87
+ interface XMember {
88
+ google?: never;
89
+ apple?: never;
90
+ x: OAuth2Authentication;
91
+ telegram?: never;
92
+ github?: never;
93
+ $unknown?: never;
94
+ }
95
+ interface TelegramMember {
96
+ google?: never;
97
+ apple?: never;
98
+ x?: never;
99
+ telegram: OAuth2Authentication;
100
+ github?: never;
101
+ $unknown?: never;
102
+ }
103
+ interface GithubMember {
104
+ google?: never;
105
+ apple?: never;
106
+ x?: never;
107
+ telegram?: never;
108
+ github: OAuth2Authentication;
109
+ $unknown?: never;
110
+ }
111
+ interface $UnknownMember {
112
+ google?: never;
113
+ apple?: never;
114
+ x?: never;
115
+ telegram?: never;
116
+ github?: never;
117
+ $unknown: [string, any];
118
+ }
119
+ interface Visitor<T> {
120
+ google: (value: OAuth2Authentication) => T;
121
+ apple: (value: OAuth2Authentication) => T;
122
+ x: (value: OAuth2Authentication) => T;
123
+ telegram: (value: OAuth2Authentication) => T;
124
+ github: (value: OAuth2Authentication) => T;
125
+ _: (name: string, value: any) => T;
126
+ }
127
+ }
128
+ export interface LinkedAccountSms {
129
+ phoneNumber: string | undefined;
130
+ }
131
+ export type LinkedAccount =
132
+ | LinkedAccount.DeveloperJwtMember
133
+ | LinkedAccount.EmailMember
134
+ | LinkedAccount.OAuth2Member
135
+ | LinkedAccount.SmsMember
136
+ | LinkedAccount.$UnknownMember;
137
+ export declare namespace LinkedAccount {
138
+ interface EmailMember {
139
+ email: LinkedAccountEmail;
140
+ sms?: never;
141
+ developerJwt?: never;
142
+ oAuth2?: never;
143
+ $unknown?: never;
144
+ }
145
+ interface SmsMember {
146
+ email?: never;
147
+ sms: LinkedAccountSms;
148
+ developerJwt?: never;
149
+ oAuth2?: never;
150
+ $unknown?: never;
151
+ }
152
+ interface DeveloperJwtMember {
153
+ email?: never;
154
+ sms?: never;
155
+ developerJwt: LinkedAccountDeveloperJwt;
156
+ oAuth2?: never;
157
+ $unknown?: never;
158
+ }
159
+ interface OAuth2Member {
160
+ email?: never;
161
+ sms?: never;
162
+ developerJwt?: never;
163
+ oAuth2: LinkedAccountOAuth2;
164
+ $unknown?: never;
165
+ }
166
+ interface $UnknownMember {
167
+ email?: never;
168
+ sms?: never;
169
+ developerJwt?: never;
170
+ oAuth2?: never;
171
+ $unknown: [string, any];
172
+ }
173
+ interface Visitor<T> {
174
+ email: (value: LinkedAccountEmail) => T;
175
+ sms: (value: LinkedAccountSms) => T;
176
+ developerJwt: (value: LinkedAccountDeveloperJwt) => T;
177
+ oAuth2: (value: LinkedAccountOAuth2) => T;
178
+ _: (name: string, value: any) => T;
179
+ }
180
+ }
181
+ export interface EmbeddedCryptoWallet {
182
+ network: CryptoWalletNetwork | undefined;
183
+ linkedAccounts: LinkedAccount[] | undefined;
184
+ walletAddress?: string | undefined;
185
+ redirectUrl?: string | undefined;
186
+ }
187
+ export type PaymentInstrumentDetails =
188
+ | PaymentInstrumentDetails.EmbeddedCryptoWalletMember
189
+ | PaymentInstrumentDetails.$UnknownMember;
190
+ export declare namespace PaymentInstrumentDetails {
191
+ interface EmbeddedCryptoWalletMember {
192
+ embeddedCryptoWallet: EmbeddedCryptoWallet;
193
+ $unknown?: never;
194
+ }
195
+ interface $UnknownMember {
196
+ embeddedCryptoWallet?: never;
197
+ $unknown: [string, any];
198
+ }
199
+ interface Visitor<T> {
200
+ embeddedCryptoWallet: (value: EmbeddedCryptoWallet) => T;
201
+ _: (name: string, value: any) => T;
202
+ }
203
+ }
204
+ export interface CreatePaymentInstrumentRequest {
205
+ userId?: string | undefined;
206
+ agentName?: string | undefined;
207
+ paymentManagerArn: string | undefined;
208
+ paymentConnectorId: string | undefined;
209
+ paymentInstrumentType: PaymentInstrumentType | undefined;
210
+ paymentInstrumentDetails: PaymentInstrumentDetails | undefined;
211
+ clientToken?: string | undefined;
212
+ }
213
+ export interface PaymentInstrument {
214
+ paymentInstrumentId: string | undefined;
215
+ paymentManagerArn: string | undefined;
216
+ paymentConnectorId: string | undefined;
217
+ userId: string | undefined;
218
+ paymentInstrumentType: PaymentInstrumentType | undefined;
219
+ paymentInstrumentDetails: PaymentInstrumentDetails | undefined;
220
+ createdAt: Date | undefined;
221
+ status: PaymentInstrumentStatus | undefined;
222
+ updatedAt: Date | undefined;
223
+ }
224
+ export interface CreatePaymentInstrumentResponse {
225
+ paymentInstrument: PaymentInstrument | undefined;
226
+ }
227
+ export interface DeletePaymentInstrumentRequest {
228
+ userId?: string | undefined;
229
+ paymentManagerArn: string | undefined;
230
+ paymentConnectorId: string | undefined;
231
+ paymentInstrumentId: string | undefined;
232
+ }
233
+ export interface DeletePaymentInstrumentResponse {
234
+ status: PaymentInstrumentStatus | undefined;
235
+ }
236
+ export interface GetPaymentInstrumentRequest {
237
+ userId?: string | undefined;
238
+ agentName?: string | undefined;
239
+ paymentManagerArn: string | undefined;
240
+ paymentConnectorId?: string | undefined;
241
+ paymentInstrumentId: string | undefined;
242
+ }
243
+ export interface GetPaymentInstrumentResponse {
244
+ paymentInstrument: PaymentInstrument | undefined;
245
+ }
246
+ export interface GetPaymentInstrumentBalanceRequest {
247
+ userId?: string | undefined;
248
+ agentName?: string | undefined;
249
+ paymentManagerArn: string | undefined;
250
+ paymentConnectorId: string | undefined;
251
+ paymentInstrumentId: string | undefined;
252
+ chain: BlockchainChainId | undefined;
253
+ token: InstrumentBalanceToken | undefined;
254
+ }
255
+ export interface TokenBalance {
256
+ amount: string | undefined;
257
+ decimals: number | undefined;
258
+ token: InstrumentBalanceToken | undefined;
259
+ network: CryptoWalletNetwork | undefined;
260
+ chain: BlockchainChainId | undefined;
261
+ }
262
+ export interface GetPaymentInstrumentBalanceResponse {
263
+ paymentInstrumentId: string | undefined;
264
+ tokenBalance: TokenBalance | undefined;
265
+ }
266
+ export interface ListPaymentInstrumentsRequest {
267
+ userId?: string | undefined;
268
+ agentName?: string | undefined;
269
+ paymentManagerArn: string | undefined;
270
+ paymentConnectorId?: string | undefined;
271
+ nextToken?: string | undefined;
272
+ maxResults?: number | undefined;
273
+ }
274
+ export interface PaymentInstrumentSummary {
275
+ paymentInstrumentId: string | undefined;
276
+ paymentManagerArn: string | undefined;
277
+ paymentConnectorId: string | undefined;
278
+ userId: string | undefined;
279
+ paymentInstrumentType: PaymentInstrumentType | undefined;
280
+ status: PaymentInstrumentStatus | undefined;
281
+ createdAt: Date | undefined;
282
+ updatedAt: Date | undefined;
283
+ }
284
+ export interface ListPaymentInstrumentsResponse {
285
+ paymentInstruments: PaymentInstrumentSummary[] | undefined;
286
+ nextToken?: string | undefined;
287
+ }
288
+ export interface Amount {
289
+ value: string | undefined;
290
+ currency: Currency | undefined;
291
+ }
292
+ export interface SessionLimits {
293
+ maxSpendAmount: Amount | undefined;
294
+ }
295
+ export interface CreatePaymentSessionRequest {
296
+ userId?: string | undefined;
297
+ agentName?: string | undefined;
298
+ paymentManagerArn: string | undefined;
299
+ limits?: SessionLimits | undefined;
300
+ expiryTimeInMinutes: number | undefined;
301
+ clientToken?: string | undefined;
302
+ }
303
+ export interface AvailableLimits {
304
+ availableSpendAmount?: Amount | undefined;
305
+ updatedAt?: Date | undefined;
306
+ }
307
+ export interface PaymentSession {
308
+ paymentSessionId: string | undefined;
309
+ paymentManagerArn: string | undefined;
310
+ limits?: SessionLimits | undefined;
311
+ userId: string | undefined;
312
+ expiryTimeInMinutes: number | undefined;
313
+ createdAt: Date | undefined;
314
+ availableLimits?: AvailableLimits | undefined;
315
+ updatedAt: Date | undefined;
316
+ }
317
+ export interface CreatePaymentSessionResponse {
318
+ paymentSession: PaymentSession | undefined;
319
+ }
320
+ export interface DeletePaymentSessionRequest {
321
+ userId?: string | undefined;
322
+ paymentManagerArn: string | undefined;
323
+ paymentSessionId: string | undefined;
324
+ }
325
+ export interface DeletePaymentSessionResponse {
326
+ status: PaymentSessionStatus | undefined;
327
+ }
328
+ export interface GetPaymentSessionRequest {
329
+ userId?: string | undefined;
330
+ agentName?: string | undefined;
331
+ paymentManagerArn: string | undefined;
332
+ paymentSessionId: string | undefined;
333
+ }
334
+ export interface GetPaymentSessionResponse {
335
+ paymentSession: PaymentSession | undefined;
336
+ }
337
+ export interface ListPaymentSessionsRequest {
338
+ userId?: string | undefined;
339
+ agentName?: string | undefined;
340
+ paymentManagerArn: string | undefined;
341
+ nextToken?: string | undefined;
342
+ maxResults?: number | undefined;
343
+ }
344
+ export interface PaymentSessionSummary {
345
+ paymentSessionId: string | undefined;
346
+ paymentManagerArn: string | undefined;
347
+ userId: string | undefined;
348
+ expiryTimeInMinutes: number | undefined;
349
+ createdAt: Date | undefined;
350
+ updatedAt: Date | undefined;
351
+ }
352
+ export interface ListPaymentSessionsResponse {
353
+ paymentSessions: PaymentSessionSummary[] | undefined;
354
+ nextToken?: string | undefined;
355
+ }
356
+ export interface CryptoX402PaymentInput {
357
+ version: string | undefined;
358
+ payload: __DocumentType | undefined;
359
+ }
360
+ export type PaymentInput =
361
+ | PaymentInput.CryptoX402Member
362
+ | PaymentInput.$UnknownMember;
363
+ export declare namespace PaymentInput {
364
+ interface CryptoX402Member {
365
+ cryptoX402: CryptoX402PaymentInput;
366
+ $unknown?: never;
367
+ }
368
+ interface $UnknownMember {
369
+ cryptoX402?: never;
370
+ $unknown: [string, any];
371
+ }
372
+ interface Visitor<T> {
373
+ cryptoX402: (value: CryptoX402PaymentInput) => T;
374
+ _: (name: string, value: any) => T;
375
+ }
376
+ }
377
+ export interface ProcessPaymentRequest {
378
+ userId?: string | undefined;
379
+ agentName?: string | undefined;
380
+ paymentManagerArn: string | undefined;
381
+ paymentSessionId: string | undefined;
382
+ paymentInstrumentId: string | undefined;
383
+ paymentType: PaymentType | undefined;
384
+ paymentInput: PaymentInput | undefined;
385
+ clientToken?: string | undefined;
386
+ }
387
+ export interface CryptoX402PaymentOutput {
388
+ version: string | undefined;
389
+ payload: __DocumentType | undefined;
390
+ }
391
+ export type PaymentOutput =
392
+ | PaymentOutput.CryptoX402Member
393
+ | PaymentOutput.$UnknownMember;
394
+ export declare namespace PaymentOutput {
395
+ interface CryptoX402Member {
396
+ cryptoX402: CryptoX402PaymentOutput;
397
+ $unknown?: never;
398
+ }
399
+ interface $UnknownMember {
400
+ cryptoX402?: never;
401
+ $unknown: [string, any];
402
+ }
403
+ interface Visitor<T> {
404
+ cryptoX402: (value: CryptoX402PaymentOutput) => T;
405
+ _: (name: string, value: any) => T;
406
+ }
407
+ }
408
+ export interface ProcessPaymentResponse {
409
+ processPaymentId: string | undefined;
410
+ paymentManagerArn: string | undefined;
411
+ paymentSessionId: string | undefined;
412
+ paymentInstrumentId: string | undefined;
413
+ paymentType: PaymentType | undefined;
414
+ status: PaymentStatus | undefined;
415
+ paymentOutput: PaymentOutput | undefined;
416
+ createdAt: Date | undefined;
417
+ updatedAt: Date | undefined;
418
+ }
419
+ export interface SearchRegistryRecordsRequest {
420
+ searchQuery: string | undefined;
421
+ registryIds: string[] | undefined;
422
+ maxResults?: number | undefined;
423
+ filters?: __DocumentType | undefined;
424
+ }
425
+ export interface CustomDescriptor {
426
+ inlineContent?: string | undefined;
427
+ }
7
428
  export interface ServerDefinition {
8
429
  schemaVersion?: string | undefined;
9
430
  inlineContent?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListPaymentInstrumentsCommandInput,
4
+ ListPaymentInstrumentsCommandOutput,
5
+ } from "../commands/ListPaymentInstrumentsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListPaymentInstruments: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListPaymentInstrumentsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListPaymentInstrumentsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListPaymentSessionsCommandInput,
4
+ ListPaymentSessionsCommandOutput,
5
+ } from "../commands/ListPaymentSessionsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListPaymentSessions: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListPaymentSessionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListPaymentSessionsCommandOutput>;
@@ -5,6 +5,8 @@ export * from "./ListBatchEvaluationsPaginator";
5
5
  export * from "./ListEventsPaginator";
6
6
  export * from "./ListMemoryExtractionJobsPaginator";
7
7
  export * from "./ListMemoryRecordsPaginator";
8
+ export * from "./ListPaymentInstrumentsPaginator";
9
+ export * from "./ListPaymentSessionsPaginator";
8
10
  export * from "./ListRecommendationsPaginator";
9
11
  export * from "./ListSessionsPaginator";
10
12
  export * from "./RetrieveMemoryRecordsPaginator";
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
5
5
  ) => {
6
6
  runtime: string;
7
7
  defaultsMode: import("@smithy/types").Provider<
8
- import("@smithy/smithy-client").ResolvedDefaultsMode
8
+ import("@smithy/core/client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider:
@@ -20,7 +20,7 @@ export declare const getRuntimeConfig: (
20
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
21
  region: string | import("@smithy/types").Provider<any>;
22
22
  requestHandler:
23
- | import("@smithy/protocol-http").HttpHandler<any>
23
+ | import("@smithy/core/protocols").HttpHandler<any>
24
24
  | RequestHandler;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
26
  sha256: import("@smithy/types").HashConstructor;
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
5
5
  ) => {
6
6
  runtime: string;
7
7
  defaultsMode: import("@smithy/types").Provider<
8
- import("@smithy/smithy-client").ResolvedDefaultsMode
8
+ import("@smithy/core/client").ResolvedDefaultsMode
9
9
  >;
10
10
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (
22
22
  region: string | import("@smithy/types").Provider<string>;
23
23
  requestHandler:
24
24
  | RequestHandler
25
- | import("@smithy/protocol-http").HttpHandler<any>;
25
+ | import("@smithy/core/protocols").HttpHandler<any>;
26
26
  retryMode: string | import("@smithy/types").Provider<string>;
27
27
  sha256: import("@smithy/types").HashConstructor;
28
28
  streamCollector: import("@smithy/types").StreamCollector;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (
8
8
  | import("@smithy/types").NodeHttpHandlerOptions
9
9
  | import("@smithy/types").FetchHttpHandlerOptions
10
10
  | Record<string, unknown>
11
- | import("@smithy/protocol-http").HttpHandler<any>
11
+ | import("@smithy/core/protocols").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  cacheMiddleware?: boolean;
14
14
  protocol:
@@ -49,9 +49,9 @@ export declare const getRuntimeConfig: (
49
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
50
50
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
51
51
  defaultsMode:
52
- | import("@smithy/smithy-client").DefaultsMode
52
+ | import("@smithy/core/client").DefaultsMode
53
53
  | import("@smithy/types").Provider<
54
- import("@smithy/smithy-client").DefaultsMode
54
+ import("@smithy/core/client").DefaultsMode
55
55
  >;
56
56
  sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
57
57
  customUserAgent?: string | import("@smithy/types").UserAgent;