@aws-sdk/client-opensearchserverless 3.1155.0 → 3.1157.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 (53) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +402 -11
  3. package/dist-es/OpenSearchServerless.js +20 -0
  4. package/dist-es/commands/CancelIngestionJobCommand.js +4 -0
  5. package/dist-es/commands/CreateIngestionJobCommand.js +4 -0
  6. package/dist-es/commands/CreateIngestionStreamCommand.js +4 -0
  7. package/dist-es/commands/DeleteIngestionStreamCommand.js +4 -0
  8. package/dist-es/commands/GetIngestionJobCommand.js +4 -0
  9. package/dist-es/commands/GetIngestionStreamCommand.js +4 -0
  10. package/dist-es/commands/ListIngestionJobsCommand.js +4 -0
  11. package/dist-es/commands/ListIngestionStreamsCommand.js +4 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/enums.js +44 -0
  14. package/dist-es/pagination/ListIngestionJobsPaginator.js +4 -0
  15. package/dist-es/pagination/ListIngestionStreamsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +266 -10
  18. package/dist-types/OpenSearchServerless.d.ts +70 -0
  19. package/dist-types/OpenSearchServerlessClient.d.ts +10 -2
  20. package/dist-types/commands/CancelIngestionJobCommand.d.ts +88 -0
  21. package/dist-types/commands/CreateIngestionJobCommand.d.ts +141 -0
  22. package/dist-types/commands/CreateIngestionStreamCommand.d.ts +153 -0
  23. package/dist-types/commands/DeleteIngestionStreamCommand.d.ts +88 -0
  24. package/dist-types/commands/GetIngestionJobCommand.d.ts +119 -0
  25. package/dist-types/commands/GetIngestionStreamCommand.d.ts +125 -0
  26. package/dist-types/commands/ListIngestionJobsCommand.d.ts +93 -0
  27. package/dist-types/commands/ListIngestionStreamsCommand.d.ts +93 -0
  28. package/dist-types/commands/UpdateCollectionCommand.d.ts +5 -0
  29. package/dist-types/commands/index.d.ts +8 -0
  30. package/dist-types/models/enums.d.ts +158 -0
  31. package/dist-types/models/models_0.d.ts +723 -2
  32. package/dist-types/pagination/ListIngestionJobsPaginator.d.ts +7 -0
  33. package/dist-types/pagination/ListIngestionStreamsPaginator.d.ts +7 -0
  34. package/dist-types/pagination/index.d.ts +2 -0
  35. package/dist-types/schemas/schemas_0.d.ts +37 -0
  36. package/dist-types/ts3.4/OpenSearchServerless.d.ts +150 -0
  37. package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +48 -0
  38. package/dist-types/ts3.4/commands/CancelIngestionJobCommand.d.ts +39 -0
  39. package/dist-types/ts3.4/commands/CreateIngestionJobCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/CreateIngestionStreamCommand.d.ts +39 -0
  41. package/dist-types/ts3.4/commands/DeleteIngestionStreamCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/GetIngestionJobCommand.d.ts +38 -0
  43. package/dist-types/ts3.4/commands/GetIngestionStreamCommand.d.ts +39 -0
  44. package/dist-types/ts3.4/commands/ListIngestionJobsCommand.d.ts +39 -0
  45. package/dist-types/ts3.4/commands/ListIngestionStreamsCommand.d.ts +39 -0
  46. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  47. package/dist-types/ts3.4/models/enums.d.ts +51 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +176 -0
  49. package/dist-types/ts3.4/pagination/ListIngestionJobsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/ListIngestionStreamsPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
  53. package/package.json +5 -5
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListIngestionJobsCommandInput, ListIngestionJobsCommandOutput } from "../commands/ListIngestionJobsCommand";
3
+ import type { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListIngestionJobs: (config: OpenSearchServerlessPaginationConfiguration, input: ListIngestionJobsCommandInput, ...rest: any[]) => Paginator<ListIngestionJobsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListIngestionStreamsCommandInput, ListIngestionStreamsCommandOutput } from "../commands/ListIngestionStreamsCommand";
3
+ import type { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListIngestionStreams: (config: OpenSearchServerlessPaginationConfiguration, input: ListIngestionStreamsCommandInput, ...rest: any[]) => Paginator<ListIngestionStreamsCommandOutput>;
@@ -2,6 +2,8 @@ export * from "./Interfaces";
2
2
  export * from "./ListAccessPoliciesPaginator";
3
3
  export * from "./ListCollectionGroupsPaginator";
4
4
  export * from "./ListCollectionsPaginator";
5
+ export * from "./ListIngestionJobsPaginator";
6
+ export * from "./ListIngestionStreamsPaginator";
5
7
  export * from "./ListLifecyclePoliciesPaginator";
6
8
  export * from "./ListSecurityConfigsPaginator";
7
9
  export * from "./ListSecurityPoliciesPaginator";
@@ -27,6 +27,8 @@ export declare var BatchGetLifecyclePolicyRequest$: StaticStructureSchema;
27
27
  export declare var BatchGetLifecyclePolicyResponse$: StaticStructureSchema;
28
28
  export declare var BatchGetVpcEndpointRequest$: StaticStructureSchema;
29
29
  export declare var BatchGetVpcEndpointResponse$: StaticStructureSchema;
30
+ export declare var CancelIngestionJobRequest$: StaticStructureSchema;
31
+ export declare var CancelIngestionJobResponse$: StaticStructureSchema;
30
32
  export declare var CapacityDetails$: StaticStructureSchema;
31
33
  export declare var CapacityLimits$: StaticStructureSchema;
32
34
  export declare var CollectionDetail$: StaticStructureSchema;
@@ -48,6 +50,10 @@ export declare var CreateCollectionResponse$: StaticStructureSchema;
48
50
  export declare var CreateIamIdentityCenterConfigOptions$: StaticStructureSchema;
49
51
  export declare var CreateIndexRequest$: StaticStructureSchema;
50
52
  export declare var CreateIndexResponse$: StaticStructureSchema;
53
+ export declare var CreateIngestionJobRequest$: StaticStructureSchema;
54
+ export declare var CreateIngestionJobResponse$: StaticStructureSchema;
55
+ export declare var CreateIngestionStreamRequest$: StaticStructureSchema;
56
+ export declare var CreateIngestionStreamResponse$: StaticStructureSchema;
51
57
  export declare var CreateLifecyclePolicyRequest$: StaticStructureSchema;
52
58
  export declare var CreateLifecyclePolicyResponse$: StaticStructureSchema;
53
59
  export declare var CreateSecurityConfigRequest$: StaticStructureSchema;
@@ -67,6 +73,8 @@ export declare var DeleteCollectionRequest$: StaticStructureSchema;
67
73
  export declare var DeleteCollectionResponse$: StaticStructureSchema;
68
74
  export declare var DeleteIndexRequest$: StaticStructureSchema;
69
75
  export declare var DeleteIndexResponse$: StaticStructureSchema;
76
+ export declare var DeleteIngestionStreamRequest$: StaticStructureSchema;
77
+ export declare var DeleteIngestionStreamResponse$: StaticStructureSchema;
70
78
  export declare var DeleteLifecyclePolicyRequest$: StaticStructureSchema;
71
79
  export declare var DeleteLifecyclePolicyResponse$: StaticStructureSchema;
72
80
  export declare var DeleteSecurityConfigRequest$: StaticStructureSchema;
@@ -86,6 +94,10 @@ export declare var GetAccountSettingsRequest$: StaticStructureSchema;
86
94
  export declare var GetAccountSettingsResponse$: StaticStructureSchema;
87
95
  export declare var GetIndexRequest$: StaticStructureSchema;
88
96
  export declare var GetIndexResponse$: StaticStructureSchema;
97
+ export declare var GetIngestionJobRequest$: StaticStructureSchema;
98
+ export declare var GetIngestionJobResponse$: StaticStructureSchema;
99
+ export declare var GetIngestionStreamRequest$: StaticStructureSchema;
100
+ export declare var GetIngestionStreamResponse$: StaticStructureSchema;
89
101
  export declare var GetPoliciesStatsRequest$: StaticStructureSchema;
90
102
  export declare var GetPoliciesStatsResponse$: StaticStructureSchema;
91
103
  export declare var GetSecurityConfigRequest$: StaticStructureSchema;
@@ -94,6 +106,17 @@ export declare var GetSecurityPolicyRequest$: StaticStructureSchema;
94
106
  export declare var GetSecurityPolicyResponse$: StaticStructureSchema;
95
107
  export declare var IamFederationConfigOptions$: StaticStructureSchema;
96
108
  export declare var IamIdentityCenterConfigOptions$: StaticStructureSchema;
109
+ export declare var IngestionAlert$: StaticStructureSchema;
110
+ export declare var IngestionFailureReason$: StaticStructureSchema;
111
+ export declare var IngestionJobDetail$: StaticStructureSchema;
112
+ export declare var IngestionJobS3Source$: StaticStructureSchema;
113
+ export declare var IngestionJobSource$: StaticStructureSchema;
114
+ export declare var IngestionJobSummary$: StaticStructureSchema;
115
+ export declare var IngestionStatistics$: StaticStructureSchema;
116
+ export declare var IngestionStreamDetail$: StaticStructureSchema;
117
+ export declare var IngestionStreamS3Source$: StaticStructureSchema;
118
+ export declare var IngestionStreamSource$: StaticStructureSchema;
119
+ export declare var IngestionStreamSummary$: StaticStructureSchema;
97
120
  export declare var LifecyclePolicyDetail$: StaticStructureSchema;
98
121
  export declare var LifecyclePolicyErrorDetail$: StaticStructureSchema;
99
122
  export declare var LifecyclePolicyIdentifier$: StaticStructureSchema;
@@ -106,6 +129,10 @@ export declare var ListCollectionGroupsRequest$: StaticStructureSchema;
106
129
  export declare var ListCollectionGroupsResponse$: StaticStructureSchema;
107
130
  export declare var ListCollectionsRequest$: StaticStructureSchema;
108
131
  export declare var ListCollectionsResponse$: StaticStructureSchema;
132
+ export declare var ListIngestionJobsRequest$: StaticStructureSchema;
133
+ export declare var ListIngestionJobsResponse$: StaticStructureSchema;
134
+ export declare var ListIngestionStreamsRequest$: StaticStructureSchema;
135
+ export declare var ListIngestionStreamsResponse$: StaticStructureSchema;
109
136
  export declare var ListLifecyclePoliciesRequest$: StaticStructureSchema;
110
137
  export declare var ListLifecyclePoliciesResponse$: StaticStructureSchema;
111
138
  export declare var ListSecurityConfigsRequest$: StaticStructureSchema;
@@ -116,6 +143,7 @@ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
116
143
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
117
144
  export declare var ListVpcEndpointsRequest$: StaticStructureSchema;
118
145
  export declare var ListVpcEndpointsResponse$: StaticStructureSchema;
146
+ export declare var S3Statistics$: StaticStructureSchema;
119
147
  export declare var SamlConfigOptions$: StaticStructureSchema;
120
148
  export declare var SecurityConfigDetail$: StaticStructureSchema;
121
149
  export declare var SecurityConfigStats$: StaticStructureSchema;
@@ -123,6 +151,7 @@ export declare var SecurityConfigSummary$: StaticStructureSchema;
123
151
  export declare var SecurityPolicyDetail$: StaticStructureSchema;
124
152
  export declare var SecurityPolicyStats$: StaticStructureSchema;
125
153
  export declare var SecurityPolicySummary$: StaticStructureSchema;
154
+ export declare var StreamBucketConfig$: StaticStructureSchema;
126
155
  export declare var Tag$: StaticStructureSchema;
127
156
  export declare var TagResourceRequest$: StaticStructureSchema;
128
157
  export declare var TagResourceResponse$: StaticStructureSchema;
@@ -160,10 +189,13 @@ export declare var BatchGetCollectionGroup$: StaticOperationSchema;
160
189
  export declare var BatchGetEffectiveLifecyclePolicy$: StaticOperationSchema;
161
190
  export declare var BatchGetLifecyclePolicy$: StaticOperationSchema;
162
191
  export declare var BatchGetVpcEndpoint$: StaticOperationSchema;
192
+ export declare var CancelIngestionJob$: StaticOperationSchema;
163
193
  export declare var CreateAccessPolicy$: StaticOperationSchema;
164
194
  export declare var CreateCollection$: StaticOperationSchema;
165
195
  export declare var CreateCollectionGroup$: StaticOperationSchema;
166
196
  export declare var CreateIndex$: StaticOperationSchema;
197
+ export declare var CreateIngestionJob$: StaticOperationSchema;
198
+ export declare var CreateIngestionStream$: StaticOperationSchema;
167
199
  export declare var CreateLifecyclePolicy$: StaticOperationSchema;
168
200
  export declare var CreateSecurityConfig$: StaticOperationSchema;
169
201
  export declare var CreateSecurityPolicy$: StaticOperationSchema;
@@ -172,6 +204,7 @@ export declare var DeleteAccessPolicy$: StaticOperationSchema;
172
204
  export declare var DeleteCollection$: StaticOperationSchema;
173
205
  export declare var DeleteCollectionGroup$: StaticOperationSchema;
174
206
  export declare var DeleteIndex$: StaticOperationSchema;
207
+ export declare var DeleteIngestionStream$: StaticOperationSchema;
175
208
  export declare var DeleteLifecyclePolicy$: StaticOperationSchema;
176
209
  export declare var DeleteSecurityConfig$: StaticOperationSchema;
177
210
  export declare var DeleteSecurityPolicy$: StaticOperationSchema;
@@ -179,12 +212,16 @@ export declare var DeleteVpcEndpoint$: StaticOperationSchema;
179
212
  export declare var GetAccessPolicy$: StaticOperationSchema;
180
213
  export declare var GetAccountSettings$: StaticOperationSchema;
181
214
  export declare var GetIndex$: StaticOperationSchema;
215
+ export declare var GetIngestionJob$: StaticOperationSchema;
216
+ export declare var GetIngestionStream$: StaticOperationSchema;
182
217
  export declare var GetPoliciesStats$: StaticOperationSchema;
183
218
  export declare var GetSecurityConfig$: StaticOperationSchema;
184
219
  export declare var GetSecurityPolicy$: StaticOperationSchema;
185
220
  export declare var ListAccessPolicies$: StaticOperationSchema;
186
221
  export declare var ListCollectionGroups$: StaticOperationSchema;
187
222
  export declare var ListCollections$: StaticOperationSchema;
223
+ export declare var ListIngestionJobs$: StaticOperationSchema;
224
+ export declare var ListIngestionStreams$: StaticOperationSchema;
188
225
  export declare var ListLifecyclePolicies$: StaticOperationSchema;
189
226
  export declare var ListSecurityConfigs$: StaticOperationSchema;
190
227
  export declare var ListSecurityPolicies$: StaticOperationSchema;
@@ -24,6 +24,10 @@ import {
24
24
  BatchGetVpcEndpointCommandInput,
25
25
  BatchGetVpcEndpointCommandOutput,
26
26
  } from "./commands/BatchGetVpcEndpointCommand";
27
+ import {
28
+ CancelIngestionJobCommandInput,
29
+ CancelIngestionJobCommandOutput,
30
+ } from "./commands/CancelIngestionJobCommand";
27
31
  import {
28
32
  CreateAccessPolicyCommandInput,
29
33
  CreateAccessPolicyCommandOutput,
@@ -37,6 +41,14 @@ import {
37
41
  CreateCollectionGroupCommandOutput,
38
42
  } from "./commands/CreateCollectionGroupCommand";
39
43
  import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
44
+ import {
45
+ CreateIngestionJobCommandInput,
46
+ CreateIngestionJobCommandOutput,
47
+ } from "./commands/CreateIngestionJobCommand";
48
+ import {
49
+ CreateIngestionStreamCommandInput,
50
+ CreateIngestionStreamCommandOutput,
51
+ } from "./commands/CreateIngestionStreamCommand";
40
52
  import {
41
53
  CreateLifecyclePolicyCommandInput,
42
54
  CreateLifecyclePolicyCommandOutput,
@@ -66,6 +78,10 @@ import {
66
78
  DeleteCollectionGroupCommandOutput,
67
79
  } from "./commands/DeleteCollectionGroupCommand";
68
80
  import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
81
+ import {
82
+ DeleteIngestionStreamCommandInput,
83
+ DeleteIngestionStreamCommandOutput,
84
+ } from "./commands/DeleteIngestionStreamCommand";
69
85
  import {
70
86
  DeleteLifecyclePolicyCommandInput,
71
87
  DeleteLifecyclePolicyCommandOutput,
@@ -91,6 +107,14 @@ import {
91
107
  GetAccountSettingsCommandOutput,
92
108
  } from "./commands/GetAccountSettingsCommand";
93
109
  import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndexCommand";
110
+ import {
111
+ GetIngestionJobCommandInput,
112
+ GetIngestionJobCommandOutput,
113
+ } from "./commands/GetIngestionJobCommand";
114
+ import {
115
+ GetIngestionStreamCommandInput,
116
+ GetIngestionStreamCommandOutput,
117
+ } from "./commands/GetIngestionStreamCommand";
94
118
  import {
95
119
  GetPoliciesStatsCommandInput,
96
120
  GetPoliciesStatsCommandOutput,
@@ -115,6 +139,14 @@ import {
115
139
  ListCollectionsCommandInput,
116
140
  ListCollectionsCommandOutput,
117
141
  } from "./commands/ListCollectionsCommand";
142
+ import {
143
+ ListIngestionJobsCommandInput,
144
+ ListIngestionJobsCommandOutput,
145
+ } from "./commands/ListIngestionJobsCommand";
146
+ import {
147
+ ListIngestionStreamsCommandInput,
148
+ ListIngestionStreamsCommandOutput,
149
+ } from "./commands/ListIngestionStreamsCommand";
118
150
  import {
119
151
  ListLifecyclePoliciesCommandInput,
120
152
  ListLifecyclePoliciesCommandOutput,
@@ -245,6 +277,19 @@ export interface OpenSearchServerless {
245
277
  options: OpenSearchServerlessRequestOptions,
246
278
  cb: (err: any, data?: BatchGetVpcEndpointCommandOutput) => void,
247
279
  ): void;
280
+ cancelIngestionJob(
281
+ args: CancelIngestionJobCommandInput,
282
+ options?: OpenSearchServerlessRequestOptions,
283
+ ): Promise<CancelIngestionJobCommandOutput>;
284
+ cancelIngestionJob(
285
+ args: CancelIngestionJobCommandInput,
286
+ cb: (err: any, data?: CancelIngestionJobCommandOutput) => void,
287
+ ): void;
288
+ cancelIngestionJob(
289
+ args: CancelIngestionJobCommandInput,
290
+ options: OpenSearchServerlessRequestOptions,
291
+ cb: (err: any, data?: CancelIngestionJobCommandOutput) => void,
292
+ ): void;
248
293
  createAccessPolicy(
249
294
  args: CreateAccessPolicyCommandInput,
250
295
  options?: OpenSearchServerlessRequestOptions,
@@ -297,6 +342,32 @@ export interface OpenSearchServerless {
297
342
  options: OpenSearchServerlessRequestOptions,
298
343
  cb: (err: any, data?: CreateIndexCommandOutput) => void,
299
344
  ): void;
345
+ createIngestionJob(
346
+ args: CreateIngestionJobCommandInput,
347
+ options?: OpenSearchServerlessRequestOptions,
348
+ ): Promise<CreateIngestionJobCommandOutput>;
349
+ createIngestionJob(
350
+ args: CreateIngestionJobCommandInput,
351
+ cb: (err: any, data?: CreateIngestionJobCommandOutput) => void,
352
+ ): void;
353
+ createIngestionJob(
354
+ args: CreateIngestionJobCommandInput,
355
+ options: OpenSearchServerlessRequestOptions,
356
+ cb: (err: any, data?: CreateIngestionJobCommandOutput) => void,
357
+ ): void;
358
+ createIngestionStream(
359
+ args: CreateIngestionStreamCommandInput,
360
+ options?: OpenSearchServerlessRequestOptions,
361
+ ): Promise<CreateIngestionStreamCommandOutput>;
362
+ createIngestionStream(
363
+ args: CreateIngestionStreamCommandInput,
364
+ cb: (err: any, data?: CreateIngestionStreamCommandOutput) => void,
365
+ ): void;
366
+ createIngestionStream(
367
+ args: CreateIngestionStreamCommandInput,
368
+ options: OpenSearchServerlessRequestOptions,
369
+ cb: (err: any, data?: CreateIngestionStreamCommandOutput) => void,
370
+ ): void;
300
371
  createLifecyclePolicy(
301
372
  args: CreateLifecyclePolicyCommandInput,
302
373
  options?: OpenSearchServerlessRequestOptions,
@@ -401,6 +472,19 @@ export interface OpenSearchServerless {
401
472
  options: OpenSearchServerlessRequestOptions,
402
473
  cb: (err: any, data?: DeleteIndexCommandOutput) => void,
403
474
  ): void;
475
+ deleteIngestionStream(
476
+ args: DeleteIngestionStreamCommandInput,
477
+ options?: OpenSearchServerlessRequestOptions,
478
+ ): Promise<DeleteIngestionStreamCommandOutput>;
479
+ deleteIngestionStream(
480
+ args: DeleteIngestionStreamCommandInput,
481
+ cb: (err: any, data?: DeleteIngestionStreamCommandOutput) => void,
482
+ ): void;
483
+ deleteIngestionStream(
484
+ args: DeleteIngestionStreamCommandInput,
485
+ options: OpenSearchServerlessRequestOptions,
486
+ cb: (err: any, data?: DeleteIngestionStreamCommandOutput) => void,
487
+ ): void;
404
488
  deleteLifecyclePolicy(
405
489
  args: DeleteLifecyclePolicyCommandInput,
406
490
  options?: OpenSearchServerlessRequestOptions,
@@ -490,6 +574,32 @@ export interface OpenSearchServerless {
490
574
  options: OpenSearchServerlessRequestOptions,
491
575
  cb: (err: any, data?: GetIndexCommandOutput) => void,
492
576
  ): void;
577
+ getIngestionJob(
578
+ args: GetIngestionJobCommandInput,
579
+ options?: OpenSearchServerlessRequestOptions,
580
+ ): Promise<GetIngestionJobCommandOutput>;
581
+ getIngestionJob(
582
+ args: GetIngestionJobCommandInput,
583
+ cb: (err: any, data?: GetIngestionJobCommandOutput) => void,
584
+ ): void;
585
+ getIngestionJob(
586
+ args: GetIngestionJobCommandInput,
587
+ options: OpenSearchServerlessRequestOptions,
588
+ cb: (err: any, data?: GetIngestionJobCommandOutput) => void,
589
+ ): void;
590
+ getIngestionStream(
591
+ args: GetIngestionStreamCommandInput,
592
+ options?: OpenSearchServerlessRequestOptions,
593
+ ): Promise<GetIngestionStreamCommandOutput>;
594
+ getIngestionStream(
595
+ args: GetIngestionStreamCommandInput,
596
+ cb: (err: any, data?: GetIngestionStreamCommandOutput) => void,
597
+ ): void;
598
+ getIngestionStream(
599
+ args: GetIngestionStreamCommandInput,
600
+ options: OpenSearchServerlessRequestOptions,
601
+ cb: (err: any, data?: GetIngestionStreamCommandOutput) => void,
602
+ ): void;
493
603
  getPoliciesStats(): Promise<GetPoliciesStatsCommandOutput>;
494
604
  getPoliciesStats(
495
605
  args: GetPoliciesStatsCommandInput,
@@ -571,6 +681,32 @@ export interface OpenSearchServerless {
571
681
  options: OpenSearchServerlessRequestOptions,
572
682
  cb: (err: any, data?: ListCollectionsCommandOutput) => void,
573
683
  ): void;
684
+ listIngestionJobs(
685
+ args: ListIngestionJobsCommandInput,
686
+ options?: OpenSearchServerlessRequestOptions,
687
+ ): Promise<ListIngestionJobsCommandOutput>;
688
+ listIngestionJobs(
689
+ args: ListIngestionJobsCommandInput,
690
+ cb: (err: any, data?: ListIngestionJobsCommandOutput) => void,
691
+ ): void;
692
+ listIngestionJobs(
693
+ args: ListIngestionJobsCommandInput,
694
+ options: OpenSearchServerlessRequestOptions,
695
+ cb: (err: any, data?: ListIngestionJobsCommandOutput) => void,
696
+ ): void;
697
+ listIngestionStreams(
698
+ args: ListIngestionStreamsCommandInput,
699
+ options?: OpenSearchServerlessRequestOptions,
700
+ ): Promise<ListIngestionStreamsCommandOutput>;
701
+ listIngestionStreams(
702
+ args: ListIngestionStreamsCommandInput,
703
+ cb: (err: any, data?: ListIngestionStreamsCommandOutput) => void,
704
+ ): void;
705
+ listIngestionStreams(
706
+ args: ListIngestionStreamsCommandInput,
707
+ options: OpenSearchServerlessRequestOptions,
708
+ cb: (err: any, data?: ListIngestionStreamsCommandOutput) => void,
709
+ ): void;
574
710
  listLifecyclePolicies(
575
711
  args: ListLifecyclePoliciesCommandInput,
576
712
  options?: OpenSearchServerlessRequestOptions,
@@ -802,6 +938,20 @@ export interface OpenSearchServerless {
802
938
  Exclude<keyof PaginationConfiguration, "client">
803
939
  >,
804
940
  ): Paginator<ListCollectionsCommandOutput>;
941
+ paginateListIngestionJobs(
942
+ args: ListIngestionJobsCommandInput,
943
+ paginationConfig?: Pick<
944
+ PaginationConfiguration,
945
+ Exclude<keyof PaginationConfiguration, "client">
946
+ >,
947
+ ): Paginator<ListIngestionJobsCommandOutput>;
948
+ paginateListIngestionStreams(
949
+ args: ListIngestionStreamsCommandInput,
950
+ paginationConfig?: Pick<
951
+ PaginationConfiguration,
952
+ Exclude<keyof PaginationConfiguration, "client">
953
+ >,
954
+ ): Paginator<ListIngestionStreamsCommandOutput>;
805
955
  paginateListLifecyclePolicies(
806
956
  args: ListLifecyclePoliciesCommandInput,
807
957
  paginationConfig?: Pick<
@@ -53,6 +53,10 @@ import {
53
53
  BatchGetVpcEndpointCommandInput,
54
54
  BatchGetVpcEndpointCommandOutput,
55
55
  } from "./commands/BatchGetVpcEndpointCommand";
56
+ import {
57
+ CancelIngestionJobCommandInput,
58
+ CancelIngestionJobCommandOutput,
59
+ } from "./commands/CancelIngestionJobCommand";
56
60
  import {
57
61
  CreateAccessPolicyCommandInput,
58
62
  CreateAccessPolicyCommandOutput,
@@ -66,6 +70,14 @@ import {
66
70
  CreateCollectionGroupCommandOutput,
67
71
  } from "./commands/CreateCollectionGroupCommand";
68
72
  import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
73
+ import {
74
+ CreateIngestionJobCommandInput,
75
+ CreateIngestionJobCommandOutput,
76
+ } from "./commands/CreateIngestionJobCommand";
77
+ import {
78
+ CreateIngestionStreamCommandInput,
79
+ CreateIngestionStreamCommandOutput,
80
+ } from "./commands/CreateIngestionStreamCommand";
69
81
  import {
70
82
  CreateLifecyclePolicyCommandInput,
71
83
  CreateLifecyclePolicyCommandOutput,
@@ -95,6 +107,10 @@ import {
95
107
  DeleteCollectionGroupCommandOutput,
96
108
  } from "./commands/DeleteCollectionGroupCommand";
97
109
  import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
110
+ import {
111
+ DeleteIngestionStreamCommandInput,
112
+ DeleteIngestionStreamCommandOutput,
113
+ } from "./commands/DeleteIngestionStreamCommand";
98
114
  import {
99
115
  DeleteLifecyclePolicyCommandInput,
100
116
  DeleteLifecyclePolicyCommandOutput,
@@ -120,6 +136,14 @@ import {
120
136
  GetAccountSettingsCommandOutput,
121
137
  } from "./commands/GetAccountSettingsCommand";
122
138
  import { GetIndexCommandInput, GetIndexCommandOutput } from "./commands/GetIndexCommand";
139
+ import {
140
+ GetIngestionJobCommandInput,
141
+ GetIngestionJobCommandOutput,
142
+ } from "./commands/GetIngestionJobCommand";
143
+ import {
144
+ GetIngestionStreamCommandInput,
145
+ GetIngestionStreamCommandOutput,
146
+ } from "./commands/GetIngestionStreamCommand";
123
147
  import {
124
148
  GetPoliciesStatsCommandInput,
125
149
  GetPoliciesStatsCommandOutput,
@@ -144,6 +168,14 @@ import {
144
168
  ListCollectionsCommandInput,
145
169
  ListCollectionsCommandOutput,
146
170
  } from "./commands/ListCollectionsCommand";
171
+ import {
172
+ ListIngestionJobsCommandInput,
173
+ ListIngestionJobsCommandOutput,
174
+ } from "./commands/ListIngestionJobsCommand";
175
+ import {
176
+ ListIngestionStreamsCommandInput,
177
+ ListIngestionStreamsCommandOutput,
178
+ } from "./commands/ListIngestionStreamsCommand";
147
179
  import {
148
180
  ListLifecyclePoliciesCommandInput,
149
181
  ListLifecyclePoliciesCommandOutput,
@@ -215,10 +247,13 @@ export type ServiceInputTypes =
215
247
  | BatchGetEffectiveLifecyclePolicyCommandInput
216
248
  | BatchGetLifecyclePolicyCommandInput
217
249
  | BatchGetVpcEndpointCommandInput
250
+ | CancelIngestionJobCommandInput
218
251
  | CreateAccessPolicyCommandInput
219
252
  | CreateCollectionCommandInput
220
253
  | CreateCollectionGroupCommandInput
221
254
  | CreateIndexCommandInput
255
+ | CreateIngestionJobCommandInput
256
+ | CreateIngestionStreamCommandInput
222
257
  | CreateLifecyclePolicyCommandInput
223
258
  | CreateSecurityConfigCommandInput
224
259
  | CreateSecurityPolicyCommandInput
@@ -227,6 +262,7 @@ export type ServiceInputTypes =
227
262
  | DeleteCollectionCommandInput
228
263
  | DeleteCollectionGroupCommandInput
229
264
  | DeleteIndexCommandInput
265
+ | DeleteIngestionStreamCommandInput
230
266
  | DeleteLifecyclePolicyCommandInput
231
267
  | DeleteSecurityConfigCommandInput
232
268
  | DeleteSecurityPolicyCommandInput
@@ -234,12 +270,16 @@ export type ServiceInputTypes =
234
270
  | GetAccessPolicyCommandInput
235
271
  | GetAccountSettingsCommandInput
236
272
  | GetIndexCommandInput
273
+ | GetIngestionJobCommandInput
274
+ | GetIngestionStreamCommandInput
237
275
  | GetPoliciesStatsCommandInput
238
276
  | GetSecurityConfigCommandInput
239
277
  | GetSecurityPolicyCommandInput
240
278
  | ListAccessPoliciesCommandInput
241
279
  | ListCollectionGroupsCommandInput
242
280
  | ListCollectionsCommandInput
281
+ | ListIngestionJobsCommandInput
282
+ | ListIngestionStreamsCommandInput
243
283
  | ListLifecyclePoliciesCommandInput
244
284
  | ListSecurityConfigsCommandInput
245
285
  | ListSecurityPoliciesCommandInput
@@ -262,10 +302,13 @@ export type ServiceOutputTypes =
262
302
  | BatchGetEffectiveLifecyclePolicyCommandOutput
263
303
  | BatchGetLifecyclePolicyCommandOutput
264
304
  | BatchGetVpcEndpointCommandOutput
305
+ | CancelIngestionJobCommandOutput
265
306
  | CreateAccessPolicyCommandOutput
266
307
  | CreateCollectionCommandOutput
267
308
  | CreateCollectionGroupCommandOutput
268
309
  | CreateIndexCommandOutput
310
+ | CreateIngestionJobCommandOutput
311
+ | CreateIngestionStreamCommandOutput
269
312
  | CreateLifecyclePolicyCommandOutput
270
313
  | CreateSecurityConfigCommandOutput
271
314
  | CreateSecurityPolicyCommandOutput
@@ -274,6 +317,7 @@ export type ServiceOutputTypes =
274
317
  | DeleteCollectionCommandOutput
275
318
  | DeleteCollectionGroupCommandOutput
276
319
  | DeleteIndexCommandOutput
320
+ | DeleteIngestionStreamCommandOutput
277
321
  | DeleteLifecyclePolicyCommandOutput
278
322
  | DeleteSecurityConfigCommandOutput
279
323
  | DeleteSecurityPolicyCommandOutput
@@ -281,12 +325,16 @@ export type ServiceOutputTypes =
281
325
  | GetAccessPolicyCommandOutput
282
326
  | GetAccountSettingsCommandOutput
283
327
  | GetIndexCommandOutput
328
+ | GetIngestionJobCommandOutput
329
+ | GetIngestionStreamCommandOutput
284
330
  | GetPoliciesStatsCommandOutput
285
331
  | GetSecurityConfigCommandOutput
286
332
  | GetSecurityPolicyCommandOutput
287
333
  | ListAccessPoliciesCommandOutput
288
334
  | ListCollectionGroupsCommandOutput
289
335
  | ListCollectionsCommandOutput
336
+ | ListIngestionJobsCommandOutput
337
+ | ListIngestionStreamsCommandOutput
290
338
  | ListLifecyclePoliciesCommandOutput
291
339
  | ListSecurityConfigsCommandOutput
292
340
  | ListSecurityPoliciesCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CancelIngestionJobRequest, CancelIngestionJobResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CancelIngestionJobCommandInput extends CancelIngestionJobRequest {}
5
+ export interface CancelIngestionJobCommandOutput
6
+ extends CancelIngestionJobResponse, __MetadataBearer {}
7
+ declare const CancelIngestionJobCommand_base: {
8
+ new (
9
+ input: CancelIngestionJobCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ CancelIngestionJobCommandInput,
12
+ CancelIngestionJobCommandOutput,
13
+ import("..").OpenSearchServerlessClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: CancelIngestionJobCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ CancelIngestionJobCommandInput,
21
+ CancelIngestionJobCommandOutput,
22
+ import("..").OpenSearchServerlessClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class CancelIngestionJobCommand extends CancelIngestionJobCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: CancelIngestionJobRequest;
32
+ output: CancelIngestionJobResponse;
33
+ };
34
+ sdk: {
35
+ input: CancelIngestionJobCommandInput;
36
+ output: CancelIngestionJobCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateIngestionJobRequest, CreateIngestionJobResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateIngestionJobCommandInput extends CreateIngestionJobRequest {}
5
+ export interface CreateIngestionJobCommandOutput
6
+ extends CreateIngestionJobResponse, __MetadataBearer {}
7
+ declare const CreateIngestionJobCommand_base: {
8
+ new (
9
+ input: CreateIngestionJobCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ CreateIngestionJobCommandInput,
12
+ CreateIngestionJobCommandOutput,
13
+ import("..").OpenSearchServerlessClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: CreateIngestionJobCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ CreateIngestionJobCommandInput,
21
+ CreateIngestionJobCommandOutput,
22
+ import("..").OpenSearchServerlessClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class CreateIngestionJobCommand extends CreateIngestionJobCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: CreateIngestionJobRequest;
32
+ output: CreateIngestionJobResponse;
33
+ };
34
+ sdk: {
35
+ input: CreateIngestionJobCommandInput;
36
+ output: CreateIngestionJobCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { CreateIngestionStreamRequest, CreateIngestionStreamResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface CreateIngestionStreamCommandInput extends CreateIngestionStreamRequest {}
5
+ export interface CreateIngestionStreamCommandOutput
6
+ extends CreateIngestionStreamResponse, __MetadataBearer {}
7
+ declare const CreateIngestionStreamCommand_base: {
8
+ new (
9
+ input: CreateIngestionStreamCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ CreateIngestionStreamCommandInput,
12
+ CreateIngestionStreamCommandOutput,
13
+ import("..").OpenSearchServerlessClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: CreateIngestionStreamCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ CreateIngestionStreamCommandInput,
21
+ CreateIngestionStreamCommandOutput,
22
+ import("..").OpenSearchServerlessClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class CreateIngestionStreamCommand extends CreateIngestionStreamCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: CreateIngestionStreamRequest;
32
+ output: CreateIngestionStreamResponse;
33
+ };
34
+ sdk: {
35
+ input: CreateIngestionStreamCommandInput;
36
+ output: CreateIngestionStreamCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DeleteIngestionStreamRequest, DeleteIngestionStreamResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DeleteIngestionStreamCommandInput extends DeleteIngestionStreamRequest {}
5
+ export interface DeleteIngestionStreamCommandOutput
6
+ extends DeleteIngestionStreamResponse, __MetadataBearer {}
7
+ declare const DeleteIngestionStreamCommand_base: {
8
+ new (
9
+ input: DeleteIngestionStreamCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ DeleteIngestionStreamCommandInput,
12
+ DeleteIngestionStreamCommandOutput,
13
+ import("..").OpenSearchServerlessClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: DeleteIngestionStreamCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ DeleteIngestionStreamCommandInput,
21
+ DeleteIngestionStreamCommandOutput,
22
+ import("..").OpenSearchServerlessClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class DeleteIngestionStreamCommand extends DeleteIngestionStreamCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: DeleteIngestionStreamRequest;
32
+ output: DeleteIngestionStreamResponse;
33
+ };
34
+ sdk: {
35
+ input: DeleteIngestionStreamCommandInput;
36
+ output: DeleteIngestionStreamCommandOutput;
37
+ };
38
+ };
39
+ }