@aws-sdk/client-opensearchmemory 0.0.0-stage → 3.1170.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 (157) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +320 -2
  3. package/dist-cjs/index.js +1550 -0
  4. package/dist-es/OpenSearchMemory.js +65 -0
  5. package/dist-es/OpenSearchMemoryClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +9 -0
  9. package/dist-es/commands/BatchGetEventCommand.js +4 -0
  10. package/dist-es/commands/CreateEventCommand.js +4 -0
  11. package/dist-es/commands/CreateMemoryCommand.js +4 -0
  12. package/dist-es/commands/CreateSpaceCommand.js +4 -0
  13. package/dist-es/commands/DeleteEventCommand.js +4 -0
  14. package/dist-es/commands/DeleteMemoryCommand.js +4 -0
  15. package/dist-es/commands/DeleteSpaceCommand.js +4 -0
  16. package/dist-es/commands/GetEventCommand.js +4 -0
  17. package/dist-es/commands/GetMemoryCommand.js +4 -0
  18. package/dist-es/commands/GetSpaceCommand.js +4 -0
  19. package/dist-es/commands/ListEventsCommand.js +4 -0
  20. package/dist-es/commands/ListMemoriesCommand.js +4 -0
  21. package/dist-es/commands/ListSpacesCommand.js +4 -0
  22. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  23. package/dist-es/commands/SearchEventsCommand.js +4 -0
  24. package/dist-es/commands/SearchMemoriesCommand.js +4 -0
  25. package/dist-es/commands/TagResourceCommand.js +4 -0
  26. package/dist-es/commands/UntagResourceCommand.js +4 -0
  27. package/dist-es/commands/UpdateMemoryCommand.js +4 -0
  28. package/dist-es/commands/UpdateSpaceCommand.js +4 -0
  29. package/dist-es/commands/index.js +20 -0
  30. package/dist-es/endpoint/EndpointParameters.js +11 -0
  31. package/dist-es/endpoint/bdd.js +33 -0
  32. package/dist-es/endpoint/endpointResolver.js +14 -0
  33. package/dist-es/extensionConfiguration.js +1 -0
  34. package/dist-es/index.js +11 -0
  35. package/dist-es/models/OpenSearchMemoryServiceException.js +9 -0
  36. package/dist-es/models/enums.js +61 -0
  37. package/dist-es/models/errors.js +114 -0
  38. package/dist-es/models/models_0.js +1 -0
  39. package/dist-es/pagination/Interfaces.js +1 -0
  40. package/dist-es/pagination/ListEventsPaginator.js +4 -0
  41. package/dist-es/pagination/ListMemoriesPaginator.js +4 -0
  42. package/dist-es/pagination/ListSpacesPaginator.js +4 -0
  43. package/dist-es/pagination/SearchEventsPaginator.js +4 -0
  44. package/dist-es/pagination/SearchMemoriesPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +6 -0
  46. package/dist-es/runtimeConfig.browser.js +29 -0
  47. package/dist-es/runtimeConfig.js +44 -0
  48. package/dist-es/runtimeConfig.native.js +9 -0
  49. package/dist-es/runtimeConfig.shared.js +40 -0
  50. package/dist-es/runtimeExtensions.js +9 -0
  51. package/dist-es/schemas/schemas_0.js +720 -0
  52. package/dist-es/waiters/index.js +2 -0
  53. package/dist-es/waiters/waitForSpaceActive.js +79 -0
  54. package/dist-es/waiters/waitForSpaceDeleted.js +52 -0
  55. package/dist-types/OpenSearchMemory.d.ts +206 -0
  56. package/dist-types/OpenSearchMemoryClient.d.ts +207 -0
  57. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  58. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  59. package/dist-types/commandBuilder.d.ts +22 -0
  60. package/dist-types/commands/BatchGetEventCommand.d.ts +140 -0
  61. package/dist-types/commands/CreateEventCommand.d.ts +134 -0
  62. package/dist-types/commands/CreateMemoryCommand.d.ts +103 -0
  63. package/dist-types/commands/CreateSpaceCommand.d.ts +122 -0
  64. package/dist-types/commands/DeleteEventCommand.d.ts +89 -0
  65. package/dist-types/commands/DeleteMemoryCommand.d.ts +89 -0
  66. package/dist-types/commands/DeleteSpaceCommand.d.ts +90 -0
  67. package/dist-types/commands/GetEventCommand.d.ts +129 -0
  68. package/dist-types/commands/GetMemoryCommand.d.ts +103 -0
  69. package/dist-types/commands/GetSpaceCommand.d.ts +113 -0
  70. package/dist-types/commands/ListEventsCommand.d.ts +105 -0
  71. package/dist-types/commands/ListMemoriesCommand.d.ts +120 -0
  72. package/dist-types/commands/ListSpacesCommand.d.ts +93 -0
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  74. package/dist-types/commands/SearchEventsCommand.d.ts +110 -0
  75. package/dist-types/commands/SearchMemoriesCommand.d.ts +120 -0
  76. package/dist-types/commands/TagResourceCommand.d.ts +90 -0
  77. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  78. package/dist-types/commands/UpdateMemoryCommand.d.ts +111 -0
  79. package/dist-types/commands/UpdateSpaceCommand.d.ts +112 -0
  80. package/dist-types/commands/index.d.ts +20 -0
  81. package/dist-types/endpoint/EndpointParameters.d.ts +45 -0
  82. package/dist-types/endpoint/bdd.d.ts +2 -0
  83. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  84. package/dist-types/extensionConfiguration.d.ts +9 -0
  85. package/dist-types/index.d.ts +19 -0
  86. package/dist-types/models/OpenSearchMemoryServiceException.d.ts +15 -0
  87. package/dist-types/models/enums.d.ts +258 -0
  88. package/dist-types/models/errors.d.ts +144 -0
  89. package/dist-types/models/models_0.d.ts +1629 -0
  90. package/dist-types/pagination/Interfaces.d.ts +8 -0
  91. package/dist-types/pagination/ListEventsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/ListMemoriesPaginator.d.ts +7 -0
  93. package/dist-types/pagination/ListSpacesPaginator.d.ts +7 -0
  94. package/dist-types/pagination/SearchEventsPaginator.d.ts +7 -0
  95. package/dist-types/pagination/SearchMemoriesPaginator.d.ts +7 -0
  96. package/dist-types/pagination/index.d.ts +6 -0
  97. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  98. package/dist-types/runtimeConfig.d.ts +58 -0
  99. package/dist-types/runtimeConfig.native.d.ts +56 -0
  100. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  101. package/dist-types/runtimeExtensions.d.ts +17 -0
  102. package/dist-types/schemas/schemas_0.d.ts +105 -0
  103. package/dist-types/ts3.4/OpenSearchMemory.d.ts +371 -0
  104. package/dist-types/ts3.4/OpenSearchMemoryClient.d.ts +190 -0
  105. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  106. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  107. package/dist-types/ts3.4/commandBuilder.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/BatchGetEventCommand.d.ts +38 -0
  109. package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +38 -0
  111. package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +38 -0
  112. package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +38 -0
  113. package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +38 -0
  114. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +38 -0
  115. package/dist-types/ts3.4/commands/GetEventCommand.d.ts +38 -0
  116. package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/GetSpaceCommand.d.ts +38 -0
  118. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +38 -0
  119. package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +38 -0
  120. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +38 -0
  121. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  122. package/dist-types/ts3.4/commands/SearchEventsCommand.d.ts +38 -0
  123. package/dist-types/ts3.4/commands/SearchMemoriesCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +38 -0
  127. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  129. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +46 -0
  130. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  131. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  132. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  133. package/dist-types/ts3.4/index.d.ts +14 -0
  134. package/dist-types/ts3.4/models/OpenSearchMemoryServiceException.d.ts +10 -0
  135. package/dist-types/ts3.4/models/enums.d.ts +73 -0
  136. package/dist-types/ts3.4/models/errors.d.ts +59 -0
  137. package/dist-types/ts3.4/models/models_0.d.ts +459 -0
  138. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  139. package/dist-types/ts3.4/pagination/ListEventsPaginator.d.ts +8 -0
  140. package/dist-types/ts3.4/pagination/ListMemoriesPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +8 -0
  142. package/dist-types/ts3.4/pagination/SearchEventsPaginator.d.ts +11 -0
  143. package/dist-types/ts3.4/pagination/SearchMemoriesPaginator.d.ts +11 -0
  144. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  145. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  146. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  147. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  148. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  149. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  150. package/dist-types/ts3.4/schemas/schemas_0.d.ts +105 -0
  151. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  152. package/dist-types/ts3.4/waiters/waitForSpaceActive.d.ts +12 -0
  153. package/dist-types/ts3.4/waiters/waitForSpaceDeleted.d.ts +13 -0
  154. package/dist-types/waiters/index.d.ts +2 -0
  155. package/dist-types/waiters/waitForSpaceActive.d.ts +15 -0
  156. package/dist-types/waiters/waitForSpaceDeleted.d.ts +16 -0
  157. package/package.json +67 -4
@@ -0,0 +1,371 @@
1
+ import { WaiterResult } from "@smithy/core/client";
2
+ import {
3
+ HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
5
+ PaginationConfiguration,
6
+ Paginator,
7
+ WaiterConfiguration,
8
+ } from "@smithy/types";
9
+ import {
10
+ BatchGetEventCommandInput,
11
+ BatchGetEventCommandOutput,
12
+ } from "./commands/BatchGetEventCommand";
13
+ import { CreateEventCommandInput, CreateEventCommandOutput } from "./commands/CreateEventCommand";
14
+ import {
15
+ CreateMemoryCommandInput,
16
+ CreateMemoryCommandOutput,
17
+ } from "./commands/CreateMemoryCommand";
18
+ import { CreateSpaceCommandInput, CreateSpaceCommandOutput } from "./commands/CreateSpaceCommand";
19
+ import { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
20
+ import {
21
+ DeleteMemoryCommandInput,
22
+ DeleteMemoryCommandOutput,
23
+ } from "./commands/DeleteMemoryCommand";
24
+ import { DeleteSpaceCommandInput, DeleteSpaceCommandOutput } from "./commands/DeleteSpaceCommand";
25
+ import { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
26
+ import { GetMemoryCommandInput, GetMemoryCommandOutput } from "./commands/GetMemoryCommand";
27
+ import { GetSpaceCommandInput, GetSpaceCommandOutput } from "./commands/GetSpaceCommand";
28
+ import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
29
+ import {
30
+ ListMemoriesCommandInput,
31
+ ListMemoriesCommandOutput,
32
+ } from "./commands/ListMemoriesCommand";
33
+ import { ListSpacesCommandInput, ListSpacesCommandOutput } from "./commands/ListSpacesCommand";
34
+ import {
35
+ ListTagsForResourceCommandInput,
36
+ ListTagsForResourceCommandOutput,
37
+ } from "./commands/ListTagsForResourceCommand";
38
+ import {
39
+ SearchEventsCommandInput,
40
+ SearchEventsCommandOutput,
41
+ } from "./commands/SearchEventsCommand";
42
+ import {
43
+ SearchMemoriesCommandInput,
44
+ SearchMemoriesCommandOutput,
45
+ } from "./commands/SearchMemoriesCommand";
46
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
47
+ import {
48
+ UntagResourceCommandInput,
49
+ UntagResourceCommandOutput,
50
+ } from "./commands/UntagResourceCommand";
51
+ import {
52
+ UpdateMemoryCommandInput,
53
+ UpdateMemoryCommandOutput,
54
+ } from "./commands/UpdateMemoryCommand";
55
+ import { UpdateSpaceCommandInput, UpdateSpaceCommandOutput } from "./commands/UpdateSpaceCommand";
56
+ import { ResourceNotFoundException } from "./models/errors";
57
+ import { OpenSearchMemoryClient } from "./OpenSearchMemoryClient";
58
+ export interface OpenSearchMemoryRequestOptions extends __HttpHandlerOptions {
59
+ metricsRecorder?: __MetricsRecorder<unknown>;
60
+ }
61
+ export interface OpenSearchMemory {
62
+ batchGetEvent(
63
+ args: BatchGetEventCommandInput,
64
+ options?: OpenSearchMemoryRequestOptions,
65
+ ): Promise<BatchGetEventCommandOutput>;
66
+ batchGetEvent(
67
+ args: BatchGetEventCommandInput,
68
+ cb: (err: any, data?: BatchGetEventCommandOutput) => void,
69
+ ): void;
70
+ batchGetEvent(
71
+ args: BatchGetEventCommandInput,
72
+ options: OpenSearchMemoryRequestOptions,
73
+ cb: (err: any, data?: BatchGetEventCommandOutput) => void,
74
+ ): void;
75
+ createEvent(
76
+ args: CreateEventCommandInput,
77
+ options?: OpenSearchMemoryRequestOptions,
78
+ ): Promise<CreateEventCommandOutput>;
79
+ createEvent(
80
+ args: CreateEventCommandInput,
81
+ cb: (err: any, data?: CreateEventCommandOutput) => void,
82
+ ): void;
83
+ createEvent(
84
+ args: CreateEventCommandInput,
85
+ options: OpenSearchMemoryRequestOptions,
86
+ cb: (err: any, data?: CreateEventCommandOutput) => void,
87
+ ): void;
88
+ createMemory(
89
+ args: CreateMemoryCommandInput,
90
+ options?: OpenSearchMemoryRequestOptions,
91
+ ): Promise<CreateMemoryCommandOutput>;
92
+ createMemory(
93
+ args: CreateMemoryCommandInput,
94
+ cb: (err: any, data?: CreateMemoryCommandOutput) => void,
95
+ ): void;
96
+ createMemory(
97
+ args: CreateMemoryCommandInput,
98
+ options: OpenSearchMemoryRequestOptions,
99
+ cb: (err: any, data?: CreateMemoryCommandOutput) => void,
100
+ ): void;
101
+ createSpace(
102
+ args: CreateSpaceCommandInput,
103
+ options?: OpenSearchMemoryRequestOptions,
104
+ ): Promise<CreateSpaceCommandOutput>;
105
+ createSpace(
106
+ args: CreateSpaceCommandInput,
107
+ cb: (err: any, data?: CreateSpaceCommandOutput) => void,
108
+ ): void;
109
+ createSpace(
110
+ args: CreateSpaceCommandInput,
111
+ options: OpenSearchMemoryRequestOptions,
112
+ cb: (err: any, data?: CreateSpaceCommandOutput) => void,
113
+ ): void;
114
+ deleteEvent(
115
+ args: DeleteEventCommandInput,
116
+ options?: OpenSearchMemoryRequestOptions,
117
+ ): Promise<DeleteEventCommandOutput>;
118
+ deleteEvent(
119
+ args: DeleteEventCommandInput,
120
+ cb: (err: any, data?: DeleteEventCommandOutput) => void,
121
+ ): void;
122
+ deleteEvent(
123
+ args: DeleteEventCommandInput,
124
+ options: OpenSearchMemoryRequestOptions,
125
+ cb: (err: any, data?: DeleteEventCommandOutput) => void,
126
+ ): void;
127
+ deleteMemory(
128
+ args: DeleteMemoryCommandInput,
129
+ options?: OpenSearchMemoryRequestOptions,
130
+ ): Promise<DeleteMemoryCommandOutput>;
131
+ deleteMemory(
132
+ args: DeleteMemoryCommandInput,
133
+ cb: (err: any, data?: DeleteMemoryCommandOutput) => void,
134
+ ): void;
135
+ deleteMemory(
136
+ args: DeleteMemoryCommandInput,
137
+ options: OpenSearchMemoryRequestOptions,
138
+ cb: (err: any, data?: DeleteMemoryCommandOutput) => void,
139
+ ): void;
140
+ deleteSpace(
141
+ args: DeleteSpaceCommandInput,
142
+ options?: OpenSearchMemoryRequestOptions,
143
+ ): Promise<DeleteSpaceCommandOutput>;
144
+ deleteSpace(
145
+ args: DeleteSpaceCommandInput,
146
+ cb: (err: any, data?: DeleteSpaceCommandOutput) => void,
147
+ ): void;
148
+ deleteSpace(
149
+ args: DeleteSpaceCommandInput,
150
+ options: OpenSearchMemoryRequestOptions,
151
+ cb: (err: any, data?: DeleteSpaceCommandOutput) => void,
152
+ ): void;
153
+ getEvent(
154
+ args: GetEventCommandInput,
155
+ options?: OpenSearchMemoryRequestOptions,
156
+ ): Promise<GetEventCommandOutput>;
157
+ getEvent(args: GetEventCommandInput, cb: (err: any, data?: GetEventCommandOutput) => void): void;
158
+ getEvent(
159
+ args: GetEventCommandInput,
160
+ options: OpenSearchMemoryRequestOptions,
161
+ cb: (err: any, data?: GetEventCommandOutput) => void,
162
+ ): void;
163
+ getMemory(
164
+ args: GetMemoryCommandInput,
165
+ options?: OpenSearchMemoryRequestOptions,
166
+ ): Promise<GetMemoryCommandOutput>;
167
+ getMemory(
168
+ args: GetMemoryCommandInput,
169
+ cb: (err: any, data?: GetMemoryCommandOutput) => void,
170
+ ): void;
171
+ getMemory(
172
+ args: GetMemoryCommandInput,
173
+ options: OpenSearchMemoryRequestOptions,
174
+ cb: (err: any, data?: GetMemoryCommandOutput) => void,
175
+ ): void;
176
+ getSpace(
177
+ args: GetSpaceCommandInput,
178
+ options?: OpenSearchMemoryRequestOptions,
179
+ ): Promise<GetSpaceCommandOutput>;
180
+ getSpace(args: GetSpaceCommandInput, cb: (err: any, data?: GetSpaceCommandOutput) => void): void;
181
+ getSpace(
182
+ args: GetSpaceCommandInput,
183
+ options: OpenSearchMemoryRequestOptions,
184
+ cb: (err: any, data?: GetSpaceCommandOutput) => void,
185
+ ): void;
186
+ listEvents(
187
+ args: ListEventsCommandInput,
188
+ options?: OpenSearchMemoryRequestOptions,
189
+ ): Promise<ListEventsCommandOutput>;
190
+ listEvents(
191
+ args: ListEventsCommandInput,
192
+ cb: (err: any, data?: ListEventsCommandOutput) => void,
193
+ ): void;
194
+ listEvents(
195
+ args: ListEventsCommandInput,
196
+ options: OpenSearchMemoryRequestOptions,
197
+ cb: (err: any, data?: ListEventsCommandOutput) => void,
198
+ ): void;
199
+ listMemories(
200
+ args: ListMemoriesCommandInput,
201
+ options?: OpenSearchMemoryRequestOptions,
202
+ ): Promise<ListMemoriesCommandOutput>;
203
+ listMemories(
204
+ args: ListMemoriesCommandInput,
205
+ cb: (err: any, data?: ListMemoriesCommandOutput) => void,
206
+ ): void;
207
+ listMemories(
208
+ args: ListMemoriesCommandInput,
209
+ options: OpenSearchMemoryRequestOptions,
210
+ cb: (err: any, data?: ListMemoriesCommandOutput) => void,
211
+ ): void;
212
+ listSpaces(): Promise<ListSpacesCommandOutput>;
213
+ listSpaces(
214
+ args: ListSpacesCommandInput,
215
+ options?: OpenSearchMemoryRequestOptions,
216
+ ): Promise<ListSpacesCommandOutput>;
217
+ listSpaces(
218
+ args: ListSpacesCommandInput,
219
+ cb: (err: any, data?: ListSpacesCommandOutput) => void,
220
+ ): void;
221
+ listSpaces(
222
+ args: ListSpacesCommandInput,
223
+ options: OpenSearchMemoryRequestOptions,
224
+ cb: (err: any, data?: ListSpacesCommandOutput) => void,
225
+ ): void;
226
+ listTagsForResource(
227
+ args: ListTagsForResourceCommandInput,
228
+ options?: OpenSearchMemoryRequestOptions,
229
+ ): Promise<ListTagsForResourceCommandOutput>;
230
+ listTagsForResource(
231
+ args: ListTagsForResourceCommandInput,
232
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
233
+ ): void;
234
+ listTagsForResource(
235
+ args: ListTagsForResourceCommandInput,
236
+ options: OpenSearchMemoryRequestOptions,
237
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
238
+ ): void;
239
+ searchEvents(
240
+ args: SearchEventsCommandInput,
241
+ options?: OpenSearchMemoryRequestOptions,
242
+ ): Promise<SearchEventsCommandOutput>;
243
+ searchEvents(
244
+ args: SearchEventsCommandInput,
245
+ cb: (err: any, data?: SearchEventsCommandOutput) => void,
246
+ ): void;
247
+ searchEvents(
248
+ args: SearchEventsCommandInput,
249
+ options: OpenSearchMemoryRequestOptions,
250
+ cb: (err: any, data?: SearchEventsCommandOutput) => void,
251
+ ): void;
252
+ searchMemories(
253
+ args: SearchMemoriesCommandInput,
254
+ options?: OpenSearchMemoryRequestOptions,
255
+ ): Promise<SearchMemoriesCommandOutput>;
256
+ searchMemories(
257
+ args: SearchMemoriesCommandInput,
258
+ cb: (err: any, data?: SearchMemoriesCommandOutput) => void,
259
+ ): void;
260
+ searchMemories(
261
+ args: SearchMemoriesCommandInput,
262
+ options: OpenSearchMemoryRequestOptions,
263
+ cb: (err: any, data?: SearchMemoriesCommandOutput) => void,
264
+ ): void;
265
+ tagResource(
266
+ args: TagResourceCommandInput,
267
+ options?: OpenSearchMemoryRequestOptions,
268
+ ): Promise<TagResourceCommandOutput>;
269
+ tagResource(
270
+ args: TagResourceCommandInput,
271
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
272
+ ): void;
273
+ tagResource(
274
+ args: TagResourceCommandInput,
275
+ options: OpenSearchMemoryRequestOptions,
276
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
277
+ ): void;
278
+ untagResource(
279
+ args: UntagResourceCommandInput,
280
+ options?: OpenSearchMemoryRequestOptions,
281
+ ): Promise<UntagResourceCommandOutput>;
282
+ untagResource(
283
+ args: UntagResourceCommandInput,
284
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
285
+ ): void;
286
+ untagResource(
287
+ args: UntagResourceCommandInput,
288
+ options: OpenSearchMemoryRequestOptions,
289
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
290
+ ): void;
291
+ updateMemory(
292
+ args: UpdateMemoryCommandInput,
293
+ options?: OpenSearchMemoryRequestOptions,
294
+ ): Promise<UpdateMemoryCommandOutput>;
295
+ updateMemory(
296
+ args: UpdateMemoryCommandInput,
297
+ cb: (err: any, data?: UpdateMemoryCommandOutput) => void,
298
+ ): void;
299
+ updateMemory(
300
+ args: UpdateMemoryCommandInput,
301
+ options: OpenSearchMemoryRequestOptions,
302
+ cb: (err: any, data?: UpdateMemoryCommandOutput) => void,
303
+ ): void;
304
+ updateSpace(
305
+ args: UpdateSpaceCommandInput,
306
+ options?: OpenSearchMemoryRequestOptions,
307
+ ): Promise<UpdateSpaceCommandOutput>;
308
+ updateSpace(
309
+ args: UpdateSpaceCommandInput,
310
+ cb: (err: any, data?: UpdateSpaceCommandOutput) => void,
311
+ ): void;
312
+ updateSpace(
313
+ args: UpdateSpaceCommandInput,
314
+ options: OpenSearchMemoryRequestOptions,
315
+ cb: (err: any, data?: UpdateSpaceCommandOutput) => void,
316
+ ): void;
317
+ paginateListEvents(
318
+ args: ListEventsCommandInput,
319
+ paginationConfig?: Pick<
320
+ PaginationConfiguration,
321
+ Exclude<keyof PaginationConfiguration, "client">
322
+ >,
323
+ ): Paginator<ListEventsCommandOutput>;
324
+ paginateListMemories(
325
+ args: ListMemoriesCommandInput,
326
+ paginationConfig?: Pick<
327
+ PaginationConfiguration,
328
+ Exclude<keyof PaginationConfiguration, "client">
329
+ >,
330
+ ): Paginator<ListMemoriesCommandOutput>;
331
+ paginateListSpaces(
332
+ args?: ListSpacesCommandInput,
333
+ paginationConfig?: Pick<
334
+ PaginationConfiguration,
335
+ Exclude<keyof PaginationConfiguration, "client">
336
+ >,
337
+ ): Paginator<ListSpacesCommandOutput>;
338
+ paginateSearchEvents(
339
+ args: SearchEventsCommandInput,
340
+ paginationConfig?: Pick<
341
+ PaginationConfiguration,
342
+ Exclude<keyof PaginationConfiguration, "client">
343
+ >,
344
+ ): Paginator<SearchEventsCommandOutput>;
345
+ paginateSearchMemories(
346
+ args: SearchMemoriesCommandInput,
347
+ paginationConfig?: Pick<
348
+ PaginationConfiguration,
349
+ Exclude<keyof PaginationConfiguration, "client">
350
+ >,
351
+ ): Paginator<SearchMemoriesCommandOutput>;
352
+ waitUntilSpaceActive(
353
+ args: GetSpaceCommandInput,
354
+ waiterConfig:
355
+ | number
356
+ | Pick<
357
+ WaiterConfiguration<OpenSearchMemory>,
358
+ Exclude<keyof WaiterConfiguration<OpenSearchMemory>, "client">
359
+ >,
360
+ ): Promise<WaiterResult<GetSpaceCommandOutput>>;
361
+ waitUntilSpaceDeleted(
362
+ args: GetSpaceCommandInput,
363
+ waiterConfig:
364
+ | number
365
+ | Pick<
366
+ WaiterConfiguration<OpenSearchMemory>,
367
+ Exclude<keyof WaiterConfiguration<OpenSearchMemory>, "client">
368
+ >,
369
+ ): Promise<WaiterResult<GetSpaceCommandOutput | ResourceNotFoundException>>;
370
+ }
371
+ export declare class OpenSearchMemory extends OpenSearchMemoryClient implements OpenSearchMemory {}
@@ -0,0 +1,190 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ UserAgentInputConfig,
5
+ UserAgentResolvedConfig,
6
+ } from "@aws-sdk/core/client";
7
+ import {
8
+ DefaultsMode as __DefaultsMode,
9
+ SmithyConfiguration as __SmithyConfiguration,
10
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
11
+ Client as __Client,
12
+ } from "@smithy/core/client";
13
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
15
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
16
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
17
+ import {
18
+ AwsCredentialIdentityProvider,
19
+ BodyLengthCalculator as __BodyLengthCalculator,
20
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
21
+ ChecksumConstructor as __ChecksumConstructor,
22
+ Decoder as __Decoder,
23
+ Encoder as __Encoder,
24
+ HashConstructor as __HashConstructor,
25
+ HttpHandlerOptions as __HttpHandlerOptions,
26
+ Logger as __Logger,
27
+ Provider as __Provider,
28
+ StreamCollector as __StreamCollector,
29
+ UrlParser as __UrlParser,
30
+ UserAgent as __UserAgent,
31
+ } from "@smithy/types";
32
+ import {
33
+ HttpAuthSchemeInputConfig,
34
+ HttpAuthSchemeResolvedConfig,
35
+ } from "./auth/httpAuthSchemeProvider";
36
+ import {
37
+ BatchGetEventCommandInput,
38
+ BatchGetEventCommandOutput,
39
+ } from "./commands/BatchGetEventCommand";
40
+ import { CreateEventCommandInput, CreateEventCommandOutput } from "./commands/CreateEventCommand";
41
+ import {
42
+ CreateMemoryCommandInput,
43
+ CreateMemoryCommandOutput,
44
+ } from "./commands/CreateMemoryCommand";
45
+ import { CreateSpaceCommandInput, CreateSpaceCommandOutput } from "./commands/CreateSpaceCommand";
46
+ import { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
47
+ import {
48
+ DeleteMemoryCommandInput,
49
+ DeleteMemoryCommandOutput,
50
+ } from "./commands/DeleteMemoryCommand";
51
+ import { DeleteSpaceCommandInput, DeleteSpaceCommandOutput } from "./commands/DeleteSpaceCommand";
52
+ import { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
53
+ import { GetMemoryCommandInput, GetMemoryCommandOutput } from "./commands/GetMemoryCommand";
54
+ import { GetSpaceCommandInput, GetSpaceCommandOutput } from "./commands/GetSpaceCommand";
55
+ import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
56
+ import {
57
+ ListMemoriesCommandInput,
58
+ ListMemoriesCommandOutput,
59
+ } from "./commands/ListMemoriesCommand";
60
+ import { ListSpacesCommandInput, ListSpacesCommandOutput } from "./commands/ListSpacesCommand";
61
+ import {
62
+ ListTagsForResourceCommandInput,
63
+ ListTagsForResourceCommandOutput,
64
+ } from "./commands/ListTagsForResourceCommand";
65
+ import {
66
+ SearchEventsCommandInput,
67
+ SearchEventsCommandOutput,
68
+ } from "./commands/SearchEventsCommand";
69
+ import {
70
+ SearchMemoriesCommandInput,
71
+ SearchMemoriesCommandOutput,
72
+ } from "./commands/SearchMemoriesCommand";
73
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
74
+ import {
75
+ UntagResourceCommandInput,
76
+ UntagResourceCommandOutput,
77
+ } from "./commands/UntagResourceCommand";
78
+ import {
79
+ UpdateMemoryCommandInput,
80
+ UpdateMemoryCommandOutput,
81
+ } from "./commands/UpdateMemoryCommand";
82
+ import { UpdateSpaceCommandInput, UpdateSpaceCommandOutput } from "./commands/UpdateSpaceCommand";
83
+ import {
84
+ ClientInputEndpointParameters,
85
+ ClientResolvedEndpointParameters,
86
+ EndpointParameters,
87
+ } from "./endpoint/EndpointParameters";
88
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
89
+ export { __Client };
90
+ export type ServiceInputTypes =
91
+ | BatchGetEventCommandInput
92
+ | CreateEventCommandInput
93
+ | CreateMemoryCommandInput
94
+ | CreateSpaceCommandInput
95
+ | DeleteEventCommandInput
96
+ | DeleteMemoryCommandInput
97
+ | DeleteSpaceCommandInput
98
+ | GetEventCommandInput
99
+ | GetMemoryCommandInput
100
+ | GetSpaceCommandInput
101
+ | ListEventsCommandInput
102
+ | ListMemoriesCommandInput
103
+ | ListSpacesCommandInput
104
+ | ListTagsForResourceCommandInput
105
+ | SearchEventsCommandInput
106
+ | SearchMemoriesCommandInput
107
+ | TagResourceCommandInput
108
+ | UntagResourceCommandInput
109
+ | UpdateMemoryCommandInput
110
+ | UpdateSpaceCommandInput;
111
+ export type ServiceOutputTypes =
112
+ | BatchGetEventCommandOutput
113
+ | CreateEventCommandOutput
114
+ | CreateMemoryCommandOutput
115
+ | CreateSpaceCommandOutput
116
+ | DeleteEventCommandOutput
117
+ | DeleteMemoryCommandOutput
118
+ | DeleteSpaceCommandOutput
119
+ | GetEventCommandOutput
120
+ | GetMemoryCommandOutput
121
+ | GetSpaceCommandOutput
122
+ | ListEventsCommandOutput
123
+ | ListMemoriesCommandOutput
124
+ | ListSpacesCommandOutput
125
+ | ListTagsForResourceCommandOutput
126
+ | SearchEventsCommandOutput
127
+ | SearchMemoriesCommandOutput
128
+ | TagResourceCommandOutput
129
+ | UntagResourceCommandOutput
130
+ | UpdateMemoryCommandOutput
131
+ | UpdateSpaceCommandOutput;
132
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
133
+ requestHandler?: __HttpHandlerUserInput;
134
+ sha256?: __ChecksumConstructor | __HashConstructor;
135
+ urlParser?: __UrlParser;
136
+ bodyLengthChecker?: __BodyLengthCalculator;
137
+ streamCollector?: __StreamCollector;
138
+ base64Decoder?: __Decoder;
139
+ base64Encoder?: __Encoder;
140
+ utf8Decoder?: __Decoder;
141
+ utf8Encoder?: __Encoder;
142
+ runtime?: string;
143
+ disableHostPrefix?: boolean;
144
+ serviceId?: string;
145
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
146
+ useFipsEndpoint?: boolean | __Provider<boolean>;
147
+ region?: string | __Provider<string>;
148
+ profile?: string;
149
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
150
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
151
+ maxAttempts?: number | __Provider<number>;
152
+ retryMode?: string | __Provider<string>;
153
+ logger?: __Logger;
154
+ extensions?: RuntimeExtension[];
155
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
156
+ }
157
+ export type OpenSearchMemoryClientConfigType = Partial<
158
+ __SmithyConfiguration<__HttpHandlerOptions>
159
+ > &
160
+ ClientDefaults &
161
+ UserAgentInputConfig &
162
+ RetryInputConfig &
163
+ RegionInputConfig &
164
+ HostHeaderInputConfig &
165
+ EndpointInputConfig<EndpointParameters> &
166
+ HttpAuthSchemeInputConfig &
167
+ ClientInputEndpointParameters;
168
+ export interface OpenSearchMemoryClientConfig extends OpenSearchMemoryClientConfigType {}
169
+ export type OpenSearchMemoryClientResolvedConfigType =
170
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
171
+ Required<ClientDefaults> &
172
+ RuntimeExtensionsConfig &
173
+ UserAgentResolvedConfig &
174
+ RetryResolvedConfig &
175
+ RegionResolvedConfig &
176
+ HostHeaderResolvedConfig &
177
+ EndpointResolvedConfig<EndpointParameters> &
178
+ HttpAuthSchemeResolvedConfig &
179
+ ClientResolvedEndpointParameters;
180
+ export interface OpenSearchMemoryClientResolvedConfig extends OpenSearchMemoryClientResolvedConfigType {}
181
+ export declare class OpenSearchMemoryClient extends __Client<
182
+ __HttpHandlerOptions,
183
+ ServiceInputTypes,
184
+ ServiceOutputTypes,
185
+ OpenSearchMemoryClientResolvedConfig
186
+ > {
187
+ readonly config: OpenSearchMemoryClientResolvedConfig;
188
+ constructor(...[configuration]: __CheckOptionalClientConfig<OpenSearchMemoryClientConfig>);
189
+ destroy(): void;
190
+ }
@@ -0,0 +1,25 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { OpenSearchMemoryHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: OpenSearchMemoryHttpAuthSchemeProvider): void;
11
+ httpAuthSchemeProvider(): OpenSearchMemoryHttpAuthSchemeProvider;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
14
+ }
15
+ export type HttpAuthRuntimeConfig = Partial<{
16
+ httpAuthSchemes: HttpAuthScheme[];
17
+ httpAuthSchemeProvider: OpenSearchMemoryHttpAuthSchemeProvider;
18
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
19
+ }>;
20
+ export declare const getHttpAuthExtensionConfiguration: (
21
+ runtimeConfig: HttpAuthRuntimeConfig,
22
+ ) => HttpAuthExtensionConfiguration;
23
+ export declare const resolveHttpAuthRuntimeConfig: (
24
+ config: HttpAuthExtensionConfiguration,
25
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,43 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core/httpAuthSchemes";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { OpenSearchMemoryClientResolvedConfig } from "../OpenSearchMemoryClient";
15
+ export interface OpenSearchMemoryHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface OpenSearchMemoryHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ OpenSearchMemoryClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ OpenSearchMemoryHttpAuthSchemeParameters,
22
+ object
23
+ > {}
24
+ export declare const defaultOpenSearchMemoryHttpAuthSchemeParametersProvider: (
25
+ config: OpenSearchMemoryClientResolvedConfig,
26
+ context: HandlerExecutionContext,
27
+ input: object,
28
+ ) => Promise<OpenSearchMemoryHttpAuthSchemeParameters>;
29
+ export interface OpenSearchMemoryHttpAuthSchemeProvider extends HttpAuthSchemeProvider<OpenSearchMemoryHttpAuthSchemeParameters> {}
30
+ export declare const defaultOpenSearchMemoryHttpAuthSchemeProvider: OpenSearchMemoryHttpAuthSchemeProvider;
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ authSchemePreference?: string[] | Provider<string[]>;
33
+ httpAuthSchemes?: HttpAuthScheme[];
34
+ httpAuthSchemeProvider?: OpenSearchMemoryHttpAuthSchemeProvider;
35
+ }
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
37
+ readonly authSchemePreference: Provider<string[]>;
38
+ readonly httpAuthSchemes: HttpAuthScheme[];
39
+ readonly httpAuthSchemeProvider: OpenSearchMemoryHttpAuthSchemeProvider;
40
+ }
41
+ export declare const resolveHttpAuthSchemeConfig: <T>(
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
43
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ OpenSearchMemoryClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./OpenSearchMemoryClient";
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
8
+ added: EndpointParameterInstructions,
9
+ plugins: (
10
+ CommandCtor: any,
11
+ clientStack: any,
12
+ config: any,
13
+ options: any,
14
+ ) => import("@smithy/types").Pluggable<any, any>[],
15
+ op: string,
16
+ $: import("@smithy/types").StaticOperationSchema,
17
+ smithyContext?: Record<string, unknown>,
18
+ ) => {
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ I,
23
+ O,
24
+ OpenSearchMemoryClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: import("@smithy/types").OptionalParameter<I>
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ I,
32
+ O,
33
+ OpenSearchMemoryClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ };
39
+ export declare const _ep0: EndpointParameterInstructions;
40
+ export declare const _ep1: EndpointParameterInstructions;
41
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];