@aws-sdk/client-opensearchserverless 3.433.0 → 3.436.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 (59) 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-cjs/runtimeConfig.js +2 -0
  16. package/dist-cjs/runtimeConfig.shared.js +15 -13
  17. package/dist-es/OpenSearchServerless.js +12 -0
  18. package/dist-es/commands/BatchGetEffectiveLifecyclePolicyCommand.js +47 -0
  19. package/dist-es/commands/BatchGetLifecyclePolicyCommand.js +47 -0
  20. package/dist-es/commands/CreateLifecyclePolicyCommand.js +47 -0
  21. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +47 -0
  22. package/dist-es/commands/ListLifecyclePoliciesCommand.js +47 -0
  23. package/dist-es/commands/UpdateLifecyclePolicyCommand.js +47 -0
  24. package/dist-es/commands/index.js +6 -0
  25. package/dist-es/endpoint/ruleset.js +3 -3
  26. package/dist-es/models/models_0.js +6 -0
  27. package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +24 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_json1_0.js +328 -0
  30. package/dist-es/runtimeConfig.js +2 -0
  31. package/dist-es/runtimeConfig.shared.js +15 -13
  32. package/dist-types/OpenSearchServerless.d.ts +42 -0
  33. package/dist-types/OpenSearchServerlessClient.d.ts +8 -2
  34. package/dist-types/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +102 -0
  35. package/dist-types/commands/BatchGetLifecyclePolicyCommand.d.ts +103 -0
  36. package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +101 -0
  37. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +88 -0
  38. package/dist-types/commands/GetPoliciesStatsCommand.d.ts +3 -0
  39. package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +95 -0
  40. package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +104 -0
  41. package/dist-types/commands/index.d.ts +6 -0
  42. package/dist-types/models/models_0.d.ts +446 -4
  43. package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +1 -0
  45. package/dist-types/protocols/Aws_json1_0.d.ts +54 -0
  46. package/dist-types/ts3.4/OpenSearchServerless.d.ts +102 -0
  47. package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +36 -0
  48. package/dist-types/ts3.4/commands/BatchGetEffectiveLifecyclePolicyCommand.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/BatchGetLifecyclePolicyCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +109 -0
  56. package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -0
  59. package/package.json +4 -3
@@ -9,6 +9,18 @@ export const se_BatchGetCollectionCommand = async (input, context) => {
9
9
  body = JSON.stringify(_json(input));
10
10
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
11
11
  };
12
+ export const se_BatchGetEffectiveLifecyclePolicyCommand = async (input, context) => {
13
+ const headers = sharedHeaders("BatchGetEffectiveLifecyclePolicy");
14
+ let body;
15
+ body = JSON.stringify(_json(input));
16
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
17
+ };
18
+ export const se_BatchGetLifecyclePolicyCommand = async (input, context) => {
19
+ const headers = sharedHeaders("BatchGetLifecyclePolicy");
20
+ let body;
21
+ body = JSON.stringify(_json(input));
22
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
23
+ };
12
24
  export const se_BatchGetVpcEndpointCommand = async (input, context) => {
13
25
  const headers = sharedHeaders("BatchGetVpcEndpoint");
14
26
  let body;
@@ -27,6 +39,12 @@ export const se_CreateCollectionCommand = async (input, context) => {
27
39
  body = JSON.stringify(se_CreateCollectionRequest(input, context));
28
40
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
29
41
  };
42
+ export const se_CreateLifecyclePolicyCommand = async (input, context) => {
43
+ const headers = sharedHeaders("CreateLifecyclePolicy");
44
+ let body;
45
+ body = JSON.stringify(se_CreateLifecyclePolicyRequest(input, context));
46
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
47
+ };
30
48
  export const se_CreateSecurityConfigCommand = async (input, context) => {
31
49
  const headers = sharedHeaders("CreateSecurityConfig");
32
50
  let body;
@@ -57,6 +75,12 @@ export const se_DeleteCollectionCommand = async (input, context) => {
57
75
  body = JSON.stringify(se_DeleteCollectionRequest(input, context));
58
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
59
77
  };
78
+ export const se_DeleteLifecyclePolicyCommand = async (input, context) => {
79
+ const headers = sharedHeaders("DeleteLifecyclePolicy");
80
+ let body;
81
+ body = JSON.stringify(se_DeleteLifecyclePolicyRequest(input, context));
82
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
83
+ };
60
84
  export const se_DeleteSecurityConfigCommand = async (input, context) => {
61
85
  const headers = sharedHeaders("DeleteSecurityConfig");
62
86
  let body;
@@ -117,6 +141,12 @@ export const se_ListCollectionsCommand = async (input, context) => {
117
141
  body = JSON.stringify(_json(input));
118
142
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
119
143
  };
144
+ export const se_ListLifecyclePoliciesCommand = async (input, context) => {
145
+ const headers = sharedHeaders("ListLifecyclePolicies");
146
+ let body;
147
+ body = JSON.stringify(_json(input));
148
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
149
+ };
120
150
  export const se_ListSecurityConfigsCommand = async (input, context) => {
121
151
  const headers = sharedHeaders("ListSecurityConfigs");
122
152
  let body;
@@ -171,6 +201,12 @@ export const se_UpdateCollectionCommand = async (input, context) => {
171
201
  body = JSON.stringify(se_UpdateCollectionRequest(input, context));
172
202
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
173
203
  };
204
+ export const se_UpdateLifecyclePolicyCommand = async (input, context) => {
205
+ const headers = sharedHeaders("UpdateLifecyclePolicy");
206
+ let body;
207
+ body = JSON.stringify(se_UpdateLifecyclePolicyRequest(input, context));
208
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
209
+ };
174
210
  export const se_UpdateSecurityConfigCommand = async (input, context) => {
175
211
  const headers = sharedHeaders("UpdateSecurityConfig");
176
212
  let body;
@@ -224,6 +260,76 @@ const de_BatchGetCollectionCommandError = async (output, context) => {
224
260
  });
225
261
  }
226
262
  };
263
+ export const de_BatchGetEffectiveLifecyclePolicyCommand = async (output, context) => {
264
+ if (output.statusCode >= 300) {
265
+ return de_BatchGetEffectiveLifecyclePolicyCommandError(output, context);
266
+ }
267
+ const data = await parseBody(output.body, context);
268
+ let contents = {};
269
+ contents = _json(data);
270
+ const response = {
271
+ $metadata: deserializeMetadata(output),
272
+ ...contents,
273
+ };
274
+ return response;
275
+ };
276
+ const de_BatchGetEffectiveLifecyclePolicyCommandError = async (output, context) => {
277
+ const parsedOutput = {
278
+ ...output,
279
+ body: await parseErrorBody(output.body, context),
280
+ };
281
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
282
+ switch (errorCode) {
283
+ case "InternalServerException":
284
+ case "com.amazonaws.opensearchserverless#InternalServerException":
285
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
286
+ case "ValidationException":
287
+ case "com.amazonaws.opensearchserverless#ValidationException":
288
+ throw await de_ValidationExceptionRes(parsedOutput, context);
289
+ default:
290
+ const parsedBody = parsedOutput.body;
291
+ return throwDefaultError({
292
+ output,
293
+ parsedBody,
294
+ errorCode,
295
+ });
296
+ }
297
+ };
298
+ export const de_BatchGetLifecyclePolicyCommand = async (output, context) => {
299
+ if (output.statusCode >= 300) {
300
+ return de_BatchGetLifecyclePolicyCommandError(output, context);
301
+ }
302
+ const data = await parseBody(output.body, context);
303
+ let contents = {};
304
+ contents = de_BatchGetLifecyclePolicyResponse(data, context);
305
+ const response = {
306
+ $metadata: deserializeMetadata(output),
307
+ ...contents,
308
+ };
309
+ return response;
310
+ };
311
+ const de_BatchGetLifecyclePolicyCommandError = async (output, context) => {
312
+ const parsedOutput = {
313
+ ...output,
314
+ body: await parseErrorBody(output.body, context),
315
+ };
316
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
317
+ switch (errorCode) {
318
+ case "InternalServerException":
319
+ case "com.amazonaws.opensearchserverless#InternalServerException":
320
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
321
+ case "ValidationException":
322
+ case "com.amazonaws.opensearchserverless#ValidationException":
323
+ throw await de_ValidationExceptionRes(parsedOutput, context);
324
+ default:
325
+ const parsedBody = parsedOutput.body;
326
+ return throwDefaultError({
327
+ output,
328
+ parsedBody,
329
+ errorCode,
330
+ });
331
+ }
332
+ };
227
333
  export const de_BatchGetVpcEndpointCommand = async (output, context) => {
228
334
  if (output.statusCode >= 300) {
229
335
  return de_BatchGetVpcEndpointCommandError(output, context);
@@ -344,6 +450,47 @@ const de_CreateCollectionCommandError = async (output, context) => {
344
450
  });
345
451
  }
346
452
  };
453
+ export const de_CreateLifecyclePolicyCommand = async (output, context) => {
454
+ if (output.statusCode >= 300) {
455
+ return de_CreateLifecyclePolicyCommandError(output, context);
456
+ }
457
+ const data = await parseBody(output.body, context);
458
+ let contents = {};
459
+ contents = de_CreateLifecyclePolicyResponse(data, context);
460
+ const response = {
461
+ $metadata: deserializeMetadata(output),
462
+ ...contents,
463
+ };
464
+ return response;
465
+ };
466
+ const de_CreateLifecyclePolicyCommandError = async (output, context) => {
467
+ const parsedOutput = {
468
+ ...output,
469
+ body: await parseErrorBody(output.body, context),
470
+ };
471
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
472
+ switch (errorCode) {
473
+ case "ConflictException":
474
+ case "com.amazonaws.opensearchserverless#ConflictException":
475
+ throw await de_ConflictExceptionRes(parsedOutput, context);
476
+ case "InternalServerException":
477
+ case "com.amazonaws.opensearchserverless#InternalServerException":
478
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
479
+ case "ServiceQuotaExceededException":
480
+ case "com.amazonaws.opensearchserverless#ServiceQuotaExceededException":
481
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
482
+ case "ValidationException":
483
+ case "com.amazonaws.opensearchserverless#ValidationException":
484
+ throw await de_ValidationExceptionRes(parsedOutput, context);
485
+ default:
486
+ const parsedBody = parsedOutput.body;
487
+ return throwDefaultError({
488
+ output,
489
+ parsedBody,
490
+ errorCode,
491
+ });
492
+ }
493
+ };
347
494
  export const de_CreateSecurityConfigCommand = async (output, context) => {
348
495
  if (output.statusCode >= 300) {
349
496
  return de_CreateSecurityConfigCommandError(output, context);
@@ -549,6 +696,47 @@ const de_DeleteCollectionCommandError = async (output, context) => {
549
696
  });
550
697
  }
551
698
  };
699
+ export const de_DeleteLifecyclePolicyCommand = async (output, context) => {
700
+ if (output.statusCode >= 300) {
701
+ return de_DeleteLifecyclePolicyCommandError(output, context);
702
+ }
703
+ const data = await parseBody(output.body, context);
704
+ let contents = {};
705
+ contents = _json(data);
706
+ const response = {
707
+ $metadata: deserializeMetadata(output),
708
+ ...contents,
709
+ };
710
+ return response;
711
+ };
712
+ const de_DeleteLifecyclePolicyCommandError = async (output, context) => {
713
+ const parsedOutput = {
714
+ ...output,
715
+ body: await parseErrorBody(output.body, context),
716
+ };
717
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
718
+ switch (errorCode) {
719
+ case "ConflictException":
720
+ case "com.amazonaws.opensearchserverless#ConflictException":
721
+ throw await de_ConflictExceptionRes(parsedOutput, context);
722
+ case "InternalServerException":
723
+ case "com.amazonaws.opensearchserverless#InternalServerException":
724
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
725
+ case "ResourceNotFoundException":
726
+ case "com.amazonaws.opensearchserverless#ResourceNotFoundException":
727
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
728
+ case "ValidationException":
729
+ case "com.amazonaws.opensearchserverless#ValidationException":
730
+ throw await de_ValidationExceptionRes(parsedOutput, context);
731
+ default:
732
+ const parsedBody = parsedOutput.body;
733
+ return throwDefaultError({
734
+ output,
735
+ parsedBody,
736
+ errorCode,
737
+ });
738
+ }
739
+ };
552
740
  export const de_DeleteSecurityConfigCommand = async (output, context) => {
553
741
  if (output.statusCode >= 300) {
554
742
  return de_DeleteSecurityConfigCommandError(output, context);
@@ -923,6 +1111,41 @@ const de_ListCollectionsCommandError = async (output, context) => {
923
1111
  });
924
1112
  }
925
1113
  };
1114
+ export const de_ListLifecyclePoliciesCommand = async (output, context) => {
1115
+ if (output.statusCode >= 300) {
1116
+ return de_ListLifecyclePoliciesCommandError(output, context);
1117
+ }
1118
+ const data = await parseBody(output.body, context);
1119
+ let contents = {};
1120
+ contents = _json(data);
1121
+ const response = {
1122
+ $metadata: deserializeMetadata(output),
1123
+ ...contents,
1124
+ };
1125
+ return response;
1126
+ };
1127
+ const de_ListLifecyclePoliciesCommandError = async (output, context) => {
1128
+ const parsedOutput = {
1129
+ ...output,
1130
+ body: await parseErrorBody(output.body, context),
1131
+ };
1132
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1133
+ switch (errorCode) {
1134
+ case "InternalServerException":
1135
+ case "com.amazonaws.opensearchserverless#InternalServerException":
1136
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1137
+ case "ValidationException":
1138
+ case "com.amazonaws.opensearchserverless#ValidationException":
1139
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1140
+ default:
1141
+ const parsedBody = parsedOutput.body;
1142
+ return throwDefaultError({
1143
+ output,
1144
+ parsedBody,
1145
+ errorCode,
1146
+ });
1147
+ }
1148
+ };
926
1149
  export const de_ListSecurityConfigsCommand = async (output, context) => {
927
1150
  if (output.statusCode >= 300) {
928
1151
  return de_ListSecurityConfigsCommandError(output, context);
@@ -1265,6 +1488,50 @@ const de_UpdateCollectionCommandError = async (output, context) => {
1265
1488
  });
1266
1489
  }
1267
1490
  };
1491
+ export const de_UpdateLifecyclePolicyCommand = async (output, context) => {
1492
+ if (output.statusCode >= 300) {
1493
+ return de_UpdateLifecyclePolicyCommandError(output, context);
1494
+ }
1495
+ const data = await parseBody(output.body, context);
1496
+ let contents = {};
1497
+ contents = de_UpdateLifecyclePolicyResponse(data, context);
1498
+ const response = {
1499
+ $metadata: deserializeMetadata(output),
1500
+ ...contents,
1501
+ };
1502
+ return response;
1503
+ };
1504
+ const de_UpdateLifecyclePolicyCommandError = async (output, context) => {
1505
+ const parsedOutput = {
1506
+ ...output,
1507
+ body: await parseErrorBody(output.body, context),
1508
+ };
1509
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1510
+ switch (errorCode) {
1511
+ case "ConflictException":
1512
+ case "com.amazonaws.opensearchserverless#ConflictException":
1513
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1514
+ case "InternalServerException":
1515
+ case "com.amazonaws.opensearchserverless#InternalServerException":
1516
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1517
+ case "ResourceNotFoundException":
1518
+ case "com.amazonaws.opensearchserverless#ResourceNotFoundException":
1519
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1520
+ case "ServiceQuotaExceededException":
1521
+ case "com.amazonaws.opensearchserverless#ServiceQuotaExceededException":
1522
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1523
+ case "ValidationException":
1524
+ case "com.amazonaws.opensearchserverless#ValidationException":
1525
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1526
+ default:
1527
+ const parsedBody = parsedOutput.body;
1528
+ return throwDefaultError({
1529
+ output,
1530
+ parsedBody,
1531
+ errorCode,
1532
+ });
1533
+ }
1534
+ };
1268
1535
  export const de_UpdateSecurityConfigCommand = async (output, context) => {
1269
1536
  if (output.statusCode >= 300) {
1270
1537
  return de_UpdateSecurityConfigCommandError(output, context);
@@ -1460,6 +1727,15 @@ const se_CreateCollectionRequest = (input, context) => {
1460
1727
  type: [],
1461
1728
  });
1462
1729
  };
1730
+ const se_CreateLifecyclePolicyRequest = (input, context) => {
1731
+ return take(input, {
1732
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1733
+ description: [],
1734
+ name: [],
1735
+ policy: [],
1736
+ type: [],
1737
+ });
1738
+ };
1463
1739
  const se_CreateSecurityConfigRequest = (input, context) => {
1464
1740
  return take(input, {
1465
1741
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
@@ -1500,6 +1776,13 @@ const se_DeleteCollectionRequest = (input, context) => {
1500
1776
  id: [],
1501
1777
  });
1502
1778
  };
1779
+ const se_DeleteLifecyclePolicyRequest = (input, context) => {
1780
+ return take(input, {
1781
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1782
+ name: [],
1783
+ type: [],
1784
+ });
1785
+ };
1503
1786
  const se_DeleteSecurityConfigRequest = (input, context) => {
1504
1787
  return take(input, {
1505
1788
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
@@ -1536,6 +1819,16 @@ const se_UpdateCollectionRequest = (input, context) => {
1536
1819
  id: [],
1537
1820
  });
1538
1821
  };
1822
+ const se_UpdateLifecyclePolicyRequest = (input, context) => {
1823
+ return take(input, {
1824
+ clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
1825
+ description: [],
1826
+ name: [],
1827
+ policy: [],
1828
+ policyVersion: [],
1829
+ type: [],
1830
+ });
1831
+ };
1539
1832
  const se_UpdateSecurityConfigRequest = (input, context) => {
1540
1833
  return take(input, {
1541
1834
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
@@ -1576,11 +1869,22 @@ const de_AccessPolicyDetail = (output, context) => {
1576
1869
  type: __expectString,
1577
1870
  });
1578
1871
  };
1872
+ const de_BatchGetLifecyclePolicyResponse = (output, context) => {
1873
+ return take(output, {
1874
+ lifecyclePolicyDetails: (_) => de_LifecyclePolicyDetails(_, context),
1875
+ lifecyclePolicyErrorDetails: _json,
1876
+ });
1877
+ };
1579
1878
  const de_CreateAccessPolicyResponse = (output, context) => {
1580
1879
  return take(output, {
1581
1880
  accessPolicyDetail: (_) => de_AccessPolicyDetail(_, context),
1582
1881
  });
1583
1882
  };
1883
+ const de_CreateLifecyclePolicyResponse = (output, context) => {
1884
+ return take(output, {
1885
+ lifecyclePolicyDetail: (_) => de_LifecyclePolicyDetail(_, context),
1886
+ });
1887
+ };
1584
1888
  const de_CreateSecurityPolicyResponse = (output, context) => {
1585
1889
  return take(output, {
1586
1890
  securityPolicyDetail: (_) => de_SecurityPolicyDetail(_, context),
@@ -1596,6 +1900,25 @@ const de_GetSecurityPolicyResponse = (output, context) => {
1596
1900
  securityPolicyDetail: (_) => de_SecurityPolicyDetail(_, context),
1597
1901
  });
1598
1902
  };
1903
+ const de_LifecyclePolicyDetail = (output, context) => {
1904
+ return take(output, {
1905
+ createdDate: __expectLong,
1906
+ description: __expectString,
1907
+ lastModifiedDate: __expectLong,
1908
+ name: __expectString,
1909
+ policy: (_) => de_Document(_, context),
1910
+ policyVersion: __expectString,
1911
+ type: __expectString,
1912
+ });
1913
+ };
1914
+ const de_LifecyclePolicyDetails = (output, context) => {
1915
+ const retVal = (output || [])
1916
+ .filter((e) => e != null)
1917
+ .map((entry) => {
1918
+ return de_LifecyclePolicyDetail(entry, context);
1919
+ });
1920
+ return retVal;
1921
+ };
1599
1922
  const de_SecurityPolicyDetail = (output, context) => {
1600
1923
  return take(output, {
1601
1924
  createdDate: __expectLong,
@@ -1612,6 +1935,11 @@ const de_UpdateAccessPolicyResponse = (output, context) => {
1612
1935
  accessPolicyDetail: (_) => de_AccessPolicyDetail(_, context),
1613
1936
  });
1614
1937
  };
1938
+ const de_UpdateLifecyclePolicyResponse = (output, context) => {
1939
+ return take(output, {
1940
+ lifecyclePolicyDetail: (_) => de_LifecyclePolicyDetail(_, context),
1941
+ });
1942
+ };
1615
1943
  const de_UpdateSecurityPolicyResponse = (output, context) => {
1616
1944
  return take(output, {
1617
1945
  securityPolicyDetail: (_) => de_SecurityPolicyDetail(_, context),
@@ -1,5 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
5
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
6
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
@@ -18,6 +19,7 @@ export const getRuntimeConfig = (config) => {
18
19
  const defaultsMode = resolveDefaultsModeConfig(config);
19
20
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
21
  const clientSharedValues = getSharedRuntimeConfig(config);
22
+ awsCheckVersion(process.version);
21
23
  return {
22
24
  ...clientSharedValues,
23
25
  ...config,
@@ -3,16 +3,18 @@ import { parseUrl } from "@smithy/url-parser";
3
3
  import { fromBase64, toBase64 } from "@smithy/util-base64";
4
4
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
5
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
- export const getRuntimeConfig = (config) => ({
7
- apiVersion: "2021-11-01",
8
- base64Decoder: config?.base64Decoder ?? fromBase64,
9
- base64Encoder: config?.base64Encoder ?? toBase64,
10
- disableHostPrefix: config?.disableHostPrefix ?? false,
11
- endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
12
- extensions: config?.extensions ?? [],
13
- logger: config?.logger ?? new NoOpLogger(),
14
- serviceId: config?.serviceId ?? "OpenSearchServerless",
15
- urlParser: config?.urlParser ?? parseUrl,
16
- utf8Decoder: config?.utf8Decoder ?? fromUtf8,
17
- utf8Encoder: config?.utf8Encoder ?? toUtf8,
18
- });
6
+ export const getRuntimeConfig = (config) => {
7
+ return {
8
+ apiVersion: "2021-11-01",
9
+ base64Decoder: config?.base64Decoder ?? fromBase64,
10
+ base64Encoder: config?.base64Encoder ?? toBase64,
11
+ disableHostPrefix: config?.disableHostPrefix ?? false,
12
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
13
+ extensions: config?.extensions ?? [],
14
+ logger: config?.logger ?? new NoOpLogger(),
15
+ serviceId: config?.serviceId ?? "OpenSearchServerless",
16
+ urlParser: config?.urlParser ?? parseUrl,
17
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
18
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
19
+ };
20
+ };
@@ -1,13 +1,17 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput } from "./commands/BatchGetCollectionCommand";
3
+ import { BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
4
+ import { BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput } from "./commands/BatchGetLifecyclePolicyCommand";
3
5
  import { BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput } from "./commands/BatchGetVpcEndpointCommand";
4
6
  import { CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput } from "./commands/CreateAccessPolicyCommand";
5
7
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "./commands/CreateCollectionCommand";
8
+ import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
6
9
  import { CreateSecurityConfigCommandInput, CreateSecurityConfigCommandOutput } from "./commands/CreateSecurityConfigCommand";
7
10
  import { CreateSecurityPolicyCommandInput, CreateSecurityPolicyCommandOutput } from "./commands/CreateSecurityPolicyCommand";
8
11
  import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
9
12
  import { DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput } from "./commands/DeleteAccessPolicyCommand";
10
13
  import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "./commands/DeleteCollectionCommand";
14
+ import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
11
15
  import { DeleteSecurityConfigCommandInput, DeleteSecurityConfigCommandOutput } from "./commands/DeleteSecurityConfigCommand";
12
16
  import { DeleteSecurityPolicyCommandInput, DeleteSecurityPolicyCommandOutput } from "./commands/DeleteSecurityPolicyCommand";
13
17
  import { DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput } from "./commands/DeleteVpcEndpointCommand";
@@ -18,6 +22,7 @@ import { GetSecurityConfigCommandInput, GetSecurityConfigCommandOutput } from ".
18
22
  import { GetSecurityPolicyCommandInput, GetSecurityPolicyCommandOutput } from "./commands/GetSecurityPolicyCommand";
19
23
  import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "./commands/ListAccessPoliciesCommand";
20
24
  import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "./commands/ListCollectionsCommand";
25
+ import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "./commands/ListLifecyclePoliciesCommand";
21
26
  import { ListSecurityConfigsCommandInput, ListSecurityConfigsCommandOutput } from "./commands/ListSecurityConfigsCommand";
22
27
  import { ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput } from "./commands/ListSecurityPoliciesCommand";
23
28
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -27,6 +32,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
27
32
  import { UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput } from "./commands/UpdateAccessPolicyCommand";
28
33
  import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
29
34
  import { UpdateCollectionCommandInput, UpdateCollectionCommandOutput } from "./commands/UpdateCollectionCommand";
35
+ import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
30
36
  import { UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput } from "./commands/UpdateSecurityConfigCommand";
31
37
  import { UpdateSecurityPolicyCommandInput, UpdateSecurityPolicyCommandOutput } from "./commands/UpdateSecurityPolicyCommand";
32
38
  import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
@@ -38,6 +44,18 @@ export interface OpenSearchServerless {
38
44
  batchGetCollection(args: BatchGetCollectionCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCollectionCommandOutput>;
39
45
  batchGetCollection(args: BatchGetCollectionCommandInput, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
40
46
  batchGetCollection(args: BatchGetCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCollectionCommandOutput) => void): void;
47
+ /**
48
+ * @see {@link BatchGetEffectiveLifecyclePolicyCommand}
49
+ */
50
+ batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetEffectiveLifecyclePolicyCommandOutput>;
51
+ batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, cb: (err: any, data?: BatchGetEffectiveLifecyclePolicyCommandOutput) => void): void;
52
+ batchGetEffectiveLifecyclePolicy(args: BatchGetEffectiveLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetEffectiveLifecyclePolicyCommandOutput) => void): void;
53
+ /**
54
+ * @see {@link BatchGetLifecyclePolicyCommand}
55
+ */
56
+ batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetLifecyclePolicyCommandOutput>;
57
+ batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, cb: (err: any, data?: BatchGetLifecyclePolicyCommandOutput) => void): void;
58
+ batchGetLifecyclePolicy(args: BatchGetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetLifecyclePolicyCommandOutput) => void): void;
41
59
  /**
42
60
  * @see {@link BatchGetVpcEndpointCommand}
43
61
  */
@@ -56,6 +74,12 @@ export interface OpenSearchServerless {
56
74
  createCollection(args: CreateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollectionCommandOutput>;
57
75
  createCollection(args: CreateCollectionCommandInput, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
58
76
  createCollection(args: CreateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollectionCommandOutput) => void): void;
77
+ /**
78
+ * @see {@link CreateLifecyclePolicyCommand}
79
+ */
80
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateLifecyclePolicyCommandOutput>;
81
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
82
+ createLifecyclePolicy(args: CreateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLifecyclePolicyCommandOutput) => void): void;
59
83
  /**
60
84
  * @see {@link CreateSecurityConfigCommand}
61
85
  */
@@ -86,6 +110,12 @@ export interface OpenSearchServerless {
86
110
  deleteCollection(args: DeleteCollectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCollectionCommandOutput>;
87
111
  deleteCollection(args: DeleteCollectionCommandInput, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
88
112
  deleteCollection(args: DeleteCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCollectionCommandOutput) => void): void;
113
+ /**
114
+ * @see {@link DeleteLifecyclePolicyCommand}
115
+ */
116
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
117
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
118
+ deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
89
119
  /**
90
120
  * @see {@link DeleteSecurityConfigCommand}
91
121
  */
@@ -146,6 +176,12 @@ export interface OpenSearchServerless {
146
176
  listCollections(args: ListCollectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollectionsCommandOutput>;
147
177
  listCollections(args: ListCollectionsCommandInput, cb: (err: any, data?: ListCollectionsCommandOutput) => void): void;
148
178
  listCollections(args: ListCollectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollectionsCommandOutput) => void): void;
179
+ /**
180
+ * @see {@link ListLifecyclePoliciesCommand}
181
+ */
182
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListLifecyclePoliciesCommandOutput>;
183
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, cb: (err: any, data?: ListLifecyclePoliciesCommandOutput) => void): void;
184
+ listLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLifecyclePoliciesCommandOutput) => void): void;
149
185
  /**
150
186
  * @see {@link ListSecurityConfigsCommand}
151
187
  */
@@ -200,6 +236,12 @@ export interface OpenSearchServerless {
200
236
  updateCollection(args: UpdateCollectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCollectionCommandOutput>;
201
237
  updateCollection(args: UpdateCollectionCommandInput, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
202
238
  updateCollection(args: UpdateCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCollectionCommandOutput) => void): void;
239
+ /**
240
+ * @see {@link UpdateLifecyclePolicyCommand}
241
+ */
242
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLifecyclePolicyCommandOutput>;
243
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
244
+ updateLifecyclePolicy(args: UpdateLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLifecyclePolicyCommandOutput) => void): void;
203
245
  /**
204
246
  * @see {@link UpdateSecurityConfigCommand}
205
247
  */
@@ -9,14 +9,18 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
9
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
10
  import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
11
  import { BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput } from "./commands/BatchGetCollectionCommand";
12
+ import { BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
13
+ import { BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput } from "./commands/BatchGetLifecyclePolicyCommand";
12
14
  import { BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput } from "./commands/BatchGetVpcEndpointCommand";
13
15
  import { CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput } from "./commands/CreateAccessPolicyCommand";
14
16
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "./commands/CreateCollectionCommand";
17
+ import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "./commands/CreateLifecyclePolicyCommand";
15
18
  import { CreateSecurityConfigCommandInput, CreateSecurityConfigCommandOutput } from "./commands/CreateSecurityConfigCommand";
16
19
  import { CreateSecurityPolicyCommandInput, CreateSecurityPolicyCommandOutput } from "./commands/CreateSecurityPolicyCommand";
17
20
  import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
18
21
  import { DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput } from "./commands/DeleteAccessPolicyCommand";
19
22
  import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "./commands/DeleteCollectionCommand";
23
+ import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
20
24
  import { DeleteSecurityConfigCommandInput, DeleteSecurityConfigCommandOutput } from "./commands/DeleteSecurityConfigCommand";
21
25
  import { DeleteSecurityPolicyCommandInput, DeleteSecurityPolicyCommandOutput } from "./commands/DeleteSecurityPolicyCommand";
22
26
  import { DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput } from "./commands/DeleteVpcEndpointCommand";
@@ -27,6 +31,7 @@ import { GetSecurityConfigCommandInput, GetSecurityConfigCommandOutput } from ".
27
31
  import { GetSecurityPolicyCommandInput, GetSecurityPolicyCommandOutput } from "./commands/GetSecurityPolicyCommand";
28
32
  import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "./commands/ListAccessPoliciesCommand";
29
33
  import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "./commands/ListCollectionsCommand";
34
+ import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "./commands/ListLifecyclePoliciesCommand";
30
35
  import { ListSecurityConfigsCommandInput, ListSecurityConfigsCommandOutput } from "./commands/ListSecurityConfigsCommand";
31
36
  import { ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput } from "./commands/ListSecurityPoliciesCommand";
32
37
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -36,6 +41,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
36
41
  import { UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput } from "./commands/UpdateAccessPolicyCommand";
37
42
  import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
38
43
  import { UpdateCollectionCommandInput, UpdateCollectionCommandOutput } from "./commands/UpdateCollectionCommand";
44
+ import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "./commands/UpdateLifecyclePolicyCommand";
39
45
  import { UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput } from "./commands/UpdateSecurityConfigCommand";
40
46
  import { UpdateSecurityPolicyCommandInput, UpdateSecurityPolicyCommandOutput } from "./commands/UpdateSecurityPolicyCommand";
41
47
  import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
@@ -45,11 +51,11 @@ export { __Client };
45
51
  /**
46
52
  * @public
47
53
  */
48
- export type ServiceInputTypes = BatchGetCollectionCommandInput | BatchGetVpcEndpointCommandInput | CreateAccessPolicyCommandInput | CreateCollectionCommandInput | CreateSecurityConfigCommandInput | CreateSecurityPolicyCommandInput | CreateVpcEndpointCommandInput | DeleteAccessPolicyCommandInput | DeleteCollectionCommandInput | DeleteSecurityConfigCommandInput | DeleteSecurityPolicyCommandInput | DeleteVpcEndpointCommandInput | GetAccessPolicyCommandInput | GetAccountSettingsCommandInput | GetPoliciesStatsCommandInput | GetSecurityConfigCommandInput | GetSecurityPolicyCommandInput | ListAccessPoliciesCommandInput | ListCollectionsCommandInput | ListSecurityConfigsCommandInput | ListSecurityPoliciesCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessPolicyCommandInput | UpdateAccountSettingsCommandInput | UpdateCollectionCommandInput | UpdateSecurityConfigCommandInput | UpdateSecurityPolicyCommandInput | UpdateVpcEndpointCommandInput;
54
+ export type ServiceInputTypes = BatchGetCollectionCommandInput | BatchGetEffectiveLifecyclePolicyCommandInput | BatchGetLifecyclePolicyCommandInput | BatchGetVpcEndpointCommandInput | CreateAccessPolicyCommandInput | CreateCollectionCommandInput | CreateLifecyclePolicyCommandInput | CreateSecurityConfigCommandInput | CreateSecurityPolicyCommandInput | CreateVpcEndpointCommandInput | DeleteAccessPolicyCommandInput | DeleteCollectionCommandInput | DeleteLifecyclePolicyCommandInput | DeleteSecurityConfigCommandInput | DeleteSecurityPolicyCommandInput | DeleteVpcEndpointCommandInput | GetAccessPolicyCommandInput | GetAccountSettingsCommandInput | GetPoliciesStatsCommandInput | GetSecurityConfigCommandInput | GetSecurityPolicyCommandInput | ListAccessPoliciesCommandInput | ListCollectionsCommandInput | ListLifecyclePoliciesCommandInput | ListSecurityConfigsCommandInput | ListSecurityPoliciesCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessPolicyCommandInput | UpdateAccountSettingsCommandInput | UpdateCollectionCommandInput | UpdateLifecyclePolicyCommandInput | UpdateSecurityConfigCommandInput | UpdateSecurityPolicyCommandInput | UpdateVpcEndpointCommandInput;
49
55
  /**
50
56
  * @public
51
57
  */
52
- export type ServiceOutputTypes = BatchGetCollectionCommandOutput | BatchGetVpcEndpointCommandOutput | CreateAccessPolicyCommandOutput | CreateCollectionCommandOutput | CreateSecurityConfigCommandOutput | CreateSecurityPolicyCommandOutput | CreateVpcEndpointCommandOutput | DeleteAccessPolicyCommandOutput | DeleteCollectionCommandOutput | DeleteSecurityConfigCommandOutput | DeleteSecurityPolicyCommandOutput | DeleteVpcEndpointCommandOutput | GetAccessPolicyCommandOutput | GetAccountSettingsCommandOutput | GetPoliciesStatsCommandOutput | GetSecurityConfigCommandOutput | GetSecurityPolicyCommandOutput | ListAccessPoliciesCommandOutput | ListCollectionsCommandOutput | ListSecurityConfigsCommandOutput | ListSecurityPoliciesCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessPolicyCommandOutput | UpdateAccountSettingsCommandOutput | UpdateCollectionCommandOutput | UpdateSecurityConfigCommandOutput | UpdateSecurityPolicyCommandOutput | UpdateVpcEndpointCommandOutput;
58
+ export type ServiceOutputTypes = BatchGetCollectionCommandOutput | BatchGetEffectiveLifecyclePolicyCommandOutput | BatchGetLifecyclePolicyCommandOutput | BatchGetVpcEndpointCommandOutput | CreateAccessPolicyCommandOutput | CreateCollectionCommandOutput | CreateLifecyclePolicyCommandOutput | CreateSecurityConfigCommandOutput | CreateSecurityPolicyCommandOutput | CreateVpcEndpointCommandOutput | DeleteAccessPolicyCommandOutput | DeleteCollectionCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteSecurityConfigCommandOutput | DeleteSecurityPolicyCommandOutput | DeleteVpcEndpointCommandOutput | GetAccessPolicyCommandOutput | GetAccountSettingsCommandOutput | GetPoliciesStatsCommandOutput | GetSecurityConfigCommandOutput | GetSecurityPolicyCommandOutput | ListAccessPoliciesCommandOutput | ListCollectionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListSecurityConfigsCommandOutput | ListSecurityPoliciesCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessPolicyCommandOutput | UpdateAccountSettingsCommandOutput | UpdateCollectionCommandOutput | UpdateLifecyclePolicyCommandOutput | UpdateSecurityConfigCommandOutput | UpdateSecurityPolicyCommandOutput | UpdateVpcEndpointCommandOutput;
53
59
  /**
54
60
  * @public
55
61
  */