@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,288 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EventStreamSerdeInputConfig,
15
+ EventStreamSerdeResolvedConfig,
16
+ } from "@smithy/eventstream-serde-config-resolver";
17
+ import {
18
+ EndpointInputConfig,
19
+ EndpointResolvedConfig,
20
+ } from "@smithy/middleware-endpoint";
21
+ import {
22
+ RetryInputConfig,
23
+ RetryResolvedConfig,
24
+ } from "@smithy/middleware-retry";
25
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
26
+ import {
27
+ Client as __Client,
28
+ DefaultsMode as __DefaultsMode,
29
+ SmithyConfiguration as __SmithyConfiguration,
30
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
31
+ } from "@smithy/smithy-client";
32
+ import {
33
+ AwsCredentialIdentityProvider,
34
+ BodyLengthCalculator as __BodyLengthCalculator,
35
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
+ ChecksumConstructor as __ChecksumConstructor,
37
+ Decoder as __Decoder,
38
+ Encoder as __Encoder,
39
+ EventStreamSerdeProvider as __EventStreamSerdeProvider,
40
+ HashConstructor as __HashConstructor,
41
+ HttpHandlerOptions as __HttpHandlerOptions,
42
+ Logger as __Logger,
43
+ Provider as __Provider,
44
+ Provider,
45
+ SdkStreamMixinInjector as __SdkStreamMixinInjector,
46
+ StreamCollector as __StreamCollector,
47
+ UrlParser as __UrlParser,
48
+ UserAgent as __UserAgent,
49
+ } from "@smithy/types";
50
+ import {
51
+ HttpAuthSchemeInputConfig,
52
+ HttpAuthSchemeResolvedConfig,
53
+ } from "./auth/httpAuthSchemeProvider";
54
+ import {
55
+ CreateEventCommandInput,
56
+ CreateEventCommandOutput,
57
+ } from "./commands/CreateEventCommand";
58
+ import {
59
+ DeleteEventCommandInput,
60
+ DeleteEventCommandOutput,
61
+ } from "./commands/DeleteEventCommand";
62
+ import {
63
+ DeleteMemoryRecordCommandInput,
64
+ DeleteMemoryRecordCommandOutput,
65
+ } from "./commands/DeleteMemoryRecordCommand";
66
+ import {
67
+ GetBrowserSessionCommandInput,
68
+ GetBrowserSessionCommandOutput,
69
+ } from "./commands/GetBrowserSessionCommand";
70
+ import {
71
+ GetCodeInterpreterSessionCommandInput,
72
+ GetCodeInterpreterSessionCommandOutput,
73
+ } from "./commands/GetCodeInterpreterSessionCommand";
74
+ import {
75
+ GetEventCommandInput,
76
+ GetEventCommandOutput,
77
+ } from "./commands/GetEventCommand";
78
+ import {
79
+ GetMemoryRecordCommandInput,
80
+ GetMemoryRecordCommandOutput,
81
+ } from "./commands/GetMemoryRecordCommand";
82
+ import {
83
+ GetResourceApiKeyCommandInput,
84
+ GetResourceApiKeyCommandOutput,
85
+ } from "./commands/GetResourceApiKeyCommand";
86
+ import {
87
+ GetResourceOauth2TokenCommandInput,
88
+ GetResourceOauth2TokenCommandOutput,
89
+ } from "./commands/GetResourceOauth2TokenCommand";
90
+ import {
91
+ GetWorkloadAccessTokenCommandInput,
92
+ GetWorkloadAccessTokenCommandOutput,
93
+ } from "./commands/GetWorkloadAccessTokenCommand";
94
+ import {
95
+ GetWorkloadAccessTokenForJWTCommandInput,
96
+ GetWorkloadAccessTokenForJWTCommandOutput,
97
+ } from "./commands/GetWorkloadAccessTokenForJWTCommand";
98
+ import {
99
+ GetWorkloadAccessTokenForUserIdCommandInput,
100
+ GetWorkloadAccessTokenForUserIdCommandOutput,
101
+ } from "./commands/GetWorkloadAccessTokenForUserIdCommand";
102
+ import {
103
+ InvokeAgentRuntimeCommandInput,
104
+ InvokeAgentRuntimeCommandOutput,
105
+ } from "./commands/InvokeAgentRuntimeCommand";
106
+ import {
107
+ InvokeCodeInterpreterCommandInput,
108
+ InvokeCodeInterpreterCommandOutput,
109
+ } from "./commands/InvokeCodeInterpreterCommand";
110
+ import {
111
+ ListActorsCommandInput,
112
+ ListActorsCommandOutput,
113
+ } from "./commands/ListActorsCommand";
114
+ import {
115
+ ListBrowserSessionsCommandInput,
116
+ ListBrowserSessionsCommandOutput,
117
+ } from "./commands/ListBrowserSessionsCommand";
118
+ import {
119
+ ListCodeInterpreterSessionsCommandInput,
120
+ ListCodeInterpreterSessionsCommandOutput,
121
+ } from "./commands/ListCodeInterpreterSessionsCommand";
122
+ import {
123
+ ListEventsCommandInput,
124
+ ListEventsCommandOutput,
125
+ } from "./commands/ListEventsCommand";
126
+ import {
127
+ ListMemoryRecordsCommandInput,
128
+ ListMemoryRecordsCommandOutput,
129
+ } from "./commands/ListMemoryRecordsCommand";
130
+ import {
131
+ ListSessionsCommandInput,
132
+ ListSessionsCommandOutput,
133
+ } from "./commands/ListSessionsCommand";
134
+ import {
135
+ RetrieveMemoryRecordsCommandInput,
136
+ RetrieveMemoryRecordsCommandOutput,
137
+ } from "./commands/RetrieveMemoryRecordsCommand";
138
+ import {
139
+ StartBrowserSessionCommandInput,
140
+ StartBrowserSessionCommandOutput,
141
+ } from "./commands/StartBrowserSessionCommand";
142
+ import {
143
+ StartCodeInterpreterSessionCommandInput,
144
+ StartCodeInterpreterSessionCommandOutput,
145
+ } from "./commands/StartCodeInterpreterSessionCommand";
146
+ import {
147
+ StopBrowserSessionCommandInput,
148
+ StopBrowserSessionCommandOutput,
149
+ } from "./commands/StopBrowserSessionCommand";
150
+ import {
151
+ StopCodeInterpreterSessionCommandInput,
152
+ StopCodeInterpreterSessionCommandOutput,
153
+ } from "./commands/StopCodeInterpreterSessionCommand";
154
+ import {
155
+ UpdateBrowserStreamCommandInput,
156
+ UpdateBrowserStreamCommandOutput,
157
+ } from "./commands/UpdateBrowserStreamCommand";
158
+ import {
159
+ ClientInputEndpointParameters,
160
+ ClientResolvedEndpointParameters,
161
+ EndpointParameters,
162
+ } from "./endpoint/EndpointParameters";
163
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
164
+ export { __Client };
165
+ export type ServiceInputTypes =
166
+ | CreateEventCommandInput
167
+ | DeleteEventCommandInput
168
+ | DeleteMemoryRecordCommandInput
169
+ | GetBrowserSessionCommandInput
170
+ | GetCodeInterpreterSessionCommandInput
171
+ | GetEventCommandInput
172
+ | GetMemoryRecordCommandInput
173
+ | GetResourceApiKeyCommandInput
174
+ | GetResourceOauth2TokenCommandInput
175
+ | GetWorkloadAccessTokenCommandInput
176
+ | GetWorkloadAccessTokenForJWTCommandInput
177
+ | GetWorkloadAccessTokenForUserIdCommandInput
178
+ | InvokeAgentRuntimeCommandInput
179
+ | InvokeCodeInterpreterCommandInput
180
+ | ListActorsCommandInput
181
+ | ListBrowserSessionsCommandInput
182
+ | ListCodeInterpreterSessionsCommandInput
183
+ | ListEventsCommandInput
184
+ | ListMemoryRecordsCommandInput
185
+ | ListSessionsCommandInput
186
+ | RetrieveMemoryRecordsCommandInput
187
+ | StartBrowserSessionCommandInput
188
+ | StartCodeInterpreterSessionCommandInput
189
+ | StopBrowserSessionCommandInput
190
+ | StopCodeInterpreterSessionCommandInput
191
+ | UpdateBrowserStreamCommandInput;
192
+ export type ServiceOutputTypes =
193
+ | CreateEventCommandOutput
194
+ | DeleteEventCommandOutput
195
+ | DeleteMemoryRecordCommandOutput
196
+ | GetBrowserSessionCommandOutput
197
+ | GetCodeInterpreterSessionCommandOutput
198
+ | GetEventCommandOutput
199
+ | GetMemoryRecordCommandOutput
200
+ | GetResourceApiKeyCommandOutput
201
+ | GetResourceOauth2TokenCommandOutput
202
+ | GetWorkloadAccessTokenCommandOutput
203
+ | GetWorkloadAccessTokenForJWTCommandOutput
204
+ | GetWorkloadAccessTokenForUserIdCommandOutput
205
+ | InvokeAgentRuntimeCommandOutput
206
+ | InvokeCodeInterpreterCommandOutput
207
+ | ListActorsCommandOutput
208
+ | ListBrowserSessionsCommandOutput
209
+ | ListCodeInterpreterSessionsCommandOutput
210
+ | ListEventsCommandOutput
211
+ | ListMemoryRecordsCommandOutput
212
+ | ListSessionsCommandOutput
213
+ | RetrieveMemoryRecordsCommandOutput
214
+ | StartBrowserSessionCommandOutput
215
+ | StartCodeInterpreterSessionCommandOutput
216
+ | StopBrowserSessionCommandOutput
217
+ | StopCodeInterpreterSessionCommandOutput
218
+ | UpdateBrowserStreamCommandOutput;
219
+ export interface ClientDefaults
220
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
221
+ requestHandler?: __HttpHandlerUserInput;
222
+ sha256?: __ChecksumConstructor | __HashConstructor;
223
+ urlParser?: __UrlParser;
224
+ bodyLengthChecker?: __BodyLengthCalculator;
225
+ streamCollector?: __StreamCollector;
226
+ base64Decoder?: __Decoder;
227
+ base64Encoder?: __Encoder;
228
+ utf8Decoder?: __Decoder;
229
+ utf8Encoder?: __Encoder;
230
+ runtime?: string;
231
+ disableHostPrefix?: boolean;
232
+ serviceId?: string;
233
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
234
+ useFipsEndpoint?: boolean | __Provider<boolean>;
235
+ region?: string | __Provider<string>;
236
+ profile?: string;
237
+ defaultUserAgentProvider?: Provider<__UserAgent>;
238
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
239
+ maxAttempts?: number | __Provider<number>;
240
+ retryMode?: string | __Provider<string>;
241
+ logger?: __Logger;
242
+ extensions?: RuntimeExtension[];
243
+ eventStreamSerdeProvider?: __EventStreamSerdeProvider;
244
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
245
+ sdkStreamMixin?: __SdkStreamMixinInjector;
246
+ }
247
+ export type BedrockAgentCoreClientConfigType = Partial<
248
+ __SmithyConfiguration<__HttpHandlerOptions>
249
+ > &
250
+ ClientDefaults &
251
+ UserAgentInputConfig &
252
+ RetryInputConfig &
253
+ RegionInputConfig &
254
+ HostHeaderInputConfig &
255
+ EndpointInputConfig<EndpointParameters> &
256
+ EventStreamSerdeInputConfig &
257
+ HttpAuthSchemeInputConfig &
258
+ ClientInputEndpointParameters;
259
+ export interface BedrockAgentCoreClientConfig
260
+ extends BedrockAgentCoreClientConfigType {}
261
+ export type BedrockAgentCoreClientResolvedConfigType =
262
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
263
+ Required<ClientDefaults> &
264
+ RuntimeExtensionsConfig &
265
+ UserAgentResolvedConfig &
266
+ RetryResolvedConfig &
267
+ RegionResolvedConfig &
268
+ HostHeaderResolvedConfig &
269
+ EndpointResolvedConfig<EndpointParameters> &
270
+ EventStreamSerdeResolvedConfig &
271
+ HttpAuthSchemeResolvedConfig &
272
+ ClientResolvedEndpointParameters;
273
+ export interface BedrockAgentCoreClientResolvedConfig
274
+ extends BedrockAgentCoreClientResolvedConfigType {}
275
+ export declare class BedrockAgentCoreClient extends __Client<
276
+ __HttpHandlerOptions,
277
+ ServiceInputTypes,
278
+ ServiceOutputTypes,
279
+ BedrockAgentCoreClientResolvedConfig
280
+ > {
281
+ readonly config: BedrockAgentCoreClientResolvedConfig;
282
+ constructor(
283
+ ...[
284
+ configuration,
285
+ ]: __CheckOptionalClientConfig<BedrockAgentCoreClientConfig>
286
+ );
287
+ destroy(): void;
288
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { BedrockAgentCoreHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: BedrockAgentCoreHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): BedrockAgentCoreHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: BedrockAgentCoreHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,47 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { BedrockAgentCoreClientResolvedConfig } from "../BedrockAgentCoreClient";
15
+ export interface BedrockAgentCoreHttpAuthSchemeParameters
16
+ extends HttpAuthSchemeParameters {
17
+ region?: string;
18
+ }
19
+ export interface BedrockAgentCoreHttpAuthSchemeParametersProvider
20
+ extends HttpAuthSchemeParametersProvider<
21
+ BedrockAgentCoreClientResolvedConfig,
22
+ HandlerExecutionContext,
23
+ BedrockAgentCoreHttpAuthSchemeParameters,
24
+ object
25
+ > {}
26
+ export declare const defaultBedrockAgentCoreHttpAuthSchemeParametersProvider: (
27
+ config: BedrockAgentCoreClientResolvedConfig,
28
+ context: HandlerExecutionContext,
29
+ input: object
30
+ ) => Promise<BedrockAgentCoreHttpAuthSchemeParameters>;
31
+ export interface BedrockAgentCoreHttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<BedrockAgentCoreHttpAuthSchemeParameters> {}
33
+ export declare const defaultBedrockAgentCoreHttpAuthSchemeProvider: BedrockAgentCoreHttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ httpAuthSchemeProvider?: BedrockAgentCoreHttpAuthSchemeProvider;
38
+ }
39
+ export interface HttpAuthSchemeResolvedConfig
40
+ extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
42
+ readonly httpAuthSchemes: HttpAuthScheme[];
43
+ readonly httpAuthSchemeProvider: BedrockAgentCoreHttpAuthSchemeProvider;
44
+ }
45
+ export declare const resolveHttpAuthSchemeConfig: <T>(
46
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
47
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentCoreClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentCoreClient";
8
+ import { CreateEventInput, CreateEventOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface CreateEventCommandInput extends CreateEventInput {}
12
+ export interface CreateEventCommandOutput
13
+ extends CreateEventOutput,
14
+ __MetadataBearer {}
15
+ declare const CreateEventCommand_base: {
16
+ new (
17
+ input: CreateEventCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ CreateEventCommandInput,
20
+ CreateEventCommandOutput,
21
+ BedrockAgentCoreClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: CreateEventCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ CreateEventCommandInput,
29
+ CreateEventCommandOutput,
30
+ BedrockAgentCoreClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class CreateEventCommand extends CreateEventCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: CreateEventInput;
40
+ output: CreateEventOutput;
41
+ };
42
+ sdk: {
43
+ input: CreateEventCommandInput;
44
+ output: CreateEventCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentCoreClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentCoreClient";
8
+ import { DeleteEventInput, DeleteEventOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface DeleteEventCommandInput extends DeleteEventInput {}
12
+ export interface DeleteEventCommandOutput
13
+ extends DeleteEventOutput,
14
+ __MetadataBearer {}
15
+ declare const DeleteEventCommand_base: {
16
+ new (
17
+ input: DeleteEventCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ DeleteEventCommandInput,
20
+ DeleteEventCommandOutput,
21
+ BedrockAgentCoreClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: DeleteEventCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ DeleteEventCommandInput,
29
+ DeleteEventCommandOutput,
30
+ BedrockAgentCoreClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class DeleteEventCommand extends DeleteEventCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: DeleteEventInput;
40
+ output: DeleteEventOutput;
41
+ };
42
+ sdk: {
43
+ input: DeleteEventCommandInput;
44
+ output: DeleteEventCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentCoreClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentCoreClient";
8
+ import {
9
+ DeleteMemoryRecordInput,
10
+ DeleteMemoryRecordOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteMemoryRecordCommandInput
15
+ extends DeleteMemoryRecordInput {}
16
+ export interface DeleteMemoryRecordCommandOutput
17
+ extends DeleteMemoryRecordOutput,
18
+ __MetadataBearer {}
19
+ declare const DeleteMemoryRecordCommand_base: {
20
+ new (
21
+ input: DeleteMemoryRecordCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteMemoryRecordCommandInput,
24
+ DeleteMemoryRecordCommandOutput,
25
+ BedrockAgentCoreClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteMemoryRecordCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteMemoryRecordCommandInput,
33
+ DeleteMemoryRecordCommandOutput,
34
+ BedrockAgentCoreClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteMemoryRecordCommand extends DeleteMemoryRecordCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteMemoryRecordInput;
44
+ output: DeleteMemoryRecordOutput;
45
+ };
46
+ sdk: {
47
+ input: DeleteMemoryRecordCommandInput;
48
+ output: DeleteMemoryRecordCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentCoreClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentCoreClient";
8
+ import {
9
+ GetBrowserSessionRequest,
10
+ GetBrowserSessionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetBrowserSessionCommandInput
15
+ extends GetBrowserSessionRequest {}
16
+ export interface GetBrowserSessionCommandOutput
17
+ extends GetBrowserSessionResponse,
18
+ __MetadataBearer {}
19
+ declare const GetBrowserSessionCommand_base: {
20
+ new (
21
+ input: GetBrowserSessionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetBrowserSessionCommandInput,
24
+ GetBrowserSessionCommandOutput,
25
+ BedrockAgentCoreClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetBrowserSessionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetBrowserSessionCommandInput,
33
+ GetBrowserSessionCommandOutput,
34
+ BedrockAgentCoreClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetBrowserSessionCommand extends GetBrowserSessionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetBrowserSessionRequest;
44
+ output: GetBrowserSessionResponse;
45
+ };
46
+ sdk: {
47
+ input: GetBrowserSessionCommandInput;
48
+ output: GetBrowserSessionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentCoreClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentCoreClient";
8
+ import {
9
+ GetCodeInterpreterSessionRequest,
10
+ GetCodeInterpreterSessionResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetCodeInterpreterSessionCommandInput
15
+ extends GetCodeInterpreterSessionRequest {}
16
+ export interface GetCodeInterpreterSessionCommandOutput
17
+ extends GetCodeInterpreterSessionResponse,
18
+ __MetadataBearer {}
19
+ declare const GetCodeInterpreterSessionCommand_base: {
20
+ new (
21
+ input: GetCodeInterpreterSessionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetCodeInterpreterSessionCommandInput,
24
+ GetCodeInterpreterSessionCommandOutput,
25
+ BedrockAgentCoreClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetCodeInterpreterSessionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetCodeInterpreterSessionCommandInput,
33
+ GetCodeInterpreterSessionCommandOutput,
34
+ BedrockAgentCoreClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetCodeInterpreterSessionCommand extends GetCodeInterpreterSessionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetCodeInterpreterSessionRequest;
44
+ output: GetCodeInterpreterSessionResponse;
45
+ };
46
+ sdk: {
47
+ input: GetCodeInterpreterSessionCommandInput;
48
+ output: GetCodeInterpreterSessionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentCoreClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentCoreClient";
8
+ import { GetEventInput, GetEventOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface GetEventCommandInput extends GetEventInput {}
12
+ export interface GetEventCommandOutput
13
+ extends GetEventOutput,
14
+ __MetadataBearer {}
15
+ declare const GetEventCommand_base: {
16
+ new (
17
+ input: GetEventCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ GetEventCommandInput,
20
+ GetEventCommandOutput,
21
+ BedrockAgentCoreClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: GetEventCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ GetEventCommandInput,
29
+ GetEventCommandOutput,
30
+ BedrockAgentCoreClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class GetEventCommand extends GetEventCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: GetEventInput;
40
+ output: GetEventOutput;
41
+ };
42
+ sdk: {
43
+ input: GetEventCommandInput;
44
+ output: GetEventCommandOutput;
45
+ };
46
+ };
47
+ }