@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,119 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetIngestionJobRequest, GetIngestionJobResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetIngestionJobCommand}.
11
+ */
12
+ export interface GetIngestionJobCommandInput extends GetIngestionJobRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetIngestionJobCommand}.
18
+ */
19
+ export interface GetIngestionJobCommandOutput extends GetIngestionJobResponse, __MetadataBearer {
20
+ }
21
+ declare const GetIngestionJobCommand_base: {
22
+ new (input: GetIngestionJobCommandInput): import("@smithy/core/client").CommandImpl<GetIngestionJobCommandInput, GetIngestionJobCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetIngestionJobCommandInput): import("@smithy/core/client").CommandImpl<GetIngestionJobCommandInput, GetIngestionJobCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns information about an ingestion job, including its configuration, status, and processing state.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { OpenSearchServerlessClient, GetIngestionJobCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
32
+ * // const { OpenSearchServerlessClient, GetIngestionJobCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
33
+ * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless";
34
+ * const config = {}; // type is OpenSearchServerlessClientConfig
35
+ * const client = new OpenSearchServerlessClient(config);
36
+ * const input = { // GetIngestionJobRequest
37
+ * collectionId: "STRING_VALUE", // required
38
+ * ingestionJobId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetIngestionJobCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetIngestionJobResponse
43
+ * // ingestionJobDetail: { // IngestionJobDetail
44
+ * // ingestionJobId: "STRING_VALUE",
45
+ * // arn: "STRING_VALUE",
46
+ * // collectionId: "STRING_VALUE",
47
+ * // ingestionJobName: "STRING_VALUE",
48
+ * // indexName: "STRING_VALUE",
49
+ * // failureIndexName: "STRING_VALUE",
50
+ * // source: { // IngestionJobSource
51
+ * // s3: { // IngestionJobS3Source
52
+ * // bucket: "STRING_VALUE",
53
+ * // bucketOwnerAccountId: "STRING_VALUE",
54
+ * // keyPrefix: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // status: "STRING_VALUE",
58
+ * // state: "STRING_VALUE",
59
+ * // statistics: { // IngestionStatistics
60
+ * // s3: { // S3Statistics
61
+ * // objectsDiscovered: Number("long"),
62
+ * // objectsIngested: Number("long"),
63
+ * // objectsFailed: Number("long"),
64
+ * // },
65
+ * // },
66
+ * // revision: Number("long"),
67
+ * // createdAt: new Date("TIMESTAMP"),
68
+ * // updatedAt: new Date("TIMESTAMP"),
69
+ * // failureReasons: [ // IngestionFailureReasons
70
+ * // { // IngestionFailureReason
71
+ * // code: "STRING_VALUE",
72
+ * // message: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // activeAlerts: [ // IngestionAlerts
76
+ * // { // IngestionAlert
77
+ * // code: "STRING_VALUE",
78
+ * // message: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param GetIngestionJobCommandInput - {@link GetIngestionJobCommandInput}
87
+ * @returns {@link GetIngestionJobCommandOutput}
88
+ * @see {@link GetIngestionJobCommandInput} for command's `input` shape.
89
+ * @see {@link GetIngestionJobCommandOutput} for command's `response` shape.
90
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
91
+ *
92
+ * @throws {@link InternalServerException} (server fault)
93
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
94
+ *
95
+ * @throws {@link ResourceNotFoundException} (client fault)
96
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
100
+ *
101
+ * @throws {@link OpenSearchServerlessServiceException}
102
+ * <p>Base exception class for all service exceptions from OpenSearchServerless service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class GetIngestionJobCommand extends GetIngestionJobCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: GetIngestionJobRequest;
112
+ output: GetIngestionJobResponse;
113
+ };
114
+ sdk: {
115
+ input: GetIngestionJobCommandInput;
116
+ output: GetIngestionJobCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -0,0 +1,125 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetIngestionStreamRequest, GetIngestionStreamResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetIngestionStreamCommand}.
11
+ */
12
+ export interface GetIngestionStreamCommandInput extends GetIngestionStreamRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetIngestionStreamCommand}.
18
+ */
19
+ export interface GetIngestionStreamCommandOutput extends GetIngestionStreamResponse, __MetadataBearer {
20
+ }
21
+ declare const GetIngestionStreamCommand_base: {
22
+ new (input: GetIngestionStreamCommandInput): import("@smithy/core/client").CommandImpl<GetIngestionStreamCommandInput, GetIngestionStreamCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetIngestionStreamCommandInput): import("@smithy/core/client").CommandImpl<GetIngestionStreamCommandInput, GetIngestionStreamCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns information about an ingestion stream, including its configuration, status, and processing state.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { OpenSearchServerlessClient, GetIngestionStreamCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
32
+ * // const { OpenSearchServerlessClient, GetIngestionStreamCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
33
+ * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless";
34
+ * const config = {}; // type is OpenSearchServerlessClientConfig
35
+ * const client = new OpenSearchServerlessClient(config);
36
+ * const input = { // GetIngestionStreamRequest
37
+ * collectionId: "STRING_VALUE", // required
38
+ * ingestionStreamId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetIngestionStreamCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetIngestionStreamResponse
43
+ * // ingestionStreamDetail: { // IngestionStreamDetail
44
+ * // ingestionStreamId: "STRING_VALUE",
45
+ * // arn: "STRING_VALUE",
46
+ * // collectionId: "STRING_VALUE",
47
+ * // ingestionStreamName: "STRING_VALUE",
48
+ * // indexName: "STRING_VALUE",
49
+ * // failureIndexName: "STRING_VALUE",
50
+ * // source: { // IngestionStreamSource
51
+ * // s3: { // IngestionStreamS3Source
52
+ * // sqsArn: "STRING_VALUE", // required
53
+ * // buckets: [ // StreamBucketConfigs
54
+ * // { // StreamBucketConfig
55
+ * // bucket: "STRING_VALUE", // required
56
+ * // bucketOwnerAccountId: "STRING_VALUE",
57
+ * // initialScan: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // },
62
+ * // roleArn: "STRING_VALUE",
63
+ * // status: "STRING_VALUE",
64
+ * // state: "STRING_VALUE",
65
+ * // statistics: { // IngestionStatistics
66
+ * // s3: { // S3Statistics
67
+ * // objectsDiscovered: Number("long"),
68
+ * // objectsIngested: Number("long"),
69
+ * // objectsFailed: Number("long"),
70
+ * // },
71
+ * // },
72
+ * // revision: Number("long"),
73
+ * // createdAt: new Date("TIMESTAMP"),
74
+ * // updatedAt: new Date("TIMESTAMP"),
75
+ * // failureReasons: [ // IngestionFailureReasons
76
+ * // { // IngestionFailureReason
77
+ * // code: "STRING_VALUE",
78
+ * // message: "STRING_VALUE",
79
+ * // },
80
+ * // ],
81
+ * // activeAlerts: [ // IngestionAlerts
82
+ * // { // IngestionAlert
83
+ * // code: "STRING_VALUE",
84
+ * // message: "STRING_VALUE",
85
+ * // },
86
+ * // ],
87
+ * // },
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param GetIngestionStreamCommandInput - {@link GetIngestionStreamCommandInput}
93
+ * @returns {@link GetIngestionStreamCommandOutput}
94
+ * @see {@link GetIngestionStreamCommandInput} for command's `input` shape.
95
+ * @see {@link GetIngestionStreamCommandOutput} for command's `response` shape.
96
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
97
+ *
98
+ * @throws {@link InternalServerException} (server fault)
99
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
100
+ *
101
+ * @throws {@link ResourceNotFoundException} (client fault)
102
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
103
+ *
104
+ * @throws {@link ValidationException} (client fault)
105
+ * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
106
+ *
107
+ * @throws {@link OpenSearchServerlessServiceException}
108
+ * <p>Base exception class for all service exceptions from OpenSearchServerless service.</p>
109
+ *
110
+ *
111
+ * @public
112
+ */
113
+ export declare class GetIngestionStreamCommand extends GetIngestionStreamCommand_base {
114
+ /** @internal type navigation helper, not in runtime. */
115
+ protected static __types: {
116
+ api: {
117
+ input: GetIngestionStreamRequest;
118
+ output: GetIngestionStreamResponse;
119
+ };
120
+ sdk: {
121
+ input: GetIngestionStreamCommandInput;
122
+ output: GetIngestionStreamCommandOutput;
123
+ };
124
+ };
125
+ }
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListIngestionJobsRequest, ListIngestionJobsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListIngestionJobsCommand}.
11
+ */
12
+ export interface ListIngestionJobsCommandInput extends ListIngestionJobsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListIngestionJobsCommand}.
18
+ */
19
+ export interface ListIngestionJobsCommandOutput extends ListIngestionJobsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListIngestionJobsCommand_base: {
22
+ new (input: ListIngestionJobsCommandInput): import("@smithy/core/client").CommandImpl<ListIngestionJobsCommandInput, ListIngestionJobsCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListIngestionJobsCommandInput): import("@smithy/core/client").CommandImpl<ListIngestionJobsCommandInput, ListIngestionJobsCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of ingestion jobs in a collection.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { OpenSearchServerlessClient, ListIngestionJobsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
32
+ * // const { OpenSearchServerlessClient, ListIngestionJobsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
33
+ * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless";
34
+ * const config = {}; // type is OpenSearchServerlessClientConfig
35
+ * const client = new OpenSearchServerlessClient(config);
36
+ * const input = { // ListIngestionJobsRequest
37
+ * collectionId: "STRING_VALUE", // required
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListIngestionJobsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListIngestionJobsResponse
44
+ * // ingestionJobSummaries: [ // IngestionJobSummaries
45
+ * // { // IngestionJobSummary
46
+ * // ingestionJobId: "STRING_VALUE",
47
+ * // arn: "STRING_VALUE",
48
+ * // ingestionJobName: "STRING_VALUE",
49
+ * // indexName: "STRING_VALUE",
50
+ * // status: "STRING_VALUE",
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // updatedAt: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // ],
55
+ * // nextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListIngestionJobsCommandInput - {@link ListIngestionJobsCommandInput}
61
+ * @returns {@link ListIngestionJobsCommandOutput}
62
+ * @see {@link ListIngestionJobsCommandInput} for command's `input` shape.
63
+ * @see {@link ListIngestionJobsCommandOutput} for command's `response` shape.
64
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
74
+ *
75
+ * @throws {@link OpenSearchServerlessServiceException}
76
+ * <p>Base exception class for all service exceptions from OpenSearchServerless service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class ListIngestionJobsCommand extends ListIngestionJobsCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: ListIngestionJobsRequest;
86
+ output: ListIngestionJobsResponse;
87
+ };
88
+ sdk: {
89
+ input: ListIngestionJobsCommandInput;
90
+ output: ListIngestionJobsCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListIngestionStreamsRequest, ListIngestionStreamsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListIngestionStreamsCommand}.
11
+ */
12
+ export interface ListIngestionStreamsCommandInput extends ListIngestionStreamsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListIngestionStreamsCommand}.
18
+ */
19
+ export interface ListIngestionStreamsCommandOutput extends ListIngestionStreamsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListIngestionStreamsCommand_base: {
22
+ new (input: ListIngestionStreamsCommandInput): import("@smithy/core/client").CommandImpl<ListIngestionStreamsCommandInput, ListIngestionStreamsCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListIngestionStreamsCommandInput): import("@smithy/core/client").CommandImpl<ListIngestionStreamsCommandInput, ListIngestionStreamsCommandOutput, import("..").OpenSearchServerlessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns a list of ingestion streams in a collection.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { OpenSearchServerlessClient, ListIngestionStreamsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import
32
+ * // const { OpenSearchServerlessClient, ListIngestionStreamsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import
33
+ * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless";
34
+ * const config = {}; // type is OpenSearchServerlessClientConfig
35
+ * const client = new OpenSearchServerlessClient(config);
36
+ * const input = { // ListIngestionStreamsRequest
37
+ * collectionId: "STRING_VALUE", // required
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListIngestionStreamsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListIngestionStreamsResponse
44
+ * // ingestionStreamSummaries: [ // IngestionStreamSummaries
45
+ * // { // IngestionStreamSummary
46
+ * // ingestionStreamId: "STRING_VALUE",
47
+ * // arn: "STRING_VALUE",
48
+ * // ingestionStreamName: "STRING_VALUE",
49
+ * // indexName: "STRING_VALUE",
50
+ * // status: "STRING_VALUE",
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // updatedAt: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // ],
55
+ * // nextToken: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListIngestionStreamsCommandInput - {@link ListIngestionStreamsCommandInput}
61
+ * @returns {@link ListIngestionStreamsCommandOutput}
62
+ * @see {@link ListIngestionStreamsCommandInput} for command's `input` shape.
63
+ * @see {@link ListIngestionStreamsCommandOutput} for command's `response` shape.
64
+ * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape.
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>Thrown when an error internal to the service occurs while processing a request.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>Thrown when accessing or deleting a resource that does not exist.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>Thrown when the HTTP request contains invalid input or is missing required input.</p>
74
+ *
75
+ * @throws {@link OpenSearchServerlessServiceException}
76
+ * <p>Base exception class for all service exceptions from OpenSearchServerless service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class ListIngestionStreamsCommand extends ListIngestionStreamsCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: ListIngestionStreamsRequest;
86
+ output: ListIngestionStreamsResponse;
87
+ };
88
+ sdk: {
89
+ input: ListIngestionStreamsCommandInput;
90
+ output: ListIngestionStreamsCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -40,6 +40,10 @@ declare const UpdateCollectionCommand_base: {
40
40
  * ServerlessVectorAcceleration: "STRING_VALUE", // required
41
41
  * },
42
42
  * deletionProtection: "STRING_VALUE",
43
+ * encryptionConfig: { // EncryptionConfig
44
+ * aWSOwnedKey: true || false,
45
+ * kmsKeyArn: "STRING_VALUE",
46
+ * },
43
47
  * clientToken: "STRING_VALUE",
44
48
  * };
45
49
  * const command = new UpdateCollectionCommand(input);
@@ -54,6 +58,7 @@ declare const UpdateCollectionCommand_base: {
54
58
  * // vectorOptions: { // VectorOptions
55
59
  * // ServerlessVectorAcceleration: "STRING_VALUE", // required
56
60
  * // },
61
+ * // kmsKeyArn: "STRING_VALUE",
57
62
  * // arn: "STRING_VALUE",
58
63
  * // createdDate: Number("long"),
59
64
  * // lastModifiedDate: Number("long"),
@@ -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";
@@ -205,6 +205,48 @@ export declare const VpcEndpointStatus: {
205
205
  * @public
206
206
  */
207
207
  export type VpcEndpointStatus = (typeof VpcEndpointStatus)[keyof typeof VpcEndpointStatus];
208
+ /**
209
+ * @public
210
+ * @enum
211
+ */
212
+ export declare const IngestionJobStatus: {
213
+ /**
214
+ * Ingestion job is provisioned and ingesting
215
+ */
216
+ readonly ACTIVE: "ACTIVE";
217
+ /**
218
+ * Ingestion job was cancelled
219
+ */
220
+ readonly CANCELLED: "CANCELLED";
221
+ /**
222
+ * Ingestion job is being cancelled
223
+ */
224
+ readonly CANCELLING: "CANCELLING";
225
+ /**
226
+ * Ingestion job cancellation failed
227
+ */
228
+ readonly CANCEL_FAILED: "CANCEL_FAILED";
229
+ /**
230
+ * Bulk ingestion finished; job is complete
231
+ */
232
+ readonly COMPLETED: "COMPLETED";
233
+ /**
234
+ * Ingestion job creation failed
235
+ */
236
+ readonly CREATE_FAILED: "CREATE_FAILED";
237
+ /**
238
+ * Ingestion job is being created
239
+ */
240
+ readonly CREATING: "CREATING";
241
+ /**
242
+ * Ingestion job failed terminally (no retry)
243
+ */
244
+ readonly FAILED: "FAILED";
245
+ };
246
+ /**
247
+ * @public
248
+ */
249
+ export type IngestionJobStatus = (typeof IngestionJobStatus)[keyof typeof IngestionJobStatus];
208
250
  /**
209
251
  * @public
210
252
  * @enum
@@ -245,6 +287,122 @@ export declare const IamIdentityCenterUserAttribute: {
245
287
  * @public
246
288
  */
247
289
  export type IamIdentityCenterUserAttribute = (typeof IamIdentityCenterUserAttribute)[keyof typeof IamIdentityCenterUserAttribute];
290
+ /**
291
+ * @public
292
+ * @enum
293
+ */
294
+ export declare const IngestionAlertCode: {
295
+ readonly DESTINATION_ACCESS_DENIED: "DESTINATION_ACCESS_DENIED";
296
+ readonly DESTINATION_RESOURCE_NOT_FOUND: "DESTINATION_RESOURCE_NOT_FOUND";
297
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
298
+ readonly SOURCE_ACCESS_DENIED: "SOURCE_ACCESS_DENIED";
299
+ readonly SOURCE_RESOURCE_NOT_FOUND: "SOURCE_RESOURCE_NOT_FOUND";
300
+ };
301
+ /**
302
+ * @public
303
+ */
304
+ export type IngestionAlertCode = (typeof IngestionAlertCode)[keyof typeof IngestionAlertCode];
305
+ /**
306
+ * @public
307
+ * @enum
308
+ */
309
+ export declare const IngestionFailureCode: {
310
+ readonly DESTINATION_ACCESS_DENIED: "DESTINATION_ACCESS_DENIED";
311
+ readonly DESTINATION_RESOURCE_NOT_FOUND: "DESTINATION_RESOURCE_NOT_FOUND";
312
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
313
+ readonly SOURCE_ACCESS_DENIED: "SOURCE_ACCESS_DENIED";
314
+ readonly SOURCE_RESOURCE_NOT_FOUND: "SOURCE_RESOURCE_NOT_FOUND";
315
+ };
316
+ /**
317
+ * @public
318
+ */
319
+ export type IngestionFailureCode = (typeof IngestionFailureCode)[keyof typeof IngestionFailureCode];
320
+ /**
321
+ * @public
322
+ * @enum
323
+ */
324
+ export declare const IngestionState: {
325
+ /**
326
+ * Ingestion runtime failure (terminal)
327
+ */
328
+ readonly FAILED: "FAILED";
329
+ /**
330
+ * Bulk ingestion finished
331
+ */
332
+ readonly INGESTION_COMPLETE: "INGESTION_COMPLETE";
333
+ /**
334
+ * Documents are being read, chunked and indexed
335
+ */
336
+ readonly INGESTION_IN_PROGRESS: "INGESTION_IN_PROGRESS";
337
+ /**
338
+ * Bulk source scan in progress
339
+ */
340
+ readonly SCANNING: "SCANNING";
341
+ /**
342
+ * Ingestion is initializing
343
+ */
344
+ readonly STARTING: "STARTING";
345
+ /**
346
+ * Ingestion halted (recoverable)
347
+ */
348
+ readonly STOPPED: "STOPPED";
349
+ };
350
+ /**
351
+ * @public
352
+ */
353
+ export type IngestionState = (typeof IngestionState)[keyof typeof IngestionState];
354
+ /**
355
+ * @public
356
+ * @enum
357
+ */
358
+ export declare const InitialScan: {
359
+ /**
360
+ * Skip the one-time delta scan and process SQS notifications only
361
+ */
362
+ readonly DISABLED: "DISABLED";
363
+ /**
364
+ * Perform a one-time delta scan of existing S3 objects before processing SQS notifications
365
+ */
366
+ readonly ENABLED: "ENABLED";
367
+ };
368
+ /**
369
+ * @public
370
+ */
371
+ export type InitialScan = (typeof InitialScan)[keyof typeof InitialScan];
372
+ /**
373
+ * @public
374
+ * @enum
375
+ */
376
+ export declare const IngestionStreamStatus: {
377
+ /**
378
+ * Ingestion stream is provisioned and ingesting
379
+ */
380
+ readonly ACTIVE: "ACTIVE";
381
+ /**
382
+ * Ingestion stream creation failed
383
+ */
384
+ readonly CREATE_FAILED: "CREATE_FAILED";
385
+ /**
386
+ * Ingestion stream is being created
387
+ */
388
+ readonly CREATING: "CREATING";
389
+ /**
390
+ * Ingestion stream was deleted
391
+ */
392
+ readonly DELETED: "DELETED";
393
+ /**
394
+ * Ingestion stream deletion failed
395
+ */
396
+ readonly DELETE_FAILED: "DELETE_FAILED";
397
+ /**
398
+ * Ingestion stream is being deleted
399
+ */
400
+ readonly DELETING: "DELETING";
401
+ };
402
+ /**
403
+ * @public
404
+ */
405
+ export type IngestionStreamStatus = (typeof IngestionStreamStatus)[keyof typeof IngestionStreamStatus];
248
406
  /**
249
407
  * @public
250
408
  * @enum