@aws-sdk/client-bedrock-agentcore 3.847.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 (211) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +413 -0
  3. package/dist-cjs/BedrockAgentCore.js +63 -0
  4. package/dist-cjs/BedrockAgentCoreClient.js +54 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateEventCommand.js +27 -0
  8. package/dist-cjs/commands/DeleteEventCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteMemoryRecordCommand.js +26 -0
  10. package/dist-cjs/commands/GetBrowserSessionCommand.js +26 -0
  11. package/dist-cjs/commands/GetCodeInterpreterSessionCommand.js +26 -0
  12. package/dist-cjs/commands/GetEventCommand.js +27 -0
  13. package/dist-cjs/commands/GetMemoryRecordCommand.js +27 -0
  14. package/dist-cjs/commands/GetResourceApiKeyCommand.js +27 -0
  15. package/dist-cjs/commands/GetResourceOauth2TokenCommand.js +27 -0
  16. package/dist-cjs/commands/GetWorkloadAccessTokenCommand.js +27 -0
  17. package/dist-cjs/commands/GetWorkloadAccessTokenForJWTCommand.js +27 -0
  18. package/dist-cjs/commands/GetWorkloadAccessTokenForUserIdCommand.js +27 -0
  19. package/dist-cjs/commands/InvokeAgentRuntimeCommand.js +27 -0
  20. package/dist-cjs/commands/InvokeCodeInterpreterCommand.js +31 -0
  21. package/dist-cjs/commands/ListActorsCommand.js +26 -0
  22. package/dist-cjs/commands/ListBrowserSessionsCommand.js +26 -0
  23. package/dist-cjs/commands/ListCodeInterpreterSessionsCommand.js +26 -0
  24. package/dist-cjs/commands/ListEventsCommand.js +27 -0
  25. package/dist-cjs/commands/ListMemoryRecordsCommand.js +27 -0
  26. package/dist-cjs/commands/ListSessionsCommand.js +26 -0
  27. package/dist-cjs/commands/RetrieveMemoryRecordsCommand.js +27 -0
  28. package/dist-cjs/commands/StartBrowserSessionCommand.js +26 -0
  29. package/dist-cjs/commands/StartCodeInterpreterSessionCommand.js +26 -0
  30. package/dist-cjs/commands/StopBrowserSessionCommand.js +26 -0
  31. package/dist-cjs/commands/StopCodeInterpreterSessionCommand.js +26 -0
  32. package/dist-cjs/commands/UpdateBrowserStreamCommand.js +26 -0
  33. package/dist-cjs/commands/index.js +29 -0
  34. package/dist-cjs/endpoint/EndpointParameters.js +17 -0
  35. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  36. package/dist-cjs/endpoint/ruleset.js +7 -0
  37. package/dist-cjs/extensionConfiguration.js +2 -0
  38. package/dist-cjs/index.js +11 -0
  39. package/dist-cjs/models/BedrockAgentCoreServiceException.js +12 -0
  40. package/dist-cjs/models/index.js +4 -0
  41. package/dist-cjs/models/models_0.js +468 -0
  42. package/dist-cjs/pagination/Interfaces.js +2 -0
  43. package/dist-cjs/pagination/ListActorsPaginator.js +7 -0
  44. package/dist-cjs/pagination/ListEventsPaginator.js +7 -0
  45. package/dist-cjs/pagination/ListMemoryRecordsPaginator.js +7 -0
  46. package/dist-cjs/pagination/ListSessionsPaginator.js +7 -0
  47. package/dist-cjs/pagination/RetrieveMemoryRecordsPaginator.js +7 -0
  48. package/dist-cjs/pagination/index.js +9 -0
  49. package/dist-cjs/protocols/Aws_restJson1.js +1423 -0
  50. package/dist-cjs/runtimeConfig.browser.js +41 -0
  51. package/dist-cjs/runtimeConfig.js +58 -0
  52. package/dist-cjs/runtimeConfig.native.js +15 -0
  53. package/dist-cjs/runtimeConfig.shared.js +36 -0
  54. package/dist-cjs/runtimeExtensions.js +13 -0
  55. package/dist-es/BedrockAgentCore.js +59 -0
  56. package/dist-es/BedrockAgentCoreClient.js +50 -0
  57. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  58. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  59. package/dist-es/commands/CreateEventCommand.js +23 -0
  60. package/dist-es/commands/DeleteEventCommand.js +22 -0
  61. package/dist-es/commands/DeleteMemoryRecordCommand.js +22 -0
  62. package/dist-es/commands/GetBrowserSessionCommand.js +22 -0
  63. package/dist-es/commands/GetCodeInterpreterSessionCommand.js +22 -0
  64. package/dist-es/commands/GetEventCommand.js +23 -0
  65. package/dist-es/commands/GetMemoryRecordCommand.js +23 -0
  66. package/dist-es/commands/GetResourceApiKeyCommand.js +23 -0
  67. package/dist-es/commands/GetResourceOauth2TokenCommand.js +23 -0
  68. package/dist-es/commands/GetWorkloadAccessTokenCommand.js +23 -0
  69. package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +23 -0
  70. package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +23 -0
  71. package/dist-es/commands/InvokeAgentRuntimeCommand.js +23 -0
  72. package/dist-es/commands/InvokeCodeInterpreterCommand.js +27 -0
  73. package/dist-es/commands/ListActorsCommand.js +22 -0
  74. package/dist-es/commands/ListBrowserSessionsCommand.js +22 -0
  75. package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +22 -0
  76. package/dist-es/commands/ListEventsCommand.js +23 -0
  77. package/dist-es/commands/ListMemoryRecordsCommand.js +23 -0
  78. package/dist-es/commands/ListSessionsCommand.js +22 -0
  79. package/dist-es/commands/RetrieveMemoryRecordsCommand.js +23 -0
  80. package/dist-es/commands/StartBrowserSessionCommand.js +22 -0
  81. package/dist-es/commands/StartCodeInterpreterSessionCommand.js +22 -0
  82. package/dist-es/commands/StopBrowserSessionCommand.js +22 -0
  83. package/dist-es/commands/StopCodeInterpreterSessionCommand.js +22 -0
  84. package/dist-es/commands/UpdateBrowserStreamCommand.js +22 -0
  85. package/dist-es/commands/index.js +26 -0
  86. package/dist-es/endpoint/EndpointParameters.js +13 -0
  87. package/dist-es/endpoint/endpointResolver.js +14 -0
  88. package/dist-es/endpoint/ruleset.js +4 -0
  89. package/dist-es/extensionConfiguration.js +1 -0
  90. package/dist-es/index.js +6 -0
  91. package/dist-es/models/BedrockAgentCoreServiceException.js +8 -0
  92. package/dist-es/models/index.js +1 -0
  93. package/dist-es/models/models_0.js +421 -0
  94. package/dist-es/pagination/Interfaces.js +1 -0
  95. package/dist-es/pagination/ListActorsPaginator.js +4 -0
  96. package/dist-es/pagination/ListEventsPaginator.js +4 -0
  97. package/dist-es/pagination/ListMemoryRecordsPaginator.js +4 -0
  98. package/dist-es/pagination/ListSessionsPaginator.js +4 -0
  99. package/dist-es/pagination/RetrieveMemoryRecordsPaginator.js +4 -0
  100. package/dist-es/pagination/index.js +6 -0
  101. package/dist-es/protocols/Aws_restJson1.js +1367 -0
  102. package/dist-es/runtimeConfig.browser.js +36 -0
  103. package/dist-es/runtimeConfig.js +53 -0
  104. package/dist-es/runtimeConfig.native.js +11 -0
  105. package/dist-es/runtimeConfig.shared.js +32 -0
  106. package/dist-es/runtimeExtensions.js +9 -0
  107. package/dist-types/BedrockAgentCore.d.ts +192 -0
  108. package/dist-types/BedrockAgentCoreClient.d.ts +223 -0
  109. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  110. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  111. package/dist-types/commands/CreateEventCommand.d.ts +133 -0
  112. package/dist-types/commands/DeleteEventCommand.d.ts +96 -0
  113. package/dist-types/commands/DeleteMemoryRecordCommand.d.ts +94 -0
  114. package/dist-types/commands/GetBrowserSessionCommand.d.ts +108 -0
  115. package/dist-types/commands/GetCodeInterpreterSessionCommand.d.ts +93 -0
  116. package/dist-types/commands/GetEventCommand.d.ts +117 -0
  117. package/dist-types/commands/GetMemoryRecordCommand.d.ts +104 -0
  118. package/dist-types/commands/GetResourceApiKeyCommand.d.ts +91 -0
  119. package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +102 -0
  120. package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +90 -0
  121. package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +91 -0
  122. package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +91 -0
  123. package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +126 -0
  124. package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +174 -0
  125. package/dist-types/commands/ListActorsCommand.d.ts +100 -0
  126. package/dist-types/commands/ListBrowserSessionsCommand.d.ts +100 -0
  127. package/dist-types/commands/ListCodeInterpreterSessionsCommand.d.ts +100 -0
  128. package/dist-types/commands/ListEventsCommand.d.ts +128 -0
  129. package/dist-types/commands/ListMemoryRecordsCommand.d.ts +111 -0
  130. package/dist-types/commands/ListSessionsCommand.d.ts +103 -0
  131. package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +115 -0
  132. package/dist-types/commands/StartBrowserSessionCommand.d.ts +111 -0
  133. package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +98 -0
  134. package/dist-types/commands/StopBrowserSessionCommand.d.ts +97 -0
  135. package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +97 -0
  136. package/dist-types/commands/UpdateBrowserStreamCommand.d.ts +111 -0
  137. package/dist-types/commands/index.d.ts +26 -0
  138. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  139. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  140. package/dist-types/endpoint/ruleset.d.ts +2 -0
  141. package/dist-types/extensionConfiguration.d.ts +9 -0
  142. package/dist-types/index.d.ts +14 -0
  143. package/dist-types/models/BedrockAgentCoreServiceException.d.ts +14 -0
  144. package/dist-types/models/index.d.ts +1 -0
  145. package/dist-types/models/models_0.d.ts +2440 -0
  146. package/dist-types/pagination/Interfaces.d.ts +8 -0
  147. package/dist-types/pagination/ListActorsPaginator.d.ts +7 -0
  148. package/dist-types/pagination/ListEventsPaginator.d.ts +7 -0
  149. package/dist-types/pagination/ListMemoryRecordsPaginator.d.ts +7 -0
  150. package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
  151. package/dist-types/pagination/RetrieveMemoryRecordsPaginator.d.ts +7 -0
  152. package/dist-types/pagination/index.d.ts +6 -0
  153. package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
  154. package/dist-types/runtimeConfig.browser.d.ts +52 -0
  155. package/dist-types/runtimeConfig.d.ts +52 -0
  156. package/dist-types/runtimeConfig.native.d.ts +51 -0
  157. package/dist-types/runtimeConfig.shared.d.ts +22 -0
  158. package/dist-types/runtimeExtensions.d.ts +17 -0
  159. package/dist-types/ts3.4/BedrockAgentCore.d.ts +449 -0
  160. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +288 -0
  161. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  162. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  163. package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +47 -0
  164. package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +47 -0
  165. package/dist-types/ts3.4/commands/DeleteMemoryRecordCommand.d.ts +51 -0
  166. package/dist-types/ts3.4/commands/GetBrowserSessionCommand.d.ts +51 -0
  167. package/dist-types/ts3.4/commands/GetCodeInterpreterSessionCommand.d.ts +51 -0
  168. package/dist-types/ts3.4/commands/GetEventCommand.d.ts +47 -0
  169. package/dist-types/ts3.4/commands/GetMemoryRecordCommand.d.ts +50 -0
  170. package/dist-types/ts3.4/commands/GetResourceApiKeyCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/GetResourceOauth2TokenCommand.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenCommand.d.ts +51 -0
  173. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +51 -0
  174. package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +51 -0
  175. package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommand.d.ts +66 -0
  176. package/dist-types/ts3.4/commands/InvokeCodeInterpreterCommand.d.ts +51 -0
  177. package/dist-types/ts3.4/commands/ListActorsCommand.d.ts +47 -0
  178. package/dist-types/ts3.4/commands/ListBrowserSessionsCommand.d.ts +51 -0
  179. package/dist-types/ts3.4/commands/ListCodeInterpreterSessionsCommand.d.ts +51 -0
  180. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +47 -0
  181. package/dist-types/ts3.4/commands/ListMemoryRecordsCommand.d.ts +50 -0
  182. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
  183. package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +51 -0
  184. package/dist-types/ts3.4/commands/StartBrowserSessionCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/StartCodeInterpreterSessionCommand.d.ts +51 -0
  186. package/dist-types/ts3.4/commands/StopBrowserSessionCommand.d.ts +51 -0
  187. package/dist-types/ts3.4/commands/StopCodeInterpreterSessionCommand.d.ts +51 -0
  188. package/dist-types/ts3.4/commands/UpdateBrowserStreamCommand.d.ts +51 -0
  189. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  190. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  191. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  192. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  193. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  194. package/dist-types/ts3.4/index.d.ts +9 -0
  195. package/dist-types/ts3.4/models/BedrockAgentCoreServiceException.d.ts +9 -0
  196. package/dist-types/ts3.4/models/index.d.ts +1 -0
  197. package/dist-types/ts3.4/models/models_0.d.ts +872 -0
  198. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  199. package/dist-types/ts3.4/pagination/ListActorsPaginator.d.ts +11 -0
  200. package/dist-types/ts3.4/pagination/ListEventsPaginator.d.ts +11 -0
  201. package/dist-types/ts3.4/pagination/ListMemoryRecordsPaginator.d.ts +11 -0
  202. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/RetrieveMemoryRecordsPaginator.d.ts +11 -0
  204. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  205. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +321 -0
  206. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
  207. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  208. package/dist-types/ts3.4/runtimeConfig.native.d.ts +100 -0
  209. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +24 -0
  210. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  211. package/package.json +105 -0
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
3
+ export interface BedrockAgentCorePaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: BedrockAgentCoreClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListActorsCommandInput,
4
+ ListActorsCommandOutput,
5
+ } from "../commands/ListActorsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListActors: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListActorsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListActorsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListEventsCommandInput,
4
+ ListEventsCommandOutput,
5
+ } from "../commands/ListEventsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListEvents: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListEventsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListEventsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListMemoryRecordsCommandInput,
4
+ ListMemoryRecordsCommandOutput,
5
+ } from "../commands/ListMemoryRecordsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListMemoryRecords: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListMemoryRecordsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListMemoryRecordsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListSessionsCommandInput,
4
+ ListSessionsCommandOutput,
5
+ } from "../commands/ListSessionsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListSessions: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: ListSessionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListSessionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ RetrieveMemoryRecordsCommandInput,
4
+ RetrieveMemoryRecordsCommandOutput,
5
+ } from "../commands/RetrieveMemoryRecordsCommand";
6
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateRetrieveMemoryRecords: (
8
+ config: BedrockAgentCorePaginationConfiguration,
9
+ input: RetrieveMemoryRecordsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<RetrieveMemoryRecordsCommandOutput>;
@@ -0,0 +1,6 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListActorsPaginator";
3
+ export * from "./ListEventsPaginator";
4
+ export * from "./ListMemoryRecordsPaginator";
5
+ export * from "./ListSessionsPaginator";
6
+ export * from "./RetrieveMemoryRecordsPaginator";
@@ -0,0 +1,321 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import {
6
+ EventStreamSerdeContext as __EventStreamSerdeContext,
7
+ SdkStreamSerdeContext as __SdkStreamSerdeContext,
8
+ SerdeContext as __SerdeContext,
9
+ } from "@smithy/types";
10
+ import {
11
+ CreateEventCommandInput,
12
+ CreateEventCommandOutput,
13
+ } from "../commands/CreateEventCommand";
14
+ import {
15
+ DeleteEventCommandInput,
16
+ DeleteEventCommandOutput,
17
+ } from "../commands/DeleteEventCommand";
18
+ import {
19
+ DeleteMemoryRecordCommandInput,
20
+ DeleteMemoryRecordCommandOutput,
21
+ } from "../commands/DeleteMemoryRecordCommand";
22
+ import {
23
+ GetBrowserSessionCommandInput,
24
+ GetBrowserSessionCommandOutput,
25
+ } from "../commands/GetBrowserSessionCommand";
26
+ import {
27
+ GetCodeInterpreterSessionCommandInput,
28
+ GetCodeInterpreterSessionCommandOutput,
29
+ } from "../commands/GetCodeInterpreterSessionCommand";
30
+ import {
31
+ GetEventCommandInput,
32
+ GetEventCommandOutput,
33
+ } from "../commands/GetEventCommand";
34
+ import {
35
+ GetMemoryRecordCommandInput,
36
+ GetMemoryRecordCommandOutput,
37
+ } from "../commands/GetMemoryRecordCommand";
38
+ import {
39
+ GetResourceApiKeyCommandInput,
40
+ GetResourceApiKeyCommandOutput,
41
+ } from "../commands/GetResourceApiKeyCommand";
42
+ import {
43
+ GetResourceOauth2TokenCommandInput,
44
+ GetResourceOauth2TokenCommandOutput,
45
+ } from "../commands/GetResourceOauth2TokenCommand";
46
+ import {
47
+ GetWorkloadAccessTokenCommandInput,
48
+ GetWorkloadAccessTokenCommandOutput,
49
+ } from "../commands/GetWorkloadAccessTokenCommand";
50
+ import {
51
+ GetWorkloadAccessTokenForJWTCommandInput,
52
+ GetWorkloadAccessTokenForJWTCommandOutput,
53
+ } from "../commands/GetWorkloadAccessTokenForJWTCommand";
54
+ import {
55
+ GetWorkloadAccessTokenForUserIdCommandInput,
56
+ GetWorkloadAccessTokenForUserIdCommandOutput,
57
+ } from "../commands/GetWorkloadAccessTokenForUserIdCommand";
58
+ import {
59
+ InvokeAgentRuntimeCommandInput,
60
+ InvokeAgentRuntimeCommandOutput,
61
+ } from "../commands/InvokeAgentRuntimeCommand";
62
+ import {
63
+ InvokeCodeInterpreterCommandInput,
64
+ InvokeCodeInterpreterCommandOutput,
65
+ } from "../commands/InvokeCodeInterpreterCommand";
66
+ import {
67
+ ListActorsCommandInput,
68
+ ListActorsCommandOutput,
69
+ } from "../commands/ListActorsCommand";
70
+ import {
71
+ ListBrowserSessionsCommandInput,
72
+ ListBrowserSessionsCommandOutput,
73
+ } from "../commands/ListBrowserSessionsCommand";
74
+ import {
75
+ ListCodeInterpreterSessionsCommandInput,
76
+ ListCodeInterpreterSessionsCommandOutput,
77
+ } from "../commands/ListCodeInterpreterSessionsCommand";
78
+ import {
79
+ ListEventsCommandInput,
80
+ ListEventsCommandOutput,
81
+ } from "../commands/ListEventsCommand";
82
+ import {
83
+ ListMemoryRecordsCommandInput,
84
+ ListMemoryRecordsCommandOutput,
85
+ } from "../commands/ListMemoryRecordsCommand";
86
+ import {
87
+ ListSessionsCommandInput,
88
+ ListSessionsCommandOutput,
89
+ } from "../commands/ListSessionsCommand";
90
+ import {
91
+ RetrieveMemoryRecordsCommandInput,
92
+ RetrieveMemoryRecordsCommandOutput,
93
+ } from "../commands/RetrieveMemoryRecordsCommand";
94
+ import {
95
+ StartBrowserSessionCommandInput,
96
+ StartBrowserSessionCommandOutput,
97
+ } from "../commands/StartBrowserSessionCommand";
98
+ import {
99
+ StartCodeInterpreterSessionCommandInput,
100
+ StartCodeInterpreterSessionCommandOutput,
101
+ } from "../commands/StartCodeInterpreterSessionCommand";
102
+ import {
103
+ StopBrowserSessionCommandInput,
104
+ StopBrowserSessionCommandOutput,
105
+ } from "../commands/StopBrowserSessionCommand";
106
+ import {
107
+ StopCodeInterpreterSessionCommandInput,
108
+ StopCodeInterpreterSessionCommandOutput,
109
+ } from "../commands/StopCodeInterpreterSessionCommand";
110
+ import {
111
+ UpdateBrowserStreamCommandInput,
112
+ UpdateBrowserStreamCommandOutput,
113
+ } from "../commands/UpdateBrowserStreamCommand";
114
+ export declare const se_CreateEventCommand: (
115
+ input: CreateEventCommandInput,
116
+ context: __SerdeContext
117
+ ) => Promise<__HttpRequest>;
118
+ export declare const se_DeleteEventCommand: (
119
+ input: DeleteEventCommandInput,
120
+ context: __SerdeContext
121
+ ) => Promise<__HttpRequest>;
122
+ export declare const se_DeleteMemoryRecordCommand: (
123
+ input: DeleteMemoryRecordCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
126
+ export declare const se_GetBrowserSessionCommand: (
127
+ input: GetBrowserSessionCommandInput,
128
+ context: __SerdeContext
129
+ ) => Promise<__HttpRequest>;
130
+ export declare const se_GetCodeInterpreterSessionCommand: (
131
+ input: GetCodeInterpreterSessionCommandInput,
132
+ context: __SerdeContext
133
+ ) => Promise<__HttpRequest>;
134
+ export declare const se_GetEventCommand: (
135
+ input: GetEventCommandInput,
136
+ context: __SerdeContext
137
+ ) => Promise<__HttpRequest>;
138
+ export declare const se_GetMemoryRecordCommand: (
139
+ input: GetMemoryRecordCommandInput,
140
+ context: __SerdeContext
141
+ ) => Promise<__HttpRequest>;
142
+ export declare const se_GetResourceApiKeyCommand: (
143
+ input: GetResourceApiKeyCommandInput,
144
+ context: __SerdeContext
145
+ ) => Promise<__HttpRequest>;
146
+ export declare const se_GetResourceOauth2TokenCommand: (
147
+ input: GetResourceOauth2TokenCommandInput,
148
+ context: __SerdeContext
149
+ ) => Promise<__HttpRequest>;
150
+ export declare const se_GetWorkloadAccessTokenCommand: (
151
+ input: GetWorkloadAccessTokenCommandInput,
152
+ context: __SerdeContext
153
+ ) => Promise<__HttpRequest>;
154
+ export declare const se_GetWorkloadAccessTokenForJWTCommand: (
155
+ input: GetWorkloadAccessTokenForJWTCommandInput,
156
+ context: __SerdeContext
157
+ ) => Promise<__HttpRequest>;
158
+ export declare const se_GetWorkloadAccessTokenForUserIdCommand: (
159
+ input: GetWorkloadAccessTokenForUserIdCommandInput,
160
+ context: __SerdeContext
161
+ ) => Promise<__HttpRequest>;
162
+ export declare const se_InvokeAgentRuntimeCommand: (
163
+ input: InvokeAgentRuntimeCommandInput,
164
+ context: __SerdeContext
165
+ ) => Promise<__HttpRequest>;
166
+ export declare const se_InvokeCodeInterpreterCommand: (
167
+ input: InvokeCodeInterpreterCommandInput,
168
+ context: __SerdeContext
169
+ ) => Promise<__HttpRequest>;
170
+ export declare const se_ListActorsCommand: (
171
+ input: ListActorsCommandInput,
172
+ context: __SerdeContext
173
+ ) => Promise<__HttpRequest>;
174
+ export declare const se_ListBrowserSessionsCommand: (
175
+ input: ListBrowserSessionsCommandInput,
176
+ context: __SerdeContext
177
+ ) => Promise<__HttpRequest>;
178
+ export declare const se_ListCodeInterpreterSessionsCommand: (
179
+ input: ListCodeInterpreterSessionsCommandInput,
180
+ context: __SerdeContext
181
+ ) => Promise<__HttpRequest>;
182
+ export declare const se_ListEventsCommand: (
183
+ input: ListEventsCommandInput,
184
+ context: __SerdeContext
185
+ ) => Promise<__HttpRequest>;
186
+ export declare const se_ListMemoryRecordsCommand: (
187
+ input: ListMemoryRecordsCommandInput,
188
+ context: __SerdeContext
189
+ ) => Promise<__HttpRequest>;
190
+ export declare const se_ListSessionsCommand: (
191
+ input: ListSessionsCommandInput,
192
+ context: __SerdeContext
193
+ ) => Promise<__HttpRequest>;
194
+ export declare const se_RetrieveMemoryRecordsCommand: (
195
+ input: RetrieveMemoryRecordsCommandInput,
196
+ context: __SerdeContext
197
+ ) => Promise<__HttpRequest>;
198
+ export declare const se_StartBrowserSessionCommand: (
199
+ input: StartBrowserSessionCommandInput,
200
+ context: __SerdeContext
201
+ ) => Promise<__HttpRequest>;
202
+ export declare const se_StartCodeInterpreterSessionCommand: (
203
+ input: StartCodeInterpreterSessionCommandInput,
204
+ context: __SerdeContext
205
+ ) => Promise<__HttpRequest>;
206
+ export declare const se_StopBrowserSessionCommand: (
207
+ input: StopBrowserSessionCommandInput,
208
+ context: __SerdeContext
209
+ ) => Promise<__HttpRequest>;
210
+ export declare const se_StopCodeInterpreterSessionCommand: (
211
+ input: StopCodeInterpreterSessionCommandInput,
212
+ context: __SerdeContext
213
+ ) => Promise<__HttpRequest>;
214
+ export declare const se_UpdateBrowserStreamCommand: (
215
+ input: UpdateBrowserStreamCommandInput,
216
+ context: __SerdeContext
217
+ ) => Promise<__HttpRequest>;
218
+ export declare const de_CreateEventCommand: (
219
+ output: __HttpResponse,
220
+ context: __SerdeContext
221
+ ) => Promise<CreateEventCommandOutput>;
222
+ export declare const de_DeleteEventCommand: (
223
+ output: __HttpResponse,
224
+ context: __SerdeContext
225
+ ) => Promise<DeleteEventCommandOutput>;
226
+ export declare const de_DeleteMemoryRecordCommand: (
227
+ output: __HttpResponse,
228
+ context: __SerdeContext
229
+ ) => Promise<DeleteMemoryRecordCommandOutput>;
230
+ export declare const de_GetBrowserSessionCommand: (
231
+ output: __HttpResponse,
232
+ context: __SerdeContext
233
+ ) => Promise<GetBrowserSessionCommandOutput>;
234
+ export declare const de_GetCodeInterpreterSessionCommand: (
235
+ output: __HttpResponse,
236
+ context: __SerdeContext
237
+ ) => Promise<GetCodeInterpreterSessionCommandOutput>;
238
+ export declare const de_GetEventCommand: (
239
+ output: __HttpResponse,
240
+ context: __SerdeContext
241
+ ) => Promise<GetEventCommandOutput>;
242
+ export declare const de_GetMemoryRecordCommand: (
243
+ output: __HttpResponse,
244
+ context: __SerdeContext
245
+ ) => Promise<GetMemoryRecordCommandOutput>;
246
+ export declare const de_GetResourceApiKeyCommand: (
247
+ output: __HttpResponse,
248
+ context: __SerdeContext
249
+ ) => Promise<GetResourceApiKeyCommandOutput>;
250
+ export declare const de_GetResourceOauth2TokenCommand: (
251
+ output: __HttpResponse,
252
+ context: __SerdeContext
253
+ ) => Promise<GetResourceOauth2TokenCommandOutput>;
254
+ export declare const de_GetWorkloadAccessTokenCommand: (
255
+ output: __HttpResponse,
256
+ context: __SerdeContext
257
+ ) => Promise<GetWorkloadAccessTokenCommandOutput>;
258
+ export declare const de_GetWorkloadAccessTokenForJWTCommand: (
259
+ output: __HttpResponse,
260
+ context: __SerdeContext
261
+ ) => Promise<GetWorkloadAccessTokenForJWTCommandOutput>;
262
+ export declare const de_GetWorkloadAccessTokenForUserIdCommand: (
263
+ output: __HttpResponse,
264
+ context: __SerdeContext
265
+ ) => Promise<GetWorkloadAccessTokenForUserIdCommandOutput>;
266
+ export declare const de_InvokeAgentRuntimeCommand: (
267
+ output: __HttpResponse,
268
+ context: __SerdeContext & __SdkStreamSerdeContext
269
+ ) => Promise<InvokeAgentRuntimeCommandOutput>;
270
+ export declare const de_InvokeCodeInterpreterCommand: (
271
+ output: __HttpResponse,
272
+ context: __SerdeContext & __EventStreamSerdeContext
273
+ ) => Promise<InvokeCodeInterpreterCommandOutput>;
274
+ export declare const de_ListActorsCommand: (
275
+ output: __HttpResponse,
276
+ context: __SerdeContext
277
+ ) => Promise<ListActorsCommandOutput>;
278
+ export declare const de_ListBrowserSessionsCommand: (
279
+ output: __HttpResponse,
280
+ context: __SerdeContext
281
+ ) => Promise<ListBrowserSessionsCommandOutput>;
282
+ export declare const de_ListCodeInterpreterSessionsCommand: (
283
+ output: __HttpResponse,
284
+ context: __SerdeContext
285
+ ) => Promise<ListCodeInterpreterSessionsCommandOutput>;
286
+ export declare const de_ListEventsCommand: (
287
+ output: __HttpResponse,
288
+ context: __SerdeContext
289
+ ) => Promise<ListEventsCommandOutput>;
290
+ export declare const de_ListMemoryRecordsCommand: (
291
+ output: __HttpResponse,
292
+ context: __SerdeContext
293
+ ) => Promise<ListMemoryRecordsCommandOutput>;
294
+ export declare const de_ListSessionsCommand: (
295
+ output: __HttpResponse,
296
+ context: __SerdeContext
297
+ ) => Promise<ListSessionsCommandOutput>;
298
+ export declare const de_RetrieveMemoryRecordsCommand: (
299
+ output: __HttpResponse,
300
+ context: __SerdeContext
301
+ ) => Promise<RetrieveMemoryRecordsCommandOutput>;
302
+ export declare const de_StartBrowserSessionCommand: (
303
+ output: __HttpResponse,
304
+ context: __SerdeContext
305
+ ) => Promise<StartBrowserSessionCommandOutput>;
306
+ export declare const de_StartCodeInterpreterSessionCommand: (
307
+ output: __HttpResponse,
308
+ context: __SerdeContext
309
+ ) => Promise<StartCodeInterpreterSessionCommandOutput>;
310
+ export declare const de_StopBrowserSessionCommand: (
311
+ output: __HttpResponse,
312
+ context: __SerdeContext
313
+ ) => Promise<StopBrowserSessionCommandOutput>;
314
+ export declare const de_StopCodeInterpreterSessionCommand: (
315
+ output: __HttpResponse,
316
+ context: __SerdeContext
317
+ ) => Promise<StopCodeInterpreterSessionCommandOutput>;
318
+ export declare const de_UpdateBrowserStreamCommand: (
319
+ output: __HttpResponse,
320
+ context: __SerdeContext
321
+ ) => Promise<UpdateBrowserStreamCommandOutput>;
@@ -0,0 +1,96 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: BedrockAgentCoreClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
+ defaultUserAgentProvider: (
17
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
+ ) => Promise<import("@smithy/types").UserAgent>;
19
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
20
+ maxAttempts: number | import("@smithy/types").Provider<number>;
21
+ region: string | import("@smithy/types").Provider<any>;
22
+ requestHandler:
23
+ | import("@smithy/protocol-http").HttpHandler<any>
24
+ | RequestHandler;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
+ sha256: import("@smithy/types").HashConstructor;
27
+ streamCollector: import("@smithy/types").StreamCollector;
28
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
29
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
30
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
32
+ apiVersion: string;
33
+ cacheMiddleware?: boolean | undefined;
34
+ urlParser: import("@smithy/types").UrlParser;
35
+ base64Decoder: import("@smithy/types").Decoder;
36
+ base64Encoder: (_input: Uint8Array | string) => string;
37
+ utf8Decoder: import("@smithy/types").Decoder;
38
+ utf8Encoder: (input: Uint8Array | string) => string;
39
+ disableHostPrefix: boolean;
40
+ serviceId: string;
41
+ profile?: string;
42
+ logger: import("@smithy/types").Logger;
43
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
44
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
45
+ customUserAgent?: string | import("@smithy/types").UserAgent;
46
+ userAgentAppId?:
47
+ | string
48
+ | undefined
49
+ | import("@smithy/types").Provider<string | undefined>;
50
+ retryStrategy?:
51
+ | import("@smithy/types").RetryStrategy
52
+ | import("@smithy/types").RetryStrategyV2;
53
+ endpoint?:
54
+ | ((
55
+ | string
56
+ | import("@smithy/types").Endpoint
57
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
+ | import("@smithy/types").EndpointV2
59
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
60
+ ) &
61
+ (
62
+ | string
63
+ | import("@smithy/types").Provider<string>
64
+ | import("@smithy/types").Endpoint
65
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
66
+ | import("@smithy/types").EndpointV2
67
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
68
+ ))
69
+ | undefined;
70
+ endpointProvider: (
71
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
72
+ context?: {
73
+ logger?: import("@smithy/types").Logger;
74
+ }
75
+ ) => import("@smithy/types").EndpointV2;
76
+ tls?: boolean;
77
+ serviceConfiguredEndpoint?: never;
78
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
79
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
81
+ credentials?:
82
+ | import("@smithy/types").AwsCredentialIdentity
83
+ | import("@smithy/types").AwsCredentialIdentityProvider;
84
+ signer?:
85
+ | import("@smithy/types").RequestSigner
86
+ | ((
87
+ authScheme?: import("@smithy/types").AuthScheme
88
+ ) => Promise<import("@smithy/types").RequestSigner>);
89
+ signingEscapePath?: boolean;
90
+ systemClockOffset?: number;
91
+ signingRegion?: string;
92
+ signerConstructor?: new (
93
+ options: import("@smithy/signature-v4").SignatureV4Init &
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ ) => import("@smithy/types").RequestSigner;
96
+ };
@@ -0,0 +1,93 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: BedrockAgentCoreClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@smithy/types").Provider<
8
+ import("@smithy/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
+ credentialDefaultProvider:
13
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
+ | ((
15
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ ) => import("@smithy/types").MemoizedProvider<
17
+ import("@smithy/types").AwsCredentialIdentity
18
+ >);
19
+ defaultUserAgentProvider: (
20
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
21
+ ) => Promise<import("@smithy/types").UserAgent>;
22
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
23
+ maxAttempts: number | import("@smithy/types").Provider<number>;
24
+ region: string | import("@smithy/types").Provider<string>;
25
+ requestHandler:
26
+ | RequestHandler
27
+ | import("@smithy/protocol-http").HttpHandler<any>;
28
+ retryMode: string | import("@smithy/types").Provider<string>;
29
+ sha256: import("@smithy/types").HashConstructor;
30
+ streamCollector: import("@smithy/types").StreamCollector;
31
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
34
+ apiVersion: string;
35
+ cacheMiddleware?: boolean | undefined;
36
+ urlParser: import("@smithy/types").UrlParser;
37
+ base64Decoder: import("@smithy/types").Decoder;
38
+ base64Encoder: (_input: Uint8Array | string) => string;
39
+ utf8Decoder: import("@smithy/types").Decoder;
40
+ utf8Encoder: (input: Uint8Array | string) => string;
41
+ disableHostPrefix: boolean;
42
+ serviceId: string;
43
+ profile?: string;
44
+ logger: import("@smithy/types").Logger;
45
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
46
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
47
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
+ retryStrategy?:
49
+ | import("@smithy/types").RetryStrategy
50
+ | import("@smithy/types").RetryStrategyV2;
51
+ endpoint?:
52
+ | ((
53
+ | string
54
+ | import("@smithy/types").Endpoint
55
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
+ | import("@smithy/types").EndpointV2
57
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
58
+ ) &
59
+ (
60
+ | string
61
+ | import("@smithy/types").Provider<string>
62
+ | import("@smithy/types").Endpoint
63
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
+ | import("@smithy/types").EndpointV2
65
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
66
+ ))
67
+ | undefined;
68
+ endpointProvider: (
69
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
70
+ context?: {
71
+ logger?: import("@smithy/types").Logger;
72
+ }
73
+ ) => import("@smithy/types").EndpointV2;
74
+ tls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
77
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
78
+ credentials?:
79
+ | import("@smithy/types").AwsCredentialIdentity
80
+ | import("@smithy/types").AwsCredentialIdentityProvider;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme
85
+ ) => Promise<import("@smithy/types").RequestSigner>);
86
+ signingEscapePath?: boolean;
87
+ systemClockOffset?: number;
88
+ signingRegion?: string;
89
+ signerConstructor?: new (
90
+ options: import("@smithy/signature-v4").SignatureV4Init &
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ ) => import("@smithy/types").RequestSigner;
93
+ };