@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
@@ -211,7 +211,7 @@ export declare class ResourceNotFoundException extends __BaseException {
211
211
  export interface GetAccessPolicyRequest {
212
212
  /**
213
213
  * @public
214
- * <p>Tye type of policy. Currently the only supported value is <code>data</code>.</p>
214
+ * <p>Tye type of policy. Currently, the only supported value is <code>data</code>.</p>
215
215
  */
216
216
  type: AccessPolicyType | undefined;
217
217
  /**
@@ -266,7 +266,7 @@ export interface ListAccessPoliciesRequest {
266
266
  export interface AccessPolicySummary {
267
267
  /**
268
268
  * @public
269
- * <p>The type of access policy. Currently the only available type is <code>data</code>.</p>
269
+ * <p>The type of access policy. Currently, the only available type is <code>data</code>.</p>
270
270
  */
271
271
  type?: AccessPolicyType;
272
272
  /**
@@ -574,6 +574,246 @@ export interface BatchGetCollectionResponse {
574
574
  */
575
575
  collectionErrorDetails?: CollectionErrorDetail[];
576
576
  }
577
+ /**
578
+ * @public
579
+ * @enum
580
+ */
581
+ export declare const LifecyclePolicyType: {
582
+ /**
583
+ * retention policy type
584
+ */
585
+ readonly retention: "retention";
586
+ };
587
+ /**
588
+ * @public
589
+ */
590
+ export type LifecyclePolicyType = (typeof LifecyclePolicyType)[keyof typeof LifecyclePolicyType];
591
+ /**
592
+ * @public
593
+ * <p>The unique identifiers of policy types and resource names.</p>
594
+ */
595
+ export interface LifecyclePolicyResourceIdentifier {
596
+ /**
597
+ * @public
598
+ * <p>The type of lifecycle policy.</p>
599
+ */
600
+ type: LifecyclePolicyType | undefined;
601
+ /**
602
+ * @public
603
+ * <p>The name of the OpenSearch Serverless ilndex resource.</p>
604
+ */
605
+ resource: string | undefined;
606
+ }
607
+ /**
608
+ * @public
609
+ */
610
+ export interface BatchGetEffectiveLifecyclePolicyRequest {
611
+ /**
612
+ * @public
613
+ * <p>The unique identifiers of policy types and resource names.</p>
614
+ */
615
+ resourceIdentifiers: LifecyclePolicyResourceIdentifier[] | undefined;
616
+ }
617
+ /**
618
+ * @public
619
+ * @enum
620
+ */
621
+ export declare const ResourceType: {
622
+ /**
623
+ * index resource type
624
+ */
625
+ readonly index: "index";
626
+ };
627
+ /**
628
+ * @public
629
+ */
630
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
631
+ /**
632
+ * @public
633
+ * <p>Error information for an OpenSearch Serverless request.</p>
634
+ */
635
+ export interface EffectiveLifecyclePolicyDetail {
636
+ /**
637
+ * @public
638
+ * <p>The type of lifecycle policy.</p>
639
+ */
640
+ type?: LifecyclePolicyType;
641
+ /**
642
+ * @public
643
+ * <p>The name of the OpenSearch Serverless index resource.</p>
644
+ */
645
+ resource?: string;
646
+ /**
647
+ * @public
648
+ * <p>The name of the lifecycle policy.</p>
649
+ */
650
+ policyName?: string;
651
+ /**
652
+ * @public
653
+ * <p>The type of OpenSearch Serverless resource. Currently, the only supported resource is <code>index</code>.</p>
654
+ */
655
+ resourceType?: ResourceType;
656
+ /**
657
+ * @public
658
+ * <p>The minimum number of index retention in days or hours. This is an optional parameter that will return only if it’s set.</p>
659
+ */
660
+ retentionPeriod?: string;
661
+ /**
662
+ * @public
663
+ * <p>The minimum number of index retention days set. That is an optional param that will return as <code>true</code> if the minimum number of days or
664
+ * hours is not set to a index resource.</p>
665
+ */
666
+ noMinRetentionPeriod?: boolean;
667
+ }
668
+ /**
669
+ * @public
670
+ * <p>Error information for an OpenSearch Serverless request.</p>
671
+ */
672
+ export interface EffectiveLifecyclePolicyErrorDetail {
673
+ /**
674
+ * @public
675
+ * <p>The type of lifecycle policy.</p>
676
+ */
677
+ type?: LifecyclePolicyType;
678
+ /**
679
+ * @public
680
+ * <p>The name of OpenSearch Serverless index resource.</p>
681
+ */
682
+ resource?: string;
683
+ /**
684
+ * @public
685
+ * <p>A description of the error. For example, <code>The specified Index resource is not found</code>.</p>
686
+ */
687
+ errorMessage?: string;
688
+ /**
689
+ * @public
690
+ * <p>The error code for the request.</p>
691
+ */
692
+ errorCode?: string;
693
+ }
694
+ /**
695
+ * @public
696
+ */
697
+ export interface BatchGetEffectiveLifecyclePolicyResponse {
698
+ /**
699
+ * @public
700
+ * <p>A list of lifecycle policies applied to the OpenSearch Serverless indexes.</p>
701
+ */
702
+ effectiveLifecyclePolicyDetails?: EffectiveLifecyclePolicyDetail[];
703
+ /**
704
+ * @public
705
+ * <p>A list of resources for which retrieval failed.</p>
706
+ */
707
+ effectiveLifecyclePolicyErrorDetails?: EffectiveLifecyclePolicyErrorDetail[];
708
+ }
709
+ /**
710
+ * @public
711
+ * <p>The unique identifiers of policy types and policy names.</p>
712
+ */
713
+ export interface LifecyclePolicyIdentifier {
714
+ /**
715
+ * @public
716
+ * <p>The type of lifecycle policy.</p>
717
+ */
718
+ type: LifecyclePolicyType | undefined;
719
+ /**
720
+ * @public
721
+ * <p>The name of the lifecycle policy.</p>
722
+ */
723
+ name: string | undefined;
724
+ }
725
+ /**
726
+ * @public
727
+ */
728
+ export interface BatchGetLifecyclePolicyRequest {
729
+ /**
730
+ * @public
731
+ * <p>The unique identifiers of policy types and policy names.</p>
732
+ */
733
+ identifiers: LifecyclePolicyIdentifier[] | undefined;
734
+ }
735
+ /**
736
+ * @public
737
+ * <p>Details about an OpenSearch Serverless lifecycle policy.</p>
738
+ */
739
+ export interface LifecyclePolicyDetail {
740
+ /**
741
+ * @public
742
+ * <p>The type of lifecycle policy.</p>
743
+ */
744
+ type?: LifecyclePolicyType;
745
+ /**
746
+ * @public
747
+ * <p>The name of the lifecycle policy.</p>
748
+ */
749
+ name?: string;
750
+ /**
751
+ * @public
752
+ * <p>The version of the lifecycle policy.</p>
753
+ */
754
+ policyVersion?: string;
755
+ /**
756
+ * @public
757
+ * <p>The description of the lifecycle policy.</p>
758
+ */
759
+ description?: string;
760
+ /**
761
+ * @public
762
+ * <p>The JSON policy document without any whitespaces.</p>
763
+ */
764
+ policy?: __DocumentType;
765
+ /**
766
+ * @public
767
+ * <p>The date the lifecycle policy was created.</p>
768
+ */
769
+ createdDate?: number;
770
+ /**
771
+ * @public
772
+ * <p>The timestamp of when the lifecycle policy was last modified.</p>
773
+ */
774
+ lastModifiedDate?: number;
775
+ }
776
+ /**
777
+ * @public
778
+ * <p>Error information for an OpenSearch Serverless request.</p>
779
+ */
780
+ export interface LifecyclePolicyErrorDetail {
781
+ /**
782
+ * @public
783
+ * <p>The type of lifecycle policy.</p>
784
+ */
785
+ type?: LifecyclePolicyType;
786
+ /**
787
+ * @public
788
+ * <p>The name of the lifecycle policy.</p>
789
+ */
790
+ name?: string;
791
+ /**
792
+ * @public
793
+ * <p>A description of the error. For example, <code>The specified Lifecycle Policy is not found</code>.</p>
794
+ */
795
+ errorMessage?: string;
796
+ /**
797
+ * @public
798
+ * <p>The error code for the request. For example, <code>NOT_FOUND</code>.</p>
799
+ */
800
+ errorCode?: string;
801
+ }
802
+ /**
803
+ * @public
804
+ */
805
+ export interface BatchGetLifecyclePolicyResponse {
806
+ /**
807
+ * @public
808
+ * <p>A list of lifecycle policies matched to the input policy name and policy type.</p>
809
+ */
810
+ lifecyclePolicyDetails?: LifecyclePolicyDetail[];
811
+ /**
812
+ * @public
813
+ * <p>A list of lifecycle policy names and policy types for which retrieval failed.</p>
814
+ */
815
+ lifecyclePolicyErrorDetails?: LifecyclePolicyErrorDetail[];
816
+ }
577
817
  /**
578
818
  * @public
579
819
  */
@@ -856,7 +1096,7 @@ export interface DeleteCollectionResponse {
856
1096
  }
857
1097
  /**
858
1098
  * @public
859
- * <p>List of filter keys that you can use for LIST, UPDATE, and DELETE requests to OpenSearch Serverless
1099
+ * <p>A list of filter keys that you can use for LIST, UPDATE, and DELETE requests to OpenSearch Serverless
860
1100
  * collections.</p>
861
1101
  */
862
1102
  export interface CollectionFilters {
@@ -877,7 +1117,7 @@ export interface CollectionFilters {
877
1117
  export interface ListCollectionsRequest {
878
1118
  /**
879
1119
  * @public
880
- * <p>List of filter names and values that you can use for requests.</p>
1120
+ * <p> A list of filter names and values that you can use for requests.</p>
881
1121
  */
882
1122
  collectionFilters?: CollectionFilters;
883
1123
  /**
@@ -1013,6 +1253,46 @@ export interface UpdateCollectionResponse {
1013
1253
  */
1014
1254
  updateCollectionDetail?: UpdateCollectionDetail;
1015
1255
  }
1256
+ /**
1257
+ * @public
1258
+ */
1259
+ export interface CreateLifecyclePolicyRequest {
1260
+ /**
1261
+ * @public
1262
+ * <p>The type of lifecycle policy.</p>
1263
+ */
1264
+ type: LifecyclePolicyType | undefined;
1265
+ /**
1266
+ * @public
1267
+ * <p>The name of the lifecycle policy.</p>
1268
+ */
1269
+ name: string | undefined;
1270
+ /**
1271
+ * @public
1272
+ * <p>A description of the lifecycle policy.</p>
1273
+ */
1274
+ description?: string;
1275
+ /**
1276
+ * @public
1277
+ * <p>The JSON policy document to use as the content for the lifecycle policy.</p>
1278
+ */
1279
+ policy: string | undefined;
1280
+ /**
1281
+ * @public
1282
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
1283
+ */
1284
+ clientToken?: string;
1285
+ }
1286
+ /**
1287
+ * @public
1288
+ */
1289
+ export interface CreateLifecyclePolicyResponse {
1290
+ /**
1291
+ * @public
1292
+ * <p>Details about the created lifecycle policy.</p>
1293
+ */
1294
+ lifecyclePolicyDetail?: LifecyclePolicyDetail;
1295
+ }
1016
1296
  /**
1017
1297
  * @public
1018
1298
  * <p>Describes SAML options for an OpenSearch Serverless security configuration in the form of a key-value
@@ -1299,6 +1579,31 @@ export interface CreateVpcEndpointResponse {
1299
1579
  */
1300
1580
  createVpcEndpointDetail?: CreateVpcEndpointDetail;
1301
1581
  }
1582
+ /**
1583
+ * @public
1584
+ */
1585
+ export interface DeleteLifecyclePolicyRequest {
1586
+ /**
1587
+ * @public
1588
+ * <p>The type of lifecycle policy.</p>
1589
+ */
1590
+ type: LifecyclePolicyType | undefined;
1591
+ /**
1592
+ * @public
1593
+ * <p>The name of the policy to delete.</p>
1594
+ */
1595
+ name: string | undefined;
1596
+ /**
1597
+ * @public
1598
+ * <p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>
1599
+ */
1600
+ clientToken?: string;
1601
+ }
1602
+ /**
1603
+ * @public
1604
+ */
1605
+ export interface DeleteLifecyclePolicyResponse {
1606
+ }
1302
1607
  /**
1303
1608
  * @public
1304
1609
  */
@@ -1412,6 +1717,17 @@ export interface GetAccountSettingsResponse {
1412
1717
  */
1413
1718
  export interface GetPoliciesStatsRequest {
1414
1719
  }
1720
+ /**
1721
+ * @public
1722
+ * <p>Statistics for an OpenSearch Serverless lifecycle policy.</p>
1723
+ */
1724
+ export interface LifecyclePolicyStats {
1725
+ /**
1726
+ * @public
1727
+ * <p>The number of retention lifecycle policies in the current account.</p>
1728
+ */
1729
+ RetentionPolicyCount?: number;
1730
+ }
1415
1731
  /**
1416
1732
  * @public
1417
1733
  * <p>Statistics for an OpenSearch Serverless security configuration.</p>
@@ -1458,6 +1774,11 @@ export interface GetPoliciesStatsResponse {
1458
1774
  * <p>Information about the security configurations in your account.</p>
1459
1775
  */
1460
1776
  SecurityConfigStats?: SecurityConfigStats;
1777
+ /**
1778
+ * @public
1779
+ * <p>Information about the lifecycle policies in your account.</p>
1780
+ */
1781
+ LifecyclePolicyStats?: LifecyclePolicyStats;
1461
1782
  /**
1462
1783
  * @public
1463
1784
  * <p>The total number of OpenSearch Serverless security policies and configurations in your
@@ -1510,6 +1831,127 @@ export interface GetSecurityPolicyResponse {
1510
1831
  */
1511
1832
  securityPolicyDetail?: SecurityPolicyDetail;
1512
1833
  }
1834
+ /**
1835
+ * @public
1836
+ */
1837
+ export interface ListLifecyclePoliciesRequest {
1838
+ /**
1839
+ * @public
1840
+ * <p>The type of lifecycle policy.</p>
1841
+ */
1842
+ type: LifecyclePolicyType | undefined;
1843
+ /**
1844
+ * @public
1845
+ * <p>Resource filters that policies can apply to. Currently, the only supported resource type is <code>index</code>.</p>
1846
+ */
1847
+ resources?: string[];
1848
+ /**
1849
+ * @public
1850
+ * <p>If your initial <code>ListLifecyclePolicies</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListLifecyclePolicies</code> operations, which returns results in the next page.</p>
1851
+ */
1852
+ nextToken?: string;
1853
+ /**
1854
+ * @public
1855
+ * <p>An optional parameter that specifies the maximum number of results to return. You can use use <code>nextToken</code> to get the next page of results. The default is 10.</p>
1856
+ */
1857
+ maxResults?: number;
1858
+ }
1859
+ /**
1860
+ * @public
1861
+ * <p>A summary of the lifecycle policy.</p>
1862
+ */
1863
+ export interface LifecyclePolicySummary {
1864
+ /**
1865
+ * @public
1866
+ * <p>The type of lifecycle policy.</p>
1867
+ */
1868
+ type?: LifecyclePolicyType;
1869
+ /**
1870
+ * @public
1871
+ * <p>The name of the lifecycle policy.</p>
1872
+ */
1873
+ name?: string;
1874
+ /**
1875
+ * @public
1876
+ * <p>The version of the lifecycle policy.</p>
1877
+ */
1878
+ policyVersion?: string;
1879
+ /**
1880
+ * @public
1881
+ * <p>The description of the lifecycle policy.</p>
1882
+ */
1883
+ description?: string;
1884
+ /**
1885
+ * @public
1886
+ * <p>The Epoch time when the lifecycle policy was created.</p>
1887
+ */
1888
+ createdDate?: number;
1889
+ /**
1890
+ * @public
1891
+ * <p>The date and time when the lifecycle policy was last modified.</p>
1892
+ */
1893
+ lastModifiedDate?: number;
1894
+ }
1895
+ /**
1896
+ * @public
1897
+ */
1898
+ export interface ListLifecyclePoliciesResponse {
1899
+ /**
1900
+ * @public
1901
+ * <p>Details about the requested lifecycle policies.</p>
1902
+ */
1903
+ lifecyclePolicySummaries?: LifecyclePolicySummary[];
1904
+ /**
1905
+ * @public
1906
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
1907
+ */
1908
+ nextToken?: string;
1909
+ }
1910
+ /**
1911
+ * @public
1912
+ */
1913
+ export interface UpdateLifecyclePolicyRequest {
1914
+ /**
1915
+ * @public
1916
+ * <p> The type of lifecycle policy.</p>
1917
+ */
1918
+ type: LifecyclePolicyType | undefined;
1919
+ /**
1920
+ * @public
1921
+ * <p>The name of the policy.</p>
1922
+ */
1923
+ name: string | undefined;
1924
+ /**
1925
+ * @public
1926
+ * <p>The version of the policy being updated.</p>
1927
+ */
1928
+ policyVersion: string | undefined;
1929
+ /**
1930
+ * @public
1931
+ * <p>A description of the lifecycle policy.</p>
1932
+ */
1933
+ description?: string;
1934
+ /**
1935
+ * @public
1936
+ * <p>The JSON policy document to use as the content for the lifecycle policy.</p>
1937
+ */
1938
+ policy?: string;
1939
+ /**
1940
+ * @public
1941
+ * <p>A unique, case-sensitive identifier to ensure idempotency of the request.</p>
1942
+ */
1943
+ clientToken?: string;
1944
+ }
1945
+ /**
1946
+ * @public
1947
+ */
1948
+ export interface UpdateLifecyclePolicyResponse {
1949
+ /**
1950
+ * @public
1951
+ * <p>Details about the updated lifecycle policy.</p>
1952
+ */
1953
+ lifecyclePolicyDetail?: LifecyclePolicyDetail;
1954
+ }
1513
1955
  /**
1514
1956
  * @public
1515
1957
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "../commands/ListLifecyclePoliciesCommand";
3
+ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListLifecyclePolicies(config: OpenSearchServerlessPaginationConfiguration, input: ListLifecyclePoliciesCommandInput, ...additionalArguments: any): Paginator<ListLifecyclePoliciesCommandOutput>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAccessPoliciesPaginator";
3
3
  export * from "./ListCollectionsPaginator";
4
+ export * from "./ListLifecyclePoliciesPaginator";
4
5
  export * from "./ListSecurityConfigsPaginator";
5
6
  export * from "./ListSecurityPoliciesPaginator";
6
7
  export * from "./ListVpcEndpointsPaginator";
@@ -1,14 +1,18 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput } from "../commands/BatchGetCollectionCommand";
4
+ import { BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput } from "../commands/BatchGetEffectiveLifecyclePolicyCommand";
5
+ import { BatchGetLifecyclePolicyCommandInput, BatchGetLifecyclePolicyCommandOutput } from "../commands/BatchGetLifecyclePolicyCommand";
4
6
  import { BatchGetVpcEndpointCommandInput, BatchGetVpcEndpointCommandOutput } from "../commands/BatchGetVpcEndpointCommand";
5
7
  import { CreateAccessPolicyCommandInput, CreateAccessPolicyCommandOutput } from "../commands/CreateAccessPolicyCommand";
6
8
  import { CreateCollectionCommandInput, CreateCollectionCommandOutput } from "../commands/CreateCollectionCommand";
9
+ import { CreateLifecyclePolicyCommandInput, CreateLifecyclePolicyCommandOutput } from "../commands/CreateLifecyclePolicyCommand";
7
10
  import { CreateSecurityConfigCommandInput, CreateSecurityConfigCommandOutput } from "../commands/CreateSecurityConfigCommand";
8
11
  import { CreateSecurityPolicyCommandInput, CreateSecurityPolicyCommandOutput } from "../commands/CreateSecurityPolicyCommand";
9
12
  import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "../commands/CreateVpcEndpointCommand";
10
13
  import { DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput } from "../commands/DeleteAccessPolicyCommand";
11
14
  import { DeleteCollectionCommandInput, DeleteCollectionCommandOutput } from "../commands/DeleteCollectionCommand";
15
+ import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "../commands/DeleteLifecyclePolicyCommand";
12
16
  import { DeleteSecurityConfigCommandInput, DeleteSecurityConfigCommandOutput } from "../commands/DeleteSecurityConfigCommand";
13
17
  import { DeleteSecurityPolicyCommandInput, DeleteSecurityPolicyCommandOutput } from "../commands/DeleteSecurityPolicyCommand";
14
18
  import { DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput } from "../commands/DeleteVpcEndpointCommand";
@@ -19,6 +23,7 @@ import { GetSecurityConfigCommandInput, GetSecurityConfigCommandOutput } from ".
19
23
  import { GetSecurityPolicyCommandInput, GetSecurityPolicyCommandOutput } from "../commands/GetSecurityPolicyCommand";
20
24
  import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "../commands/ListAccessPoliciesCommand";
21
25
  import { ListCollectionsCommandInput, ListCollectionsCommandOutput } from "../commands/ListCollectionsCommand";
26
+ import { ListLifecyclePoliciesCommandInput, ListLifecyclePoliciesCommandOutput } from "../commands/ListLifecyclePoliciesCommand";
22
27
  import { ListSecurityConfigsCommandInput, ListSecurityConfigsCommandOutput } from "../commands/ListSecurityConfigsCommand";
23
28
  import { ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput } from "../commands/ListSecurityPoliciesCommand";
24
29
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
@@ -28,6 +33,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
28
33
  import { UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput } from "../commands/UpdateAccessPolicyCommand";
29
34
  import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "../commands/UpdateAccountSettingsCommand";
30
35
  import { UpdateCollectionCommandInput, UpdateCollectionCommandOutput } from "../commands/UpdateCollectionCommand";
36
+ import { UpdateLifecyclePolicyCommandInput, UpdateLifecyclePolicyCommandOutput } from "../commands/UpdateLifecyclePolicyCommand";
31
37
  import { UpdateSecurityConfigCommandInput, UpdateSecurityConfigCommandOutput } from "../commands/UpdateSecurityConfigCommand";
32
38
  import { UpdateSecurityPolicyCommandInput, UpdateSecurityPolicyCommandOutput } from "../commands/UpdateSecurityPolicyCommand";
33
39
  import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "../commands/UpdateVpcEndpointCommand";
@@ -35,6 +41,14 @@ import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from ".
35
41
  * serializeAws_json1_0BatchGetCollectionCommand
36
42
  */
37
43
  export declare const se_BatchGetCollectionCommand: (input: BatchGetCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
+ /**
45
+ * serializeAws_json1_0BatchGetEffectiveLifecyclePolicyCommand
46
+ */
47
+ export declare const se_BatchGetEffectiveLifecyclePolicyCommand: (input: BatchGetEffectiveLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ /**
49
+ * serializeAws_json1_0BatchGetLifecyclePolicyCommand
50
+ */
51
+ export declare const se_BatchGetLifecyclePolicyCommand: (input: BatchGetLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
52
  /**
39
53
  * serializeAws_json1_0BatchGetVpcEndpointCommand
40
54
  */
@@ -47,6 +61,10 @@ export declare const se_CreateAccessPolicyCommand: (input: CreateAccessPolicyCom
47
61
  * serializeAws_json1_0CreateCollectionCommand
48
62
  */
49
63
  export declare const se_CreateCollectionCommand: (input: CreateCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ /**
65
+ * serializeAws_json1_0CreateLifecyclePolicyCommand
66
+ */
67
+ export declare const se_CreateLifecyclePolicyCommand: (input: CreateLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
68
  /**
51
69
  * serializeAws_json1_0CreateSecurityConfigCommand
52
70
  */
@@ -67,6 +85,10 @@ export declare const se_DeleteAccessPolicyCommand: (input: DeleteAccessPolicyCom
67
85
  * serializeAws_json1_0DeleteCollectionCommand
68
86
  */
69
87
  export declare const se_DeleteCollectionCommand: (input: DeleteCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
88
+ /**
89
+ * serializeAws_json1_0DeleteLifecyclePolicyCommand
90
+ */
91
+ export declare const se_DeleteLifecyclePolicyCommand: (input: DeleteLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
92
  /**
71
93
  * serializeAws_json1_0DeleteSecurityConfigCommand
72
94
  */
@@ -107,6 +129,10 @@ export declare const se_ListAccessPoliciesCommand: (input: ListAccessPoliciesCom
107
129
  * serializeAws_json1_0ListCollectionsCommand
108
130
  */
109
131
  export declare const se_ListCollectionsCommand: (input: ListCollectionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
132
+ /**
133
+ * serializeAws_json1_0ListLifecyclePoliciesCommand
134
+ */
135
+ export declare const se_ListLifecyclePoliciesCommand: (input: ListLifecyclePoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
110
136
  /**
111
137
  * serializeAws_json1_0ListSecurityConfigsCommand
112
138
  */
@@ -143,6 +169,10 @@ export declare const se_UpdateAccountSettingsCommand: (input: UpdateAccountSetti
143
169
  * serializeAws_json1_0UpdateCollectionCommand
144
170
  */
145
171
  export declare const se_UpdateCollectionCommand: (input: UpdateCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
172
+ /**
173
+ * serializeAws_json1_0UpdateLifecyclePolicyCommand
174
+ */
175
+ export declare const se_UpdateLifecyclePolicyCommand: (input: UpdateLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
146
176
  /**
147
177
  * serializeAws_json1_0UpdateSecurityConfigCommand
148
178
  */
@@ -159,6 +189,14 @@ export declare const se_UpdateVpcEndpointCommand: (input: UpdateVpcEndpointComma
159
189
  * deserializeAws_json1_0BatchGetCollectionCommand
160
190
  */
161
191
  export declare const de_BatchGetCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetCollectionCommandOutput>;
192
+ /**
193
+ * deserializeAws_json1_0BatchGetEffectiveLifecyclePolicyCommand
194
+ */
195
+ export declare const de_BatchGetEffectiveLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetEffectiveLifecyclePolicyCommandOutput>;
196
+ /**
197
+ * deserializeAws_json1_0BatchGetLifecyclePolicyCommand
198
+ */
199
+ export declare const de_BatchGetLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetLifecyclePolicyCommandOutput>;
162
200
  /**
163
201
  * deserializeAws_json1_0BatchGetVpcEndpointCommand
164
202
  */
@@ -171,6 +209,10 @@ export declare const de_CreateAccessPolicyCommand: (output: __HttpResponse, cont
171
209
  * deserializeAws_json1_0CreateCollectionCommand
172
210
  */
173
211
  export declare const de_CreateCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCollectionCommandOutput>;
212
+ /**
213
+ * deserializeAws_json1_0CreateLifecyclePolicyCommand
214
+ */
215
+ export declare const de_CreateLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLifecyclePolicyCommandOutput>;
174
216
  /**
175
217
  * deserializeAws_json1_0CreateSecurityConfigCommand
176
218
  */
@@ -191,6 +233,10 @@ export declare const de_DeleteAccessPolicyCommand: (output: __HttpResponse, cont
191
233
  * deserializeAws_json1_0DeleteCollectionCommand
192
234
  */
193
235
  export declare const de_DeleteCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCollectionCommandOutput>;
236
+ /**
237
+ * deserializeAws_json1_0DeleteLifecyclePolicyCommand
238
+ */
239
+ export declare const de_DeleteLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteLifecyclePolicyCommandOutput>;
194
240
  /**
195
241
  * deserializeAws_json1_0DeleteSecurityConfigCommand
196
242
  */
@@ -231,6 +277,10 @@ export declare const de_ListAccessPoliciesCommand: (output: __HttpResponse, cont
231
277
  * deserializeAws_json1_0ListCollectionsCommand
232
278
  */
233
279
  export declare const de_ListCollectionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCollectionsCommandOutput>;
280
+ /**
281
+ * deserializeAws_json1_0ListLifecyclePoliciesCommand
282
+ */
283
+ export declare const de_ListLifecyclePoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLifecyclePoliciesCommandOutput>;
234
284
  /**
235
285
  * deserializeAws_json1_0ListSecurityConfigsCommand
236
286
  */
@@ -267,6 +317,10 @@ export declare const de_UpdateAccountSettingsCommand: (output: __HttpResponse, c
267
317
  * deserializeAws_json1_0UpdateCollectionCommand
268
318
  */
269
319
  export declare const de_UpdateCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCollectionCommandOutput>;
320
+ /**
321
+ * deserializeAws_json1_0UpdateLifecyclePolicyCommand
322
+ */
323
+ export declare const de_UpdateLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLifecyclePolicyCommandOutput>;
270
324
  /**
271
325
  * deserializeAws_json1_0UpdateSecurityConfigCommand
272
326
  */