cdk-lambda-subminute 2.0.277 → 2.0.279
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.
- package/.gitattributes +0 -1
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +15 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +146 -55
- package/node_modules/aws-sdk/apis/groundstation-2019-05-23.min.json +26 -25
- package/node_modules/aws-sdk/apis/migrationhub-config-2019-06-30.min.json +15 -0
- package/node_modules/aws-sdk/apis/migrationhubstrategy-2020-02-19.min.json +43 -8
- package/node_modules/aws-sdk/apis/migrationhubstrategy-2020-02-19.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +296 -45
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.paginators.json +5 -0
- package/node_modules/aws-sdk/clients/codepipeline.d.ts +108 -1
- package/node_modules/aws-sdk/clients/connectcases.d.ts +5 -5
- package/node_modules/aws-sdk/clients/ec2.d.ts +3 -3
- package/node_modules/aws-sdk/clients/eks.d.ts +3 -3
- package/node_modules/aws-sdk/clients/groundstation.d.ts +5 -0
- package/node_modules/aws-sdk/clients/iam.d.ts +4 -4
- package/node_modules/aws-sdk/clients/migrationhubconfig.d.ts +16 -0
- package/node_modules/aws-sdk/clients/migrationhubstrategy.d.ts +57 -1
- package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +349 -3
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +8 -8
- package/node_modules/aws-sdk/dist/aws-sdk.js +149 -58
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +86 -86
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +5 -5
@@ -19,6 +19,22 @@ declare class OpenSearchServerless extends Service {
|
|
19
19
|
* Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
|
20
20
|
*/
|
21
21
|
batchGetCollection(callback?: (err: AWSError, data: OpenSearchServerless.Types.BatchGetCollectionResponse) => void): Request<OpenSearchServerless.Types.BatchGetCollectionResponse, AWSError>;
|
22
|
+
/**
|
23
|
+
* Returns a list of successful and failed retrievals for the OpenSearch Serverless indexes. For more information, see Viewing data lifecycle policies.
|
24
|
+
*/
|
25
|
+
batchGetEffectiveLifecyclePolicy(params: OpenSearchServerless.Types.BatchGetEffectiveLifecyclePolicyRequest, callback?: (err: AWSError, data: OpenSearchServerless.Types.BatchGetEffectiveLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.BatchGetEffectiveLifecyclePolicyResponse, AWSError>;
|
26
|
+
/**
|
27
|
+
* Returns a list of successful and failed retrievals for the OpenSearch Serverless indexes. For more information, see Viewing data lifecycle policies.
|
28
|
+
*/
|
29
|
+
batchGetEffectiveLifecyclePolicy(callback?: (err: AWSError, data: OpenSearchServerless.Types.BatchGetEffectiveLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.BatchGetEffectiveLifecyclePolicyResponse, AWSError>;
|
30
|
+
/**
|
31
|
+
* Returns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
|
32
|
+
*/
|
33
|
+
batchGetLifecyclePolicy(params: OpenSearchServerless.Types.BatchGetLifecyclePolicyRequest, callback?: (err: AWSError, data: OpenSearchServerless.Types.BatchGetLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.BatchGetLifecyclePolicyResponse, AWSError>;
|
34
|
+
/**
|
35
|
+
* Returns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
|
36
|
+
*/
|
37
|
+
batchGetLifecyclePolicy(callback?: (err: AWSError, data: OpenSearchServerless.Types.BatchGetLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.BatchGetLifecyclePolicyResponse, AWSError>;
|
22
38
|
/**
|
23
39
|
* Returns attributes for one or more VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
|
24
40
|
*/
|
@@ -43,6 +59,14 @@ declare class OpenSearchServerless extends Service {
|
|
43
59
|
* Creates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
|
44
60
|
*/
|
45
61
|
createCollection(callback?: (err: AWSError, data: OpenSearchServerless.Types.CreateCollectionResponse) => void): Request<OpenSearchServerless.Types.CreateCollectionResponse, AWSError>;
|
62
|
+
/**
|
63
|
+
* Creates a lifecyle policy to be applied to OpenSearch Serverless indexes. Lifecycle policies define the number of days or hours to retain the data on an OpenSearch Serverless index. For more information, see Creating data lifecycle policies.
|
64
|
+
*/
|
65
|
+
createLifecyclePolicy(params: OpenSearchServerless.Types.CreateLifecyclePolicyRequest, callback?: (err: AWSError, data: OpenSearchServerless.Types.CreateLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.CreateLifecyclePolicyResponse, AWSError>;
|
66
|
+
/**
|
67
|
+
* Creates a lifecyle policy to be applied to OpenSearch Serverless indexes. Lifecycle policies define the number of days or hours to retain the data on an OpenSearch Serverless index. For more information, see Creating data lifecycle policies.
|
68
|
+
*/
|
69
|
+
createLifecyclePolicy(callback?: (err: AWSError, data: OpenSearchServerless.Types.CreateLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.CreateLifecyclePolicyResponse, AWSError>;
|
46
70
|
/**
|
47
71
|
* Specifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
|
48
72
|
*/
|
@@ -83,6 +107,14 @@ declare class OpenSearchServerless extends Service {
|
|
83
107
|
* Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
|
84
108
|
*/
|
85
109
|
deleteCollection(callback?: (err: AWSError, data: OpenSearchServerless.Types.DeleteCollectionResponse) => void): Request<OpenSearchServerless.Types.DeleteCollectionResponse, AWSError>;
|
110
|
+
/**
|
111
|
+
* Deletes an OpenSearch Serverless lifecycle policy. For more information, see Deleting data lifecycle policies.
|
112
|
+
*/
|
113
|
+
deleteLifecyclePolicy(params: OpenSearchServerless.Types.DeleteLifecyclePolicyRequest, callback?: (err: AWSError, data: OpenSearchServerless.Types.DeleteLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.DeleteLifecyclePolicyResponse, AWSError>;
|
114
|
+
/**
|
115
|
+
* Deletes an OpenSearch Serverless lifecycle policy. For more information, see Deleting data lifecycle policies.
|
116
|
+
*/
|
117
|
+
deleteLifecyclePolicy(callback?: (err: AWSError, data: OpenSearchServerless.Types.DeleteLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.DeleteLifecyclePolicyResponse, AWSError>;
|
86
118
|
/**
|
87
119
|
* Deletes a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
|
88
120
|
*/
|
@@ -163,6 +195,14 @@ declare class OpenSearchServerless extends Service {
|
|
163
195
|
* Lists all OpenSearch Serverless collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections. Make sure to include an empty request body {} if you don't include any collection filters in the request.
|
164
196
|
*/
|
165
197
|
listCollections(callback?: (err: AWSError, data: OpenSearchServerless.Types.ListCollectionsResponse) => void): Request<OpenSearchServerless.Types.ListCollectionsResponse, AWSError>;
|
198
|
+
/**
|
199
|
+
* Returns a list of OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
|
200
|
+
*/
|
201
|
+
listLifecyclePolicies(params: OpenSearchServerless.Types.ListLifecyclePoliciesRequest, callback?: (err: AWSError, data: OpenSearchServerless.Types.ListLifecyclePoliciesResponse) => void): Request<OpenSearchServerless.Types.ListLifecyclePoliciesResponse, AWSError>;
|
202
|
+
/**
|
203
|
+
* Returns a list of OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
|
204
|
+
*/
|
205
|
+
listLifecyclePolicies(callback?: (err: AWSError, data: OpenSearchServerless.Types.ListLifecyclePoliciesResponse) => void): Request<OpenSearchServerless.Types.ListLifecyclePoliciesResponse, AWSError>;
|
166
206
|
/**
|
167
207
|
* Returns information about configured OpenSearch Serverless security configurations. For more information, see SAML authentication for Amazon OpenSearch Serverless.
|
168
208
|
*/
|
@@ -235,6 +275,14 @@ declare class OpenSearchServerless extends Service {
|
|
235
275
|
* Updates an OpenSearch Serverless collection.
|
236
276
|
*/
|
237
277
|
updateCollection(callback?: (err: AWSError, data: OpenSearchServerless.Types.UpdateCollectionResponse) => void): Request<OpenSearchServerless.Types.UpdateCollectionResponse, AWSError>;
|
278
|
+
/**
|
279
|
+
* Updates an OpenSearch Serverless access policy. For more information, see Updating data lifecycle policies.
|
280
|
+
*/
|
281
|
+
updateLifecyclePolicy(params: OpenSearchServerless.Types.UpdateLifecyclePolicyRequest, callback?: (err: AWSError, data: OpenSearchServerless.Types.UpdateLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.UpdateLifecyclePolicyResponse, AWSError>;
|
282
|
+
/**
|
283
|
+
* Updates an OpenSearch Serverless access policy. For more information, see Updating data lifecycle policies.
|
284
|
+
*/
|
285
|
+
updateLifecyclePolicy(callback?: (err: AWSError, data: OpenSearchServerless.Types.UpdateLifecyclePolicyResponse) => void): Request<OpenSearchServerless.Types.UpdateLifecyclePolicyResponse, AWSError>;
|
238
286
|
/**
|
239
287
|
* Updates a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless.
|
240
288
|
*/
|
@@ -320,7 +368,7 @@ declare namespace OpenSearchServerless {
|
|
320
368
|
*/
|
321
369
|
policyVersion?: PolicyVersion;
|
322
370
|
/**
|
323
|
-
* The type of access policy. Currently the only available type is data.
|
371
|
+
* The type of access policy. Currently, the only available type is data.
|
324
372
|
*/
|
325
373
|
type?: AccessPolicyType;
|
326
374
|
}
|
@@ -349,6 +397,38 @@ declare namespace OpenSearchServerless {
|
|
349
397
|
*/
|
350
398
|
collectionErrorDetails?: CollectionErrorDetails;
|
351
399
|
}
|
400
|
+
export interface BatchGetEffectiveLifecyclePolicyRequest {
|
401
|
+
/**
|
402
|
+
* The unique identifiers of policy types and resource names.
|
403
|
+
*/
|
404
|
+
resourceIdentifiers: LifecyclePolicyResourceIdentifiers;
|
405
|
+
}
|
406
|
+
export interface BatchGetEffectiveLifecyclePolicyResponse {
|
407
|
+
/**
|
408
|
+
* A list of lifecycle policies applied to the OpenSearch Serverless indexes.
|
409
|
+
*/
|
410
|
+
effectiveLifecyclePolicyDetails?: EffectiveLifecyclePolicyDetails;
|
411
|
+
/**
|
412
|
+
* A list of resources for which retrieval failed.
|
413
|
+
*/
|
414
|
+
effectiveLifecyclePolicyErrorDetails?: EffectiveLifecyclePolicyErrorDetails;
|
415
|
+
}
|
416
|
+
export interface BatchGetLifecyclePolicyRequest {
|
417
|
+
/**
|
418
|
+
* The unique identifiers of policy types and policy names.
|
419
|
+
*/
|
420
|
+
identifiers: LifecyclePolicyIdentifiers;
|
421
|
+
}
|
422
|
+
export interface BatchGetLifecyclePolicyResponse {
|
423
|
+
/**
|
424
|
+
* A list of lifecycle policies matched to the input policy name and policy type.
|
425
|
+
*/
|
426
|
+
lifecyclePolicyDetails?: LifecyclePolicyDetails;
|
427
|
+
/**
|
428
|
+
* A list of lifecycle policy names and policy types for which retrieval failed.
|
429
|
+
*/
|
430
|
+
lifecyclePolicyErrorDetails?: LifecyclePolicyErrorDetails;
|
431
|
+
}
|
352
432
|
export interface BatchGetVpcEndpointRequest {
|
353
433
|
/**
|
354
434
|
* A list of VPC endpoint identifiers.
|
@@ -365,6 +445,7 @@ declare namespace OpenSearchServerless {
|
|
365
445
|
*/
|
366
446
|
vpcEndpointErrorDetails?: VpcEndpointErrorDetails;
|
367
447
|
}
|
448
|
+
export type Boolean = boolean;
|
368
449
|
export interface CapacityLimits {
|
369
450
|
/**
|
370
451
|
* The maximum indexing capacity for collections.
|
@@ -574,6 +655,34 @@ declare namespace OpenSearchServerless {
|
|
574
655
|
*/
|
575
656
|
createCollectionDetail?: CreateCollectionDetail;
|
576
657
|
}
|
658
|
+
export interface CreateLifecyclePolicyRequest {
|
659
|
+
/**
|
660
|
+
* A unique, case-sensitive identifier to ensure idempotency of the request.
|
661
|
+
*/
|
662
|
+
clientToken?: ClientToken;
|
663
|
+
/**
|
664
|
+
* A description of the lifecycle policy.
|
665
|
+
*/
|
666
|
+
description?: PolicyDescription;
|
667
|
+
/**
|
668
|
+
* The name of the lifecycle policy.
|
669
|
+
*/
|
670
|
+
name: PolicyName;
|
671
|
+
/**
|
672
|
+
* The JSON policy document to use as the content for the lifecycle policy.
|
673
|
+
*/
|
674
|
+
policy: PolicyDocument;
|
675
|
+
/**
|
676
|
+
* The type of lifecycle policy.
|
677
|
+
*/
|
678
|
+
type: LifecyclePolicyType;
|
679
|
+
}
|
680
|
+
export interface CreateLifecyclePolicyResponse {
|
681
|
+
/**
|
682
|
+
* Details about the created lifecycle policy.
|
683
|
+
*/
|
684
|
+
lifecyclePolicyDetail?: LifecyclePolicyDetail;
|
685
|
+
}
|
577
686
|
export interface CreateSecurityConfigRequest {
|
578
687
|
/**
|
579
688
|
* Unique, case-sensitive identifier to ensure idempotency of the request.
|
@@ -718,6 +827,22 @@ declare namespace OpenSearchServerless {
|
|
718
827
|
*/
|
719
828
|
deleteCollectionDetail?: DeleteCollectionDetail;
|
720
829
|
}
|
830
|
+
export interface DeleteLifecyclePolicyRequest {
|
831
|
+
/**
|
832
|
+
* Unique, case-sensitive identifier to ensure idempotency of the request.
|
833
|
+
*/
|
834
|
+
clientToken?: ClientToken;
|
835
|
+
/**
|
836
|
+
* The name of the policy to delete.
|
837
|
+
*/
|
838
|
+
name: PolicyName;
|
839
|
+
/**
|
840
|
+
* The type of lifecycle policy.
|
841
|
+
*/
|
842
|
+
type: LifecyclePolicyType;
|
843
|
+
}
|
844
|
+
export interface DeleteLifecyclePolicyResponse {
|
845
|
+
}
|
721
846
|
export interface DeleteSecurityConfigRequest {
|
722
847
|
/**
|
723
848
|
* Unique, case-sensitive identifier to ensure idempotency of the request.
|
@@ -778,13 +903,59 @@ declare namespace OpenSearchServerless {
|
|
778
903
|
}
|
779
904
|
export interface Document {
|
780
905
|
}
|
906
|
+
export interface EffectiveLifecyclePolicyDetail {
|
907
|
+
/**
|
908
|
+
* The minimum number of index retention days set. That is an optional param that will return as true if the minimum number of days or hours is not set to a index resource.
|
909
|
+
*/
|
910
|
+
noMinRetentionPeriod?: Boolean;
|
911
|
+
/**
|
912
|
+
* The name of the lifecycle policy.
|
913
|
+
*/
|
914
|
+
policyName?: PolicyName;
|
915
|
+
/**
|
916
|
+
* The name of the OpenSearch Serverless index resource.
|
917
|
+
*/
|
918
|
+
resource?: Resource;
|
919
|
+
/**
|
920
|
+
* The type of OpenSearch Serverless resource. Currently, the only supported resource is index.
|
921
|
+
*/
|
922
|
+
resourceType?: ResourceType;
|
923
|
+
/**
|
924
|
+
* The minimum number of index retention in days or hours. This is an optional parameter that will return only if it’s set.
|
925
|
+
*/
|
926
|
+
retentionPeriod?: String;
|
927
|
+
/**
|
928
|
+
* The type of lifecycle policy.
|
929
|
+
*/
|
930
|
+
type?: LifecyclePolicyType;
|
931
|
+
}
|
932
|
+
export type EffectiveLifecyclePolicyDetails = EffectiveLifecyclePolicyDetail[];
|
933
|
+
export interface EffectiveLifecyclePolicyErrorDetail {
|
934
|
+
/**
|
935
|
+
* The error code for the request.
|
936
|
+
*/
|
937
|
+
errorCode?: String;
|
938
|
+
/**
|
939
|
+
* A description of the error. For example, The specified Index resource is not found.
|
940
|
+
*/
|
941
|
+
errorMessage?: String;
|
942
|
+
/**
|
943
|
+
* The name of OpenSearch Serverless index resource.
|
944
|
+
*/
|
945
|
+
resource?: Resource;
|
946
|
+
/**
|
947
|
+
* The type of lifecycle policy.
|
948
|
+
*/
|
949
|
+
type?: LifecyclePolicyType;
|
950
|
+
}
|
951
|
+
export type EffectiveLifecyclePolicyErrorDetails = EffectiveLifecyclePolicyErrorDetail[];
|
781
952
|
export interface GetAccessPolicyRequest {
|
782
953
|
/**
|
783
954
|
* The name of the access policy.
|
784
955
|
*/
|
785
956
|
name: PolicyName;
|
786
957
|
/**
|
787
|
-
* Tye type of policy. Currently the only supported value is data.
|
958
|
+
* Tye type of policy. Currently, the only supported value is data.
|
788
959
|
*/
|
789
960
|
type: AccessPolicyType;
|
790
961
|
}
|
@@ -809,6 +980,10 @@ declare namespace OpenSearchServerless {
|
|
809
980
|
* Information about the data access policies in your account.
|
810
981
|
*/
|
811
982
|
AccessPolicyStats?: AccessPolicyStats;
|
983
|
+
/**
|
984
|
+
* Information about the lifecycle policies in your account.
|
985
|
+
*/
|
986
|
+
LifecyclePolicyStats?: LifecyclePolicyStats;
|
812
987
|
/**
|
813
988
|
* Information about the security configurations in your account.
|
814
989
|
*/
|
@@ -851,6 +1026,113 @@ declare namespace OpenSearchServerless {
|
|
851
1026
|
securityPolicyDetail?: SecurityPolicyDetail;
|
852
1027
|
}
|
853
1028
|
export type IndexingCapacityValue = number;
|
1029
|
+
export interface LifecyclePolicyDetail {
|
1030
|
+
/**
|
1031
|
+
* The date the lifecycle policy was created.
|
1032
|
+
*/
|
1033
|
+
createdDate?: Long;
|
1034
|
+
/**
|
1035
|
+
* The description of the lifecycle policy.
|
1036
|
+
*/
|
1037
|
+
description?: PolicyDescription;
|
1038
|
+
/**
|
1039
|
+
* The timestamp of when the lifecycle policy was last modified.
|
1040
|
+
*/
|
1041
|
+
lastModifiedDate?: Long;
|
1042
|
+
/**
|
1043
|
+
* The name of the lifecycle policy.
|
1044
|
+
*/
|
1045
|
+
name?: PolicyName;
|
1046
|
+
/**
|
1047
|
+
* The JSON policy document without any whitespaces.
|
1048
|
+
*/
|
1049
|
+
policy?: Document;
|
1050
|
+
/**
|
1051
|
+
* The version of the lifecycle policy.
|
1052
|
+
*/
|
1053
|
+
policyVersion?: PolicyVersion;
|
1054
|
+
/**
|
1055
|
+
* The type of lifecycle policy.
|
1056
|
+
*/
|
1057
|
+
type?: LifecyclePolicyType;
|
1058
|
+
}
|
1059
|
+
export type LifecyclePolicyDetails = LifecyclePolicyDetail[];
|
1060
|
+
export interface LifecyclePolicyErrorDetail {
|
1061
|
+
/**
|
1062
|
+
* The error code for the request. For example, NOT_FOUND.
|
1063
|
+
*/
|
1064
|
+
errorCode?: String;
|
1065
|
+
/**
|
1066
|
+
* A description of the error. For example, The specified Lifecycle Policy is not found.
|
1067
|
+
*/
|
1068
|
+
errorMessage?: String;
|
1069
|
+
/**
|
1070
|
+
* The name of the lifecycle policy.
|
1071
|
+
*/
|
1072
|
+
name?: PolicyName;
|
1073
|
+
/**
|
1074
|
+
* The type of lifecycle policy.
|
1075
|
+
*/
|
1076
|
+
type?: LifecyclePolicyType;
|
1077
|
+
}
|
1078
|
+
export type LifecyclePolicyErrorDetails = LifecyclePolicyErrorDetail[];
|
1079
|
+
export interface LifecyclePolicyIdentifier {
|
1080
|
+
/**
|
1081
|
+
* The name of the lifecycle policy.
|
1082
|
+
*/
|
1083
|
+
name: PolicyName;
|
1084
|
+
/**
|
1085
|
+
* The type of lifecycle policy.
|
1086
|
+
*/
|
1087
|
+
type: LifecyclePolicyType;
|
1088
|
+
}
|
1089
|
+
export type LifecyclePolicyIdentifiers = LifecyclePolicyIdentifier[];
|
1090
|
+
export interface LifecyclePolicyResourceIdentifier {
|
1091
|
+
/**
|
1092
|
+
* The name of the OpenSearch Serverless ilndex resource.
|
1093
|
+
*/
|
1094
|
+
resource: ResourceName;
|
1095
|
+
/**
|
1096
|
+
* The type of lifecycle policy.
|
1097
|
+
*/
|
1098
|
+
type: LifecyclePolicyType;
|
1099
|
+
}
|
1100
|
+
export type LifecyclePolicyResourceIdentifiers = LifecyclePolicyResourceIdentifier[];
|
1101
|
+
export interface LifecyclePolicyStats {
|
1102
|
+
/**
|
1103
|
+
* The number of retention lifecycle policies in the current account.
|
1104
|
+
*/
|
1105
|
+
RetentionPolicyCount?: Long;
|
1106
|
+
}
|
1107
|
+
export type LifecyclePolicySummaries = LifecyclePolicySummary[];
|
1108
|
+
export interface LifecyclePolicySummary {
|
1109
|
+
/**
|
1110
|
+
* The Epoch time when the lifecycle policy was created.
|
1111
|
+
*/
|
1112
|
+
createdDate?: Long;
|
1113
|
+
/**
|
1114
|
+
* The description of the lifecycle policy.
|
1115
|
+
*/
|
1116
|
+
description?: PolicyDescription;
|
1117
|
+
/**
|
1118
|
+
* The date and time when the lifecycle policy was last modified.
|
1119
|
+
*/
|
1120
|
+
lastModifiedDate?: Long;
|
1121
|
+
/**
|
1122
|
+
* The name of the lifecycle policy.
|
1123
|
+
*/
|
1124
|
+
name?: PolicyName;
|
1125
|
+
/**
|
1126
|
+
* The version of the lifecycle policy.
|
1127
|
+
*/
|
1128
|
+
policyVersion?: PolicyVersion;
|
1129
|
+
/**
|
1130
|
+
* The type of lifecycle policy.
|
1131
|
+
*/
|
1132
|
+
type?: LifecyclePolicyType;
|
1133
|
+
}
|
1134
|
+
export type LifecyclePolicyType = "retention"|string;
|
1135
|
+
export type LifecycleResource = string;
|
854
1136
|
export interface ListAccessPoliciesRequest {
|
855
1137
|
/**
|
856
1138
|
* An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 20.
|
@@ -883,7 +1165,7 @@ declare namespace OpenSearchServerless {
|
|
883
1165
|
}
|
884
1166
|
export interface ListCollectionsRequest {
|
885
1167
|
/**
|
886
|
-
*
|
1168
|
+
* A list of filter names and values that you can use for requests.
|
887
1169
|
*/
|
888
1170
|
collectionFilters?: CollectionFilters;
|
889
1171
|
/**
|
@@ -906,6 +1188,36 @@ declare namespace OpenSearchServerless {
|
|
906
1188
|
*/
|
907
1189
|
nextToken?: String;
|
908
1190
|
}
|
1191
|
+
export interface ListLifecyclePoliciesRequest {
|
1192
|
+
/**
|
1193
|
+
* An optional parameter that specifies the maximum number of results to return. You can use use nextToken to get the next page of results. The default is 10.
|
1194
|
+
*/
|
1195
|
+
maxResults?: ListLifecyclePoliciesRequestMaxResultsInteger;
|
1196
|
+
/**
|
1197
|
+
* If your initial ListLifecyclePolicies operation returns a nextToken, you can include the returned nextToken in subsequent ListLifecyclePolicies operations, which returns results in the next page.
|
1198
|
+
*/
|
1199
|
+
nextToken?: String;
|
1200
|
+
/**
|
1201
|
+
* Resource filters that policies can apply to. Currently, the only supported resource type is index.
|
1202
|
+
*/
|
1203
|
+
resources?: ListLifecyclePoliciesRequestResourcesList;
|
1204
|
+
/**
|
1205
|
+
* The type of lifecycle policy.
|
1206
|
+
*/
|
1207
|
+
type: LifecyclePolicyType;
|
1208
|
+
}
|
1209
|
+
export type ListLifecyclePoliciesRequestMaxResultsInteger = number;
|
1210
|
+
export type ListLifecyclePoliciesRequestResourcesList = LifecycleResource[];
|
1211
|
+
export interface ListLifecyclePoliciesResponse {
|
1212
|
+
/**
|
1213
|
+
* Details about the requested lifecycle policies.
|
1214
|
+
*/
|
1215
|
+
lifecyclePolicySummaries?: LifecyclePolicySummaries;
|
1216
|
+
/**
|
1217
|
+
* When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
|
1218
|
+
*/
|
1219
|
+
nextToken?: String;
|
1220
|
+
}
|
909
1221
|
export interface ListSecurityConfigsRequest {
|
910
1222
|
/**
|
911
1223
|
* An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results. The default is 20.
|
@@ -1004,6 +1316,8 @@ declare namespace OpenSearchServerless {
|
|
1004
1316
|
export type PolicyName = string;
|
1005
1317
|
export type PolicyVersion = string;
|
1006
1318
|
export type Resource = string;
|
1319
|
+
export type ResourceName = string;
|
1320
|
+
export type ResourceType = "index"|string;
|
1007
1321
|
export interface SamlConfigOptions {
|
1008
1322
|
/**
|
1009
1323
|
* The group attribute for this SAML integration.
|
@@ -1296,6 +1610,38 @@ declare namespace OpenSearchServerless {
|
|
1296
1610
|
*/
|
1297
1611
|
updateCollectionDetail?: UpdateCollectionDetail;
|
1298
1612
|
}
|
1613
|
+
export interface UpdateLifecyclePolicyRequest {
|
1614
|
+
/**
|
1615
|
+
* A unique, case-sensitive identifier to ensure idempotency of the request.
|
1616
|
+
*/
|
1617
|
+
clientToken?: ClientToken;
|
1618
|
+
/**
|
1619
|
+
* A description of the lifecycle policy.
|
1620
|
+
*/
|
1621
|
+
description?: PolicyDescription;
|
1622
|
+
/**
|
1623
|
+
* The name of the policy.
|
1624
|
+
*/
|
1625
|
+
name: PolicyName;
|
1626
|
+
/**
|
1627
|
+
* The JSON policy document to use as the content for the lifecycle policy.
|
1628
|
+
*/
|
1629
|
+
policy?: PolicyDocument;
|
1630
|
+
/**
|
1631
|
+
* The version of the policy being updated.
|
1632
|
+
*/
|
1633
|
+
policyVersion: PolicyVersion;
|
1634
|
+
/**
|
1635
|
+
* The type of lifecycle policy.
|
1636
|
+
*/
|
1637
|
+
type: LifecyclePolicyType;
|
1638
|
+
}
|
1639
|
+
export interface UpdateLifecyclePolicyResponse {
|
1640
|
+
/**
|
1641
|
+
* Details about the updated lifecycle policy.
|
1642
|
+
*/
|
1643
|
+
lifecyclePolicyDetail?: LifecyclePolicyDetail;
|
1644
|
+
}
|
1299
1645
|
export interface UpdateSecurityConfigRequest {
|
1300
1646
|
/**
|
1301
1647
|
* Unique, case-sensitive identifier to ensure idempotency of the request.
|