@aws-sdk/client-opensearchserverless 3.431.0 → 3.435.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 (55) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/OpenSearchServerless.js +12 -0
  3. package/dist-cjs/commands/BatchGetEffectiveLifecyclePolicyCommand.js +51 -0
  4. package/dist-cjs/commands/BatchGetLifecyclePolicyCommand.js +51 -0
  5. package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +51 -0
  7. package/dist-cjs/commands/ListLifecyclePoliciesCommand.js +51 -0
  8. package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +51 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoint/ruleset.js +3 -3
  11. package/dist-cjs/models/models_0.js +7 -1
  12. package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +28 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_0.js +342 -2
  15. package/dist-es/OpenSearchServerless.js +12 -0
  16. package/dist-es/commands/BatchGetEffectiveLifecyclePolicyCommand.js +47 -0
  17. package/dist-es/commands/BatchGetLifecyclePolicyCommand.js +47 -0
  18. package/dist-es/commands/CreateLifecyclePolicyCommand.js +47 -0
  19. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +47 -0
  20. package/dist-es/commands/ListLifecyclePoliciesCommand.js +47 -0
  21. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +47 -0
  22. package/dist-es/commands/index.js +6 -0
  23. package/dist-es/endpoint/ruleset.js +3 -3
  24. package/dist-es/models/models_0.js +6 -0
  25. package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +24 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_json1_0.js +328 -0
  28. package/dist-types/OpenSearchServerless.d.ts +42 -0
  29. package/dist-types/OpenSearchServerlessClient.d.ts +8 -2
  30. package/dist-types/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +102 -0
  31. package/dist-types/commands/BatchGetLifecyclePolicyCommand.d.ts +103 -0
  32. package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +101 -0
  33. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +88 -0
  34. package/dist-types/commands/GetPoliciesStatsCommand.d.ts +3 -0
  35. package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +95 -0
  36. package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +104 -0
  37. package/dist-types/commands/index.d.ts +6 -0
  38. package/dist-types/models/models_0.d.ts +446 -4
  39. package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_json1_0.d.ts +54 -0
  42. package/dist-types/ts3.4/OpenSearchServerless.d.ts +102 -0
  43. package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +36 -0
  44. package/dist-types/ts3.4/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/BatchGetLifecyclePolicyCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +109 -0
  52. package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  54. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -0
  55. package/package.json +31 -31
package/README.md CHANGED
@@ -219,6 +219,22 @@ BatchGetCollection
219
219
 
220
220
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/batchgetcollectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/batchgetcollectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/batchgetcollectioncommandoutput.html)
221
221
 
222
+ </details>
223
+ <details>
224
+ <summary>
225
+ BatchGetEffectiveLifecyclePolicy
226
+ </summary>
227
+
228
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/batchgeteffectivelifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/batchgeteffectivelifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/batchgeteffectivelifecyclepolicycommandoutput.html)
229
+
230
+ </details>
231
+ <details>
232
+ <summary>
233
+ BatchGetLifecyclePolicy
234
+ </summary>
235
+
236
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/batchgetlifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/batchgetlifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/batchgetlifecyclepolicycommandoutput.html)
237
+
222
238
  </details>
223
239
  <details>
224
240
  <summary>
@@ -243,6 +259,14 @@ CreateCollection
243
259
 
244
260
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/createcollectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/createcollectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/createcollectioncommandoutput.html)
245
261
 
262
+ </details>
263
+ <details>
264
+ <summary>
265
+ CreateLifecyclePolicy
266
+ </summary>
267
+
268
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/createlifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/createlifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/createlifecyclepolicycommandoutput.html)
269
+
246
270
  </details>
247
271
  <details>
248
272
  <summary>
@@ -283,6 +307,14 @@ DeleteCollection
283
307
 
284
308
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/deletecollectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/deletecollectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/deletecollectioncommandoutput.html)
285
309
 
310
+ </details>
311
+ <details>
312
+ <summary>
313
+ DeleteLifecyclePolicy
314
+ </summary>
315
+
316
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/deletelifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/deletelifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/deletelifecyclepolicycommandoutput.html)
317
+
286
318
  </details>
287
319
  <details>
288
320
  <summary>
@@ -363,6 +395,14 @@ ListCollections
363
395
 
364
396
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/listcollectionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/listcollectionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/listcollectionscommandoutput.html)
365
397
 
398
+ </details>
399
+ <details>
400
+ <summary>
401
+ ListLifecyclePolicies
402
+ </summary>
403
+
404
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/listlifecyclepoliciescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/listlifecyclepoliciescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/listlifecyclepoliciescommandoutput.html)
405
+
366
406
  </details>
367
407
  <details>
368
408
  <summary>
@@ -435,6 +475,14 @@ UpdateCollection
435
475
 
436
476
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/updatecollectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/updatecollectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/updatecollectioncommandoutput.html)
437
477
 
478
+ </details>
479
+ <details>
480
+ <summary>
481
+ UpdateLifecyclePolicy
482
+ </summary>
483
+
484
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/classes/updatelifecyclepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/updatelifecyclepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearchserverless/interfaces/updatelifecyclepolicycommandoutput.html)
485
+
438
486
  </details>
439
487
  <details>
440
488
  <summary>
@@ -3,14 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenSearchServerless = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const BatchGetCollectionCommand_1 = require("./commands/BatchGetCollectionCommand");
6
+ const BatchGetEffectiveLifecyclePolicyCommand_1 = require("./commands/BatchGetEffectiveLifecyclePolicyCommand");
7
+ const BatchGetLifecyclePolicyCommand_1 = require("./commands/BatchGetLifecyclePolicyCommand");
6
8
  const BatchGetVpcEndpointCommand_1 = require("./commands/BatchGetVpcEndpointCommand");
7
9
  const CreateAccessPolicyCommand_1 = require("./commands/CreateAccessPolicyCommand");
8
10
  const CreateCollectionCommand_1 = require("./commands/CreateCollectionCommand");
11
+ const CreateLifecyclePolicyCommand_1 = require("./commands/CreateLifecyclePolicyCommand");
9
12
  const CreateSecurityConfigCommand_1 = require("./commands/CreateSecurityConfigCommand");
10
13
  const CreateSecurityPolicyCommand_1 = require("./commands/CreateSecurityPolicyCommand");
11
14
  const CreateVpcEndpointCommand_1 = require("./commands/CreateVpcEndpointCommand");
12
15
  const DeleteAccessPolicyCommand_1 = require("./commands/DeleteAccessPolicyCommand");
13
16
  const DeleteCollectionCommand_1 = require("./commands/DeleteCollectionCommand");
17
+ const DeleteLifecyclePolicyCommand_1 = require("./commands/DeleteLifecyclePolicyCommand");
14
18
  const DeleteSecurityConfigCommand_1 = require("./commands/DeleteSecurityConfigCommand");
15
19
  const DeleteSecurityPolicyCommand_1 = require("./commands/DeleteSecurityPolicyCommand");
16
20
  const DeleteVpcEndpointCommand_1 = require("./commands/DeleteVpcEndpointCommand");
@@ -21,6 +25,7 @@ const GetSecurityConfigCommand_1 = require("./commands/GetSecurityConfigCommand"
21
25
  const GetSecurityPolicyCommand_1 = require("./commands/GetSecurityPolicyCommand");
22
26
  const ListAccessPoliciesCommand_1 = require("./commands/ListAccessPoliciesCommand");
23
27
  const ListCollectionsCommand_1 = require("./commands/ListCollectionsCommand");
28
+ const ListLifecyclePoliciesCommand_1 = require("./commands/ListLifecyclePoliciesCommand");
24
29
  const ListSecurityConfigsCommand_1 = require("./commands/ListSecurityConfigsCommand");
25
30
  const ListSecurityPoliciesCommand_1 = require("./commands/ListSecurityPoliciesCommand");
26
31
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
@@ -30,20 +35,25 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
30
35
  const UpdateAccessPolicyCommand_1 = require("./commands/UpdateAccessPolicyCommand");
31
36
  const UpdateAccountSettingsCommand_1 = require("./commands/UpdateAccountSettingsCommand");
32
37
  const UpdateCollectionCommand_1 = require("./commands/UpdateCollectionCommand");
38
+ const UpdateLifecyclePolicyCommand_1 = require("./commands/UpdateLifecyclePolicyCommand");
33
39
  const UpdateSecurityConfigCommand_1 = require("./commands/UpdateSecurityConfigCommand");
34
40
  const UpdateSecurityPolicyCommand_1 = require("./commands/UpdateSecurityPolicyCommand");
35
41
  const UpdateVpcEndpointCommand_1 = require("./commands/UpdateVpcEndpointCommand");
36
42
  const OpenSearchServerlessClient_1 = require("./OpenSearchServerlessClient");
37
43
  const commands = {
38
44
  BatchGetCollectionCommand: BatchGetCollectionCommand_1.BatchGetCollectionCommand,
45
+ BatchGetEffectiveLifecyclePolicyCommand: BatchGetEffectiveLifecyclePolicyCommand_1.BatchGetEffectiveLifecyclePolicyCommand,
46
+ BatchGetLifecyclePolicyCommand: BatchGetLifecyclePolicyCommand_1.BatchGetLifecyclePolicyCommand,
39
47
  BatchGetVpcEndpointCommand: BatchGetVpcEndpointCommand_1.BatchGetVpcEndpointCommand,
40
48
  CreateAccessPolicyCommand: CreateAccessPolicyCommand_1.CreateAccessPolicyCommand,
41
49
  CreateCollectionCommand: CreateCollectionCommand_1.CreateCollectionCommand,
50
+ CreateLifecyclePolicyCommand: CreateLifecyclePolicyCommand_1.CreateLifecyclePolicyCommand,
42
51
  CreateSecurityConfigCommand: CreateSecurityConfigCommand_1.CreateSecurityConfigCommand,
43
52
  CreateSecurityPolicyCommand: CreateSecurityPolicyCommand_1.CreateSecurityPolicyCommand,
44
53
  CreateVpcEndpointCommand: CreateVpcEndpointCommand_1.CreateVpcEndpointCommand,
45
54
  DeleteAccessPolicyCommand: DeleteAccessPolicyCommand_1.DeleteAccessPolicyCommand,
46
55
  DeleteCollectionCommand: DeleteCollectionCommand_1.DeleteCollectionCommand,
56
+ DeleteLifecyclePolicyCommand: DeleteLifecyclePolicyCommand_1.DeleteLifecyclePolicyCommand,
47
57
  DeleteSecurityConfigCommand: DeleteSecurityConfigCommand_1.DeleteSecurityConfigCommand,
48
58
  DeleteSecurityPolicyCommand: DeleteSecurityPolicyCommand_1.DeleteSecurityPolicyCommand,
49
59
  DeleteVpcEndpointCommand: DeleteVpcEndpointCommand_1.DeleteVpcEndpointCommand,
@@ -54,6 +64,7 @@ const commands = {
54
64
  GetSecurityPolicyCommand: GetSecurityPolicyCommand_1.GetSecurityPolicyCommand,
55
65
  ListAccessPoliciesCommand: ListAccessPoliciesCommand_1.ListAccessPoliciesCommand,
56
66
  ListCollectionsCommand: ListCollectionsCommand_1.ListCollectionsCommand,
67
+ ListLifecyclePoliciesCommand: ListLifecyclePoliciesCommand_1.ListLifecyclePoliciesCommand,
57
68
  ListSecurityConfigsCommand: ListSecurityConfigsCommand_1.ListSecurityConfigsCommand,
58
69
  ListSecurityPoliciesCommand: ListSecurityPoliciesCommand_1.ListSecurityPoliciesCommand,
59
70
  ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
@@ -63,6 +74,7 @@ const commands = {
63
74
  UpdateAccessPolicyCommand: UpdateAccessPolicyCommand_1.UpdateAccessPolicyCommand,
64
75
  UpdateAccountSettingsCommand: UpdateAccountSettingsCommand_1.UpdateAccountSettingsCommand,
65
76
  UpdateCollectionCommand: UpdateCollectionCommand_1.UpdateCollectionCommand,
77
+ UpdateLifecyclePolicyCommand: UpdateLifecyclePolicyCommand_1.UpdateLifecyclePolicyCommand,
66
78
  UpdateSecurityConfigCommand: UpdateSecurityConfigCommand_1.UpdateSecurityConfigCommand,
67
79
  UpdateSecurityPolicyCommand: UpdateSecurityPolicyCommand_1.UpdateSecurityPolicyCommand,
68
80
  UpdateVpcEndpointCommand: UpdateVpcEndpointCommand_1.UpdateVpcEndpointCommand,
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetEffectiveLifecyclePolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class BatchGetEffectiveLifecyclePolicyCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchGetEffectiveLifecyclePolicyCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "OpenSearchServerlessClient";
29
+ const commandName = "BatchGetEffectiveLifecyclePolicyCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "OpenSearchServerless",
38
+ operation: "BatchGetEffectiveLifecyclePolicy",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_0_1.se_BatchGetEffectiveLifecyclePolicyCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_0_1.de_BatchGetEffectiveLifecyclePolicyCommand)(output, context);
49
+ }
50
+ }
51
+ exports.BatchGetEffectiveLifecyclePolicyCommand = BatchGetEffectiveLifecyclePolicyCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetLifecyclePolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class BatchGetLifecyclePolicyCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchGetLifecyclePolicyCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "OpenSearchServerlessClient";
29
+ const commandName = "BatchGetLifecyclePolicyCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "OpenSearchServerless",
38
+ operation: "BatchGetLifecyclePolicy",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_0_1.se_BatchGetLifecyclePolicyCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_0_1.de_BatchGetLifecyclePolicyCommand)(output, context);
49
+ }
50
+ }
51
+ exports.BatchGetLifecyclePolicyCommand = BatchGetLifecyclePolicyCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateLifecyclePolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class CreateLifecyclePolicyCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLifecyclePolicyCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "OpenSearchServerlessClient";
29
+ const commandName = "CreateLifecyclePolicyCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "OpenSearchServerless",
38
+ operation: "CreateLifecyclePolicy",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_0_1.se_CreateLifecyclePolicyCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_0_1.de_CreateLifecyclePolicyCommand)(output, context);
49
+ }
50
+ }
51
+ exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteLifecyclePolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class DeleteLifecyclePolicyCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteLifecyclePolicyCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "OpenSearchServerlessClient";
29
+ const commandName = "DeleteLifecyclePolicyCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "OpenSearchServerless",
38
+ operation: "DeleteLifecyclePolicy",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_0_1.se_DeleteLifecyclePolicyCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_0_1.de_DeleteLifecyclePolicyCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListLifecyclePoliciesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class ListLifecyclePoliciesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLifecyclePoliciesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "OpenSearchServerlessClient";
29
+ const commandName = "ListLifecyclePoliciesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "OpenSearchServerless",
38
+ operation: "ListLifecyclePolicies",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_0_1.se_ListLifecyclePoliciesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_0_1.de_ListLifecyclePoliciesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListLifecyclePoliciesCommand = ListLifecyclePoliciesCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateLifecyclePolicyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class UpdateLifecyclePolicyCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateLifecyclePolicyCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "OpenSearchServerlessClient";
29
+ const commandName = "UpdateLifecyclePolicyCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "OpenSearchServerless",
38
+ operation: "UpdateLifecyclePolicy",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_0_1.se_UpdateLifecyclePolicyCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_0_1.de_UpdateLifecyclePolicyCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpdateLifecyclePolicyCommand = UpdateLifecyclePolicyCommand;
@@ -2,14 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./BatchGetCollectionCommand"), exports);
5
+ tslib_1.__exportStar(require("./BatchGetEffectiveLifecyclePolicyCommand"), exports);
6
+ tslib_1.__exportStar(require("./BatchGetLifecyclePolicyCommand"), exports);
5
7
  tslib_1.__exportStar(require("./BatchGetVpcEndpointCommand"), exports);
6
8
  tslib_1.__exportStar(require("./CreateAccessPolicyCommand"), exports);
7
9
  tslib_1.__exportStar(require("./CreateCollectionCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateLifecyclePolicyCommand"), exports);
8
11
  tslib_1.__exportStar(require("./CreateSecurityConfigCommand"), exports);
9
12
  tslib_1.__exportStar(require("./CreateSecurityPolicyCommand"), exports);
10
13
  tslib_1.__exportStar(require("./CreateVpcEndpointCommand"), exports);
11
14
  tslib_1.__exportStar(require("./DeleteAccessPolicyCommand"), exports);
12
15
  tslib_1.__exportStar(require("./DeleteCollectionCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteLifecyclePolicyCommand"), exports);
13
17
  tslib_1.__exportStar(require("./DeleteSecurityConfigCommand"), exports);
14
18
  tslib_1.__exportStar(require("./DeleteSecurityPolicyCommand"), exports);
15
19
  tslib_1.__exportStar(require("./DeleteVpcEndpointCommand"), exports);
@@ -20,6 +24,7 @@ tslib_1.__exportStar(require("./GetSecurityConfigCommand"), exports);
20
24
  tslib_1.__exportStar(require("./GetSecurityPolicyCommand"), exports);
21
25
  tslib_1.__exportStar(require("./ListAccessPoliciesCommand"), exports);
22
26
  tslib_1.__exportStar(require("./ListCollectionsCommand"), exports);
27
+ tslib_1.__exportStar(require("./ListLifecyclePoliciesCommand"), exports);
23
28
  tslib_1.__exportStar(require("./ListSecurityConfigsCommand"), exports);
24
29
  tslib_1.__exportStar(require("./ListSecurityPoliciesCommand"), exports);
25
30
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
@@ -29,6 +34,7 @@ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
29
34
  tslib_1.__exportStar(require("./UpdateAccessPolicyCommand"), exports);
30
35
  tslib_1.__exportStar(require("./UpdateAccountSettingsCommand"), exports);
31
36
  tslib_1.__exportStar(require("./UpdateCollectionCommand"), exports);
37
+ tslib_1.__exportStar(require("./UpdateLifecyclePolicyCommand"), exports);
32
38
  tslib_1.__exportStar(require("./UpdateSecurityConfigCommand"), exports);
33
39
  tslib_1.__exportStar(require("./UpdateSecurityPolicyCommand"), exports);
34
40
  tslib_1.__exportStar(require("./UpdateVpcEndpointCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "required", r = "fn", s = "argv", t = "ref";
5
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://aoss-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://aoss-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://aoss.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://aoss.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://aoss-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://aoss-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://aoss.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://aoss.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
7
  exports.ruleSet = _data;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SecurityPolicyType = exports.SecurityConfigType = exports.OcuLimitExceededException = exports.VpcEndpointStatus = exports.CollectionType = exports.CollectionStatus = exports.ResourceNotFoundException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessPolicyType = void 0;
3
+ exports.SecurityPolicyType = exports.SecurityConfigType = exports.OcuLimitExceededException = exports.VpcEndpointStatus = exports.ResourceType = exports.LifecyclePolicyType = exports.CollectionType = exports.CollectionStatus = exports.ResourceNotFoundException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessPolicyType = void 0;
4
4
  const OpenSearchServerlessServiceException_1 = require("./OpenSearchServerlessServiceException");
5
5
  exports.AccessPolicyType = {
6
6
  data: "data",
@@ -85,6 +85,12 @@ exports.CollectionType = {
85
85
  TIMESERIES: "TIMESERIES",
86
86
  VECTORSEARCH: "VECTORSEARCH",
87
87
  };
88
+ exports.LifecyclePolicyType = {
89
+ retention: "retention",
90
+ };
91
+ exports.ResourceType = {
92
+ index: "index",
93
+ };
88
94
  exports.VpcEndpointStatus = {
89
95
  ACTIVE: "ACTIVE",
90
96
  DELETING: "DELETING",
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListLifecyclePolicies = void 0;
4
+ const ListLifecyclePoliciesCommand_1 = require("../commands/ListLifecyclePoliciesCommand");
5
+ const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListLifecyclePoliciesCommand_1.ListLifecyclePoliciesCommand(input), ...args);
8
+ };
9
+ async function* paginateListLifecyclePolicies(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ if (config.client instanceof OpenSearchServerlessClient_1.OpenSearchServerlessClient) {
16
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
+ }
18
+ else {
19
+ throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
20
+ }
21
+ yield page;
22
+ const prevToken = token;
23
+ token = page.nextToken;
24
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
+ }
26
+ return undefined;
27
+ }
28
+ exports.paginateListLifecyclePolicies = paginateListLifecyclePolicies;
@@ -4,6 +4,7 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Interfaces"), exports);
5
5
  tslib_1.__exportStar(require("./ListAccessPoliciesPaginator"), exports);
6
6
  tslib_1.__exportStar(require("./ListCollectionsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListLifecyclePoliciesPaginator"), exports);
7
8
  tslib_1.__exportStar(require("./ListSecurityConfigsPaginator"), exports);
8
9
  tslib_1.__exportStar(require("./ListSecurityPoliciesPaginator"), exports);
9
10
  tslib_1.__exportStar(require("./ListVpcEndpointsPaginator"), exports);