@effect-aws/client-bedrock-agentcore 1.11.2

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 (53) hide show
  1. package/BedrockAgentCoreClientInstance/package.json +6 -0
  2. package/BedrockAgentCoreService/package.json +6 -0
  3. package/BedrockAgentCoreServiceConfig/package.json +6 -0
  4. package/Errors/package.json +6 -0
  5. package/LICENSE +19 -0
  6. package/README.md +58 -0
  7. package/dist/cjs/BedrockAgentCoreClientInstance.d.ts +26 -0
  8. package/dist/cjs/BedrockAgentCoreClientInstance.d.ts.map +1 -0
  9. package/dist/cjs/BedrockAgentCoreClientInstance.js +52 -0
  10. package/dist/cjs/BedrockAgentCoreClientInstance.js.map +1 -0
  11. package/dist/cjs/BedrockAgentCoreService.d.ts +320 -0
  12. package/dist/cjs/BedrockAgentCoreService.d.ts.map +1 -0
  13. package/dist/cjs/BedrockAgentCoreService.js +138 -0
  14. package/dist/cjs/BedrockAgentCoreService.js.map +1 -0
  15. package/dist/cjs/BedrockAgentCoreServiceConfig.d.ts +26 -0
  16. package/dist/cjs/BedrockAgentCoreServiceConfig.d.ts.map +1 -0
  17. package/dist/cjs/BedrockAgentCoreServiceConfig.js +60 -0
  18. package/dist/cjs/BedrockAgentCoreServiceConfig.js.map +1 -0
  19. package/dist/cjs/Errors.d.ts +21 -0
  20. package/dist/cjs/Errors.d.ts.map +1 -0
  21. package/dist/cjs/Errors.js +20 -0
  22. package/dist/cjs/Errors.js.map +1 -0
  23. package/dist/cjs/index.d.ts +44 -0
  24. package/dist/cjs/index.d.ts.map +1 -0
  25. package/dist/cjs/index.js +56 -0
  26. package/dist/cjs/index.js.map +1 -0
  27. package/dist/dts/BedrockAgentCoreClientInstance.d.ts +26 -0
  28. package/dist/dts/BedrockAgentCoreClientInstance.d.ts.map +1 -0
  29. package/dist/dts/BedrockAgentCoreService.d.ts +320 -0
  30. package/dist/dts/BedrockAgentCoreService.d.ts.map +1 -0
  31. package/dist/dts/BedrockAgentCoreServiceConfig.d.ts +26 -0
  32. package/dist/dts/BedrockAgentCoreServiceConfig.d.ts.map +1 -0
  33. package/dist/dts/Errors.d.ts +21 -0
  34. package/dist/dts/Errors.d.ts.map +1 -0
  35. package/dist/dts/index.d.ts +44 -0
  36. package/dist/dts/index.d.ts.map +1 -0
  37. package/dist/esm/BedrockAgentCoreClientInstance.js +25 -0
  38. package/dist/esm/BedrockAgentCoreClientInstance.js.map +1 -0
  39. package/dist/esm/BedrockAgentCoreService.js +111 -0
  40. package/dist/esm/BedrockAgentCoreService.js.map +1 -0
  41. package/dist/esm/BedrockAgentCoreServiceConfig.js +33 -0
  42. package/dist/esm/BedrockAgentCoreServiceConfig.js.map +1 -0
  43. package/dist/esm/Errors.js +17 -0
  44. package/dist/esm/Errors.js.map +1 -0
  45. package/dist/esm/index.js +27 -0
  46. package/dist/esm/index.js.map +1 -0
  47. package/dist/esm/package.json +4 -0
  48. package/package.json +71 -0
  49. package/src/BedrockAgentCoreClientInstance.ts +35 -0
  50. package/src/BedrockAgentCoreService.ts +1710 -0
  51. package/src/BedrockAgentCoreServiceConfig.ts +54 -0
  52. package/src/Errors.ts +50 -0
  53. package/src/index.ts +50 -0
@@ -0,0 +1,1710 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import {
5
+ BatchCreateMemoryRecordsCommand,
6
+ type BatchCreateMemoryRecordsCommandInput,
7
+ type BatchCreateMemoryRecordsCommandOutput,
8
+ BatchDeleteMemoryRecordsCommand,
9
+ type BatchDeleteMemoryRecordsCommandInput,
10
+ type BatchDeleteMemoryRecordsCommandOutput,
11
+ BatchUpdateMemoryRecordsCommand,
12
+ type BatchUpdateMemoryRecordsCommandInput,
13
+ type BatchUpdateMemoryRecordsCommandOutput,
14
+ type BedrockAgentCoreClient,
15
+ type BedrockAgentCoreClientConfig,
16
+ CompleteResourceTokenAuthCommand,
17
+ type CompleteResourceTokenAuthCommandInput,
18
+ type CompleteResourceTokenAuthCommandOutput,
19
+ CreateABTestCommand,
20
+ type CreateABTestCommandInput,
21
+ type CreateABTestCommandOutput,
22
+ CreateEventCommand,
23
+ type CreateEventCommandInput,
24
+ type CreateEventCommandOutput,
25
+ CreatePaymentInstrumentCommand,
26
+ type CreatePaymentInstrumentCommandInput,
27
+ type CreatePaymentInstrumentCommandOutput,
28
+ CreatePaymentSessionCommand,
29
+ type CreatePaymentSessionCommandInput,
30
+ type CreatePaymentSessionCommandOutput,
31
+ DeleteABTestCommand,
32
+ type DeleteABTestCommandInput,
33
+ type DeleteABTestCommandOutput,
34
+ DeleteBatchEvaluationCommand,
35
+ type DeleteBatchEvaluationCommandInput,
36
+ type DeleteBatchEvaluationCommandOutput,
37
+ DeleteEventCommand,
38
+ type DeleteEventCommandInput,
39
+ type DeleteEventCommandOutput,
40
+ DeleteMemoryRecordCommand,
41
+ type DeleteMemoryRecordCommandInput,
42
+ type DeleteMemoryRecordCommandOutput,
43
+ DeletePaymentInstrumentCommand,
44
+ type DeletePaymentInstrumentCommandInput,
45
+ type DeletePaymentInstrumentCommandOutput,
46
+ DeletePaymentSessionCommand,
47
+ type DeletePaymentSessionCommandInput,
48
+ type DeletePaymentSessionCommandOutput,
49
+ DeleteRecommendationCommand,
50
+ type DeleteRecommendationCommandInput,
51
+ type DeleteRecommendationCommandOutput,
52
+ EvaluateCommand,
53
+ type EvaluateCommandInput,
54
+ type EvaluateCommandOutput,
55
+ GetABTestCommand,
56
+ type GetABTestCommandInput,
57
+ type GetABTestCommandOutput,
58
+ GetAgentCardCommand,
59
+ type GetAgentCardCommandInput,
60
+ type GetAgentCardCommandOutput,
61
+ GetBatchEvaluationCommand,
62
+ type GetBatchEvaluationCommandInput,
63
+ type GetBatchEvaluationCommandOutput,
64
+ GetBrowserSessionCommand,
65
+ type GetBrowserSessionCommandInput,
66
+ type GetBrowserSessionCommandOutput,
67
+ GetCodeInterpreterSessionCommand,
68
+ type GetCodeInterpreterSessionCommandInput,
69
+ type GetCodeInterpreterSessionCommandOutput,
70
+ GetEventCommand,
71
+ type GetEventCommandInput,
72
+ type GetEventCommandOutput,
73
+ GetMemoryRecordCommand,
74
+ type GetMemoryRecordCommandInput,
75
+ type GetMemoryRecordCommandOutput,
76
+ GetPaymentInstrumentBalanceCommand,
77
+ type GetPaymentInstrumentBalanceCommandInput,
78
+ type GetPaymentInstrumentBalanceCommandOutput,
79
+ GetPaymentInstrumentCommand,
80
+ type GetPaymentInstrumentCommandInput,
81
+ type GetPaymentInstrumentCommandOutput,
82
+ GetPaymentSessionCommand,
83
+ type GetPaymentSessionCommandInput,
84
+ type GetPaymentSessionCommandOutput,
85
+ GetRecommendationCommand,
86
+ type GetRecommendationCommandInput,
87
+ type GetRecommendationCommandOutput,
88
+ GetResourceApiKeyCommand,
89
+ type GetResourceApiKeyCommandInput,
90
+ type GetResourceApiKeyCommandOutput,
91
+ GetResourceOauth2TokenCommand,
92
+ type GetResourceOauth2TokenCommandInput,
93
+ type GetResourceOauth2TokenCommandOutput,
94
+ GetResourcePaymentTokenCommand,
95
+ type GetResourcePaymentTokenCommandInput,
96
+ type GetResourcePaymentTokenCommandOutput,
97
+ GetWorkloadAccessTokenCommand,
98
+ type GetWorkloadAccessTokenCommandInput,
99
+ type GetWorkloadAccessTokenCommandOutput,
100
+ GetWorkloadAccessTokenForJWTCommand,
101
+ type GetWorkloadAccessTokenForJWTCommandInput,
102
+ type GetWorkloadAccessTokenForJWTCommandOutput,
103
+ GetWorkloadAccessTokenForUserIdCommand,
104
+ type GetWorkloadAccessTokenForUserIdCommandInput,
105
+ type GetWorkloadAccessTokenForUserIdCommandOutput,
106
+ InvokeAgentRuntimeCommand,
107
+ InvokeAgentRuntimeCommandCommand,
108
+ type InvokeAgentRuntimeCommandCommandInput,
109
+ type InvokeAgentRuntimeCommandCommandOutput,
110
+ type InvokeAgentRuntimeCommandInput,
111
+ type InvokeAgentRuntimeCommandOutput,
112
+ InvokeBrowserCommand,
113
+ type InvokeBrowserCommandInput,
114
+ type InvokeBrowserCommandOutput,
115
+ InvokeCodeInterpreterCommand,
116
+ type InvokeCodeInterpreterCommandInput,
117
+ type InvokeCodeInterpreterCommandOutput,
118
+ InvokeHarnessCommand,
119
+ type InvokeHarnessCommandInput,
120
+ type InvokeHarnessCommandOutput,
121
+ ListABTestsCommand,
122
+ type ListABTestsCommandInput,
123
+ type ListABTestsCommandOutput,
124
+ ListActorsCommand,
125
+ type ListActorsCommandInput,
126
+ type ListActorsCommandOutput,
127
+ ListBatchEvaluationsCommand,
128
+ type ListBatchEvaluationsCommandInput,
129
+ type ListBatchEvaluationsCommandOutput,
130
+ ListBrowserSessionsCommand,
131
+ type ListBrowserSessionsCommandInput,
132
+ type ListBrowserSessionsCommandOutput,
133
+ ListCodeInterpreterSessionsCommand,
134
+ type ListCodeInterpreterSessionsCommandInput,
135
+ type ListCodeInterpreterSessionsCommandOutput,
136
+ ListEventsCommand,
137
+ type ListEventsCommandInput,
138
+ type ListEventsCommandOutput,
139
+ ListMemoryExtractionJobsCommand,
140
+ type ListMemoryExtractionJobsCommandInput,
141
+ type ListMemoryExtractionJobsCommandOutput,
142
+ ListMemoryRecordsCommand,
143
+ type ListMemoryRecordsCommandInput,
144
+ type ListMemoryRecordsCommandOutput,
145
+ ListPaymentInstrumentsCommand,
146
+ type ListPaymentInstrumentsCommandInput,
147
+ type ListPaymentInstrumentsCommandOutput,
148
+ ListPaymentSessionsCommand,
149
+ type ListPaymentSessionsCommandInput,
150
+ type ListPaymentSessionsCommandOutput,
151
+ ListRecommendationsCommand,
152
+ type ListRecommendationsCommandInput,
153
+ type ListRecommendationsCommandOutput,
154
+ ListSessionsCommand,
155
+ type ListSessionsCommandInput,
156
+ type ListSessionsCommandOutput,
157
+ paginateListABTests,
158
+ paginateListActors,
159
+ paginateListBatchEvaluations,
160
+ paginateListEvents,
161
+ paginateListMemoryExtractionJobs,
162
+ paginateListMemoryRecords,
163
+ paginateListPaymentInstruments,
164
+ paginateListPaymentSessions,
165
+ paginateListRecommendations,
166
+ paginateListSessions,
167
+ paginateRetrieveMemoryRecords,
168
+ ProcessPaymentCommand,
169
+ type ProcessPaymentCommandInput,
170
+ type ProcessPaymentCommandOutput,
171
+ RetrieveMemoryRecordsCommand,
172
+ type RetrieveMemoryRecordsCommandInput,
173
+ type RetrieveMemoryRecordsCommandOutput,
174
+ SaveBrowserSessionProfileCommand,
175
+ type SaveBrowserSessionProfileCommandInput,
176
+ type SaveBrowserSessionProfileCommandOutput,
177
+ SearchRegistryRecordsCommand,
178
+ type SearchRegistryRecordsCommandInput,
179
+ type SearchRegistryRecordsCommandOutput,
180
+ StartBatchEvaluationCommand,
181
+ type StartBatchEvaluationCommandInput,
182
+ type StartBatchEvaluationCommandOutput,
183
+ StartBrowserSessionCommand,
184
+ type StartBrowserSessionCommandInput,
185
+ type StartBrowserSessionCommandOutput,
186
+ StartCodeInterpreterSessionCommand,
187
+ type StartCodeInterpreterSessionCommandInput,
188
+ type StartCodeInterpreterSessionCommandOutput,
189
+ StartMemoryExtractionJobCommand,
190
+ type StartMemoryExtractionJobCommandInput,
191
+ type StartMemoryExtractionJobCommandOutput,
192
+ StartRecommendationCommand,
193
+ type StartRecommendationCommandInput,
194
+ type StartRecommendationCommandOutput,
195
+ StopBatchEvaluationCommand,
196
+ type StopBatchEvaluationCommandInput,
197
+ type StopBatchEvaluationCommandOutput,
198
+ StopBrowserSessionCommand,
199
+ type StopBrowserSessionCommandInput,
200
+ type StopBrowserSessionCommandOutput,
201
+ StopCodeInterpreterSessionCommand,
202
+ type StopCodeInterpreterSessionCommandInput,
203
+ type StopCodeInterpreterSessionCommandOutput,
204
+ StopRuntimeSessionCommand,
205
+ type StopRuntimeSessionCommandInput,
206
+ type StopRuntimeSessionCommandOutput,
207
+ UpdateABTestCommand,
208
+ type UpdateABTestCommandInput,
209
+ type UpdateABTestCommandOutput,
210
+ UpdateBrowserStreamCommand,
211
+ type UpdateBrowserStreamCommandInput,
212
+ type UpdateBrowserStreamCommandOutput,
213
+ } from "@aws-sdk/client-bedrock-agentcore";
214
+ import * as Service from "@effect-aws/commons/Service";
215
+ import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
216
+ import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
217
+ import type * as Cause from "effect/Cause";
218
+ import * as Effect from "effect/Effect";
219
+ import * as Layer from "effect/Layer";
220
+ import type * as Stream from "effect/Stream";
221
+ import * as Instance from "./BedrockAgentCoreClientInstance.js";
222
+ import * as BedrockAgentCoreServiceConfig from "./BedrockAgentCoreServiceConfig.js";
223
+ import type {
224
+ AccessDeniedError,
225
+ ConflictError,
226
+ DuplicateIdError,
227
+ InternalServerError,
228
+ InvalidInputError,
229
+ ResourceNotFoundError,
230
+ RetryableConflictError,
231
+ RuntimeClientError,
232
+ SdkError,
233
+ ServiceError,
234
+ ServiceQuotaExceededError,
235
+ ThrottledError,
236
+ ThrottlingError,
237
+ UnauthorizedError,
238
+ ValidationError,
239
+ } from "./Errors.js";
240
+ import { AllServiceErrors } from "./Errors.js";
241
+
242
+ const commands = {
243
+ BatchCreateMemoryRecordsCommand,
244
+ BatchDeleteMemoryRecordsCommand,
245
+ BatchUpdateMemoryRecordsCommand,
246
+ CompleteResourceTokenAuthCommand,
247
+ CreateABTestCommand,
248
+ CreateEventCommand,
249
+ CreatePaymentInstrumentCommand,
250
+ CreatePaymentSessionCommand,
251
+ DeleteABTestCommand,
252
+ DeleteBatchEvaluationCommand,
253
+ DeleteEventCommand,
254
+ DeleteMemoryRecordCommand,
255
+ DeletePaymentInstrumentCommand,
256
+ DeletePaymentSessionCommand,
257
+ DeleteRecommendationCommand,
258
+ EvaluateCommand,
259
+ GetABTestCommand,
260
+ GetAgentCardCommand,
261
+ GetBatchEvaluationCommand,
262
+ GetBrowserSessionCommand,
263
+ GetCodeInterpreterSessionCommand,
264
+ GetEventCommand,
265
+ GetMemoryRecordCommand,
266
+ GetPaymentInstrumentCommand,
267
+ GetPaymentInstrumentBalanceCommand,
268
+ GetPaymentSessionCommand,
269
+ GetRecommendationCommand,
270
+ GetResourceApiKeyCommand,
271
+ GetResourceOauth2TokenCommand,
272
+ GetResourcePaymentTokenCommand,
273
+ GetWorkloadAccessTokenCommand,
274
+ GetWorkloadAccessTokenForJWTCommand,
275
+ GetWorkloadAccessTokenForUserIdCommand,
276
+ InvokeAgentRuntimeCommand,
277
+ InvokeAgentRuntimeCommandCommand,
278
+ InvokeBrowserCommand,
279
+ InvokeCodeInterpreterCommand,
280
+ InvokeHarnessCommand,
281
+ ListABTestsCommand,
282
+ ListActorsCommand,
283
+ ListBatchEvaluationsCommand,
284
+ ListBrowserSessionsCommand,
285
+ ListCodeInterpreterSessionsCommand,
286
+ ListEventsCommand,
287
+ ListMemoryExtractionJobsCommand,
288
+ ListMemoryRecordsCommand,
289
+ ListPaymentInstrumentsCommand,
290
+ ListPaymentSessionsCommand,
291
+ ListRecommendationsCommand,
292
+ ListSessionsCommand,
293
+ ProcessPaymentCommand,
294
+ RetrieveMemoryRecordsCommand,
295
+ SaveBrowserSessionProfileCommand,
296
+ SearchRegistryRecordsCommand,
297
+ StartBatchEvaluationCommand,
298
+ StartBrowserSessionCommand,
299
+ StartCodeInterpreterSessionCommand,
300
+ StartMemoryExtractionJobCommand,
301
+ StartRecommendationCommand,
302
+ StopBatchEvaluationCommand,
303
+ StopBrowserSessionCommand,
304
+ StopCodeInterpreterSessionCommand,
305
+ StopRuntimeSessionCommand,
306
+ UpdateABTestCommand,
307
+ UpdateBrowserStreamCommand,
308
+ };
309
+
310
+ const paginators = {
311
+ paginateListABTests,
312
+ paginateListActors,
313
+ paginateListBatchEvaluations,
314
+ paginateListEvents,
315
+ paginateListMemoryExtractionJobs,
316
+ paginateListMemoryRecords,
317
+ paginateListPaymentInstruments,
318
+ paginateListPaymentSessions,
319
+ paginateListRecommendations,
320
+ paginateListSessions,
321
+ paginateRetrieveMemoryRecords,
322
+ };
323
+
324
+ interface BedrockAgentCoreService$ {
325
+ readonly _: unique symbol;
326
+
327
+ /**
328
+ * @see {@link BatchCreateMemoryRecordsCommand}
329
+ */
330
+ batchCreateMemoryRecords(
331
+ args: BatchCreateMemoryRecordsCommandInput,
332
+ options?: HttpHandlerOptions,
333
+ ): Effect.Effect<
334
+ BatchCreateMemoryRecordsCommandOutput,
335
+ | Cause.TimeoutException
336
+ | SdkError
337
+ | AccessDeniedError
338
+ | ResourceNotFoundError
339
+ | ServiceError
340
+ | ServiceQuotaExceededError
341
+ | ThrottledError
342
+ | ValidationError
343
+ >;
344
+
345
+ /**
346
+ * @see {@link BatchDeleteMemoryRecordsCommand}
347
+ */
348
+ batchDeleteMemoryRecords(
349
+ args: BatchDeleteMemoryRecordsCommandInput,
350
+ options?: HttpHandlerOptions,
351
+ ): Effect.Effect<
352
+ BatchDeleteMemoryRecordsCommandOutput,
353
+ | Cause.TimeoutException
354
+ | SdkError
355
+ | AccessDeniedError
356
+ | ResourceNotFoundError
357
+ | ServiceError
358
+ | ServiceQuotaExceededError
359
+ | ThrottledError
360
+ | ValidationError
361
+ >;
362
+
363
+ /**
364
+ * @see {@link BatchUpdateMemoryRecordsCommand}
365
+ */
366
+ batchUpdateMemoryRecords(
367
+ args: BatchUpdateMemoryRecordsCommandInput,
368
+ options?: HttpHandlerOptions,
369
+ ): Effect.Effect<
370
+ BatchUpdateMemoryRecordsCommandOutput,
371
+ | Cause.TimeoutException
372
+ | SdkError
373
+ | AccessDeniedError
374
+ | ResourceNotFoundError
375
+ | ServiceError
376
+ | ServiceQuotaExceededError
377
+ | ThrottledError
378
+ | ValidationError
379
+ >;
380
+
381
+ /**
382
+ * @see {@link CompleteResourceTokenAuthCommand}
383
+ */
384
+ completeResourceTokenAuth(
385
+ args: CompleteResourceTokenAuthCommandInput,
386
+ options?: HttpHandlerOptions,
387
+ ): Effect.Effect<
388
+ CompleteResourceTokenAuthCommandOutput,
389
+ | Cause.TimeoutException
390
+ | SdkError
391
+ | AccessDeniedError
392
+ | InternalServerError
393
+ | ResourceNotFoundError
394
+ | ThrottlingError
395
+ | UnauthorizedError
396
+ | ValidationError
397
+ >;
398
+
399
+ /**
400
+ * @see {@link CreateABTestCommand}
401
+ */
402
+ createABTest(
403
+ args: CreateABTestCommandInput,
404
+ options?: HttpHandlerOptions,
405
+ ): Effect.Effect<
406
+ CreateABTestCommandOutput,
407
+ | Cause.TimeoutException
408
+ | SdkError
409
+ | AccessDeniedError
410
+ | ConflictError
411
+ | InternalServerError
412
+ | ServiceQuotaExceededError
413
+ | ThrottlingError
414
+ | UnauthorizedError
415
+ | ValidationError
416
+ >;
417
+
418
+ /**
419
+ * @see {@link CreateEventCommand}
420
+ */
421
+ createEvent(
422
+ args: CreateEventCommandInput,
423
+ options?: HttpHandlerOptions,
424
+ ): Effect.Effect<
425
+ CreateEventCommandOutput,
426
+ | Cause.TimeoutException
427
+ | SdkError
428
+ | AccessDeniedError
429
+ | InvalidInputError
430
+ | ResourceNotFoundError
431
+ | RetryableConflictError
432
+ | ServiceError
433
+ | ServiceQuotaExceededError
434
+ | ThrottledError
435
+ | ValidationError
436
+ >;
437
+
438
+ /**
439
+ * @see {@link CreatePaymentInstrumentCommand}
440
+ */
441
+ createPaymentInstrument(
442
+ args: CreatePaymentInstrumentCommandInput,
443
+ options?: HttpHandlerOptions,
444
+ ): Effect.Effect<
445
+ CreatePaymentInstrumentCommandOutput,
446
+ | Cause.TimeoutException
447
+ | SdkError
448
+ | AccessDeniedError
449
+ | ConflictError
450
+ | InternalServerError
451
+ | ServiceQuotaExceededError
452
+ | ThrottlingError
453
+ | ValidationError
454
+ >;
455
+
456
+ /**
457
+ * @see {@link CreatePaymentSessionCommand}
458
+ */
459
+ createPaymentSession(
460
+ args: CreatePaymentSessionCommandInput,
461
+ options?: HttpHandlerOptions,
462
+ ): Effect.Effect<
463
+ CreatePaymentSessionCommandOutput,
464
+ | Cause.TimeoutException
465
+ | SdkError
466
+ | AccessDeniedError
467
+ | ConflictError
468
+ | InternalServerError
469
+ | ServiceQuotaExceededError
470
+ | ThrottlingError
471
+ | ValidationError
472
+ >;
473
+
474
+ /**
475
+ * @see {@link DeleteABTestCommand}
476
+ */
477
+ deleteABTest(
478
+ args: DeleteABTestCommandInput,
479
+ options?: HttpHandlerOptions,
480
+ ): Effect.Effect<
481
+ DeleteABTestCommandOutput,
482
+ | Cause.TimeoutException
483
+ | SdkError
484
+ | AccessDeniedError
485
+ | ConflictError
486
+ | InternalServerError
487
+ | ResourceNotFoundError
488
+ | ThrottlingError
489
+ | UnauthorizedError
490
+ | ValidationError
491
+ >;
492
+
493
+ /**
494
+ * @see {@link DeleteBatchEvaluationCommand}
495
+ */
496
+ deleteBatchEvaluation(
497
+ args: DeleteBatchEvaluationCommandInput,
498
+ options?: HttpHandlerOptions,
499
+ ): Effect.Effect<
500
+ DeleteBatchEvaluationCommandOutput,
501
+ | Cause.TimeoutException
502
+ | SdkError
503
+ | AccessDeniedError
504
+ | ConflictError
505
+ | InternalServerError
506
+ | ResourceNotFoundError
507
+ | ThrottlingError
508
+ | UnauthorizedError
509
+ | ValidationError
510
+ >;
511
+
512
+ /**
513
+ * @see {@link DeleteEventCommand}
514
+ */
515
+ deleteEvent(
516
+ args: DeleteEventCommandInput,
517
+ options?: HttpHandlerOptions,
518
+ ): Effect.Effect<
519
+ DeleteEventCommandOutput,
520
+ | Cause.TimeoutException
521
+ | SdkError
522
+ | AccessDeniedError
523
+ | InvalidInputError
524
+ | ResourceNotFoundError
525
+ | ServiceError
526
+ | ServiceQuotaExceededError
527
+ | ThrottledError
528
+ | ValidationError
529
+ >;
530
+
531
+ /**
532
+ * @see {@link DeleteMemoryRecordCommand}
533
+ */
534
+ deleteMemoryRecord(
535
+ args: DeleteMemoryRecordCommandInput,
536
+ options?: HttpHandlerOptions,
537
+ ): Effect.Effect<
538
+ DeleteMemoryRecordCommandOutput,
539
+ | Cause.TimeoutException
540
+ | SdkError
541
+ | AccessDeniedError
542
+ | InvalidInputError
543
+ | ResourceNotFoundError
544
+ | ServiceError
545
+ | ServiceQuotaExceededError
546
+ | ThrottledError
547
+ | ValidationError
548
+ >;
549
+
550
+ /**
551
+ * @see {@link DeletePaymentInstrumentCommand}
552
+ */
553
+ deletePaymentInstrument(
554
+ args: DeletePaymentInstrumentCommandInput,
555
+ options?: HttpHandlerOptions,
556
+ ): Effect.Effect<
557
+ DeletePaymentInstrumentCommandOutput,
558
+ | Cause.TimeoutException
559
+ | SdkError
560
+ | AccessDeniedError
561
+ | InternalServerError
562
+ | ResourceNotFoundError
563
+ | ThrottlingError
564
+ | ValidationError
565
+ >;
566
+
567
+ /**
568
+ * @see {@link DeletePaymentSessionCommand}
569
+ */
570
+ deletePaymentSession(
571
+ args: DeletePaymentSessionCommandInput,
572
+ options?: HttpHandlerOptions,
573
+ ): Effect.Effect<
574
+ DeletePaymentSessionCommandOutput,
575
+ | Cause.TimeoutException
576
+ | SdkError
577
+ | AccessDeniedError
578
+ | InternalServerError
579
+ | ResourceNotFoundError
580
+ | ThrottlingError
581
+ | ValidationError
582
+ >;
583
+
584
+ /**
585
+ * @see {@link DeleteRecommendationCommand}
586
+ */
587
+ deleteRecommendation(
588
+ args: DeleteRecommendationCommandInput,
589
+ options?: HttpHandlerOptions,
590
+ ): Effect.Effect<
591
+ DeleteRecommendationCommandOutput,
592
+ | Cause.TimeoutException
593
+ | SdkError
594
+ | AccessDeniedError
595
+ | ConflictError
596
+ | InternalServerError
597
+ | ResourceNotFoundError
598
+ | ThrottlingError
599
+ | ValidationError
600
+ >;
601
+
602
+ /**
603
+ * @see {@link EvaluateCommand}
604
+ */
605
+ evaluate(
606
+ args: EvaluateCommandInput,
607
+ options?: HttpHandlerOptions,
608
+ ): Effect.Effect<
609
+ EvaluateCommandOutput,
610
+ | Cause.TimeoutException
611
+ | SdkError
612
+ | AccessDeniedError
613
+ | ConflictError
614
+ | DuplicateIdError
615
+ | InternalServerError
616
+ | ResourceNotFoundError
617
+ | ServiceQuotaExceededError
618
+ | ThrottlingError
619
+ | UnauthorizedError
620
+ | ValidationError
621
+ >;
622
+
623
+ /**
624
+ * @see {@link GetABTestCommand}
625
+ */
626
+ getABTest(
627
+ args: GetABTestCommandInput,
628
+ options?: HttpHandlerOptions,
629
+ ): Effect.Effect<
630
+ GetABTestCommandOutput,
631
+ | Cause.TimeoutException
632
+ | SdkError
633
+ | AccessDeniedError
634
+ | InternalServerError
635
+ | ResourceNotFoundError
636
+ | ThrottlingError
637
+ | UnauthorizedError
638
+ | ValidationError
639
+ >;
640
+
641
+ /**
642
+ * @see {@link GetAgentCardCommand}
643
+ */
644
+ getAgentCard(
645
+ args: GetAgentCardCommandInput,
646
+ options?: HttpHandlerOptions,
647
+ ): Effect.Effect<
648
+ GetAgentCardCommandOutput,
649
+ | Cause.TimeoutException
650
+ | SdkError
651
+ | AccessDeniedError
652
+ | InternalServerError
653
+ | ResourceNotFoundError
654
+ | RetryableConflictError
655
+ | RuntimeClientError
656
+ | ServiceQuotaExceededError
657
+ | ThrottlingError
658
+ | ValidationError
659
+ >;
660
+
661
+ /**
662
+ * @see {@link GetBatchEvaluationCommand}
663
+ */
664
+ getBatchEvaluation(
665
+ args: GetBatchEvaluationCommandInput,
666
+ options?: HttpHandlerOptions,
667
+ ): Effect.Effect<
668
+ GetBatchEvaluationCommandOutput,
669
+ | Cause.TimeoutException
670
+ | SdkError
671
+ | AccessDeniedError
672
+ | InternalServerError
673
+ | ResourceNotFoundError
674
+ | ThrottlingError
675
+ | UnauthorizedError
676
+ | ValidationError
677
+ >;
678
+
679
+ /**
680
+ * @see {@link GetBrowserSessionCommand}
681
+ */
682
+ getBrowserSession(
683
+ args: GetBrowserSessionCommandInput,
684
+ options?: HttpHandlerOptions,
685
+ ): Effect.Effect<
686
+ GetBrowserSessionCommandOutput,
687
+ | Cause.TimeoutException
688
+ | SdkError
689
+ | AccessDeniedError
690
+ | InternalServerError
691
+ | ResourceNotFoundError
692
+ | ThrottlingError
693
+ | ValidationError
694
+ >;
695
+
696
+ /**
697
+ * @see {@link GetCodeInterpreterSessionCommand}
698
+ */
699
+ getCodeInterpreterSession(
700
+ args: GetCodeInterpreterSessionCommandInput,
701
+ options?: HttpHandlerOptions,
702
+ ): Effect.Effect<
703
+ GetCodeInterpreterSessionCommandOutput,
704
+ | Cause.TimeoutException
705
+ | SdkError
706
+ | AccessDeniedError
707
+ | InternalServerError
708
+ | ResourceNotFoundError
709
+ | ThrottlingError
710
+ | ValidationError
711
+ >;
712
+
713
+ /**
714
+ * @see {@link GetEventCommand}
715
+ */
716
+ getEvent(
717
+ args: GetEventCommandInput,
718
+ options?: HttpHandlerOptions,
719
+ ): Effect.Effect<
720
+ GetEventCommandOutput,
721
+ | Cause.TimeoutException
722
+ | SdkError
723
+ | AccessDeniedError
724
+ | InvalidInputError
725
+ | ResourceNotFoundError
726
+ | ServiceError
727
+ | ServiceQuotaExceededError
728
+ | ThrottledError
729
+ | ValidationError
730
+ >;
731
+
732
+ /**
733
+ * @see {@link GetMemoryRecordCommand}
734
+ */
735
+ getMemoryRecord(
736
+ args: GetMemoryRecordCommandInput,
737
+ options?: HttpHandlerOptions,
738
+ ): Effect.Effect<
739
+ GetMemoryRecordCommandOutput,
740
+ | Cause.TimeoutException
741
+ | SdkError
742
+ | AccessDeniedError
743
+ | InvalidInputError
744
+ | ResourceNotFoundError
745
+ | ServiceError
746
+ | ServiceQuotaExceededError
747
+ | ThrottledError
748
+ | ValidationError
749
+ >;
750
+
751
+ /**
752
+ * @see {@link GetPaymentInstrumentCommand}
753
+ */
754
+ getPaymentInstrument(
755
+ args: GetPaymentInstrumentCommandInput,
756
+ options?: HttpHandlerOptions,
757
+ ): Effect.Effect<
758
+ GetPaymentInstrumentCommandOutput,
759
+ | Cause.TimeoutException
760
+ | SdkError
761
+ | AccessDeniedError
762
+ | InternalServerError
763
+ | ResourceNotFoundError
764
+ | ThrottlingError
765
+ | ValidationError
766
+ >;
767
+
768
+ /**
769
+ * @see {@link GetPaymentInstrumentBalanceCommand}
770
+ */
771
+ getPaymentInstrumentBalance(
772
+ args: GetPaymentInstrumentBalanceCommandInput,
773
+ options?: HttpHandlerOptions,
774
+ ): Effect.Effect<
775
+ GetPaymentInstrumentBalanceCommandOutput,
776
+ | Cause.TimeoutException
777
+ | SdkError
778
+ | AccessDeniedError
779
+ | InternalServerError
780
+ | ResourceNotFoundError
781
+ | ThrottlingError
782
+ | ValidationError
783
+ >;
784
+
785
+ /**
786
+ * @see {@link GetPaymentSessionCommand}
787
+ */
788
+ getPaymentSession(
789
+ args: GetPaymentSessionCommandInput,
790
+ options?: HttpHandlerOptions,
791
+ ): Effect.Effect<
792
+ GetPaymentSessionCommandOutput,
793
+ | Cause.TimeoutException
794
+ | SdkError
795
+ | AccessDeniedError
796
+ | InternalServerError
797
+ | ResourceNotFoundError
798
+ | ThrottlingError
799
+ | ValidationError
800
+ >;
801
+
802
+ /**
803
+ * @see {@link GetRecommendationCommand}
804
+ */
805
+ getRecommendation(
806
+ args: GetRecommendationCommandInput,
807
+ options?: HttpHandlerOptions,
808
+ ): Effect.Effect<
809
+ GetRecommendationCommandOutput,
810
+ | Cause.TimeoutException
811
+ | SdkError
812
+ | AccessDeniedError
813
+ | InternalServerError
814
+ | ResourceNotFoundError
815
+ | ThrottlingError
816
+ | ValidationError
817
+ >;
818
+
819
+ /**
820
+ * @see {@link GetResourceApiKeyCommand}
821
+ */
822
+ getResourceApiKey(
823
+ args: GetResourceApiKeyCommandInput,
824
+ options?: HttpHandlerOptions,
825
+ ): Effect.Effect<
826
+ GetResourceApiKeyCommandOutput,
827
+ | Cause.TimeoutException
828
+ | SdkError
829
+ | AccessDeniedError
830
+ | InternalServerError
831
+ | ResourceNotFoundError
832
+ | ThrottlingError
833
+ | UnauthorizedError
834
+ | ValidationError
835
+ >;
836
+
837
+ /**
838
+ * @see {@link GetResourceOauth2TokenCommand}
839
+ */
840
+ getResourceOauth2Token(
841
+ args: GetResourceOauth2TokenCommandInput,
842
+ options?: HttpHandlerOptions,
843
+ ): Effect.Effect<
844
+ GetResourceOauth2TokenCommandOutput,
845
+ | Cause.TimeoutException
846
+ | SdkError
847
+ | AccessDeniedError
848
+ | InternalServerError
849
+ | ResourceNotFoundError
850
+ | ThrottlingError
851
+ | UnauthorizedError
852
+ | ValidationError
853
+ >;
854
+
855
+ /**
856
+ * @see {@link GetResourcePaymentTokenCommand}
857
+ */
858
+ getResourcePaymentToken(
859
+ args: GetResourcePaymentTokenCommandInput,
860
+ options?: HttpHandlerOptions,
861
+ ): Effect.Effect<
862
+ GetResourcePaymentTokenCommandOutput,
863
+ | Cause.TimeoutException
864
+ | SdkError
865
+ | AccessDeniedError
866
+ | InternalServerError
867
+ | ResourceNotFoundError
868
+ | ThrottlingError
869
+ | UnauthorizedError
870
+ | ValidationError
871
+ >;
872
+
873
+ /**
874
+ * @see {@link GetWorkloadAccessTokenCommand}
875
+ */
876
+ getWorkloadAccessToken(
877
+ args: GetWorkloadAccessTokenCommandInput,
878
+ options?: HttpHandlerOptions,
879
+ ): Effect.Effect<
880
+ GetWorkloadAccessTokenCommandOutput,
881
+ | Cause.TimeoutException
882
+ | SdkError
883
+ | AccessDeniedError
884
+ | InternalServerError
885
+ | ResourceNotFoundError
886
+ | ThrottlingError
887
+ | UnauthorizedError
888
+ | ValidationError
889
+ >;
890
+
891
+ /**
892
+ * @see {@link GetWorkloadAccessTokenForJWTCommand}
893
+ */
894
+ getWorkloadAccessTokenForJWT(
895
+ args: GetWorkloadAccessTokenForJWTCommandInput,
896
+ options?: HttpHandlerOptions,
897
+ ): Effect.Effect<
898
+ GetWorkloadAccessTokenForJWTCommandOutput,
899
+ | Cause.TimeoutException
900
+ | SdkError
901
+ | AccessDeniedError
902
+ | InternalServerError
903
+ | ResourceNotFoundError
904
+ | ThrottlingError
905
+ | UnauthorizedError
906
+ | ValidationError
907
+ >;
908
+
909
+ /**
910
+ * @see {@link GetWorkloadAccessTokenForUserIdCommand}
911
+ */
912
+ getWorkloadAccessTokenForUserId(
913
+ args: GetWorkloadAccessTokenForUserIdCommandInput,
914
+ options?: HttpHandlerOptions,
915
+ ): Effect.Effect<
916
+ GetWorkloadAccessTokenForUserIdCommandOutput,
917
+ | Cause.TimeoutException
918
+ | SdkError
919
+ | AccessDeniedError
920
+ | InternalServerError
921
+ | ResourceNotFoundError
922
+ | ThrottlingError
923
+ | UnauthorizedError
924
+ | ValidationError
925
+ >;
926
+
927
+ /**
928
+ * @see {@link InvokeAgentRuntimeCommand}
929
+ */
930
+ invokeAgentRuntime(
931
+ args: InvokeAgentRuntimeCommandInput,
932
+ options?: HttpHandlerOptions,
933
+ ): Effect.Effect<
934
+ InvokeAgentRuntimeCommandOutput,
935
+ | Cause.TimeoutException
936
+ | SdkError
937
+ | AccessDeniedError
938
+ | InternalServerError
939
+ | ResourceNotFoundError
940
+ | RetryableConflictError
941
+ | RuntimeClientError
942
+ | ServiceQuotaExceededError
943
+ | ThrottlingError
944
+ | ValidationError
945
+ >;
946
+
947
+ /**
948
+ * @see {@link InvokeAgentRuntimeCommandCommand}
949
+ */
950
+ invokeAgentRuntimeCommand(
951
+ args: InvokeAgentRuntimeCommandCommandInput,
952
+ options?: HttpHandlerOptions,
953
+ ): Effect.Effect<
954
+ InvokeAgentRuntimeCommandCommandOutput,
955
+ | Cause.TimeoutException
956
+ | SdkError
957
+ | AccessDeniedError
958
+ | InternalServerError
959
+ | ResourceNotFoundError
960
+ | RetryableConflictError
961
+ | RuntimeClientError
962
+ | ServiceQuotaExceededError
963
+ | ThrottlingError
964
+ | ValidationError
965
+ >;
966
+
967
+ /**
968
+ * @see {@link InvokeBrowserCommand}
969
+ */
970
+ invokeBrowser(
971
+ args: InvokeBrowserCommandInput,
972
+ options?: HttpHandlerOptions,
973
+ ): Effect.Effect<
974
+ InvokeBrowserCommandOutput,
975
+ | Cause.TimeoutException
976
+ | SdkError
977
+ | AccessDeniedError
978
+ | InternalServerError
979
+ | ResourceNotFoundError
980
+ | ServiceQuotaExceededError
981
+ | ThrottlingError
982
+ | ValidationError
983
+ >;
984
+
985
+ /**
986
+ * @see {@link InvokeCodeInterpreterCommand}
987
+ */
988
+ invokeCodeInterpreter(
989
+ args: InvokeCodeInterpreterCommandInput,
990
+ options?: HttpHandlerOptions,
991
+ ): Effect.Effect<
992
+ InvokeCodeInterpreterCommandOutput,
993
+ | Cause.TimeoutException
994
+ | SdkError
995
+ | AccessDeniedError
996
+ | ConflictError
997
+ | InternalServerError
998
+ | ResourceNotFoundError
999
+ | ServiceQuotaExceededError
1000
+ | ThrottlingError
1001
+ | ValidationError
1002
+ >;
1003
+
1004
+ /**
1005
+ * @see {@link InvokeHarnessCommand}
1006
+ */
1007
+ invokeHarness(
1008
+ args: InvokeHarnessCommandInput,
1009
+ options?: HttpHandlerOptions,
1010
+ ): Effect.Effect<
1011
+ InvokeHarnessCommandOutput,
1012
+ | Cause.TimeoutException
1013
+ | SdkError
1014
+ | AccessDeniedError
1015
+ | InternalServerError
1016
+ | ResourceNotFoundError
1017
+ | RuntimeClientError
1018
+ | ServiceQuotaExceededError
1019
+ | ThrottlingError
1020
+ | ValidationError
1021
+ >;
1022
+
1023
+ /**
1024
+ * @see {@link ListABTestsCommand}
1025
+ */
1026
+ listABTests(
1027
+ args: ListABTestsCommandInput,
1028
+ options?: HttpHandlerOptions,
1029
+ ): Effect.Effect<
1030
+ ListABTestsCommandOutput,
1031
+ | Cause.TimeoutException
1032
+ | SdkError
1033
+ | AccessDeniedError
1034
+ | InternalServerError
1035
+ | ThrottlingError
1036
+ | UnauthorizedError
1037
+ | ValidationError
1038
+ >;
1039
+
1040
+ listABTestsStream(
1041
+ args: ListABTestsCommandInput,
1042
+ options?: HttpHandlerOptions,
1043
+ ): Stream.Stream<
1044
+ ListABTestsCommandOutput,
1045
+ | Cause.TimeoutException
1046
+ | SdkError
1047
+ | AccessDeniedError
1048
+ | InternalServerError
1049
+ | ThrottlingError
1050
+ | UnauthorizedError
1051
+ | ValidationError
1052
+ >;
1053
+
1054
+ /**
1055
+ * @see {@link ListActorsCommand}
1056
+ */
1057
+ listActors(
1058
+ args: ListActorsCommandInput,
1059
+ options?: HttpHandlerOptions,
1060
+ ): Effect.Effect<
1061
+ ListActorsCommandOutput,
1062
+ | Cause.TimeoutException
1063
+ | SdkError
1064
+ | AccessDeniedError
1065
+ | InvalidInputError
1066
+ | ResourceNotFoundError
1067
+ | ServiceError
1068
+ | ServiceQuotaExceededError
1069
+ | ThrottledError
1070
+ | ValidationError
1071
+ >;
1072
+
1073
+ listActorsStream(
1074
+ args: ListActorsCommandInput,
1075
+ options?: HttpHandlerOptions,
1076
+ ): Stream.Stream<
1077
+ ListActorsCommandOutput,
1078
+ | Cause.TimeoutException
1079
+ | SdkError
1080
+ | AccessDeniedError
1081
+ | InvalidInputError
1082
+ | ResourceNotFoundError
1083
+ | ServiceError
1084
+ | ServiceQuotaExceededError
1085
+ | ThrottledError
1086
+ | ValidationError
1087
+ >;
1088
+
1089
+ /**
1090
+ * @see {@link ListBatchEvaluationsCommand}
1091
+ */
1092
+ listBatchEvaluations(
1093
+ args: ListBatchEvaluationsCommandInput,
1094
+ options?: HttpHandlerOptions,
1095
+ ): Effect.Effect<
1096
+ ListBatchEvaluationsCommandOutput,
1097
+ | Cause.TimeoutException
1098
+ | SdkError
1099
+ | AccessDeniedError
1100
+ | InternalServerError
1101
+ | ThrottlingError
1102
+ | UnauthorizedError
1103
+ | ValidationError
1104
+ >;
1105
+
1106
+ listBatchEvaluationsStream(
1107
+ args: ListBatchEvaluationsCommandInput,
1108
+ options?: HttpHandlerOptions,
1109
+ ): Stream.Stream<
1110
+ ListBatchEvaluationsCommandOutput,
1111
+ | Cause.TimeoutException
1112
+ | SdkError
1113
+ | AccessDeniedError
1114
+ | InternalServerError
1115
+ | ThrottlingError
1116
+ | UnauthorizedError
1117
+ | ValidationError
1118
+ >;
1119
+
1120
+ /**
1121
+ * @see {@link ListBrowserSessionsCommand}
1122
+ */
1123
+ listBrowserSessions(
1124
+ args: ListBrowserSessionsCommandInput,
1125
+ options?: HttpHandlerOptions,
1126
+ ): Effect.Effect<
1127
+ ListBrowserSessionsCommandOutput,
1128
+ | Cause.TimeoutException
1129
+ | SdkError
1130
+ | AccessDeniedError
1131
+ | InternalServerError
1132
+ | ResourceNotFoundError
1133
+ | ThrottlingError
1134
+ | ValidationError
1135
+ >;
1136
+
1137
+ /**
1138
+ * @see {@link ListCodeInterpreterSessionsCommand}
1139
+ */
1140
+ listCodeInterpreterSessions(
1141
+ args: ListCodeInterpreterSessionsCommandInput,
1142
+ options?: HttpHandlerOptions,
1143
+ ): Effect.Effect<
1144
+ ListCodeInterpreterSessionsCommandOutput,
1145
+ | Cause.TimeoutException
1146
+ | SdkError
1147
+ | AccessDeniedError
1148
+ | InternalServerError
1149
+ | ResourceNotFoundError
1150
+ | ThrottlingError
1151
+ | ValidationError
1152
+ >;
1153
+
1154
+ /**
1155
+ * @see {@link ListEventsCommand}
1156
+ */
1157
+ listEvents(
1158
+ args: ListEventsCommandInput,
1159
+ options?: HttpHandlerOptions,
1160
+ ): Effect.Effect<
1161
+ ListEventsCommandOutput,
1162
+ | Cause.TimeoutException
1163
+ | SdkError
1164
+ | AccessDeniedError
1165
+ | InvalidInputError
1166
+ | ResourceNotFoundError
1167
+ | ServiceError
1168
+ | ServiceQuotaExceededError
1169
+ | ThrottledError
1170
+ | ValidationError
1171
+ >;
1172
+
1173
+ listEventsStream(
1174
+ args: ListEventsCommandInput,
1175
+ options?: HttpHandlerOptions,
1176
+ ): Stream.Stream<
1177
+ ListEventsCommandOutput,
1178
+ | Cause.TimeoutException
1179
+ | SdkError
1180
+ | AccessDeniedError
1181
+ | InvalidInputError
1182
+ | ResourceNotFoundError
1183
+ | ServiceError
1184
+ | ServiceQuotaExceededError
1185
+ | ThrottledError
1186
+ | ValidationError
1187
+ >;
1188
+
1189
+ /**
1190
+ * @see {@link ListMemoryExtractionJobsCommand}
1191
+ */
1192
+ listMemoryExtractionJobs(
1193
+ args: ListMemoryExtractionJobsCommandInput,
1194
+ options?: HttpHandlerOptions,
1195
+ ): Effect.Effect<
1196
+ ListMemoryExtractionJobsCommandOutput,
1197
+ | Cause.TimeoutException
1198
+ | SdkError
1199
+ | AccessDeniedError
1200
+ | ResourceNotFoundError
1201
+ | ServiceError
1202
+ | ServiceQuotaExceededError
1203
+ | ThrottledError
1204
+ | ValidationError
1205
+ >;
1206
+
1207
+ listMemoryExtractionJobsStream(
1208
+ args: ListMemoryExtractionJobsCommandInput,
1209
+ options?: HttpHandlerOptions,
1210
+ ): Stream.Stream<
1211
+ ListMemoryExtractionJobsCommandOutput,
1212
+ | Cause.TimeoutException
1213
+ | SdkError
1214
+ | AccessDeniedError
1215
+ | ResourceNotFoundError
1216
+ | ServiceError
1217
+ | ServiceQuotaExceededError
1218
+ | ThrottledError
1219
+ | ValidationError
1220
+ >;
1221
+
1222
+ /**
1223
+ * @see {@link ListMemoryRecordsCommand}
1224
+ */
1225
+ listMemoryRecords(
1226
+ args: ListMemoryRecordsCommandInput,
1227
+ options?: HttpHandlerOptions,
1228
+ ): Effect.Effect<
1229
+ ListMemoryRecordsCommandOutput,
1230
+ | Cause.TimeoutException
1231
+ | SdkError
1232
+ | AccessDeniedError
1233
+ | InvalidInputError
1234
+ | ResourceNotFoundError
1235
+ | ServiceError
1236
+ | ServiceQuotaExceededError
1237
+ | ThrottledError
1238
+ | ValidationError
1239
+ >;
1240
+
1241
+ listMemoryRecordsStream(
1242
+ args: ListMemoryRecordsCommandInput,
1243
+ options?: HttpHandlerOptions,
1244
+ ): Stream.Stream<
1245
+ ListMemoryRecordsCommandOutput,
1246
+ | Cause.TimeoutException
1247
+ | SdkError
1248
+ | AccessDeniedError
1249
+ | InvalidInputError
1250
+ | ResourceNotFoundError
1251
+ | ServiceError
1252
+ | ServiceQuotaExceededError
1253
+ | ThrottledError
1254
+ | ValidationError
1255
+ >;
1256
+
1257
+ /**
1258
+ * @see {@link ListPaymentInstrumentsCommand}
1259
+ */
1260
+ listPaymentInstruments(
1261
+ args: ListPaymentInstrumentsCommandInput,
1262
+ options?: HttpHandlerOptions,
1263
+ ): Effect.Effect<
1264
+ ListPaymentInstrumentsCommandOutput,
1265
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1266
+ >;
1267
+
1268
+ listPaymentInstrumentsStream(
1269
+ args: ListPaymentInstrumentsCommandInput,
1270
+ options?: HttpHandlerOptions,
1271
+ ): Stream.Stream<
1272
+ ListPaymentInstrumentsCommandOutput,
1273
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1274
+ >;
1275
+
1276
+ /**
1277
+ * @see {@link ListPaymentSessionsCommand}
1278
+ */
1279
+ listPaymentSessions(
1280
+ args: ListPaymentSessionsCommandInput,
1281
+ options?: HttpHandlerOptions,
1282
+ ): Effect.Effect<
1283
+ ListPaymentSessionsCommandOutput,
1284
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1285
+ >;
1286
+
1287
+ listPaymentSessionsStream(
1288
+ args: ListPaymentSessionsCommandInput,
1289
+ options?: HttpHandlerOptions,
1290
+ ): Stream.Stream<
1291
+ ListPaymentSessionsCommandOutput,
1292
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1293
+ >;
1294
+
1295
+ /**
1296
+ * @see {@link ListRecommendationsCommand}
1297
+ */
1298
+ listRecommendations(
1299
+ args: ListRecommendationsCommandInput,
1300
+ options?: HttpHandlerOptions,
1301
+ ): Effect.Effect<
1302
+ ListRecommendationsCommandOutput,
1303
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1304
+ >;
1305
+
1306
+ listRecommendationsStream(
1307
+ args: ListRecommendationsCommandInput,
1308
+ options?: HttpHandlerOptions,
1309
+ ): Stream.Stream<
1310
+ ListRecommendationsCommandOutput,
1311
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1312
+ >;
1313
+
1314
+ /**
1315
+ * @see {@link ListSessionsCommand}
1316
+ */
1317
+ listSessions(
1318
+ args: ListSessionsCommandInput,
1319
+ options?: HttpHandlerOptions,
1320
+ ): Effect.Effect<
1321
+ ListSessionsCommandOutput,
1322
+ | Cause.TimeoutException
1323
+ | SdkError
1324
+ | AccessDeniedError
1325
+ | InvalidInputError
1326
+ | ResourceNotFoundError
1327
+ | ServiceError
1328
+ | ServiceQuotaExceededError
1329
+ | ThrottledError
1330
+ | ValidationError
1331
+ >;
1332
+
1333
+ listSessionsStream(
1334
+ args: ListSessionsCommandInput,
1335
+ options?: HttpHandlerOptions,
1336
+ ): Stream.Stream<
1337
+ ListSessionsCommandOutput,
1338
+ | Cause.TimeoutException
1339
+ | SdkError
1340
+ | AccessDeniedError
1341
+ | InvalidInputError
1342
+ | ResourceNotFoundError
1343
+ | ServiceError
1344
+ | ServiceQuotaExceededError
1345
+ | ThrottledError
1346
+ | ValidationError
1347
+ >;
1348
+
1349
+ /**
1350
+ * @see {@link ProcessPaymentCommand}
1351
+ */
1352
+ processPayment(
1353
+ args: ProcessPaymentCommandInput,
1354
+ options?: HttpHandlerOptions,
1355
+ ): Effect.Effect<
1356
+ ProcessPaymentCommandOutput,
1357
+ | Cause.TimeoutException
1358
+ | SdkError
1359
+ | AccessDeniedError
1360
+ | ConflictError
1361
+ | InternalServerError
1362
+ | ServiceQuotaExceededError
1363
+ | ThrottlingError
1364
+ | ValidationError
1365
+ >;
1366
+
1367
+ /**
1368
+ * @see {@link RetrieveMemoryRecordsCommand}
1369
+ */
1370
+ retrieveMemoryRecords(
1371
+ args: RetrieveMemoryRecordsCommandInput,
1372
+ options?: HttpHandlerOptions,
1373
+ ): Effect.Effect<
1374
+ RetrieveMemoryRecordsCommandOutput,
1375
+ | Cause.TimeoutException
1376
+ | SdkError
1377
+ | AccessDeniedError
1378
+ | InvalidInputError
1379
+ | ResourceNotFoundError
1380
+ | ServiceError
1381
+ | ServiceQuotaExceededError
1382
+ | ThrottledError
1383
+ | ValidationError
1384
+ >;
1385
+
1386
+ retrieveMemoryRecordsStream(
1387
+ args: RetrieveMemoryRecordsCommandInput,
1388
+ options?: HttpHandlerOptions,
1389
+ ): Stream.Stream<
1390
+ RetrieveMemoryRecordsCommandOutput,
1391
+ | Cause.TimeoutException
1392
+ | SdkError
1393
+ | AccessDeniedError
1394
+ | InvalidInputError
1395
+ | ResourceNotFoundError
1396
+ | ServiceError
1397
+ | ServiceQuotaExceededError
1398
+ | ThrottledError
1399
+ | ValidationError
1400
+ >;
1401
+
1402
+ /**
1403
+ * @see {@link SaveBrowserSessionProfileCommand}
1404
+ */
1405
+ saveBrowserSessionProfile(
1406
+ args: SaveBrowserSessionProfileCommandInput,
1407
+ options?: HttpHandlerOptions,
1408
+ ): Effect.Effect<
1409
+ SaveBrowserSessionProfileCommandOutput,
1410
+ | Cause.TimeoutException
1411
+ | SdkError
1412
+ | AccessDeniedError
1413
+ | ConflictError
1414
+ | InternalServerError
1415
+ | ResourceNotFoundError
1416
+ | ThrottlingError
1417
+ | ValidationError
1418
+ >;
1419
+
1420
+ /**
1421
+ * @see {@link SearchRegistryRecordsCommand}
1422
+ */
1423
+ searchRegistryRecords(
1424
+ args: SearchRegistryRecordsCommandInput,
1425
+ options?: HttpHandlerOptions,
1426
+ ): Effect.Effect<
1427
+ SearchRegistryRecordsCommandOutput,
1428
+ | Cause.TimeoutException
1429
+ | SdkError
1430
+ | AccessDeniedError
1431
+ | InternalServerError
1432
+ | ResourceNotFoundError
1433
+ | ThrottlingError
1434
+ | UnauthorizedError
1435
+ | ValidationError
1436
+ >;
1437
+
1438
+ /**
1439
+ * @see {@link StartBatchEvaluationCommand}
1440
+ */
1441
+ startBatchEvaluation(
1442
+ args: StartBatchEvaluationCommandInput,
1443
+ options?: HttpHandlerOptions,
1444
+ ): Effect.Effect<
1445
+ StartBatchEvaluationCommandOutput,
1446
+ | Cause.TimeoutException
1447
+ | SdkError
1448
+ | AccessDeniedError
1449
+ | ConflictError
1450
+ | InternalServerError
1451
+ | ServiceQuotaExceededError
1452
+ | ThrottlingError
1453
+ | UnauthorizedError
1454
+ | ValidationError
1455
+ >;
1456
+
1457
+ /**
1458
+ * @see {@link StartBrowserSessionCommand}
1459
+ */
1460
+ startBrowserSession(
1461
+ args: StartBrowserSessionCommandInput,
1462
+ options?: HttpHandlerOptions,
1463
+ ): Effect.Effect<
1464
+ StartBrowserSessionCommandOutput,
1465
+ | Cause.TimeoutException
1466
+ | SdkError
1467
+ | AccessDeniedError
1468
+ | ConflictError
1469
+ | InternalServerError
1470
+ | ResourceNotFoundError
1471
+ | ServiceQuotaExceededError
1472
+ | ThrottlingError
1473
+ | ValidationError
1474
+ >;
1475
+
1476
+ /**
1477
+ * @see {@link StartCodeInterpreterSessionCommand}
1478
+ */
1479
+ startCodeInterpreterSession(
1480
+ args: StartCodeInterpreterSessionCommandInput,
1481
+ options?: HttpHandlerOptions,
1482
+ ): Effect.Effect<
1483
+ StartCodeInterpreterSessionCommandOutput,
1484
+ | Cause.TimeoutException
1485
+ | SdkError
1486
+ | AccessDeniedError
1487
+ | ConflictError
1488
+ | InternalServerError
1489
+ | ResourceNotFoundError
1490
+ | ServiceQuotaExceededError
1491
+ | ThrottlingError
1492
+ | ValidationError
1493
+ >;
1494
+
1495
+ /**
1496
+ * @see {@link StartMemoryExtractionJobCommand}
1497
+ */
1498
+ startMemoryExtractionJob(
1499
+ args: StartMemoryExtractionJobCommandInput,
1500
+ options?: HttpHandlerOptions,
1501
+ ): Effect.Effect<
1502
+ StartMemoryExtractionJobCommandOutput,
1503
+ | Cause.TimeoutException
1504
+ | SdkError
1505
+ | AccessDeniedError
1506
+ | ResourceNotFoundError
1507
+ | ServiceError
1508
+ | ServiceQuotaExceededError
1509
+ | ThrottledError
1510
+ | ValidationError
1511
+ >;
1512
+
1513
+ /**
1514
+ * @see {@link StartRecommendationCommand}
1515
+ */
1516
+ startRecommendation(
1517
+ args: StartRecommendationCommandInput,
1518
+ options?: HttpHandlerOptions,
1519
+ ): Effect.Effect<
1520
+ StartRecommendationCommandOutput,
1521
+ | Cause.TimeoutException
1522
+ | SdkError
1523
+ | AccessDeniedError
1524
+ | ConflictError
1525
+ | InternalServerError
1526
+ | ServiceQuotaExceededError
1527
+ | ThrottlingError
1528
+ | ValidationError
1529
+ >;
1530
+
1531
+ /**
1532
+ * @see {@link StopBatchEvaluationCommand}
1533
+ */
1534
+ stopBatchEvaluation(
1535
+ args: StopBatchEvaluationCommandInput,
1536
+ options?: HttpHandlerOptions,
1537
+ ): Effect.Effect<
1538
+ StopBatchEvaluationCommandOutput,
1539
+ | Cause.TimeoutException
1540
+ | SdkError
1541
+ | AccessDeniedError
1542
+ | ConflictError
1543
+ | InternalServerError
1544
+ | ResourceNotFoundError
1545
+ | ThrottlingError
1546
+ | UnauthorizedError
1547
+ | ValidationError
1548
+ >;
1549
+
1550
+ /**
1551
+ * @see {@link StopBrowserSessionCommand}
1552
+ */
1553
+ stopBrowserSession(
1554
+ args: StopBrowserSessionCommandInput,
1555
+ options?: HttpHandlerOptions,
1556
+ ): Effect.Effect<
1557
+ StopBrowserSessionCommandOutput,
1558
+ | Cause.TimeoutException
1559
+ | SdkError
1560
+ | AccessDeniedError
1561
+ | ConflictError
1562
+ | InternalServerError
1563
+ | ResourceNotFoundError
1564
+ | ServiceQuotaExceededError
1565
+ | ThrottlingError
1566
+ | ValidationError
1567
+ >;
1568
+
1569
+ /**
1570
+ * @see {@link StopCodeInterpreterSessionCommand}
1571
+ */
1572
+ stopCodeInterpreterSession(
1573
+ args: StopCodeInterpreterSessionCommandInput,
1574
+ options?: HttpHandlerOptions,
1575
+ ): Effect.Effect<
1576
+ StopCodeInterpreterSessionCommandOutput,
1577
+ | Cause.TimeoutException
1578
+ | SdkError
1579
+ | AccessDeniedError
1580
+ | ConflictError
1581
+ | InternalServerError
1582
+ | ResourceNotFoundError
1583
+ | ServiceQuotaExceededError
1584
+ | ThrottlingError
1585
+ | ValidationError
1586
+ >;
1587
+
1588
+ /**
1589
+ * @see {@link StopRuntimeSessionCommand}
1590
+ */
1591
+ stopRuntimeSession(
1592
+ args: StopRuntimeSessionCommandInput,
1593
+ options?: HttpHandlerOptions,
1594
+ ): Effect.Effect<
1595
+ StopRuntimeSessionCommandOutput,
1596
+ | Cause.TimeoutException
1597
+ | SdkError
1598
+ | AccessDeniedError
1599
+ | ConflictError
1600
+ | InternalServerError
1601
+ | ResourceNotFoundError
1602
+ | RetryableConflictError
1603
+ | RuntimeClientError
1604
+ | ServiceQuotaExceededError
1605
+ | ThrottlingError
1606
+ | UnauthorizedError
1607
+ | ValidationError
1608
+ >;
1609
+
1610
+ /**
1611
+ * @see {@link UpdateABTestCommand}
1612
+ */
1613
+ updateABTest(
1614
+ args: UpdateABTestCommandInput,
1615
+ options?: HttpHandlerOptions,
1616
+ ): Effect.Effect<
1617
+ UpdateABTestCommandOutput,
1618
+ | Cause.TimeoutException
1619
+ | SdkError
1620
+ | AccessDeniedError
1621
+ | ConflictError
1622
+ | InternalServerError
1623
+ | ResourceNotFoundError
1624
+ | ServiceQuotaExceededError
1625
+ | ThrottlingError
1626
+ | UnauthorizedError
1627
+ | ValidationError
1628
+ >;
1629
+
1630
+ /**
1631
+ * @see {@link UpdateBrowserStreamCommand}
1632
+ */
1633
+ updateBrowserStream(
1634
+ args: UpdateBrowserStreamCommandInput,
1635
+ options?: HttpHandlerOptions,
1636
+ ): Effect.Effect<
1637
+ UpdateBrowserStreamCommandOutput,
1638
+ | Cause.TimeoutException
1639
+ | SdkError
1640
+ | AccessDeniedError
1641
+ | ConflictError
1642
+ | InternalServerError
1643
+ | ResourceNotFoundError
1644
+ | ServiceQuotaExceededError
1645
+ | ThrottlingError
1646
+ | ValidationError
1647
+ >;
1648
+ }
1649
+
1650
+ /**
1651
+ * @since 1.0.0
1652
+ * @category constructors
1653
+ */
1654
+ export const makeBedrockAgentCoreService = Effect.gen(function*() {
1655
+ const client = yield* Instance.BedrockAgentCoreClientInstance;
1656
+
1657
+ return yield* Service.fromClientAndCommands<BedrockAgentCoreService$>(
1658
+ client,
1659
+ commands,
1660
+ {
1661
+ errorTags: AllServiceErrors,
1662
+ resolveClientConfig: BedrockAgentCoreServiceConfig.toBedrockAgentCoreClientConfig,
1663
+ },
1664
+ paginators,
1665
+ );
1666
+ });
1667
+
1668
+ /**
1669
+ * @since 1.0.0
1670
+ * @category models
1671
+ */
1672
+ export class BedrockAgentCoreService extends Effect.Tag("@effect-aws/client-bedrock-agentcore/BedrockAgentCoreService")<
1673
+ BedrockAgentCoreService,
1674
+ BedrockAgentCoreService$
1675
+ >() {
1676
+ static readonly defaultLayer = Layer.effect(this, makeBedrockAgentCoreService).pipe(Layer.provide(Instance.layer));
1677
+ static readonly layer = (config: BedrockAgentCoreService.Config) =>
1678
+ Layer.effect(this, makeBedrockAgentCoreService).pipe(
1679
+ Layer.provide(Instance.layer),
1680
+ Layer.provide(BedrockAgentCoreServiceConfig.setBedrockAgentCoreServiceConfig(config)),
1681
+ );
1682
+ static readonly baseLayer = (
1683
+ evaluate: (defaultConfig: BedrockAgentCoreClientConfig) => BedrockAgentCoreClient,
1684
+ ) =>
1685
+ Layer.effect(this, makeBedrockAgentCoreService).pipe(
1686
+ Layer.provide(
1687
+ Layer.effect(
1688
+ Instance.BedrockAgentCoreClientInstance,
1689
+ Effect.map(BedrockAgentCoreServiceConfig.toBedrockAgentCoreClientConfig, evaluate),
1690
+ ),
1691
+ ),
1692
+ );
1693
+ }
1694
+
1695
+ /**
1696
+ * @since 1.0.0
1697
+ */
1698
+ export declare namespace BedrockAgentCoreService {
1699
+ /**
1700
+ * @since 1.0.0
1701
+ */
1702
+ export interface Config extends Omit<BedrockAgentCoreClientConfig, "logger"> {
1703
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
1704
+ }
1705
+
1706
+ /**
1707
+ * @since 1.0.0
1708
+ */
1709
+ export type Type = BedrockAgentCoreService$;
1710
+ }