@aws-sdk/client-opensearchserverless 3.1154.0 → 3.1156.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 +12 -3
  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,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetIngestionJobRequest, GetIngestionJobResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetIngestionJobCommandInput extends GetIngestionJobRequest {}
5
+ export interface GetIngestionJobCommandOutput extends GetIngestionJobResponse, __MetadataBearer {}
6
+ declare const GetIngestionJobCommand_base: {
7
+ new (
8
+ input: GetIngestionJobCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ GetIngestionJobCommandInput,
11
+ GetIngestionJobCommandOutput,
12
+ import("..").OpenSearchServerlessClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: GetIngestionJobCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ GetIngestionJobCommandInput,
20
+ GetIngestionJobCommandOutput,
21
+ import("..").OpenSearchServerlessClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class GetIngestionJobCommand extends GetIngestionJobCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: GetIngestionJobRequest;
31
+ output: GetIngestionJobResponse;
32
+ };
33
+ sdk: {
34
+ input: GetIngestionJobCommandInput;
35
+ output: GetIngestionJobCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetIngestionStreamRequest, GetIngestionStreamResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetIngestionStreamCommandInput extends GetIngestionStreamRequest {}
5
+ export interface GetIngestionStreamCommandOutput
6
+ extends GetIngestionStreamResponse, __MetadataBearer {}
7
+ declare const GetIngestionStreamCommand_base: {
8
+ new (
9
+ input: GetIngestionStreamCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetIngestionStreamCommandInput,
12
+ GetIngestionStreamCommandOutput,
13
+ import("..").OpenSearchServerlessClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetIngestionStreamCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetIngestionStreamCommandInput,
21
+ GetIngestionStreamCommandOutput,
22
+ import("..").OpenSearchServerlessClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetIngestionStreamCommand extends GetIngestionStreamCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetIngestionStreamRequest;
32
+ output: GetIngestionStreamResponse;
33
+ };
34
+ sdk: {
35
+ input: GetIngestionStreamCommandInput;
36
+ output: GetIngestionStreamCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListIngestionJobsRequest, ListIngestionJobsResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ListIngestionJobsCommandInput extends ListIngestionJobsRequest {}
5
+ export interface ListIngestionJobsCommandOutput
6
+ extends ListIngestionJobsResponse, __MetadataBearer {}
7
+ declare const ListIngestionJobsCommand_base: {
8
+ new (
9
+ input: ListIngestionJobsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ ListIngestionJobsCommandInput,
12
+ ListIngestionJobsCommandOutput,
13
+ import("..").OpenSearchServerlessClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: ListIngestionJobsCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ ListIngestionJobsCommandInput,
21
+ ListIngestionJobsCommandOutput,
22
+ import("..").OpenSearchServerlessClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class ListIngestionJobsCommand extends ListIngestionJobsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: ListIngestionJobsRequest;
32
+ output: ListIngestionJobsResponse;
33
+ };
34
+ sdk: {
35
+ input: ListIngestionJobsCommandInput;
36
+ output: ListIngestionJobsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListIngestionStreamsRequest, ListIngestionStreamsResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ListIngestionStreamsCommandInput extends ListIngestionStreamsRequest {}
5
+ export interface ListIngestionStreamsCommandOutput
6
+ extends ListIngestionStreamsResponse, __MetadataBearer {}
7
+ declare const ListIngestionStreamsCommand_base: {
8
+ new (
9
+ input: ListIngestionStreamsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ ListIngestionStreamsCommandInput,
12
+ ListIngestionStreamsCommandOutput,
13
+ import("..").OpenSearchServerlessClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: ListIngestionStreamsCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ ListIngestionStreamsCommandInput,
21
+ ListIngestionStreamsCommandOutput,
22
+ import("..").OpenSearchServerlessClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class ListIngestionStreamsCommand extends ListIngestionStreamsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: ListIngestionStreamsRequest;
32
+ output: ListIngestionStreamsResponse;
33
+ };
34
+ sdk: {
35
+ input: ListIngestionStreamsCommandInput;
36
+ output: ListIngestionStreamsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -3,10 +3,13 @@ export * from "./BatchGetCollectionGroupCommand";
3
3
  export * from "./BatchGetEffectiveLifecyclePolicyCommand";
4
4
  export * from "./BatchGetLifecyclePolicyCommand";
5
5
  export * from "./BatchGetVpcEndpointCommand";
6
+ export * from "./CancelIngestionJobCommand";
6
7
  export * from "./CreateAccessPolicyCommand";
7
8
  export * from "./CreateCollectionCommand";
8
9
  export * from "./CreateCollectionGroupCommand";
9
10
  export * from "./CreateIndexCommand";
11
+ export * from "./CreateIngestionJobCommand";
12
+ export * from "./CreateIngestionStreamCommand";
10
13
  export * from "./CreateLifecyclePolicyCommand";
11
14
  export * from "./CreateSecurityConfigCommand";
12
15
  export * from "./CreateSecurityPolicyCommand";
@@ -15,6 +18,7 @@ export * from "./DeleteAccessPolicyCommand";
15
18
  export * from "./DeleteCollectionCommand";
16
19
  export * from "./DeleteCollectionGroupCommand";
17
20
  export * from "./DeleteIndexCommand";
21
+ export * from "./DeleteIngestionStreamCommand";
18
22
  export * from "./DeleteLifecyclePolicyCommand";
19
23
  export * from "./DeleteSecurityConfigCommand";
20
24
  export * from "./DeleteSecurityPolicyCommand";
@@ -22,12 +26,16 @@ export * from "./DeleteVpcEndpointCommand";
22
26
  export * from "./GetAccessPolicyCommand";
23
27
  export * from "./GetAccountSettingsCommand";
24
28
  export * from "./GetIndexCommand";
29
+ export * from "./GetIngestionJobCommand";
30
+ export * from "./GetIngestionStreamCommand";
25
31
  export * from "./GetPoliciesStatsCommand";
26
32
  export * from "./GetSecurityConfigCommand";
27
33
  export * from "./GetSecurityPolicyCommand";
28
34
  export * from "./ListAccessPoliciesCommand";
29
35
  export * from "./ListCollectionGroupsCommand";
30
36
  export * from "./ListCollectionsCommand";
37
+ export * from "./ListIngestionJobsCommand";
38
+ export * from "./ListIngestionStreamsCommand";
31
39
  export * from "./ListLifecyclePoliciesCommand";
32
40
  export * from "./ListSecurityConfigsCommand";
33
41
  export * from "./ListSecurityPoliciesCommand";
@@ -60,6 +60,17 @@ export declare const VpcEndpointStatus: {
60
60
  readonly PENDING: "PENDING";
61
61
  };
62
62
  export type VpcEndpointStatus = (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
63
+ export declare const IngestionJobStatus: {
64
+ readonly ACTIVE: "ACTIVE";
65
+ readonly CANCELLED: "CANCELLED";
66
+ readonly CANCELLING: "CANCELLING";
67
+ readonly CANCEL_FAILED: "CANCEL_FAILED";
68
+ readonly COMPLETED: "COMPLETED";
69
+ readonly CREATE_FAILED: "CREATE_FAILED";
70
+ readonly CREATING: "CREATING";
71
+ readonly FAILED: "FAILED";
72
+ };
73
+ export type IngestionJobStatus = (typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
63
74
  export declare const IamIdentityCenterGroupAttribute: {
64
75
  readonly GroupId: "GroupId";
65
76
  readonly GroupName: "GroupName";
@@ -73,6 +84,46 @@ export declare const IamIdentityCenterUserAttribute: {
73
84
  };
74
85
  export type IamIdentityCenterUserAttribute =
75
86
  (typeof IamIdentityCenterUserAttribute)[keyof typeof IamIdentityCenterUserAttribute];
87
+ export declare const IngestionAlertCode: {
88
+ readonly DESTINATION_ACCESS_DENIED: "DESTINATION_ACCESS_DENIED";
89
+ readonly DESTINATION_RESOURCE_NOT_FOUND: "DESTINATION_RESOURCE_NOT_FOUND";
90
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
91
+ readonly SOURCE_ACCESS_DENIED: "SOURCE_ACCESS_DENIED";
92
+ readonly SOURCE_RESOURCE_NOT_FOUND: "SOURCE_RESOURCE_NOT_FOUND";
93
+ };
94
+ export type IngestionAlertCode = (typeof IngestionAlertCode)[keyof typeof IngestionAlertCode];
95
+ export declare const IngestionFailureCode: {
96
+ readonly DESTINATION_ACCESS_DENIED: "DESTINATION_ACCESS_DENIED";
97
+ readonly DESTINATION_RESOURCE_NOT_FOUND: "DESTINATION_RESOURCE_NOT_FOUND";
98
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
99
+ readonly SOURCE_ACCESS_DENIED: "SOURCE_ACCESS_DENIED";
100
+ readonly SOURCE_RESOURCE_NOT_FOUND: "SOURCE_RESOURCE_NOT_FOUND";
101
+ };
102
+ export type IngestionFailureCode = (typeof IngestionFailureCode)[keyof typeof IngestionFailureCode];
103
+ export declare const IngestionState: {
104
+ readonly FAILED: "FAILED";
105
+ readonly INGESTION_COMPLETE: "INGESTION_COMPLETE";
106
+ readonly INGESTION_IN_PROGRESS: "INGESTION_IN_PROGRESS";
107
+ readonly SCANNING: "SCANNING";
108
+ readonly STARTING: "STARTING";
109
+ readonly STOPPED: "STOPPED";
110
+ };
111
+ export type IngestionState = (typeof IngestionState)[keyof typeof IngestionState];
112
+ export declare const InitialScan: {
113
+ readonly DISABLED: "DISABLED";
114
+ readonly ENABLED: "ENABLED";
115
+ };
116
+ export type InitialScan = (typeof InitialScan)[keyof typeof InitialScan];
117
+ export declare const IngestionStreamStatus: {
118
+ readonly ACTIVE: "ACTIVE";
119
+ readonly CREATE_FAILED: "CREATE_FAILED";
120
+ readonly CREATING: "CREATING";
121
+ readonly DELETED: "DELETED";
122
+ readonly DELETE_FAILED: "DELETE_FAILED";
123
+ readonly DELETING: "DELETING";
124
+ };
125
+ export type IngestionStreamStatus =
126
+ (typeof IngestionStreamStatus)[keyof typeof IngestionStreamStatus];
76
127
  export declare const SecurityConfigType: {
77
128
  readonly iamfederation: "iamfederation";
78
129
  readonly iamidentitycenter: "iamidentitycenter";
@@ -7,6 +7,12 @@ import {
7
7
  DeletionProtection,
8
8
  IamIdentityCenterGroupAttribute,
9
9
  IamIdentityCenterUserAttribute,
10
+ IngestionAlertCode,
11
+ IngestionFailureCode,
12
+ IngestionJobStatus,
13
+ IngestionState,
14
+ IngestionStreamStatus,
15
+ InitialScan,
10
16
  LifecyclePolicyType,
11
17
  ResourceType,
12
18
  SecurityConfigType,
@@ -247,6 +253,17 @@ export interface BatchGetVpcEndpointResponse {
247
253
  vpcEndpointDetails?: VpcEndpointDetail[] | undefined;
248
254
  vpcEndpointErrorDetails?: VpcEndpointErrorDetail[] | undefined;
249
255
  }
256
+ export interface CancelIngestionJobRequest {
257
+ collectionId: string | undefined;
258
+ ingestionJobId: string | undefined;
259
+ clientToken?: string | undefined;
260
+ }
261
+ export interface CancelIngestionJobResponse {
262
+ ingestionJobId?: string | undefined;
263
+ collectionId?: string | undefined;
264
+ ingestionJobName?: string | undefined;
265
+ status?: IngestionJobStatus | undefined;
266
+ }
250
267
  export interface EncryptionConfig {
251
268
  aWSOwnedKey?: boolean | undefined;
252
269
  kmsKeyArn?: string | undefined;
@@ -321,6 +338,7 @@ export interface UpdateCollectionRequest {
321
338
  description?: string | undefined;
322
339
  vectorOptions?: VectorOptions | undefined;
323
340
  deletionProtection?: DeletionProtection | undefined;
341
+ encryptionConfig?: EncryptionConfig | undefined;
324
342
  clientToken?: string | undefined;
325
343
  }
326
344
  export interface UpdateCollectionDetail {
@@ -330,6 +348,7 @@ export interface UpdateCollectionDetail {
330
348
  type?: CollectionType | undefined;
331
349
  description?: string | undefined;
332
350
  vectorOptions?: VectorOptions | undefined;
351
+ kmsKeyArn?: string | undefined;
333
352
  arn?: string | undefined;
334
353
  createdDate?: number | undefined;
335
354
  lastModifiedDate?: number | undefined;
@@ -413,6 +432,102 @@ export interface CreateIndexRequest {
413
432
  indexSchema?: __DocumentType | undefined;
414
433
  }
415
434
  export interface CreateIndexResponse {}
435
+ export interface IngestionJobS3Source {
436
+ bucket?: string | undefined;
437
+ bucketOwnerAccountId?: string | undefined;
438
+ keyPrefix?: string | undefined;
439
+ }
440
+ export interface IngestionJobSource {
441
+ s3: IngestionJobS3Source | undefined;
442
+ }
443
+ export interface CreateIngestionJobRequest {
444
+ collectionId: string | undefined;
445
+ ingestionJobName: string | undefined;
446
+ indexName: string | undefined;
447
+ failureIndexName?: string | undefined;
448
+ source: IngestionJobSource | undefined;
449
+ tags?: Tag[] | undefined;
450
+ clientToken?: string | undefined;
451
+ }
452
+ export interface IngestionAlert {
453
+ code?: IngestionAlertCode | undefined;
454
+ message?: string | undefined;
455
+ }
456
+ export interface IngestionFailureReason {
457
+ code?: IngestionFailureCode | undefined;
458
+ message?: string | undefined;
459
+ }
460
+ export interface S3Statistics {
461
+ objectsDiscovered?: number | undefined;
462
+ objectsIngested?: number | undefined;
463
+ objectsFailed?: number | undefined;
464
+ }
465
+ export interface IngestionStatistics {
466
+ s3?: S3Statistics | undefined;
467
+ }
468
+ export interface IngestionJobDetail {
469
+ ingestionJobId?: string | undefined;
470
+ arn?: string | undefined;
471
+ collectionId?: string | undefined;
472
+ ingestionJobName?: string | undefined;
473
+ indexName?: string | undefined;
474
+ failureIndexName?: string | undefined;
475
+ source?: IngestionJobSource | undefined;
476
+ status?: IngestionJobStatus | undefined;
477
+ state?: IngestionState | undefined;
478
+ statistics?: IngestionStatistics | undefined;
479
+ revision?: number | undefined;
480
+ createdAt?: Date | undefined;
481
+ updatedAt?: Date | undefined;
482
+ failureReasons?: IngestionFailureReason[] | undefined;
483
+ activeAlerts?: IngestionAlert[] | undefined;
484
+ }
485
+ export interface CreateIngestionJobResponse {
486
+ ingestionJobDetail?: IngestionJobDetail | undefined;
487
+ }
488
+ export interface StreamBucketConfig {
489
+ bucket: string | undefined;
490
+ bucketOwnerAccountId?: string | undefined;
491
+ initialScan?: InitialScan | undefined;
492
+ }
493
+ export interface IngestionStreamS3Source {
494
+ sqsArn: string | undefined;
495
+ buckets?: StreamBucketConfig[] | undefined;
496
+ }
497
+ export interface IngestionStreamSource {
498
+ s3: IngestionStreamS3Source | undefined;
499
+ }
500
+ export interface CreateIngestionStreamRequest {
501
+ collectionId: string | undefined;
502
+ ingestionStreamName: string | undefined;
503
+ indexName: string | undefined;
504
+ failureIndexName?: string | undefined;
505
+ source: IngestionStreamSource | undefined;
506
+ roleArn: string | undefined;
507
+ tags?: Tag[] | undefined;
508
+ clientToken?: string | undefined;
509
+ }
510
+ export interface IngestionStreamDetail {
511
+ ingestionStreamId?: string | undefined;
512
+ arn?: string | undefined;
513
+ collectionId?: string | undefined;
514
+ ingestionStreamName?: string | undefined;
515
+ indexName?: string | undefined;
516
+ failureIndexName?: string | undefined;
517
+ source?: IngestionStreamSource | undefined;
518
+ roleArn?: string | undefined;
519
+ status?: IngestionStreamStatus | undefined;
520
+ state?: IngestionState | undefined;
521
+ statistics?: IngestionStatistics | undefined;
522
+ revision?: number | undefined;
523
+ createdAt?: Date | undefined;
524
+ updatedAt?: Date | undefined;
525
+ failureReasons?: IngestionFailureReason[] | undefined;
526
+ activeAlerts?: IngestionAlert[] | undefined;
527
+ }
528
+ export interface CreateIngestionStreamResponse {
529
+ ingestionStreamDetail?: IngestionStreamDetail | undefined;
530
+ }
416
531
  export interface CreateLifecyclePolicyRequest {
417
532
  type: LifecyclePolicyType | undefined;
418
533
  name: string | undefined;
@@ -504,6 +619,17 @@ export interface DeleteIndexRequest {
504
619
  indexName: string | undefined;
505
620
  }
506
621
  export interface DeleteIndexResponse {}
622
+ export interface DeleteIngestionStreamRequest {
623
+ collectionId: string | undefined;
624
+ ingestionStreamId: string | undefined;
625
+ clientToken?: string | undefined;
626
+ }
627
+ export interface DeleteIngestionStreamResponse {
628
+ ingestionStreamId?: string | undefined;
629
+ collectionId?: string | undefined;
630
+ ingestionStreamName?: string | undefined;
631
+ status?: IngestionStreamStatus | undefined;
632
+ }
507
633
  export interface DeleteLifecyclePolicyRequest {
508
634
  type: LifecyclePolicyType | undefined;
509
635
  name: string | undefined;
@@ -544,6 +670,20 @@ export interface GetIndexRequest {
544
670
  export interface GetIndexResponse {
545
671
  indexSchema?: __DocumentType | undefined;
546
672
  }
673
+ export interface GetIngestionJobRequest {
674
+ collectionId: string | undefined;
675
+ ingestionJobId: string | undefined;
676
+ }
677
+ export interface GetIngestionJobResponse {
678
+ ingestionJobDetail?: IngestionJobDetail | undefined;
679
+ }
680
+ export interface GetIngestionStreamRequest {
681
+ collectionId: string | undefined;
682
+ ingestionStreamId: string | undefined;
683
+ }
684
+ export interface GetIngestionStreamResponse {
685
+ ingestionStreamDetail?: IngestionStreamDetail | undefined;
686
+ }
547
687
  export interface GetPoliciesStatsRequest {}
548
688
  export interface LifecyclePolicyStats {
549
689
  RetentionPolicyCount?: number | undefined;
@@ -581,6 +721,42 @@ export interface UpdateIndexRequest {
581
721
  indexSchema?: __DocumentType | undefined;
582
722
  }
583
723
  export interface UpdateIndexResponse {}
724
+ export interface ListIngestionJobsRequest {
725
+ collectionId: string | undefined;
726
+ nextToken?: string | undefined;
727
+ maxResults?: number | undefined;
728
+ }
729
+ export interface IngestionJobSummary {
730
+ ingestionJobId?: string | undefined;
731
+ arn?: string | undefined;
732
+ ingestionJobName?: string | undefined;
733
+ indexName?: string | undefined;
734
+ status?: IngestionJobStatus | undefined;
735
+ createdAt?: Date | undefined;
736
+ updatedAt?: Date | undefined;
737
+ }
738
+ export interface ListIngestionJobsResponse {
739
+ ingestionJobSummaries?: IngestionJobSummary[] | undefined;
740
+ nextToken?: string | undefined;
741
+ }
742
+ export interface ListIngestionStreamsRequest {
743
+ collectionId: string | undefined;
744
+ nextToken?: string | undefined;
745
+ maxResults?: number | undefined;
746
+ }
747
+ export interface IngestionStreamSummary {
748
+ ingestionStreamId?: string | undefined;
749
+ arn?: string | undefined;
750
+ ingestionStreamName?: string | undefined;
751
+ indexName?: string | undefined;
752
+ status?: IngestionStreamStatus | undefined;
753
+ createdAt?: Date | undefined;
754
+ updatedAt?: Date | undefined;
755
+ }
756
+ export interface ListIngestionStreamsResponse {
757
+ ingestionStreamSummaries?: IngestionStreamSummary[] | undefined;
758
+ nextToken?: string | undefined;
759
+ }
584
760
  export interface ListLifecyclePoliciesRequest {
585
761
  type: LifecyclePolicyType | undefined;
586
762
  resources?: string[] | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListIngestionJobsCommandInput,
4
+ ListIngestionJobsCommandOutput,
5
+ } from "../commands/ListIngestionJobsCommand";
6
+ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListIngestionJobs: (
8
+ config: OpenSearchServerlessPaginationConfiguration,
9
+ input: ListIngestionJobsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListIngestionJobsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListIngestionStreamsCommandInput,
4
+ ListIngestionStreamsCommandOutput,
5
+ } from "../commands/ListIngestionStreamsCommand";
6
+ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListIngestionStreams: (
8
+ config: OpenSearchServerlessPaginationConfiguration,
9
+ input: ListIngestionStreamsCommandInput,
10
+ ...rest: any[]
11
+ ) => 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";
@@ -22,6 +22,8 @@ export declare var BatchGetLifecyclePolicyRequest$: StaticStructureSchema;
22
22
  export declare var BatchGetLifecyclePolicyResponse$: StaticStructureSchema;
23
23
  export declare var BatchGetVpcEndpointRequest$: StaticStructureSchema;
24
24
  export declare var BatchGetVpcEndpointResponse$: StaticStructureSchema;
25
+ export declare var CancelIngestionJobRequest$: StaticStructureSchema;
26
+ export declare var CancelIngestionJobResponse$: StaticStructureSchema;
25
27
  export declare var CapacityDetails$: StaticStructureSchema;
26
28
  export declare var CapacityLimits$: StaticStructureSchema;
27
29
  export declare var CollectionDetail$: StaticStructureSchema;
@@ -43,6 +45,10 @@ export declare var CreateCollectionResponse$: StaticStructureSchema;
43
45
  export declare var CreateIamIdentityCenterConfigOptions$: StaticStructureSchema;
44
46
  export declare var CreateIndexRequest$: StaticStructureSchema;
45
47
  export declare var CreateIndexResponse$: StaticStructureSchema;
48
+ export declare var CreateIngestionJobRequest$: StaticStructureSchema;
49
+ export declare var CreateIngestionJobResponse$: StaticStructureSchema;
50
+ export declare var CreateIngestionStreamRequest$: StaticStructureSchema;
51
+ export declare var CreateIngestionStreamResponse$: StaticStructureSchema;
46
52
  export declare var CreateLifecyclePolicyRequest$: StaticStructureSchema;
47
53
  export declare var CreateLifecyclePolicyResponse$: StaticStructureSchema;
48
54
  export declare var CreateSecurityConfigRequest$: StaticStructureSchema;
@@ -62,6 +68,8 @@ export declare var DeleteCollectionRequest$: StaticStructureSchema;
62
68
  export declare var DeleteCollectionResponse$: StaticStructureSchema;
63
69
  export declare var DeleteIndexRequest$: StaticStructureSchema;
64
70
  export declare var DeleteIndexResponse$: StaticStructureSchema;
71
+ export declare var DeleteIngestionStreamRequest$: StaticStructureSchema;
72
+ export declare var DeleteIngestionStreamResponse$: StaticStructureSchema;
65
73
  export declare var DeleteLifecyclePolicyRequest$: StaticStructureSchema;
66
74
  export declare var DeleteLifecyclePolicyResponse$: StaticStructureSchema;
67
75
  export declare var DeleteSecurityConfigRequest$: StaticStructureSchema;
@@ -81,6 +89,10 @@ export declare var GetAccountSettingsRequest$: StaticStructureSchema;
81
89
  export declare var GetAccountSettingsResponse$: StaticStructureSchema;
82
90
  export declare var GetIndexRequest$: StaticStructureSchema;
83
91
  export declare var GetIndexResponse$: StaticStructureSchema;
92
+ export declare var GetIngestionJobRequest$: StaticStructureSchema;
93
+ export declare var GetIngestionJobResponse$: StaticStructureSchema;
94
+ export declare var GetIngestionStreamRequest$: StaticStructureSchema;
95
+ export declare var GetIngestionStreamResponse$: StaticStructureSchema;
84
96
  export declare var GetPoliciesStatsRequest$: StaticStructureSchema;
85
97
  export declare var GetPoliciesStatsResponse$: StaticStructureSchema;
86
98
  export declare var GetSecurityConfigRequest$: StaticStructureSchema;
@@ -89,6 +101,17 @@ export declare var GetSecurityPolicyRequest$: StaticStructureSchema;
89
101
  export declare var GetSecurityPolicyResponse$: StaticStructureSchema;
90
102
  export declare var IamFederationConfigOptions$: StaticStructureSchema;
91
103
  export declare var IamIdentityCenterConfigOptions$: StaticStructureSchema;
104
+ export declare var IngestionAlert$: StaticStructureSchema;
105
+ export declare var IngestionFailureReason$: StaticStructureSchema;
106
+ export declare var IngestionJobDetail$: StaticStructureSchema;
107
+ export declare var IngestionJobS3Source$: StaticStructureSchema;
108
+ export declare var IngestionJobSource$: StaticStructureSchema;
109
+ export declare var IngestionJobSummary$: StaticStructureSchema;
110
+ export declare var IngestionStatistics$: StaticStructureSchema;
111
+ export declare var IngestionStreamDetail$: StaticStructureSchema;
112
+ export declare var IngestionStreamS3Source$: StaticStructureSchema;
113
+ export declare var IngestionStreamSource$: StaticStructureSchema;
114
+ export declare var IngestionStreamSummary$: StaticStructureSchema;
92
115
  export declare var LifecyclePolicyDetail$: StaticStructureSchema;
93
116
  export declare var LifecyclePolicyErrorDetail$: StaticStructureSchema;
94
117
  export declare var LifecyclePolicyIdentifier$: StaticStructureSchema;
@@ -101,6 +124,10 @@ export declare var ListCollectionGroupsRequest$: StaticStructureSchema;
101
124
  export declare var ListCollectionGroupsResponse$: StaticStructureSchema;
102
125
  export declare var ListCollectionsRequest$: StaticStructureSchema;
103
126
  export declare var ListCollectionsResponse$: StaticStructureSchema;
127
+ export declare var ListIngestionJobsRequest$: StaticStructureSchema;
128
+ export declare var ListIngestionJobsResponse$: StaticStructureSchema;
129
+ export declare var ListIngestionStreamsRequest$: StaticStructureSchema;
130
+ export declare var ListIngestionStreamsResponse$: StaticStructureSchema;
104
131
  export declare var ListLifecyclePoliciesRequest$: StaticStructureSchema;
105
132
  export declare var ListLifecyclePoliciesResponse$: StaticStructureSchema;
106
133
  export declare var ListSecurityConfigsRequest$: StaticStructureSchema;
@@ -111,6 +138,7 @@ export declare var ListTagsForResourceRequest$: StaticStructureSchema;
111
138
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
112
139
  export declare var ListVpcEndpointsRequest$: StaticStructureSchema;
113
140
  export declare var ListVpcEndpointsResponse$: StaticStructureSchema;
141
+ export declare var S3Statistics$: StaticStructureSchema;
114
142
  export declare var SamlConfigOptions$: StaticStructureSchema;
115
143
  export declare var SecurityConfigDetail$: StaticStructureSchema;
116
144
  export declare var SecurityConfigStats$: StaticStructureSchema;
@@ -118,6 +146,7 @@ export declare var SecurityConfigSummary$: StaticStructureSchema;
118
146
  export declare var SecurityPolicyDetail$: StaticStructureSchema;
119
147
  export declare var SecurityPolicyStats$: StaticStructureSchema;
120
148
  export declare var SecurityPolicySummary$: StaticStructureSchema;
149
+ export declare var StreamBucketConfig$: StaticStructureSchema;
121
150
  export declare var Tag$: StaticStructureSchema;
122
151
  export declare var TagResourceRequest$: StaticStructureSchema;
123
152
  export declare var TagResourceResponse$: StaticStructureSchema;
@@ -155,10 +184,13 @@ export declare var BatchGetCollectionGroup$: StaticOperationSchema;
155
184
  export declare var BatchGetEffectiveLifecyclePolicy$: StaticOperationSchema;
156
185
  export declare var BatchGetLifecyclePolicy$: StaticOperationSchema;
157
186
  export declare var BatchGetVpcEndpoint$: StaticOperationSchema;
187
+ export declare var CancelIngestionJob$: StaticOperationSchema;
158
188
  export declare var CreateAccessPolicy$: StaticOperationSchema;
159
189
  export declare var CreateCollection$: StaticOperationSchema;
160
190
  export declare var CreateCollectionGroup$: StaticOperationSchema;
161
191
  export declare var CreateIndex$: StaticOperationSchema;
192
+ export declare var CreateIngestionJob$: StaticOperationSchema;
193
+ export declare var CreateIngestionStream$: StaticOperationSchema;
162
194
  export declare var CreateLifecyclePolicy$: StaticOperationSchema;
163
195
  export declare var CreateSecurityConfig$: StaticOperationSchema;
164
196
  export declare var CreateSecurityPolicy$: StaticOperationSchema;
@@ -167,6 +199,7 @@ export declare var DeleteAccessPolicy$: StaticOperationSchema;
167
199
  export declare var DeleteCollection$: StaticOperationSchema;
168
200
  export declare var DeleteCollectionGroup$: StaticOperationSchema;
169
201
  export declare var DeleteIndex$: StaticOperationSchema;
202
+ export declare var DeleteIngestionStream$: StaticOperationSchema;
170
203
  export declare var DeleteLifecyclePolicy$: StaticOperationSchema;
171
204
  export declare var DeleteSecurityConfig$: StaticOperationSchema;
172
205
  export declare var DeleteSecurityPolicy$: StaticOperationSchema;
@@ -174,12 +207,16 @@ export declare var DeleteVpcEndpoint$: StaticOperationSchema;
174
207
  export declare var GetAccessPolicy$: StaticOperationSchema;
175
208
  export declare var GetAccountSettings$: StaticOperationSchema;
176
209
  export declare var GetIndex$: StaticOperationSchema;
210
+ export declare var GetIngestionJob$: StaticOperationSchema;
211
+ export declare var GetIngestionStream$: StaticOperationSchema;
177
212
  export declare var GetPoliciesStats$: StaticOperationSchema;
178
213
  export declare var GetSecurityConfig$: StaticOperationSchema;
179
214
  export declare var GetSecurityPolicy$: StaticOperationSchema;
180
215
  export declare var ListAccessPolicies$: StaticOperationSchema;
181
216
  export declare var ListCollectionGroups$: StaticOperationSchema;
182
217
  export declare var ListCollections$: StaticOperationSchema;
218
+ export declare var ListIngestionJobs$: StaticOperationSchema;
219
+ export declare var ListIngestionStreams$: StaticOperationSchema;
183
220
  export declare var ListLifecyclePolicies$: StaticOperationSchema;
184
221
  export declare var ListSecurityConfigs$: StaticOperationSchema;
185
222
  export declare var ListSecurityPolicies$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearchserverless",
3
- "version": "3.1154.0",
3
+ "version": "3.1156.0",
4
4
  "description": "AWS SDK for JavaScript Opensearchserverless Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearchserverless",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.4",
50
- "@aws-sdk/credential-provider-node": "^3.972.87",
51
- "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.36.0",
49
+ "@aws-sdk/core": "^3.978.5",
50
+ "@aws-sdk/credential-provider-node": "^3.972.88",
51
+ "@aws-sdk/types": "^3.975.0",
52
+ "@smithy/core": "^3.36.1",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",