@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,872 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import {
3
+ DocumentType as __DocumentType,
4
+ StreamingBlobTypes,
5
+ } from "@smithy/types";
6
+ import { BedrockAgentCoreServiceException as __BaseException } from "./BedrockAgentCoreServiceException";
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ constructor(
11
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
12
+ );
13
+ }
14
+ export interface ActorSummary {
15
+ actorId: string | undefined;
16
+ }
17
+ export declare class InternalServerException extends __BaseException {
18
+ readonly name: "InternalServerException";
19
+ readonly $fault: "server";
20
+ constructor(
21
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
22
+ );
23
+ }
24
+ export interface InvokeAgentRuntimeRequest {
25
+ contentType?: string | undefined;
26
+ accept?: string | undefined;
27
+ mcpSessionId?: string | undefined;
28
+ runtimeSessionId?: string | undefined;
29
+ mcpProtocolVersion?: string | undefined;
30
+ runtimeUserId?: string | undefined;
31
+ traceId?: string | undefined;
32
+ traceParent?: string | undefined;
33
+ traceState?: string | undefined;
34
+ baggage?: string | undefined;
35
+ agentRuntimeArn: string | undefined;
36
+ qualifier?: string | undefined;
37
+ payload: Uint8Array | undefined;
38
+ }
39
+ export interface InvokeAgentRuntimeResponse {
40
+ runtimeSessionId?: string | undefined;
41
+ mcpSessionId?: string | undefined;
42
+ mcpProtocolVersion?: string | undefined;
43
+ traceId?: string | undefined;
44
+ traceParent?: string | undefined;
45
+ traceState?: string | undefined;
46
+ baggage?: string | undefined;
47
+ contentType: string | undefined;
48
+ response?: StreamingBlobTypes | undefined;
49
+ statusCode?: number | undefined;
50
+ }
51
+ export declare class ResourceNotFoundException extends __BaseException {
52
+ readonly name: "ResourceNotFoundException";
53
+ readonly $fault: "client";
54
+ constructor(
55
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
56
+ );
57
+ }
58
+ export declare class RuntimeClientError extends __BaseException {
59
+ readonly name: "RuntimeClientError";
60
+ readonly $fault: "client";
61
+ constructor(opts: __ExceptionOptionType<RuntimeClientError, __BaseException>);
62
+ }
63
+ export declare class ServiceQuotaExceededException extends __BaseException {
64
+ readonly name: "ServiceQuotaExceededException";
65
+ readonly $fault: "client";
66
+ constructor(
67
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
68
+ );
69
+ }
70
+ export declare class ThrottlingException extends __BaseException {
71
+ readonly name: "ThrottlingException";
72
+ readonly $fault: "client";
73
+ constructor(
74
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
75
+ );
76
+ }
77
+ export interface ValidationExceptionField {
78
+ name: string | undefined;
79
+ message: string | undefined;
80
+ }
81
+ export declare const ValidationExceptionReason: {
82
+ readonly CANNOT_PARSE: "CannotParse";
83
+ readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
84
+ readonly IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException";
85
+ readonly RESOURCE_CONFLICT: "ResourceConflict";
86
+ readonly ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession";
87
+ };
88
+ export type ValidationExceptionReason =
89
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
90
+ export declare class ValidationException extends __BaseException {
91
+ readonly name: "ValidationException";
92
+ readonly $fault: "client";
93
+ reason: ValidationExceptionReason | undefined;
94
+ fieldList?: ValidationExceptionField[] | undefined;
95
+ constructor(
96
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
97
+ );
98
+ }
99
+ export interface GetBrowserSessionRequest {
100
+ browserIdentifier: string | undefined;
101
+ sessionId: string | undefined;
102
+ }
103
+ export declare const BrowserSessionStatus: {
104
+ readonly READY: "READY";
105
+ readonly TERMINATED: "TERMINATED";
106
+ };
107
+ export type BrowserSessionStatus =
108
+ (typeof BrowserSessionStatus)[keyof typeof BrowserSessionStatus];
109
+ export declare const AutomationStreamStatus: {
110
+ readonly DISABLED: "DISABLED";
111
+ readonly ENABLED: "ENABLED";
112
+ };
113
+ export type AutomationStreamStatus =
114
+ (typeof AutomationStreamStatus)[keyof typeof AutomationStreamStatus];
115
+ export interface AutomationStream {
116
+ streamEndpoint: string | undefined;
117
+ streamStatus: AutomationStreamStatus | undefined;
118
+ }
119
+ export interface LiveViewStream {
120
+ streamEndpoint?: string | undefined;
121
+ }
122
+ export interface BrowserSessionStream {
123
+ automationStream: AutomationStream | undefined;
124
+ liveViewStream?: LiveViewStream | undefined;
125
+ }
126
+ export interface ViewPort {
127
+ width: number | undefined;
128
+ height: number | undefined;
129
+ }
130
+ export interface GetBrowserSessionResponse {
131
+ browserIdentifier: string | undefined;
132
+ sessionId: string | undefined;
133
+ name?: string | undefined;
134
+ createdAt: Date | undefined;
135
+ viewPort?: ViewPort | undefined;
136
+ sessionTimeoutSeconds?: number | undefined;
137
+ status?: BrowserSessionStatus | undefined;
138
+ streams?: BrowserSessionStream | undefined;
139
+ sessionReplayArtifact?: string | undefined;
140
+ lastUpdatedAt?: Date | undefined;
141
+ }
142
+ export interface ListBrowserSessionsRequest {
143
+ browserIdentifier: string | undefined;
144
+ maxResults?: number | undefined;
145
+ nextToken?: string | undefined;
146
+ status?: BrowserSessionStatus | undefined;
147
+ }
148
+ export interface BrowserSessionSummary {
149
+ browserIdentifier: string | undefined;
150
+ sessionId: string | undefined;
151
+ name?: string | undefined;
152
+ status: BrowserSessionStatus | undefined;
153
+ createdAt: Date | undefined;
154
+ lastUpdatedAt?: Date | undefined;
155
+ }
156
+ export interface ListBrowserSessionsResponse {
157
+ items: BrowserSessionSummary[] | undefined;
158
+ nextToken?: string | undefined;
159
+ }
160
+ export declare class ConflictException extends __BaseException {
161
+ readonly name: "ConflictException";
162
+ readonly $fault: "client";
163
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
164
+ }
165
+ export interface StartBrowserSessionRequest {
166
+ browserIdentifier: string | undefined;
167
+ name?: string | undefined;
168
+ sessionTimeoutSeconds?: number | undefined;
169
+ viewPort?: ViewPort | undefined;
170
+ clientToken?: string | undefined;
171
+ }
172
+ export interface StartBrowserSessionResponse {
173
+ browserIdentifier: string | undefined;
174
+ sessionId: string | undefined;
175
+ createdAt: Date | undefined;
176
+ streams?: BrowserSessionStream | undefined;
177
+ }
178
+ export interface StopBrowserSessionRequest {
179
+ browserIdentifier: string | undefined;
180
+ sessionId: string | undefined;
181
+ clientToken?: string | undefined;
182
+ }
183
+ export interface StopBrowserSessionResponse {
184
+ browserIdentifier: string | undefined;
185
+ sessionId: string | undefined;
186
+ lastUpdatedAt: Date | undefined;
187
+ }
188
+ export interface AutomationStreamUpdate {
189
+ streamStatus?: AutomationStreamStatus | undefined;
190
+ }
191
+ export type StreamUpdate =
192
+ | StreamUpdate.AutomationStreamUpdateMember
193
+ | StreamUpdate.$UnknownMember;
194
+ export declare namespace StreamUpdate {
195
+ interface AutomationStreamUpdateMember {
196
+ automationStreamUpdate: AutomationStreamUpdate;
197
+ $unknown?: never;
198
+ }
199
+ interface $UnknownMember {
200
+ automationStreamUpdate?: never;
201
+ $unknown: [string, any];
202
+ }
203
+ interface Visitor<T> {
204
+ automationStreamUpdate: (value: AutomationStreamUpdate) => T;
205
+ _: (name: string, value: any) => T;
206
+ }
207
+ const visit: <T>(value: StreamUpdate, visitor: Visitor<T>) => T;
208
+ }
209
+ export interface UpdateBrowserStreamRequest {
210
+ browserIdentifier: string | undefined;
211
+ sessionId: string | undefined;
212
+ streamUpdate: StreamUpdate | undefined;
213
+ clientToken?: string | undefined;
214
+ }
215
+ export interface UpdateBrowserStreamResponse {
216
+ browserIdentifier: string | undefined;
217
+ sessionId: string | undefined;
218
+ streams: BrowserSessionStream | undefined;
219
+ updatedAt: Date | undefined;
220
+ }
221
+ export interface GetCodeInterpreterSessionRequest {
222
+ codeInterpreterIdentifier: string | undefined;
223
+ sessionId: string | undefined;
224
+ }
225
+ export declare const CodeInterpreterSessionStatus: {
226
+ readonly READY: "READY";
227
+ readonly TERMINATED: "TERMINATED";
228
+ };
229
+ export type CodeInterpreterSessionStatus =
230
+ (typeof CodeInterpreterSessionStatus)[keyof typeof CodeInterpreterSessionStatus];
231
+ export interface GetCodeInterpreterSessionResponse {
232
+ codeInterpreterIdentifier: string | undefined;
233
+ sessionId: string | undefined;
234
+ name?: string | undefined;
235
+ createdAt: Date | undefined;
236
+ sessionTimeoutSeconds?: number | undefined;
237
+ status?: CodeInterpreterSessionStatus | undefined;
238
+ }
239
+ export interface ListCodeInterpreterSessionsRequest {
240
+ codeInterpreterIdentifier: string | undefined;
241
+ maxResults?: number | undefined;
242
+ nextToken?: string | undefined;
243
+ status?: CodeInterpreterSessionStatus | undefined;
244
+ }
245
+ export interface CodeInterpreterSessionSummary {
246
+ codeInterpreterIdentifier: string | undefined;
247
+ sessionId: string | undefined;
248
+ name?: string | undefined;
249
+ status: CodeInterpreterSessionStatus | undefined;
250
+ createdAt: Date | undefined;
251
+ lastUpdatedAt?: Date | undefined;
252
+ }
253
+ export interface ListCodeInterpreterSessionsResponse {
254
+ items: CodeInterpreterSessionSummary[] | undefined;
255
+ nextToken?: string | undefined;
256
+ }
257
+ export interface StartCodeInterpreterSessionRequest {
258
+ codeInterpreterIdentifier: string | undefined;
259
+ name?: string | undefined;
260
+ sessionTimeoutSeconds?: number | undefined;
261
+ clientToken?: string | undefined;
262
+ }
263
+ export interface StartCodeInterpreterSessionResponse {
264
+ codeInterpreterIdentifier: string | undefined;
265
+ sessionId: string | undefined;
266
+ createdAt: Date | undefined;
267
+ }
268
+ export interface StopCodeInterpreterSessionRequest {
269
+ codeInterpreterIdentifier: string | undefined;
270
+ sessionId: string | undefined;
271
+ clientToken?: string | undefined;
272
+ }
273
+ export interface StopCodeInterpreterSessionResponse {
274
+ codeInterpreterIdentifier: string | undefined;
275
+ sessionId: string | undefined;
276
+ lastUpdatedAt: Date | undefined;
277
+ }
278
+ export interface GetResourceApiKeyRequest {
279
+ workloadIdentityToken: string | undefined;
280
+ resourceCredentialProviderName: string | undefined;
281
+ }
282
+ export interface GetResourceApiKeyResponse {
283
+ apiKey: string | undefined;
284
+ }
285
+ export declare class UnauthorizedException extends __BaseException {
286
+ readonly name: "UnauthorizedException";
287
+ readonly $fault: "client";
288
+ constructor(
289
+ opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
290
+ );
291
+ }
292
+ export declare const Oauth2FlowType: {
293
+ readonly M2M: "M2M";
294
+ readonly USER_FEDERATION: "USER_FEDERATION";
295
+ };
296
+ export type Oauth2FlowType =
297
+ (typeof Oauth2FlowType)[keyof typeof Oauth2FlowType];
298
+ export interface GetResourceOauth2TokenRequest {
299
+ workloadIdentityToken: string | undefined;
300
+ userId?: string | undefined;
301
+ resourceCredentialProviderName: string | undefined;
302
+ scopes: string[] | undefined;
303
+ oauth2Flow: Oauth2FlowType | undefined;
304
+ resourceOauth2ReturnUrl?: string | undefined;
305
+ forceAuthentication?: boolean | undefined;
306
+ customParameters?: Record<string, string> | undefined;
307
+ }
308
+ export interface GetResourceOauth2TokenResponse {
309
+ authorizationUrl?: string | undefined;
310
+ accessToken?: string | undefined;
311
+ }
312
+ export interface GetWorkloadAccessTokenRequest {
313
+ workloadName: string | undefined;
314
+ }
315
+ export interface GetWorkloadAccessTokenResponse {
316
+ workloadAccessToken: string | undefined;
317
+ }
318
+ export interface GetWorkloadAccessTokenForJWTRequest {
319
+ workloadName: string | undefined;
320
+ userToken: string | undefined;
321
+ }
322
+ export interface GetWorkloadAccessTokenForJWTResponse {
323
+ workloadAccessToken: string | undefined;
324
+ }
325
+ export interface GetWorkloadAccessTokenForUserIdRequest {
326
+ workloadName: string | undefined;
327
+ userId: string | undefined;
328
+ }
329
+ export interface GetWorkloadAccessTokenForUserIdResponse {
330
+ workloadAccessToken: string | undefined;
331
+ }
332
+ export interface InputContentBlock {
333
+ path: string | undefined;
334
+ text?: string | undefined;
335
+ blob?: Uint8Array | undefined;
336
+ }
337
+ export declare const ProgrammingLanguage: {
338
+ readonly JAVASCRIPT: "javascript";
339
+ readonly PYTHON: "python";
340
+ readonly TYPESCRIPT: "typescript";
341
+ };
342
+ export type ProgrammingLanguage =
343
+ (typeof ProgrammingLanguage)[keyof typeof ProgrammingLanguage];
344
+ export interface ToolArguments {
345
+ code?: string | undefined;
346
+ language?: ProgrammingLanguage | undefined;
347
+ clearContext?: boolean | undefined;
348
+ command?: string | undefined;
349
+ path?: string | undefined;
350
+ paths?: string[] | undefined;
351
+ content?: InputContentBlock[] | undefined;
352
+ directoryPath?: string | undefined;
353
+ taskId?: string | undefined;
354
+ }
355
+ export declare const ToolName: {
356
+ readonly EXECUTE_CODE: "executeCode";
357
+ readonly EXECUTE_COMMAND: "executeCommand";
358
+ readonly GET_TASK: "getTask";
359
+ readonly LIST_FILES: "listFiles";
360
+ readonly READ_FILES: "readFiles";
361
+ readonly REMOVE_FILES: "removeFiles";
362
+ readonly START_COMMAND_EXECUTION: "startCommandExecution";
363
+ readonly STOP_TASK: "stopTask";
364
+ readonly WRITE_FILES: "writeFiles";
365
+ };
366
+ export type ToolName = (typeof ToolName)[keyof typeof ToolName];
367
+ export interface InvokeCodeInterpreterRequest {
368
+ codeInterpreterIdentifier: string | undefined;
369
+ sessionId?: string | undefined;
370
+ name: ToolName | undefined;
371
+ arguments?: ToolArguments | undefined;
372
+ }
373
+ export declare const ResourceContentType: {
374
+ readonly BLOB: "blob";
375
+ readonly TEXT: "text";
376
+ };
377
+ export type ResourceContentType =
378
+ (typeof ResourceContentType)[keyof typeof ResourceContentType];
379
+ export interface ResourceContent {
380
+ type: ResourceContentType | undefined;
381
+ uri?: string | undefined;
382
+ mimeType?: string | undefined;
383
+ text?: string | undefined;
384
+ blob?: Uint8Array | undefined;
385
+ }
386
+ export declare const ContentBlockType: {
387
+ readonly EMBEDDED_RESOURCE: "resource";
388
+ readonly IMAGE: "image";
389
+ readonly RESOURCE_LINK: "resource_link";
390
+ readonly TEXT: "text";
391
+ };
392
+ export type ContentBlockType =
393
+ (typeof ContentBlockType)[keyof typeof ContentBlockType];
394
+ export interface ContentBlock {
395
+ type: ContentBlockType | undefined;
396
+ text?: string | undefined;
397
+ data?: Uint8Array | undefined;
398
+ mimeType?: string | undefined;
399
+ uri?: string | undefined;
400
+ name?: string | undefined;
401
+ description?: string | undefined;
402
+ size?: number | undefined;
403
+ resource?: ResourceContent | undefined;
404
+ }
405
+ export declare const TaskStatus: {
406
+ readonly CANCELED: "canceled";
407
+ readonly COMPLETED: "completed";
408
+ readonly FAILED: "failed";
409
+ readonly SUBMITTED: "submitted";
410
+ readonly WORKING: "working";
411
+ };
412
+ export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus];
413
+ export interface ToolResultStructuredContent {
414
+ taskId?: string | undefined;
415
+ taskStatus?: TaskStatus | undefined;
416
+ stdout?: string | undefined;
417
+ stderr?: string | undefined;
418
+ exitCode?: number | undefined;
419
+ executionTime?: number | undefined;
420
+ }
421
+ export interface CodeInterpreterResult {
422
+ content: ContentBlock[] | undefined;
423
+ structuredContent?: ToolResultStructuredContent | undefined;
424
+ isError?: boolean | undefined;
425
+ }
426
+ export type CodeInterpreterStreamOutput =
427
+ | CodeInterpreterStreamOutput.AccessDeniedExceptionMember
428
+ | CodeInterpreterStreamOutput.ConflictExceptionMember
429
+ | CodeInterpreterStreamOutput.InternalServerExceptionMember
430
+ | CodeInterpreterStreamOutput.ResourceNotFoundExceptionMember
431
+ | CodeInterpreterStreamOutput.ResultMember
432
+ | CodeInterpreterStreamOutput.ServiceQuotaExceededExceptionMember
433
+ | CodeInterpreterStreamOutput.ThrottlingExceptionMember
434
+ | CodeInterpreterStreamOutput.ValidationExceptionMember
435
+ | CodeInterpreterStreamOutput.$UnknownMember;
436
+ export declare namespace CodeInterpreterStreamOutput {
437
+ interface ResultMember {
438
+ result: CodeInterpreterResult;
439
+ accessDeniedException?: never;
440
+ conflictException?: never;
441
+ internalServerException?: never;
442
+ resourceNotFoundException?: never;
443
+ serviceQuotaExceededException?: never;
444
+ throttlingException?: never;
445
+ validationException?: never;
446
+ $unknown?: never;
447
+ }
448
+ interface AccessDeniedExceptionMember {
449
+ result?: never;
450
+ accessDeniedException: AccessDeniedException;
451
+ conflictException?: never;
452
+ internalServerException?: never;
453
+ resourceNotFoundException?: never;
454
+ serviceQuotaExceededException?: never;
455
+ throttlingException?: never;
456
+ validationException?: never;
457
+ $unknown?: never;
458
+ }
459
+ interface ConflictExceptionMember {
460
+ result?: never;
461
+ accessDeniedException?: never;
462
+ conflictException: ConflictException;
463
+ internalServerException?: never;
464
+ resourceNotFoundException?: never;
465
+ serviceQuotaExceededException?: never;
466
+ throttlingException?: never;
467
+ validationException?: never;
468
+ $unknown?: never;
469
+ }
470
+ interface InternalServerExceptionMember {
471
+ result?: never;
472
+ accessDeniedException?: never;
473
+ conflictException?: never;
474
+ internalServerException: InternalServerException;
475
+ resourceNotFoundException?: never;
476
+ serviceQuotaExceededException?: never;
477
+ throttlingException?: never;
478
+ validationException?: never;
479
+ $unknown?: never;
480
+ }
481
+ interface ResourceNotFoundExceptionMember {
482
+ result?: never;
483
+ accessDeniedException?: never;
484
+ conflictException?: never;
485
+ internalServerException?: never;
486
+ resourceNotFoundException: ResourceNotFoundException;
487
+ serviceQuotaExceededException?: never;
488
+ throttlingException?: never;
489
+ validationException?: never;
490
+ $unknown?: never;
491
+ }
492
+ interface ServiceQuotaExceededExceptionMember {
493
+ result?: never;
494
+ accessDeniedException?: never;
495
+ conflictException?: never;
496
+ internalServerException?: never;
497
+ resourceNotFoundException?: never;
498
+ serviceQuotaExceededException: ServiceQuotaExceededException;
499
+ throttlingException?: never;
500
+ validationException?: never;
501
+ $unknown?: never;
502
+ }
503
+ interface ThrottlingExceptionMember {
504
+ result?: never;
505
+ accessDeniedException?: never;
506
+ conflictException?: never;
507
+ internalServerException?: never;
508
+ resourceNotFoundException?: never;
509
+ serviceQuotaExceededException?: never;
510
+ throttlingException: ThrottlingException;
511
+ validationException?: never;
512
+ $unknown?: never;
513
+ }
514
+ interface ValidationExceptionMember {
515
+ result?: never;
516
+ accessDeniedException?: never;
517
+ conflictException?: never;
518
+ internalServerException?: never;
519
+ resourceNotFoundException?: never;
520
+ serviceQuotaExceededException?: never;
521
+ throttlingException?: never;
522
+ validationException: ValidationException;
523
+ $unknown?: never;
524
+ }
525
+ interface $UnknownMember {
526
+ result?: never;
527
+ accessDeniedException?: never;
528
+ conflictException?: never;
529
+ internalServerException?: never;
530
+ resourceNotFoundException?: never;
531
+ serviceQuotaExceededException?: never;
532
+ throttlingException?: never;
533
+ validationException?: never;
534
+ $unknown: [string, any];
535
+ }
536
+ interface Visitor<T> {
537
+ result: (value: CodeInterpreterResult) => T;
538
+ accessDeniedException: (value: AccessDeniedException) => T;
539
+ conflictException: (value: ConflictException) => T;
540
+ internalServerException: (value: InternalServerException) => T;
541
+ resourceNotFoundException: (value: ResourceNotFoundException) => T;
542
+ serviceQuotaExceededException: (value: ServiceQuotaExceededException) => T;
543
+ throttlingException: (value: ThrottlingException) => T;
544
+ validationException: (value: ValidationException) => T;
545
+ _: (name: string, value: any) => T;
546
+ }
547
+ const visit: <T>(
548
+ value: CodeInterpreterStreamOutput,
549
+ visitor: Visitor<T>
550
+ ) => T;
551
+ }
552
+ export interface InvokeCodeInterpreterResponse {
553
+ sessionId?: string | undefined;
554
+ stream: AsyncIterable<CodeInterpreterStreamOutput> | undefined;
555
+ }
556
+ export interface Branch {
557
+ rootEventId?: string | undefined;
558
+ name: string | undefined;
559
+ }
560
+ export type Content = Content.TextMember | Content.$UnknownMember;
561
+ export declare namespace Content {
562
+ interface TextMember {
563
+ text: string;
564
+ $unknown?: never;
565
+ }
566
+ interface $UnknownMember {
567
+ text?: never;
568
+ $unknown: [string, any];
569
+ }
570
+ interface Visitor<T> {
571
+ text: (value: string) => T;
572
+ _: (name: string, value: any) => T;
573
+ }
574
+ const visit: <T>(value: Content, visitor: Visitor<T>) => T;
575
+ }
576
+ export declare const Role: {
577
+ readonly ASSISTANT: "ASSISTANT";
578
+ readonly OTHER: "OTHER";
579
+ readonly TOOL: "TOOL";
580
+ readonly USER: "USER";
581
+ };
582
+ export type Role = (typeof Role)[keyof typeof Role];
583
+ export interface Conversational {
584
+ content: Content | undefined;
585
+ role: Role | undefined;
586
+ }
587
+ export type PayloadType =
588
+ | PayloadType.BlobMember
589
+ | PayloadType.ConversationalMember
590
+ | PayloadType.$UnknownMember;
591
+ export declare namespace PayloadType {
592
+ interface ConversationalMember {
593
+ conversational: Conversational;
594
+ blob?: never;
595
+ $unknown?: never;
596
+ }
597
+ interface BlobMember {
598
+ conversational?: never;
599
+ blob: __DocumentType;
600
+ $unknown?: never;
601
+ }
602
+ interface $UnknownMember {
603
+ conversational?: never;
604
+ blob?: never;
605
+ $unknown: [string, any];
606
+ }
607
+ interface Visitor<T> {
608
+ conversational: (value: Conversational) => T;
609
+ blob: (value: __DocumentType) => T;
610
+ _: (name: string, value: any) => T;
611
+ }
612
+ const visit: <T>(value: PayloadType, visitor: Visitor<T>) => T;
613
+ }
614
+ export interface CreateEventInput {
615
+ memoryId: string | undefined;
616
+ actorId: string | undefined;
617
+ sessionId?: string | undefined;
618
+ eventTimestamp: Date | undefined;
619
+ payload: PayloadType[] | undefined;
620
+ branch?: Branch | undefined;
621
+ clientToken?: string | undefined;
622
+ }
623
+ export interface Event {
624
+ memoryId: string | undefined;
625
+ actorId: string | undefined;
626
+ sessionId: string | undefined;
627
+ eventId: string | undefined;
628
+ eventTimestamp: Date | undefined;
629
+ payload: PayloadType[] | undefined;
630
+ branch?: Branch | undefined;
631
+ }
632
+ export interface CreateEventOutput {
633
+ event: Event | undefined;
634
+ }
635
+ export declare class InvalidInputException extends __BaseException {
636
+ readonly name: "InvalidInputException";
637
+ readonly $fault: "client";
638
+ constructor(
639
+ opts: __ExceptionOptionType<InvalidInputException, __BaseException>
640
+ );
641
+ }
642
+ export declare class ServiceException extends __BaseException {
643
+ readonly name: "ServiceException";
644
+ readonly $fault: "server";
645
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
646
+ }
647
+ export declare class ThrottledException extends __BaseException {
648
+ readonly name: "ThrottledException";
649
+ readonly $fault: "client";
650
+ constructor(opts: __ExceptionOptionType<ThrottledException, __BaseException>);
651
+ }
652
+ export interface DeleteEventInput {
653
+ memoryId: string | undefined;
654
+ sessionId: string | undefined;
655
+ eventId: string | undefined;
656
+ actorId: string | undefined;
657
+ }
658
+ export interface DeleteEventOutput {
659
+ eventId: string | undefined;
660
+ }
661
+ export interface DeleteMemoryRecordInput {
662
+ memoryId: string | undefined;
663
+ memoryRecordId: string | undefined;
664
+ }
665
+ export interface DeleteMemoryRecordOutput {
666
+ memoryRecordId: string | undefined;
667
+ }
668
+ export interface GetEventInput {
669
+ memoryId: string | undefined;
670
+ sessionId: string | undefined;
671
+ actorId: string | undefined;
672
+ eventId: string | undefined;
673
+ }
674
+ export interface GetEventOutput {
675
+ event: Event | undefined;
676
+ }
677
+ export interface GetMemoryRecordInput {
678
+ memoryId: string | undefined;
679
+ memoryRecordId: string | undefined;
680
+ }
681
+ export type MemoryContent =
682
+ | MemoryContent.TextMember
683
+ | MemoryContent.$UnknownMember;
684
+ export declare namespace MemoryContent {
685
+ interface TextMember {
686
+ text: string;
687
+ $unknown?: never;
688
+ }
689
+ interface $UnknownMember {
690
+ text?: never;
691
+ $unknown: [string, any];
692
+ }
693
+ interface Visitor<T> {
694
+ text: (value: string) => T;
695
+ _: (name: string, value: any) => T;
696
+ }
697
+ const visit: <T>(value: MemoryContent, visitor: Visitor<T>) => T;
698
+ }
699
+ export interface MemoryRecord {
700
+ memoryRecordId: string | undefined;
701
+ content: MemoryContent | undefined;
702
+ memoryStrategyId: string | undefined;
703
+ namespaces: string[] | undefined;
704
+ createdAt: Date | undefined;
705
+ }
706
+ export interface GetMemoryRecordOutput {
707
+ memoryRecord: MemoryRecord | undefined;
708
+ }
709
+ export interface ListActorsInput {
710
+ memoryId: string | undefined;
711
+ maxResults?: number | undefined;
712
+ nextToken?: string | undefined;
713
+ }
714
+ export interface ListActorsOutput {
715
+ actorSummaries: ActorSummary[] | undefined;
716
+ nextToken?: string | undefined;
717
+ }
718
+ export interface BranchFilter {
719
+ name: string | undefined;
720
+ includeParentBranches?: boolean | undefined;
721
+ }
722
+ export interface FilterInput {
723
+ branch?: BranchFilter | undefined;
724
+ }
725
+ export interface ListEventsInput {
726
+ memoryId: string | undefined;
727
+ sessionId: string | undefined;
728
+ actorId: string | undefined;
729
+ includePayloads?: boolean | undefined;
730
+ filter?: FilterInput | undefined;
731
+ maxResults?: number | undefined;
732
+ nextToken?: string | undefined;
733
+ }
734
+ export interface ListEventsOutput {
735
+ events: Event[] | undefined;
736
+ nextToken?: string | undefined;
737
+ }
738
+ export interface ListMemoryRecordsInput {
739
+ memoryId: string | undefined;
740
+ namespace: string | undefined;
741
+ memoryStrategyId?: string | undefined;
742
+ maxResults?: number | undefined;
743
+ nextToken?: string | undefined;
744
+ }
745
+ export interface MemoryRecordSummary {
746
+ memoryRecordId: string | undefined;
747
+ content: MemoryContent | undefined;
748
+ memoryStrategyId: string | undefined;
749
+ namespaces: string[] | undefined;
750
+ createdAt: Date | undefined;
751
+ score?: number | undefined;
752
+ }
753
+ export interface ListMemoryRecordsOutput {
754
+ memoryRecordSummaries: MemoryRecordSummary[] | undefined;
755
+ nextToken?: string | undefined;
756
+ }
757
+ export interface ListSessionsInput {
758
+ memoryId: string | undefined;
759
+ actorId: string | undefined;
760
+ maxResults?: number | undefined;
761
+ nextToken?: string | undefined;
762
+ }
763
+ export interface SessionSummary {
764
+ sessionId: string | undefined;
765
+ actorId: string | undefined;
766
+ createdAt: Date | undefined;
767
+ }
768
+ export interface ListSessionsOutput {
769
+ sessionSummaries: SessionSummary[] | undefined;
770
+ nextToken?: string | undefined;
771
+ }
772
+ export interface SearchCriteria {
773
+ searchQuery: string | undefined;
774
+ memoryStrategyId?: string | undefined;
775
+ topK?: number | undefined;
776
+ }
777
+ export interface RetrieveMemoryRecordsInput {
778
+ memoryId: string | undefined;
779
+ namespace: string | undefined;
780
+ searchCriteria: SearchCriteria | undefined;
781
+ nextToken?: string | undefined;
782
+ maxResults?: number | undefined;
783
+ }
784
+ export interface RetrieveMemoryRecordsOutput {
785
+ memoryRecordSummaries: MemoryRecordSummary[] | undefined;
786
+ nextToken?: string | undefined;
787
+ }
788
+ export declare const InvokeAgentRuntimeRequestFilterSensitiveLog: (
789
+ obj: InvokeAgentRuntimeRequest
790
+ ) => any;
791
+ export declare const InvokeAgentRuntimeResponseFilterSensitiveLog: (
792
+ obj: InvokeAgentRuntimeResponse
793
+ ) => any;
794
+ export declare const GetResourceApiKeyRequestFilterSensitiveLog: (
795
+ obj: GetResourceApiKeyRequest
796
+ ) => any;
797
+ export declare const GetResourceApiKeyResponseFilterSensitiveLog: (
798
+ obj: GetResourceApiKeyResponse
799
+ ) => any;
800
+ export declare const GetResourceOauth2TokenRequestFilterSensitiveLog: (
801
+ obj: GetResourceOauth2TokenRequest
802
+ ) => any;
803
+ export declare const GetResourceOauth2TokenResponseFilterSensitiveLog: (
804
+ obj: GetResourceOauth2TokenResponse
805
+ ) => any;
806
+ export declare const GetWorkloadAccessTokenResponseFilterSensitiveLog: (
807
+ obj: GetWorkloadAccessTokenResponse
808
+ ) => any;
809
+ export declare const GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog: (
810
+ obj: GetWorkloadAccessTokenForJWTRequest
811
+ ) => any;
812
+ export declare const GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog: (
813
+ obj: GetWorkloadAccessTokenForJWTResponse
814
+ ) => any;
815
+ export declare const GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog: (
816
+ obj: GetWorkloadAccessTokenForUserIdResponse
817
+ ) => any;
818
+ export declare const InputContentBlockFilterSensitiveLog: (
819
+ obj: InputContentBlock
820
+ ) => any;
821
+ export declare const ToolArgumentsFilterSensitiveLog: (
822
+ obj: ToolArguments
823
+ ) => any;
824
+ export declare const InvokeCodeInterpreterRequestFilterSensitiveLog: (
825
+ obj: InvokeCodeInterpreterRequest
826
+ ) => any;
827
+ export declare const CodeInterpreterStreamOutputFilterSensitiveLog: (
828
+ obj: CodeInterpreterStreamOutput
829
+ ) => any;
830
+ export declare const InvokeCodeInterpreterResponseFilterSensitiveLog: (
831
+ obj: InvokeCodeInterpreterResponse
832
+ ) => any;
833
+ export declare const ContentFilterSensitiveLog: (obj: Content) => any;
834
+ export declare const ConversationalFilterSensitiveLog: (
835
+ obj: Conversational
836
+ ) => any;
837
+ export declare const PayloadTypeFilterSensitiveLog: (obj: PayloadType) => any;
838
+ export declare const CreateEventInputFilterSensitiveLog: (
839
+ obj: CreateEventInput
840
+ ) => any;
841
+ export declare const EventFilterSensitiveLog: (obj: Event) => any;
842
+ export declare const CreateEventOutputFilterSensitiveLog: (
843
+ obj: CreateEventOutput
844
+ ) => any;
845
+ export declare const GetEventOutputFilterSensitiveLog: (
846
+ obj: GetEventOutput
847
+ ) => any;
848
+ export declare const MemoryContentFilterSensitiveLog: (
849
+ obj: MemoryContent
850
+ ) => any;
851
+ export declare const MemoryRecordFilterSensitiveLog: (obj: MemoryRecord) => any;
852
+ export declare const GetMemoryRecordOutputFilterSensitiveLog: (
853
+ obj: GetMemoryRecordOutput
854
+ ) => any;
855
+ export declare const ListEventsOutputFilterSensitiveLog: (
856
+ obj: ListEventsOutput
857
+ ) => any;
858
+ export declare const MemoryRecordSummaryFilterSensitiveLog: (
859
+ obj: MemoryRecordSummary
860
+ ) => any;
861
+ export declare const ListMemoryRecordsOutputFilterSensitiveLog: (
862
+ obj: ListMemoryRecordsOutput
863
+ ) => any;
864
+ export declare const SearchCriteriaFilterSensitiveLog: (
865
+ obj: SearchCriteria
866
+ ) => any;
867
+ export declare const RetrieveMemoryRecordsInputFilterSensitiveLog: (
868
+ obj: RetrieveMemoryRecordsInput
869
+ ) => any;
870
+ export declare const RetrieveMemoryRecordsOutputFilterSensitiveLog: (
871
+ obj: RetrieveMemoryRecordsOutput
872
+ ) => any;