@aws-sdk/client-bedrock-agentcore 3.1043.0 → 3.1045.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 (71) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +217 -0
  3. package/dist-cjs/schemas/schemas_0.js +458 -33
  4. package/dist-es/BedrockAgentCore.js +26 -0
  5. package/dist-es/commands/CreatePaymentInstrumentCommand.js +16 -0
  6. package/dist-es/commands/CreatePaymentSessionCommand.js +16 -0
  7. package/dist-es/commands/DeletePaymentInstrumentCommand.js +16 -0
  8. package/dist-es/commands/DeletePaymentSessionCommand.js +16 -0
  9. package/dist-es/commands/GetPaymentInstrumentBalanceCommand.js +16 -0
  10. package/dist-es/commands/GetPaymentInstrumentCommand.js +16 -0
  11. package/dist-es/commands/GetPaymentSessionCommand.js +16 -0
  12. package/dist-es/commands/GetResourcePaymentTokenCommand.js +16 -0
  13. package/dist-es/commands/ListPaymentInstrumentsCommand.js +16 -0
  14. package/dist-es/commands/ListPaymentSessionsCommand.js +16 -0
  15. package/dist-es/commands/ProcessPaymentCommand.js +16 -0
  16. package/dist-es/commands/index.js +11 -0
  17. package/dist-es/models/enums.js +45 -0
  18. package/dist-es/pagination/ListPaymentInstrumentsPaginator.js +4 -0
  19. package/dist-es/pagination/ListPaymentSessionsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/schemas/schemas_0.js +449 -25
  22. package/dist-types/BedrockAgentCore.d.ts +91 -0
  23. package/dist-types/BedrockAgentCoreClient.d.ts +13 -2
  24. package/dist-types/commands/CreatePaymentInstrumentCommand.d.ts +212 -0
  25. package/dist-types/commands/CreatePaymentSessionCommand.d.ts +122 -0
  26. package/dist-types/commands/DeletePaymentInstrumentCommand.d.ts +110 -0
  27. package/dist-types/commands/DeletePaymentSessionCommand.d.ts +105 -0
  28. package/dist-types/commands/GetPaymentInstrumentBalanceCommand.d.ts +102 -0
  29. package/dist-types/commands/GetPaymentInstrumentCommand.d.ts +155 -0
  30. package/dist-types/commands/GetPaymentSessionCommand.d.ts +112 -0
  31. package/dist-types/commands/GetResourcePaymentTokenCommand.d.ts +119 -0
  32. package/dist-types/commands/InvokeHarnessCommand.d.ts +1 -1
  33. package/dist-types/commands/ListPaymentInstrumentsCommand.d.ts +103 -0
  34. package/dist-types/commands/ListPaymentSessionsCommand.d.ts +100 -0
  35. package/dist-types/commands/ProcessPaymentCommand.d.ts +117 -0
  36. package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
  37. package/dist-types/commands/SearchRegistryRecordsCommand.d.ts +1 -2
  38. package/dist-types/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
  39. package/dist-types/commands/index.d.ts +11 -0
  40. package/dist-types/models/enums.d.ts +140 -0
  41. package/dist-types/models/models_0.d.ts +222 -154
  42. package/dist-types/models/models_1.d.ts +1321 -2
  43. package/dist-types/pagination/ListPaymentInstrumentsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/ListPaymentSessionsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/schemas/schemas_0.d.ts +59 -0
  47. package/dist-types/ts3.4/BedrockAgentCore.d.ts +201 -0
  48. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +66 -0
  49. package/dist-types/ts3.4/commands/CreatePaymentInstrumentCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/CreatePaymentSessionCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/DeletePaymentInstrumentCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeletePaymentSessionCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/GetPaymentInstrumentBalanceCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/GetPaymentInstrumentCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetPaymentSessionCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/GetResourcePaymentTokenCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListPaymentInstrumentsCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListPaymentSessionsCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ProcessPaymentCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchRegistryRecordsCommand.d.ts +4 -2
  62. package/dist-types/ts3.4/commands/StartMemoryExtractionJobCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  64. package/dist-types/ts3.4/models/enums.d.ts +62 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +84 -38
  66. package/dist-types/ts3.4/models/models_1.d.ts +423 -2
  67. package/dist-types/ts3.4/pagination/ListPaymentInstrumentsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListPaymentSessionsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/schemas/schemas_0.d.ts +59 -0
  71. package/package.json +1 -1
@@ -6,10 +6,14 @@ import { type BatchUpdateMemoryRecordsCommandInput, type BatchUpdateMemoryRecord
6
6
  import { type CompleteResourceTokenAuthCommandInput, type CompleteResourceTokenAuthCommandOutput } from "./commands/CompleteResourceTokenAuthCommand";
7
7
  import { type CreateABTestCommandInput, type CreateABTestCommandOutput } from "./commands/CreateABTestCommand";
8
8
  import { type CreateEventCommandInput, type CreateEventCommandOutput } from "./commands/CreateEventCommand";
9
+ import { type CreatePaymentInstrumentCommandInput, type CreatePaymentInstrumentCommandOutput } from "./commands/CreatePaymentInstrumentCommand";
10
+ import { type CreatePaymentSessionCommandInput, type CreatePaymentSessionCommandOutput } from "./commands/CreatePaymentSessionCommand";
9
11
  import { type DeleteABTestCommandInput, type DeleteABTestCommandOutput } from "./commands/DeleteABTestCommand";
10
12
  import { type DeleteBatchEvaluationCommandInput, type DeleteBatchEvaluationCommandOutput } from "./commands/DeleteBatchEvaluationCommand";
11
13
  import { type DeleteEventCommandInput, type DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
12
14
  import { type DeleteMemoryRecordCommandInput, type DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
15
+ import { type DeletePaymentInstrumentCommandInput, type DeletePaymentInstrumentCommandOutput } from "./commands/DeletePaymentInstrumentCommand";
16
+ import { type DeletePaymentSessionCommandInput, type DeletePaymentSessionCommandOutput } from "./commands/DeletePaymentSessionCommand";
13
17
  import { type DeleteRecommendationCommandInput, type DeleteRecommendationCommandOutput } from "./commands/DeleteRecommendationCommand";
14
18
  import { type EvaluateCommandInput, type EvaluateCommandOutput } from "./commands/EvaluateCommand";
15
19
  import { type GetABTestCommandInput, type GetABTestCommandOutput } from "./commands/GetABTestCommand";
@@ -19,9 +23,13 @@ import { type GetBrowserSessionCommandInput, type GetBrowserSessionCommandOutput
19
23
  import { type GetCodeInterpreterSessionCommandInput, type GetCodeInterpreterSessionCommandOutput } from "./commands/GetCodeInterpreterSessionCommand";
20
24
  import { type GetEventCommandInput, type GetEventCommandOutput } from "./commands/GetEventCommand";
21
25
  import { type GetMemoryRecordCommandInput, type GetMemoryRecordCommandOutput } from "./commands/GetMemoryRecordCommand";
26
+ import { type GetPaymentInstrumentBalanceCommandInput, type GetPaymentInstrumentBalanceCommandOutput } from "./commands/GetPaymentInstrumentBalanceCommand";
27
+ import { type GetPaymentInstrumentCommandInput, type GetPaymentInstrumentCommandOutput } from "./commands/GetPaymentInstrumentCommand";
28
+ import { type GetPaymentSessionCommandInput, type GetPaymentSessionCommandOutput } from "./commands/GetPaymentSessionCommand";
22
29
  import { type GetRecommendationCommandInput, type GetRecommendationCommandOutput } from "./commands/GetRecommendationCommand";
23
30
  import { type GetResourceApiKeyCommandInput, type GetResourceApiKeyCommandOutput } from "./commands/GetResourceApiKeyCommand";
24
31
  import { type GetResourceOauth2TokenCommandInput, type GetResourceOauth2TokenCommandOutput } from "./commands/GetResourceOauth2TokenCommand";
32
+ import { type GetResourcePaymentTokenCommandInput, type GetResourcePaymentTokenCommandOutput } from "./commands/GetResourcePaymentTokenCommand";
25
33
  import { type GetWorkloadAccessTokenCommandInput, type GetWorkloadAccessTokenCommandOutput } from "./commands/GetWorkloadAccessTokenCommand";
26
34
  import { type GetWorkloadAccessTokenForJWTCommandInput, type GetWorkloadAccessTokenForJWTCommandOutput } from "./commands/GetWorkloadAccessTokenForJWTCommand";
27
35
  import { type GetWorkloadAccessTokenForUserIdCommandInput, type GetWorkloadAccessTokenForUserIdCommandOutput } from "./commands/GetWorkloadAccessTokenForUserIdCommand";
@@ -38,8 +46,11 @@ import { type ListCodeInterpreterSessionsCommandInput, type ListCodeInterpreterS
38
46
  import { type ListEventsCommandInput, type ListEventsCommandOutput } from "./commands/ListEventsCommand";
39
47
  import { type ListMemoryExtractionJobsCommandInput, type ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
40
48
  import { type ListMemoryRecordsCommandInput, type ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
49
+ import { type ListPaymentInstrumentsCommandInput, type ListPaymentInstrumentsCommandOutput } from "./commands/ListPaymentInstrumentsCommand";
50
+ import { type ListPaymentSessionsCommandInput, type ListPaymentSessionsCommandOutput } from "./commands/ListPaymentSessionsCommand";
41
51
  import { type ListRecommendationsCommandInput, type ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
42
52
  import { type ListSessionsCommandInput, type ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
53
+ import { type ProcessPaymentCommandInput, type ProcessPaymentCommandOutput } from "./commands/ProcessPaymentCommand";
43
54
  import { type RetrieveMemoryRecordsCommandInput, type RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
44
55
  import { type SaveBrowserSessionProfileCommandInput, type SaveBrowserSessionProfileCommandOutput } from "./commands/SaveBrowserSessionProfileCommand";
45
56
  import { type SearchRegistryRecordsCommandInput, type SearchRegistryRecordsCommandOutput } from "./commands/SearchRegistryRecordsCommand";
@@ -91,6 +102,18 @@ export interface BedrockAgentCore {
91
102
  createEvent(args: CreateEventCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventCommandOutput>;
92
103
  createEvent(args: CreateEventCommandInput, cb: (err: any, data?: CreateEventCommandOutput) => void): void;
93
104
  createEvent(args: CreateEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventCommandOutput) => void): void;
105
+ /**
106
+ * @see {@link CreatePaymentInstrumentCommand}
107
+ */
108
+ createPaymentInstrument(args: CreatePaymentInstrumentCommandInput, options?: __HttpHandlerOptions): Promise<CreatePaymentInstrumentCommandOutput>;
109
+ createPaymentInstrument(args: CreatePaymentInstrumentCommandInput, cb: (err: any, data?: CreatePaymentInstrumentCommandOutput) => void): void;
110
+ createPaymentInstrument(args: CreatePaymentInstrumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePaymentInstrumentCommandOutput) => void): void;
111
+ /**
112
+ * @see {@link CreatePaymentSessionCommand}
113
+ */
114
+ createPaymentSession(args: CreatePaymentSessionCommandInput, options?: __HttpHandlerOptions): Promise<CreatePaymentSessionCommandOutput>;
115
+ createPaymentSession(args: CreatePaymentSessionCommandInput, cb: (err: any, data?: CreatePaymentSessionCommandOutput) => void): void;
116
+ createPaymentSession(args: CreatePaymentSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePaymentSessionCommandOutput) => void): void;
94
117
  /**
95
118
  * @see {@link DeleteABTestCommand}
96
119
  */
@@ -115,6 +138,18 @@ export interface BedrockAgentCore {
115
138
  deleteMemoryRecord(args: DeleteMemoryRecordCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMemoryRecordCommandOutput>;
116
139
  deleteMemoryRecord(args: DeleteMemoryRecordCommandInput, cb: (err: any, data?: DeleteMemoryRecordCommandOutput) => void): void;
117
140
  deleteMemoryRecord(args: DeleteMemoryRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMemoryRecordCommandOutput) => void): void;
141
+ /**
142
+ * @see {@link DeletePaymentInstrumentCommand}
143
+ */
144
+ deletePaymentInstrument(args: DeletePaymentInstrumentCommandInput, options?: __HttpHandlerOptions): Promise<DeletePaymentInstrumentCommandOutput>;
145
+ deletePaymentInstrument(args: DeletePaymentInstrumentCommandInput, cb: (err: any, data?: DeletePaymentInstrumentCommandOutput) => void): void;
146
+ deletePaymentInstrument(args: DeletePaymentInstrumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePaymentInstrumentCommandOutput) => void): void;
147
+ /**
148
+ * @see {@link DeletePaymentSessionCommand}
149
+ */
150
+ deletePaymentSession(args: DeletePaymentSessionCommandInput, options?: __HttpHandlerOptions): Promise<DeletePaymentSessionCommandOutput>;
151
+ deletePaymentSession(args: DeletePaymentSessionCommandInput, cb: (err: any, data?: DeletePaymentSessionCommandOutput) => void): void;
152
+ deletePaymentSession(args: DeletePaymentSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePaymentSessionCommandOutput) => void): void;
118
153
  /**
119
154
  * @see {@link DeleteRecommendationCommand}
120
155
  */
@@ -169,6 +204,24 @@ export interface BedrockAgentCore {
169
204
  getMemoryRecord(args: GetMemoryRecordCommandInput, options?: __HttpHandlerOptions): Promise<GetMemoryRecordCommandOutput>;
170
205
  getMemoryRecord(args: GetMemoryRecordCommandInput, cb: (err: any, data?: GetMemoryRecordCommandOutput) => void): void;
171
206
  getMemoryRecord(args: GetMemoryRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMemoryRecordCommandOutput) => void): void;
207
+ /**
208
+ * @see {@link GetPaymentInstrumentCommand}
209
+ */
210
+ getPaymentInstrument(args: GetPaymentInstrumentCommandInput, options?: __HttpHandlerOptions): Promise<GetPaymentInstrumentCommandOutput>;
211
+ getPaymentInstrument(args: GetPaymentInstrumentCommandInput, cb: (err: any, data?: GetPaymentInstrumentCommandOutput) => void): void;
212
+ getPaymentInstrument(args: GetPaymentInstrumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPaymentInstrumentCommandOutput) => void): void;
213
+ /**
214
+ * @see {@link GetPaymentInstrumentBalanceCommand}
215
+ */
216
+ getPaymentInstrumentBalance(args: GetPaymentInstrumentBalanceCommandInput, options?: __HttpHandlerOptions): Promise<GetPaymentInstrumentBalanceCommandOutput>;
217
+ getPaymentInstrumentBalance(args: GetPaymentInstrumentBalanceCommandInput, cb: (err: any, data?: GetPaymentInstrumentBalanceCommandOutput) => void): void;
218
+ getPaymentInstrumentBalance(args: GetPaymentInstrumentBalanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPaymentInstrumentBalanceCommandOutput) => void): void;
219
+ /**
220
+ * @see {@link GetPaymentSessionCommand}
221
+ */
222
+ getPaymentSession(args: GetPaymentSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetPaymentSessionCommandOutput>;
223
+ getPaymentSession(args: GetPaymentSessionCommandInput, cb: (err: any, data?: GetPaymentSessionCommandOutput) => void): void;
224
+ getPaymentSession(args: GetPaymentSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPaymentSessionCommandOutput) => void): void;
172
225
  /**
173
226
  * @see {@link GetRecommendationCommand}
174
227
  */
@@ -187,6 +240,12 @@ export interface BedrockAgentCore {
187
240
  getResourceOauth2Token(args: GetResourceOauth2TokenCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceOauth2TokenCommandOutput>;
188
241
  getResourceOauth2Token(args: GetResourceOauth2TokenCommandInput, cb: (err: any, data?: GetResourceOauth2TokenCommandOutput) => void): void;
189
242
  getResourceOauth2Token(args: GetResourceOauth2TokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceOauth2TokenCommandOutput) => void): void;
243
+ /**
244
+ * @see {@link GetResourcePaymentTokenCommand}
245
+ */
246
+ getResourcePaymentToken(args: GetResourcePaymentTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePaymentTokenCommandOutput>;
247
+ getResourcePaymentToken(args: GetResourcePaymentTokenCommandInput, cb: (err: any, data?: GetResourcePaymentTokenCommandOutput) => void): void;
248
+ getResourcePaymentToken(args: GetResourcePaymentTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePaymentTokenCommandOutput) => void): void;
190
249
  /**
191
250
  * @see {@link GetWorkloadAccessTokenCommand}
192
251
  */
@@ -285,6 +344,18 @@ export interface BedrockAgentCore {
285
344
  listMemoryRecords(args: ListMemoryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListMemoryRecordsCommandOutput>;
286
345
  listMemoryRecords(args: ListMemoryRecordsCommandInput, cb: (err: any, data?: ListMemoryRecordsCommandOutput) => void): void;
287
346
  listMemoryRecords(args: ListMemoryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMemoryRecordsCommandOutput) => void): void;
347
+ /**
348
+ * @see {@link ListPaymentInstrumentsCommand}
349
+ */
350
+ listPaymentInstruments(args: ListPaymentInstrumentsCommandInput, options?: __HttpHandlerOptions): Promise<ListPaymentInstrumentsCommandOutput>;
351
+ listPaymentInstruments(args: ListPaymentInstrumentsCommandInput, cb: (err: any, data?: ListPaymentInstrumentsCommandOutput) => void): void;
352
+ listPaymentInstruments(args: ListPaymentInstrumentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPaymentInstrumentsCommandOutput) => void): void;
353
+ /**
354
+ * @see {@link ListPaymentSessionsCommand}
355
+ */
356
+ listPaymentSessions(args: ListPaymentSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListPaymentSessionsCommandOutput>;
357
+ listPaymentSessions(args: ListPaymentSessionsCommandInput, cb: (err: any, data?: ListPaymentSessionsCommandOutput) => void): void;
358
+ listPaymentSessions(args: ListPaymentSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPaymentSessionsCommandOutput) => void): void;
288
359
  /**
289
360
  * @see {@link ListRecommendationsCommand}
290
361
  */
@@ -298,6 +369,12 @@ export interface BedrockAgentCore {
298
369
  listSessions(args: ListSessionsCommandInput, options?: __HttpHandlerOptions): Promise<ListSessionsCommandOutput>;
299
370
  listSessions(args: ListSessionsCommandInput, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
300
371
  listSessions(args: ListSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSessionsCommandOutput) => void): void;
372
+ /**
373
+ * @see {@link ProcessPaymentCommand}
374
+ */
375
+ processPayment(args: ProcessPaymentCommandInput, options?: __HttpHandlerOptions): Promise<ProcessPaymentCommandOutput>;
376
+ processPayment(args: ProcessPaymentCommandInput, cb: (err: any, data?: ProcessPaymentCommandOutput) => void): void;
377
+ processPayment(args: ProcessPaymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ProcessPaymentCommandOutput) => void): void;
301
378
  /**
302
379
  * @see {@link RetrieveMemoryRecordsCommand}
303
380
  */
@@ -424,6 +501,20 @@ export interface BedrockAgentCore {
424
501
  * @returns AsyncIterable of {@link ListMemoryRecordsCommandOutput}.
425
502
  */
426
503
  paginateListMemoryRecords(args: ListMemoryRecordsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMemoryRecordsCommandOutput>;
504
+ /**
505
+ * @see {@link ListPaymentInstrumentsCommand}
506
+ * @param args - command input.
507
+ * @param paginationConfig - optional pagination config.
508
+ * @returns AsyncIterable of {@link ListPaymentInstrumentsCommandOutput}.
509
+ */
510
+ paginateListPaymentInstruments(args: ListPaymentInstrumentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPaymentInstrumentsCommandOutput>;
511
+ /**
512
+ * @see {@link ListPaymentSessionsCommand}
513
+ * @param args - command input.
514
+ * @param paginationConfig - optional pagination config.
515
+ * @returns AsyncIterable of {@link ListPaymentSessionsCommandOutput}.
516
+ */
517
+ paginateListPaymentSessions(args: ListPaymentSessionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPaymentSessionsCommandOutput>;
427
518
  /**
428
519
  * @see {@link ListRecommendationsCommand}
429
520
  * @param args - command input.
@@ -14,10 +14,14 @@ import type { BatchUpdateMemoryRecordsCommandInput, BatchUpdateMemoryRecordsComm
14
14
  import type { CompleteResourceTokenAuthCommandInput, CompleteResourceTokenAuthCommandOutput } from "./commands/CompleteResourceTokenAuthCommand";
15
15
  import type { CreateABTestCommandInput, CreateABTestCommandOutput } from "./commands/CreateABTestCommand";
16
16
  import type { CreateEventCommandInput, CreateEventCommandOutput } from "./commands/CreateEventCommand";
17
+ import type { CreatePaymentInstrumentCommandInput, CreatePaymentInstrumentCommandOutput } from "./commands/CreatePaymentInstrumentCommand";
18
+ import type { CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutput } from "./commands/CreatePaymentSessionCommand";
17
19
  import type { DeleteABTestCommandInput, DeleteABTestCommandOutput } from "./commands/DeleteABTestCommand";
18
20
  import type { DeleteBatchEvaluationCommandInput, DeleteBatchEvaluationCommandOutput } from "./commands/DeleteBatchEvaluationCommand";
19
21
  import type { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
20
22
  import type { DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
23
+ import type { DeletePaymentInstrumentCommandInput, DeletePaymentInstrumentCommandOutput } from "./commands/DeletePaymentInstrumentCommand";
24
+ import type { DeletePaymentSessionCommandInput, DeletePaymentSessionCommandOutput } from "./commands/DeletePaymentSessionCommand";
21
25
  import type { DeleteRecommendationCommandInput, DeleteRecommendationCommandOutput } from "./commands/DeleteRecommendationCommand";
22
26
  import type { EvaluateCommandInput, EvaluateCommandOutput } from "./commands/EvaluateCommand";
23
27
  import type { GetABTestCommandInput, GetABTestCommandOutput } from "./commands/GetABTestCommand";
@@ -27,9 +31,13 @@ import type { GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput } fr
27
31
  import type { GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput } from "./commands/GetCodeInterpreterSessionCommand";
28
32
  import type { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
29
33
  import type { GetMemoryRecordCommandInput, GetMemoryRecordCommandOutput } from "./commands/GetMemoryRecordCommand";
34
+ import type { GetPaymentInstrumentBalanceCommandInput, GetPaymentInstrumentBalanceCommandOutput } from "./commands/GetPaymentInstrumentBalanceCommand";
35
+ import type { GetPaymentInstrumentCommandInput, GetPaymentInstrumentCommandOutput } from "./commands/GetPaymentInstrumentCommand";
36
+ import type { GetPaymentSessionCommandInput, GetPaymentSessionCommandOutput } from "./commands/GetPaymentSessionCommand";
30
37
  import type { GetRecommendationCommandInput, GetRecommendationCommandOutput } from "./commands/GetRecommendationCommand";
31
38
  import type { GetResourceApiKeyCommandInput, GetResourceApiKeyCommandOutput } from "./commands/GetResourceApiKeyCommand";
32
39
  import type { GetResourceOauth2TokenCommandInput, GetResourceOauth2TokenCommandOutput } from "./commands/GetResourceOauth2TokenCommand";
40
+ import type { GetResourcePaymentTokenCommandInput, GetResourcePaymentTokenCommandOutput } from "./commands/GetResourcePaymentTokenCommand";
33
41
  import type { GetWorkloadAccessTokenCommandInput, GetWorkloadAccessTokenCommandOutput } from "./commands/GetWorkloadAccessTokenCommand";
34
42
  import type { GetWorkloadAccessTokenForJWTCommandInput, GetWorkloadAccessTokenForJWTCommandOutput } from "./commands/GetWorkloadAccessTokenForJWTCommand";
35
43
  import type { GetWorkloadAccessTokenForUserIdCommandInput, GetWorkloadAccessTokenForUserIdCommandOutput } from "./commands/GetWorkloadAccessTokenForUserIdCommand";
@@ -46,8 +54,11 @@ import type { ListCodeInterpreterSessionsCommandInput, ListCodeInterpreterSessio
46
54
  import type { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
47
55
  import type { ListMemoryExtractionJobsCommandInput, ListMemoryExtractionJobsCommandOutput } from "./commands/ListMemoryExtractionJobsCommand";
48
56
  import type { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "./commands/ListMemoryRecordsCommand";
57
+ import type { ListPaymentInstrumentsCommandInput, ListPaymentInstrumentsCommandOutput } from "./commands/ListPaymentInstrumentsCommand";
58
+ import type { ListPaymentSessionsCommandInput, ListPaymentSessionsCommandOutput } from "./commands/ListPaymentSessionsCommand";
49
59
  import type { ListRecommendationsCommandInput, ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand";
50
60
  import type { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
61
+ import type { ProcessPaymentCommandInput, ProcessPaymentCommandOutput } from "./commands/ProcessPaymentCommand";
51
62
  import type { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "./commands/RetrieveMemoryRecordsCommand";
52
63
  import type { SaveBrowserSessionProfileCommandInput, SaveBrowserSessionProfileCommandOutput } from "./commands/SaveBrowserSessionProfileCommand";
53
64
  import type { SearchRegistryRecordsCommandInput, SearchRegistryRecordsCommandOutput } from "./commands/SearchRegistryRecordsCommand";
@@ -68,11 +79,11 @@ export { __Client };
68
79
  /**
69
80
  * @public
70
81
  */
71
- export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateABTestCommandInput | CreateEventCommandInput | DeleteABTestCommandInput | DeleteBatchEvaluationCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | DeleteRecommendationCommandInput | EvaluateCommandInput | GetABTestCommandInput | GetAgentCardCommandInput | GetBatchEvaluationCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetRecommendationCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | InvokeHarnessCommandInput | ListABTestsCommandInput | ListActorsCommandInput | ListBatchEvaluationsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListRecommendationsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | SearchRegistryRecordsCommandInput | StartBatchEvaluationCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StartRecommendationCommandInput | StopBatchEvaluationCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateABTestCommandInput | UpdateBrowserStreamCommandInput;
82
+ export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateABTestCommandInput | CreateEventCommandInput | CreatePaymentInstrumentCommandInput | CreatePaymentSessionCommandInput | DeleteABTestCommandInput | DeleteBatchEvaluationCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | DeletePaymentInstrumentCommandInput | DeletePaymentSessionCommandInput | DeleteRecommendationCommandInput | EvaluateCommandInput | GetABTestCommandInput | GetAgentCardCommandInput | GetBatchEvaluationCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetPaymentInstrumentBalanceCommandInput | GetPaymentInstrumentCommandInput | GetPaymentSessionCommandInput | GetRecommendationCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetResourcePaymentTokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandCommandInput | InvokeAgentRuntimeCommandInput | InvokeBrowserCommandInput | InvokeCodeInterpreterCommandInput | InvokeHarnessCommandInput | ListABTestsCommandInput | ListActorsCommandInput | ListBatchEvaluationsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryExtractionJobsCommandInput | ListMemoryRecordsCommandInput | ListPaymentInstrumentsCommandInput | ListPaymentSessionsCommandInput | ListRecommendationsCommandInput | ListSessionsCommandInput | ProcessPaymentCommandInput | RetrieveMemoryRecordsCommandInput | SaveBrowserSessionProfileCommandInput | SearchRegistryRecordsCommandInput | StartBatchEvaluationCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StartMemoryExtractionJobCommandInput | StartRecommendationCommandInput | StopBatchEvaluationCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateABTestCommandInput | UpdateBrowserStreamCommandInput;
72
83
  /**
73
84
  * @public
74
85
  */
75
- export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateABTestCommandOutput | CreateEventCommandOutput | DeleteABTestCommandOutput | DeleteBatchEvaluationCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | DeleteRecommendationCommandOutput | EvaluateCommandOutput | GetABTestCommandOutput | GetAgentCardCommandOutput | GetBatchEvaluationCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetRecommendationCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | InvokeHarnessCommandOutput | ListABTestsCommandOutput | ListActorsCommandOutput | ListBatchEvaluationsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListRecommendationsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | SearchRegistryRecordsCommandOutput | StartBatchEvaluationCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StartRecommendationCommandOutput | StopBatchEvaluationCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateABTestCommandOutput | UpdateBrowserStreamCommandOutput;
86
+ export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateABTestCommandOutput | CreateEventCommandOutput | CreatePaymentInstrumentCommandOutput | CreatePaymentSessionCommandOutput | DeleteABTestCommandOutput | DeleteBatchEvaluationCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | DeletePaymentInstrumentCommandOutput | DeletePaymentSessionCommandOutput | DeleteRecommendationCommandOutput | EvaluateCommandOutput | GetABTestCommandOutput | GetAgentCardCommandOutput | GetBatchEvaluationCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetPaymentInstrumentBalanceCommandOutput | GetPaymentInstrumentCommandOutput | GetPaymentSessionCommandOutput | GetRecommendationCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetResourcePaymentTokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeBrowserCommandOutput | InvokeCodeInterpreterCommandOutput | InvokeHarnessCommandOutput | ListABTestsCommandOutput | ListActorsCommandOutput | ListBatchEvaluationsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryExtractionJobsCommandOutput | ListMemoryRecordsCommandOutput | ListPaymentInstrumentsCommandOutput | ListPaymentSessionsCommandOutput | ListRecommendationsCommandOutput | ListSessionsCommandOutput | ProcessPaymentCommandOutput | RetrieveMemoryRecordsCommandOutput | SaveBrowserSessionProfileCommandOutput | SearchRegistryRecordsCommandOutput | StartBatchEvaluationCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StartMemoryExtractionJobCommandOutput | StartRecommendationCommandOutput | StopBatchEvaluationCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateABTestCommandOutput | UpdateBrowserStreamCommandOutput;
76
87
  /**
77
88
  * @public
78
89
  */
@@ -0,0 +1,212 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreClient";
4
+ import type { CreatePaymentInstrumentRequest, CreatePaymentInstrumentResponse } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreatePaymentInstrumentCommand}.
14
+ */
15
+ export interface CreatePaymentInstrumentCommandInput extends CreatePaymentInstrumentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreatePaymentInstrumentCommand}.
21
+ */
22
+ export interface CreatePaymentInstrumentCommandOutput extends CreatePaymentInstrumentResponse, __MetadataBearer {
23
+ }
24
+ declare const CreatePaymentInstrumentCommand_base: {
25
+ new (input: CreatePaymentInstrumentCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePaymentInstrumentCommandInput, CreatePaymentInstrumentCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreatePaymentInstrumentCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePaymentInstrumentCommandInput, CreatePaymentInstrumentCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create a new payment instrument for a connector
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, CreatePaymentInstrumentCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, CreatePaymentInstrumentCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // CreatePaymentInstrumentRequest
40
+ * userId: "STRING_VALUE",
41
+ * agentName: "STRING_VALUE",
42
+ * paymentManagerArn: "STRING_VALUE", // required
43
+ * paymentConnectorId: "STRING_VALUE", // required
44
+ * paymentInstrumentType: "EMBEDDED_CRYPTO_WALLET", // required
45
+ * paymentInstrumentDetails: { // PaymentInstrumentDetails Union: only one key present
46
+ * embeddedCryptoWallet: { // EmbeddedCryptoWallet
47
+ * network: "ETHEREUM" || "SOLANA", // required
48
+ * linkedAccounts: [ // LinkedAccountList // required
49
+ * { // LinkedAccount Union: only one key present
50
+ * email: { // LinkedAccountEmail
51
+ * emailAddress: "STRING_VALUE", // required
52
+ * },
53
+ * sms: { // LinkedAccountSms
54
+ * phoneNumber: "STRING_VALUE", // required
55
+ * },
56
+ * developerJwt: { // LinkedAccountDeveloperJwt
57
+ * kid: "STRING_VALUE", // required
58
+ * sub: "STRING_VALUE", // required
59
+ * },
60
+ * oAuth2: { // LinkedAccountOAuth2 Union: only one key present
61
+ * google: { // OAuth2Authentication
62
+ * sub: "STRING_VALUE", // required
63
+ * emailAddress: "STRING_VALUE",
64
+ * name: "STRING_VALUE",
65
+ * username: "STRING_VALUE",
66
+ * },
67
+ * apple: {
68
+ * sub: "STRING_VALUE", // required
69
+ * emailAddress: "STRING_VALUE",
70
+ * name: "STRING_VALUE",
71
+ * username: "STRING_VALUE",
72
+ * },
73
+ * x: {
74
+ * sub: "STRING_VALUE", // required
75
+ * emailAddress: "STRING_VALUE",
76
+ * name: "STRING_VALUE",
77
+ * username: "STRING_VALUE",
78
+ * },
79
+ * telegram: {
80
+ * sub: "STRING_VALUE", // required
81
+ * emailAddress: "STRING_VALUE",
82
+ * name: "STRING_VALUE",
83
+ * username: "STRING_VALUE",
84
+ * },
85
+ * github: {
86
+ * sub: "STRING_VALUE", // required
87
+ * emailAddress: "STRING_VALUE",
88
+ * name: "STRING_VALUE",
89
+ * username: "STRING_VALUE",
90
+ * },
91
+ * },
92
+ * },
93
+ * ],
94
+ * walletAddress: "STRING_VALUE",
95
+ * redirectUrl: "STRING_VALUE",
96
+ * },
97
+ * },
98
+ * clientToken: "STRING_VALUE",
99
+ * };
100
+ * const command = new CreatePaymentInstrumentCommand(input);
101
+ * const response = await client.send(command);
102
+ * // { // CreatePaymentInstrumentResponse
103
+ * // paymentInstrument: { // PaymentInstrument
104
+ * // paymentInstrumentId: "STRING_VALUE", // required
105
+ * // paymentManagerArn: "STRING_VALUE", // required
106
+ * // paymentConnectorId: "STRING_VALUE", // required
107
+ * // userId: "STRING_VALUE", // required
108
+ * // paymentInstrumentType: "EMBEDDED_CRYPTO_WALLET", // required
109
+ * // paymentInstrumentDetails: { // PaymentInstrumentDetails Union: only one key present
110
+ * // embeddedCryptoWallet: { // EmbeddedCryptoWallet
111
+ * // network: "ETHEREUM" || "SOLANA", // required
112
+ * // linkedAccounts: [ // LinkedAccountList // required
113
+ * // { // LinkedAccount Union: only one key present
114
+ * // email: { // LinkedAccountEmail
115
+ * // emailAddress: "STRING_VALUE", // required
116
+ * // },
117
+ * // sms: { // LinkedAccountSms
118
+ * // phoneNumber: "STRING_VALUE", // required
119
+ * // },
120
+ * // developerJwt: { // LinkedAccountDeveloperJwt
121
+ * // kid: "STRING_VALUE", // required
122
+ * // sub: "STRING_VALUE", // required
123
+ * // },
124
+ * // oAuth2: { // LinkedAccountOAuth2 Union: only one key present
125
+ * // google: { // OAuth2Authentication
126
+ * // sub: "STRING_VALUE", // required
127
+ * // emailAddress: "STRING_VALUE",
128
+ * // name: "STRING_VALUE",
129
+ * // username: "STRING_VALUE",
130
+ * // },
131
+ * // apple: {
132
+ * // sub: "STRING_VALUE", // required
133
+ * // emailAddress: "STRING_VALUE",
134
+ * // name: "STRING_VALUE",
135
+ * // username: "STRING_VALUE",
136
+ * // },
137
+ * // x: {
138
+ * // sub: "STRING_VALUE", // required
139
+ * // emailAddress: "STRING_VALUE",
140
+ * // name: "STRING_VALUE",
141
+ * // username: "STRING_VALUE",
142
+ * // },
143
+ * // telegram: {
144
+ * // sub: "STRING_VALUE", // required
145
+ * // emailAddress: "STRING_VALUE",
146
+ * // name: "STRING_VALUE",
147
+ * // username: "STRING_VALUE",
148
+ * // },
149
+ * // github: {
150
+ * // sub: "STRING_VALUE", // required
151
+ * // emailAddress: "STRING_VALUE",
152
+ * // name: "STRING_VALUE",
153
+ * // username: "STRING_VALUE",
154
+ * // },
155
+ * // },
156
+ * // },
157
+ * // ],
158
+ * // walletAddress: "STRING_VALUE",
159
+ * // redirectUrl: "STRING_VALUE",
160
+ * // },
161
+ * // },
162
+ * // createdAt: new Date("TIMESTAMP"), // required
163
+ * // status: "INITIATED" || "ACTIVE" || "FAILED" || "DELETED", // required
164
+ * // updatedAt: new Date("TIMESTAMP"), // required
165
+ * // },
166
+ * // };
167
+ *
168
+ * ```
169
+ *
170
+ * @param CreatePaymentInstrumentCommandInput - {@link CreatePaymentInstrumentCommandInput}
171
+ * @returns {@link CreatePaymentInstrumentCommandOutput}
172
+ * @see {@link CreatePaymentInstrumentCommandInput} for command's `input` shape.
173
+ * @see {@link CreatePaymentInstrumentCommandOutput} for command's `response` shape.
174
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
175
+ *
176
+ * @throws {@link AccessDeniedException} (client fault)
177
+ * <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>
178
+ *
179
+ * @throws {@link ConflictException} (client fault)
180
+ * <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>
181
+ *
182
+ * @throws {@link InternalServerException} (server fault)
183
+ * <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>
184
+ *
185
+ * @throws {@link ServiceQuotaExceededException} (client fault)
186
+ * <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>
187
+ *
188
+ * @throws {@link ThrottlingException} (client fault)
189
+ * <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>
190
+ *
191
+ * @throws {@link ValidationException} (client fault)
192
+ * <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>
193
+ *
194
+ * @throws {@link BedrockAgentCoreServiceException}
195
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
196
+ *
197
+ *
198
+ * @public
199
+ */
200
+ export declare class CreatePaymentInstrumentCommand extends CreatePaymentInstrumentCommand_base {
201
+ /** @internal type navigation helper, not in runtime. */
202
+ protected static __types: {
203
+ api: {
204
+ input: CreatePaymentInstrumentRequest;
205
+ output: CreatePaymentInstrumentResponse;
206
+ };
207
+ sdk: {
208
+ input: CreatePaymentInstrumentCommandInput;
209
+ output: CreatePaymentInstrumentCommandOutput;
210
+ };
211
+ };
212
+ }
@@ -0,0 +1,122 @@
1
+ import { Command as $Command } from "@smithy/smithy-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/smithy-client").CommandImpl<CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreatePaymentSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePaymentSessionCommandInput, CreatePaymentSessionCommandOutput, BedrockAgentCoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Create a new payment manager session
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockAgentCoreClient, CreatePaymentSessionCommand } from "@aws-sdk/client-bedrock-agentcore"; // ES Modules import
35
+ * // const { BedrockAgentCoreClient, CreatePaymentSessionCommand } = require("@aws-sdk/client-bedrock-agentcore"); // CommonJS import
36
+ * // import type { BedrockAgentCoreClientConfig } from "@aws-sdk/client-bedrock-agentcore";
37
+ * const config = {}; // type is BedrockAgentCoreClientConfig
38
+ * const client = new BedrockAgentCoreClient(config);
39
+ * const input = { // CreatePaymentSessionRequest
40
+ * userId: "STRING_VALUE",
41
+ * agentName: "STRING_VALUE",
42
+ * paymentManagerArn: "STRING_VALUE", // required
43
+ * limits: { // SessionLimits
44
+ * maxSpendAmount: { // Amount
45
+ * value: "STRING_VALUE", // required
46
+ * currency: "USD", // required
47
+ * },
48
+ * },
49
+ * expiryTimeInMinutes: Number("int"), // required
50
+ * clientToken: "STRING_VALUE",
51
+ * };
52
+ * const command = new CreatePaymentSessionCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // CreatePaymentSessionResponse
55
+ * // paymentSession: { // PaymentSession
56
+ * // paymentSessionId: "STRING_VALUE", // required
57
+ * // paymentManagerArn: "STRING_VALUE", // required
58
+ * // limits: { // SessionLimits
59
+ * // maxSpendAmount: { // Amount
60
+ * // value: "STRING_VALUE", // required
61
+ * // currency: "USD", // required
62
+ * // },
63
+ * // },
64
+ * // userId: "STRING_VALUE", // required
65
+ * // expiryTimeInMinutes: Number("int"), // required
66
+ * // createdAt: new Date("TIMESTAMP"), // required
67
+ * // availableLimits: { // AvailableLimits
68
+ * // availableSpendAmount: {
69
+ * // value: "STRING_VALUE", // required
70
+ * // currency: "USD", // required
71
+ * // },
72
+ * // updatedAt: new Date("TIMESTAMP"),
73
+ * // },
74
+ * // updatedAt: new Date("TIMESTAMP"), // required
75
+ * // },
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param CreatePaymentSessionCommandInput - {@link CreatePaymentSessionCommandInput}
81
+ * @returns {@link CreatePaymentSessionCommandOutput}
82
+ * @see {@link CreatePaymentSessionCommandInput} for command's `input` shape.
83
+ * @see {@link CreatePaymentSessionCommandOutput} for command's `response` shape.
84
+ * @see {@link BedrockAgentCoreClientResolvedConfig | config} for BedrockAgentCoreClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <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>
88
+ *
89
+ * @throws {@link ConflictException} (client fault)
90
+ * <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>
91
+ *
92
+ * @throws {@link InternalServerException} (server fault)
93
+ * <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>
94
+ *
95
+ * @throws {@link ServiceQuotaExceededException} (client fault)
96
+ * <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>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <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>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <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>
103
+ *
104
+ * @throws {@link BedrockAgentCoreServiceException}
105
+ * <p>Base exception class for all service exceptions from BedrockAgentCore service.</p>
106
+ *
107
+ *
108
+ * @public
109
+ */
110
+ export declare class CreatePaymentSessionCommand extends CreatePaymentSessionCommand_base {
111
+ /** @internal type navigation helper, not in runtime. */
112
+ protected static __types: {
113
+ api: {
114
+ input: CreatePaymentSessionRequest;
115
+ output: CreatePaymentSessionResponse;
116
+ };
117
+ sdk: {
118
+ input: CreatePaymentSessionCommandInput;
119
+ output: CreatePaymentSessionCommandOutput;
120
+ };
121
+ };
122
+ }