@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,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BedrockAgentCoreClient } from "../BedrockAgentCoreClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface BedrockAgentCorePaginationConfiguration extends PaginationConfiguration {
7
+ client: BedrockAgentCoreClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListActorsCommandInput, ListActorsCommandOutput } from "../commands/ListActorsCommand";
3
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListActors: (config: BedrockAgentCorePaginationConfiguration, input: ListActorsCommandInput, ...rest: any[]) => Paginator<ListActorsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListEventsCommandInput, ListEventsCommandOutput } from "../commands/ListEventsCommand";
3
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListEvents: (config: BedrockAgentCorePaginationConfiguration, input: ListEventsCommandInput, ...rest: any[]) => Paginator<ListEventsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "../commands/ListMemoryRecordsCommand";
3
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListMemoryRecords: (config: BedrockAgentCorePaginationConfiguration, input: ListMemoryRecordsCommandInput, ...rest: any[]) => Paginator<ListMemoryRecordsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
3
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListSessions: (config: BedrockAgentCorePaginationConfiguration, input: ListSessionsCommandInput, ...rest: any[]) => Paginator<ListSessionsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "../commands/RetrieveMemoryRecordsCommand";
3
+ import { BedrockAgentCorePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateRetrieveMemoryRecords: (config: BedrockAgentCorePaginationConfiguration, input: RetrieveMemoryRecordsCommandInput, ...rest: any[]) => 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,236 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { EventStreamSerdeContext as __EventStreamSerdeContext, SdkStreamSerdeContext as __SdkStreamSerdeContext, SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { CreateEventCommandInput, CreateEventCommandOutput } from "../commands/CreateEventCommand";
4
+ import { DeleteEventCommandInput, DeleteEventCommandOutput } from "../commands/DeleteEventCommand";
5
+ import { DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput } from "../commands/DeleteMemoryRecordCommand";
6
+ import { GetBrowserSessionCommandInput, GetBrowserSessionCommandOutput } from "../commands/GetBrowserSessionCommand";
7
+ import { GetCodeInterpreterSessionCommandInput, GetCodeInterpreterSessionCommandOutput } from "../commands/GetCodeInterpreterSessionCommand";
8
+ import { GetEventCommandInput, GetEventCommandOutput } from "../commands/GetEventCommand";
9
+ import { GetMemoryRecordCommandInput, GetMemoryRecordCommandOutput } from "../commands/GetMemoryRecordCommand";
10
+ import { GetResourceApiKeyCommandInput, GetResourceApiKeyCommandOutput } from "../commands/GetResourceApiKeyCommand";
11
+ import { GetResourceOauth2TokenCommandInput, GetResourceOauth2TokenCommandOutput } from "../commands/GetResourceOauth2TokenCommand";
12
+ import { GetWorkloadAccessTokenCommandInput, GetWorkloadAccessTokenCommandOutput } from "../commands/GetWorkloadAccessTokenCommand";
13
+ import { GetWorkloadAccessTokenForJWTCommandInput, GetWorkloadAccessTokenForJWTCommandOutput } from "../commands/GetWorkloadAccessTokenForJWTCommand";
14
+ import { GetWorkloadAccessTokenForUserIdCommandInput, GetWorkloadAccessTokenForUserIdCommandOutput } from "../commands/GetWorkloadAccessTokenForUserIdCommand";
15
+ import { InvokeAgentRuntimeCommandInput, InvokeAgentRuntimeCommandOutput } from "../commands/InvokeAgentRuntimeCommand";
16
+ import { InvokeCodeInterpreterCommandInput, InvokeCodeInterpreterCommandOutput } from "../commands/InvokeCodeInterpreterCommand";
17
+ import { ListActorsCommandInput, ListActorsCommandOutput } from "../commands/ListActorsCommand";
18
+ import { ListBrowserSessionsCommandInput, ListBrowserSessionsCommandOutput } from "../commands/ListBrowserSessionsCommand";
19
+ import { ListCodeInterpreterSessionsCommandInput, ListCodeInterpreterSessionsCommandOutput } from "../commands/ListCodeInterpreterSessionsCommand";
20
+ import { ListEventsCommandInput, ListEventsCommandOutput } from "../commands/ListEventsCommand";
21
+ import { ListMemoryRecordsCommandInput, ListMemoryRecordsCommandOutput } from "../commands/ListMemoryRecordsCommand";
22
+ import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands/ListSessionsCommand";
23
+ import { RetrieveMemoryRecordsCommandInput, RetrieveMemoryRecordsCommandOutput } from "../commands/RetrieveMemoryRecordsCommand";
24
+ import { StartBrowserSessionCommandInput, StartBrowserSessionCommandOutput } from "../commands/StartBrowserSessionCommand";
25
+ import { StartCodeInterpreterSessionCommandInput, StartCodeInterpreterSessionCommandOutput } from "../commands/StartCodeInterpreterSessionCommand";
26
+ import { StopBrowserSessionCommandInput, StopBrowserSessionCommandOutput } from "../commands/StopBrowserSessionCommand";
27
+ import { StopCodeInterpreterSessionCommandInput, StopCodeInterpreterSessionCommandOutput } from "../commands/StopCodeInterpreterSessionCommand";
28
+ import { UpdateBrowserStreamCommandInput, UpdateBrowserStreamCommandOutput } from "../commands/UpdateBrowserStreamCommand";
29
+ /**
30
+ * serializeAws_restJson1CreateEventCommand
31
+ */
32
+ export declare const se_CreateEventCommand: (input: CreateEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * serializeAws_restJson1DeleteEventCommand
35
+ */
36
+ export declare const se_DeleteEventCommand: (input: DeleteEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ /**
38
+ * serializeAws_restJson1DeleteMemoryRecordCommand
39
+ */
40
+ export declare const se_DeleteMemoryRecordCommand: (input: DeleteMemoryRecordCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
+ /**
42
+ * serializeAws_restJson1GetBrowserSessionCommand
43
+ */
44
+ export declare const se_GetBrowserSessionCommand: (input: GetBrowserSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ /**
46
+ * serializeAws_restJson1GetCodeInterpreterSessionCommand
47
+ */
48
+ export declare const se_GetCodeInterpreterSessionCommand: (input: GetCodeInterpreterSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
+ /**
50
+ * serializeAws_restJson1GetEventCommand
51
+ */
52
+ export declare const se_GetEventCommand: (input: GetEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ /**
54
+ * serializeAws_restJson1GetMemoryRecordCommand
55
+ */
56
+ export declare const se_GetMemoryRecordCommand: (input: GetMemoryRecordCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ /**
58
+ * serializeAws_restJson1GetResourceApiKeyCommand
59
+ */
60
+ export declare const se_GetResourceApiKeyCommand: (input: GetResourceApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
+ /**
62
+ * serializeAws_restJson1GetResourceOauth2TokenCommand
63
+ */
64
+ export declare const se_GetResourceOauth2TokenCommand: (input: GetResourceOauth2TokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
+ /**
66
+ * serializeAws_restJson1GetWorkloadAccessTokenCommand
67
+ */
68
+ export declare const se_GetWorkloadAccessTokenCommand: (input: GetWorkloadAccessTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ /**
70
+ * serializeAws_restJson1GetWorkloadAccessTokenForJWTCommand
71
+ */
72
+ export declare const se_GetWorkloadAccessTokenForJWTCommand: (input: GetWorkloadAccessTokenForJWTCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
+ /**
74
+ * serializeAws_restJson1GetWorkloadAccessTokenForUserIdCommand
75
+ */
76
+ export declare const se_GetWorkloadAccessTokenForUserIdCommand: (input: GetWorkloadAccessTokenForUserIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
+ /**
78
+ * serializeAws_restJson1InvokeAgentRuntimeCommand
79
+ */
80
+ export declare const se_InvokeAgentRuntimeCommand: (input: InvokeAgentRuntimeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
+ /**
82
+ * serializeAws_restJson1InvokeCodeInterpreterCommand
83
+ */
84
+ export declare const se_InvokeCodeInterpreterCommand: (input: InvokeCodeInterpreterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
+ /**
86
+ * serializeAws_restJson1ListActorsCommand
87
+ */
88
+ export declare const se_ListActorsCommand: (input: ListActorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
+ /**
90
+ * serializeAws_restJson1ListBrowserSessionsCommand
91
+ */
92
+ export declare const se_ListBrowserSessionsCommand: (input: ListBrowserSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
+ /**
94
+ * serializeAws_restJson1ListCodeInterpreterSessionsCommand
95
+ */
96
+ export declare const se_ListCodeInterpreterSessionsCommand: (input: ListCodeInterpreterSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
+ /**
98
+ * serializeAws_restJson1ListEventsCommand
99
+ */
100
+ export declare const se_ListEventsCommand: (input: ListEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
+ /**
102
+ * serializeAws_restJson1ListMemoryRecordsCommand
103
+ */
104
+ export declare const se_ListMemoryRecordsCommand: (input: ListMemoryRecordsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
105
+ /**
106
+ * serializeAws_restJson1ListSessionsCommand
107
+ */
108
+ export declare const se_ListSessionsCommand: (input: ListSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
+ /**
110
+ * serializeAws_restJson1RetrieveMemoryRecordsCommand
111
+ */
112
+ export declare const se_RetrieveMemoryRecordsCommand: (input: RetrieveMemoryRecordsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
+ /**
114
+ * serializeAws_restJson1StartBrowserSessionCommand
115
+ */
116
+ export declare const se_StartBrowserSessionCommand: (input: StartBrowserSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
+ /**
118
+ * serializeAws_restJson1StartCodeInterpreterSessionCommand
119
+ */
120
+ export declare const se_StartCodeInterpreterSessionCommand: (input: StartCodeInterpreterSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
+ /**
122
+ * serializeAws_restJson1StopBrowserSessionCommand
123
+ */
124
+ export declare const se_StopBrowserSessionCommand: (input: StopBrowserSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ /**
126
+ * serializeAws_restJson1StopCodeInterpreterSessionCommand
127
+ */
128
+ export declare const se_StopCodeInterpreterSessionCommand: (input: StopCodeInterpreterSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
129
+ /**
130
+ * serializeAws_restJson1UpdateBrowserStreamCommand
131
+ */
132
+ export declare const se_UpdateBrowserStreamCommand: (input: UpdateBrowserStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
133
+ /**
134
+ * deserializeAws_restJson1CreateEventCommand
135
+ */
136
+ export declare const de_CreateEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEventCommandOutput>;
137
+ /**
138
+ * deserializeAws_restJson1DeleteEventCommand
139
+ */
140
+ export declare const de_DeleteEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEventCommandOutput>;
141
+ /**
142
+ * deserializeAws_restJson1DeleteMemoryRecordCommand
143
+ */
144
+ export declare const de_DeleteMemoryRecordCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMemoryRecordCommandOutput>;
145
+ /**
146
+ * deserializeAws_restJson1GetBrowserSessionCommand
147
+ */
148
+ export declare const de_GetBrowserSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBrowserSessionCommandOutput>;
149
+ /**
150
+ * deserializeAws_restJson1GetCodeInterpreterSessionCommand
151
+ */
152
+ export declare const de_GetCodeInterpreterSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCodeInterpreterSessionCommandOutput>;
153
+ /**
154
+ * deserializeAws_restJson1GetEventCommand
155
+ */
156
+ export declare const de_GetEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEventCommandOutput>;
157
+ /**
158
+ * deserializeAws_restJson1GetMemoryRecordCommand
159
+ */
160
+ export declare const de_GetMemoryRecordCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMemoryRecordCommandOutput>;
161
+ /**
162
+ * deserializeAws_restJson1GetResourceApiKeyCommand
163
+ */
164
+ export declare const de_GetResourceApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceApiKeyCommandOutput>;
165
+ /**
166
+ * deserializeAws_restJson1GetResourceOauth2TokenCommand
167
+ */
168
+ export declare const de_GetResourceOauth2TokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceOauth2TokenCommandOutput>;
169
+ /**
170
+ * deserializeAws_restJson1GetWorkloadAccessTokenCommand
171
+ */
172
+ export declare const de_GetWorkloadAccessTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWorkloadAccessTokenCommandOutput>;
173
+ /**
174
+ * deserializeAws_restJson1GetWorkloadAccessTokenForJWTCommand
175
+ */
176
+ export declare const de_GetWorkloadAccessTokenForJWTCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWorkloadAccessTokenForJWTCommandOutput>;
177
+ /**
178
+ * deserializeAws_restJson1GetWorkloadAccessTokenForUserIdCommand
179
+ */
180
+ export declare const de_GetWorkloadAccessTokenForUserIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetWorkloadAccessTokenForUserIdCommandOutput>;
181
+ /**
182
+ * deserializeAws_restJson1InvokeAgentRuntimeCommand
183
+ */
184
+ export declare const de_InvokeAgentRuntimeCommand: (output: __HttpResponse, context: __SerdeContext & __SdkStreamSerdeContext) => Promise<InvokeAgentRuntimeCommandOutput>;
185
+ /**
186
+ * deserializeAws_restJson1InvokeCodeInterpreterCommand
187
+ */
188
+ export declare const de_InvokeCodeInterpreterCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeCodeInterpreterCommandOutput>;
189
+ /**
190
+ * deserializeAws_restJson1ListActorsCommand
191
+ */
192
+ export declare const de_ListActorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListActorsCommandOutput>;
193
+ /**
194
+ * deserializeAws_restJson1ListBrowserSessionsCommand
195
+ */
196
+ export declare const de_ListBrowserSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBrowserSessionsCommandOutput>;
197
+ /**
198
+ * deserializeAws_restJson1ListCodeInterpreterSessionsCommand
199
+ */
200
+ export declare const de_ListCodeInterpreterSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCodeInterpreterSessionsCommandOutput>;
201
+ /**
202
+ * deserializeAws_restJson1ListEventsCommand
203
+ */
204
+ export declare const de_ListEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEventsCommandOutput>;
205
+ /**
206
+ * deserializeAws_restJson1ListMemoryRecordsCommand
207
+ */
208
+ export declare const de_ListMemoryRecordsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMemoryRecordsCommandOutput>;
209
+ /**
210
+ * deserializeAws_restJson1ListSessionsCommand
211
+ */
212
+ export declare const de_ListSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSessionsCommandOutput>;
213
+ /**
214
+ * deserializeAws_restJson1RetrieveMemoryRecordsCommand
215
+ */
216
+ export declare const de_RetrieveMemoryRecordsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RetrieveMemoryRecordsCommandOutput>;
217
+ /**
218
+ * deserializeAws_restJson1StartBrowserSessionCommand
219
+ */
220
+ export declare const de_StartBrowserSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartBrowserSessionCommandOutput>;
221
+ /**
222
+ * deserializeAws_restJson1StartCodeInterpreterSessionCommand
223
+ */
224
+ export declare const de_StartCodeInterpreterSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartCodeInterpreterSessionCommandOutput>;
225
+ /**
226
+ * deserializeAws_restJson1StopBrowserSessionCommand
227
+ */
228
+ export declare const de_StopBrowserSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopBrowserSessionCommandOutput>;
229
+ /**
230
+ * deserializeAws_restJson1StopCodeInterpreterSessionCommand
231
+ */
232
+ export declare const de_StopCodeInterpreterSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopCodeInterpreterSessionCommandOutput>;
233
+ /**
234
+ * deserializeAws_restJson1UpdateBrowserStreamCommand
235
+ */
236
+ export declare const de_UpdateBrowserStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBrowserStreamCommandOutput>;
@@ -0,0 +1,52 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<any>;
15
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ sha256: import("@smithy/types").HashConstructor;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ apiVersion: string;
22
+ cacheMiddleware?: boolean | undefined;
23
+ urlParser: import("@smithy/types").UrlParser;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: Uint8Array | string) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: Uint8Array | string) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ profile?: string;
31
+ logger: import("@smithy/types").Logger;
32
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
34
+ customUserAgent?: string | import("@smithy/types").UserAgent;
35
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
36
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
38
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
39
+ logger?: import("@smithy/types").Logger;
40
+ }) => import("@smithy/types").EndpointV2;
41
+ tls?: boolean;
42
+ serviceConfiguredEndpoint?: never;
43
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
44
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
45
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
46
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
47
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
48
+ signingEscapePath?: boolean;
49
+ systemClockOffset?: number;
50
+ signingRegion?: string;
51
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
52
+ };
@@ -0,0 +1,52 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
14
+ maxAttempts: number | import("@smithy/types").Provider<number>;
15
+ region: string | import("@smithy/types").Provider<string>;
16
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
17
+ retryMode: string | import("@smithy/types").Provider<string>;
18
+ sha256: import("@smithy/types").HashConstructor;
19
+ streamCollector: import("@smithy/types").StreamCollector;
20
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
23
+ apiVersion: string;
24
+ cacheMiddleware?: boolean | undefined;
25
+ urlParser: import("@smithy/types").UrlParser;
26
+ base64Decoder: import("@smithy/types").Decoder;
27
+ base64Encoder: (_input: Uint8Array | string) => string;
28
+ utf8Decoder: import("@smithy/types").Decoder;
29
+ utf8Encoder: (input: Uint8Array | string) => string;
30
+ disableHostPrefix: boolean;
31
+ serviceId: string;
32
+ profile?: string;
33
+ logger: import("@smithy/types").Logger;
34
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent;
37
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
38
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
39
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
40
+ logger?: import("@smithy/types").Logger;
41
+ }) => import("@smithy/types").EndpointV2;
42
+ tls?: boolean;
43
+ serviceConfiguredEndpoint?: never;
44
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
45
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
46
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
47
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
48
+ signingEscapePath?: boolean;
49
+ systemClockOffset?: number;
50
+ signingRegion?: string;
51
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
52
+ };
@@ -0,0 +1,51 @@
1
+ import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: Uint8Array | string) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
+ maxAttempts: number | import("@smithy/types").Provider<number>;
27
+ retryMode: string | import("@smithy/types").Provider<string>;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
31
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
33
+ customUserAgent?: string | import("@smithy/types").UserAgent;
34
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
37
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
38
+ logger?: import("@smithy/types").Logger;
39
+ }) => import("@smithy/types").EndpointV2;
40
+ tls?: boolean;
41
+ serviceConfiguredEndpoint?: never;
42
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
43
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
44
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
45
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
46
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
47
+ signingEscapePath?: boolean;
48
+ systemClockOffset?: number;
49
+ signingRegion?: string;
50
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
51
+ };
@@ -0,0 +1,22 @@
1
+ import { BedrockAgentCoreClientConfig } from "./BedrockAgentCoreClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: BedrockAgentCoreClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockAgentCoreHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
18
+ serviceId: string;
19
+ urlParser: import("@smithy/types").UrlParser;
20
+ utf8Decoder: import("@smithy/types").Decoder;
21
+ utf8Encoder: (input: Uint8Array | string) => string;
22
+ };
@@ -0,0 +1,17 @@
1
+ import { BedrockAgentCoreExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: BedrockAgentCoreExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;