aws-sdk-opensearchserverless 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchserverless/client.rb +331 -3
- data/lib/aws-sdk-opensearchserverless/client_api.rb +224 -0
- data/lib/aws-sdk-opensearchserverless/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-opensearchserverless/endpoints.rb +84 -0
- data/lib/aws-sdk-opensearchserverless/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-opensearchserverless/types.rb +494 -4
- data/lib/aws-sdk-opensearchserverless.rb +1 -1
- metadata +2 -2
@@ -91,7 +91,7 @@ module Aws::OpenSearchServerless
|
|
91
91
|
# @return [String]
|
92
92
|
#
|
93
93
|
# @!attribute [rw] type
|
94
|
-
# The type of access policy. Currently the only available type is
|
94
|
+
# The type of access policy. Currently, the only available type is
|
95
95
|
# `data`.
|
96
96
|
# @return [String]
|
97
97
|
#
|
@@ -171,6 +171,67 @@ module Aws::OpenSearchServerless
|
|
171
171
|
include Aws::Structure
|
172
172
|
end
|
173
173
|
|
174
|
+
# @!attribute [rw] resource_identifiers
|
175
|
+
# The unique identifiers of policy types and resource names.
|
176
|
+
# @return [Array<Types::LifecyclePolicyResourceIdentifier>]
|
177
|
+
#
|
178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/BatchGetEffectiveLifecyclePolicyRequest AWS API Documentation
|
179
|
+
#
|
180
|
+
class BatchGetEffectiveLifecyclePolicyRequest < Struct.new(
|
181
|
+
:resource_identifiers)
|
182
|
+
SENSITIVE = []
|
183
|
+
include Aws::Structure
|
184
|
+
end
|
185
|
+
|
186
|
+
# @!attribute [rw] effective_lifecycle_policy_details
|
187
|
+
# A list of lifecycle policies applied to the OpenSearch Serverless
|
188
|
+
# indexes.
|
189
|
+
# @return [Array<Types::EffectiveLifecyclePolicyDetail>]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] effective_lifecycle_policy_error_details
|
192
|
+
# A list of resources for which retrieval failed.
|
193
|
+
# @return [Array<Types::EffectiveLifecyclePolicyErrorDetail>]
|
194
|
+
#
|
195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/BatchGetEffectiveLifecyclePolicyResponse AWS API Documentation
|
196
|
+
#
|
197
|
+
class BatchGetEffectiveLifecyclePolicyResponse < Struct.new(
|
198
|
+
:effective_lifecycle_policy_details,
|
199
|
+
:effective_lifecycle_policy_error_details)
|
200
|
+
SENSITIVE = []
|
201
|
+
include Aws::Structure
|
202
|
+
end
|
203
|
+
|
204
|
+
# @!attribute [rw] identifiers
|
205
|
+
# The unique identifiers of policy types and policy names.
|
206
|
+
# @return [Array<Types::LifecyclePolicyIdentifier>]
|
207
|
+
#
|
208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/BatchGetLifecyclePolicyRequest AWS API Documentation
|
209
|
+
#
|
210
|
+
class BatchGetLifecyclePolicyRequest < Struct.new(
|
211
|
+
:identifiers)
|
212
|
+
SENSITIVE = []
|
213
|
+
include Aws::Structure
|
214
|
+
end
|
215
|
+
|
216
|
+
# @!attribute [rw] lifecycle_policy_details
|
217
|
+
# A list of lifecycle policies matched to the input policy name and
|
218
|
+
# policy type.
|
219
|
+
# @return [Array<Types::LifecyclePolicyDetail>]
|
220
|
+
#
|
221
|
+
# @!attribute [rw] lifecycle_policy_error_details
|
222
|
+
# A list of lifecycle policy names and policy types for which
|
223
|
+
# retrieval failed.
|
224
|
+
# @return [Array<Types::LifecyclePolicyErrorDetail>]
|
225
|
+
#
|
226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/BatchGetLifecyclePolicyResponse AWS API Documentation
|
227
|
+
#
|
228
|
+
class BatchGetLifecyclePolicyResponse < Struct.new(
|
229
|
+
:lifecycle_policy_details,
|
230
|
+
:lifecycle_policy_error_details)
|
231
|
+
SENSITIVE = []
|
232
|
+
include Aws::Structure
|
233
|
+
end
|
234
|
+
|
174
235
|
# @!attribute [rw] ids
|
175
236
|
# A list of VPC endpoint identifiers.
|
176
237
|
# @return [Array<String>]
|
@@ -325,7 +386,7 @@ module Aws::OpenSearchServerless
|
|
325
386
|
include Aws::Structure
|
326
387
|
end
|
327
388
|
|
328
|
-
#
|
389
|
+
# A list of filter keys that you can use for LIST, UPDATE, and DELETE
|
329
390
|
# requests to OpenSearch Serverless collections.
|
330
391
|
#
|
331
392
|
# @!attribute [rw] name
|
@@ -542,6 +603,55 @@ module Aws::OpenSearchServerless
|
|
542
603
|
include Aws::Structure
|
543
604
|
end
|
544
605
|
|
606
|
+
# @!attribute [rw] client_token
|
607
|
+
# A unique, case-sensitive identifier to ensure idempotency of the
|
608
|
+
# request.
|
609
|
+
#
|
610
|
+
# **A suitable default value is auto-generated.** You should normally
|
611
|
+
# not need to pass this option.
|
612
|
+
# @return [String]
|
613
|
+
#
|
614
|
+
# @!attribute [rw] description
|
615
|
+
# A description of the lifecycle policy.
|
616
|
+
# @return [String]
|
617
|
+
#
|
618
|
+
# @!attribute [rw] name
|
619
|
+
# The name of the lifecycle policy.
|
620
|
+
# @return [String]
|
621
|
+
#
|
622
|
+
# @!attribute [rw] policy
|
623
|
+
# The JSON policy document to use as the content for the lifecycle
|
624
|
+
# policy.
|
625
|
+
# @return [String]
|
626
|
+
#
|
627
|
+
# @!attribute [rw] type
|
628
|
+
# The type of lifecycle policy.
|
629
|
+
# @return [String]
|
630
|
+
#
|
631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CreateLifecyclePolicyRequest AWS API Documentation
|
632
|
+
#
|
633
|
+
class CreateLifecyclePolicyRequest < Struct.new(
|
634
|
+
:client_token,
|
635
|
+
:description,
|
636
|
+
:name,
|
637
|
+
:policy,
|
638
|
+
:type)
|
639
|
+
SENSITIVE = []
|
640
|
+
include Aws::Structure
|
641
|
+
end
|
642
|
+
|
643
|
+
# @!attribute [rw] lifecycle_policy_detail
|
644
|
+
# Details about the created lifecycle policy.
|
645
|
+
# @return [Types::LifecyclePolicyDetail]
|
646
|
+
#
|
647
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CreateLifecyclePolicyResponse AWS API Documentation
|
648
|
+
#
|
649
|
+
class CreateLifecyclePolicyResponse < Struct.new(
|
650
|
+
:lifecycle_policy_detail)
|
651
|
+
SENSITIVE = []
|
652
|
+
include Aws::Structure
|
653
|
+
end
|
654
|
+
|
545
655
|
# @!attribute [rw] client_token
|
546
656
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
547
657
|
# request.
|
@@ -814,6 +924,36 @@ module Aws::OpenSearchServerless
|
|
814
924
|
include Aws::Structure
|
815
925
|
end
|
816
926
|
|
927
|
+
# @!attribute [rw] client_token
|
928
|
+
# Unique, case-sensitive identifier to ensure idempotency of the
|
929
|
+
# request.
|
930
|
+
#
|
931
|
+
# **A suitable default value is auto-generated.** You should normally
|
932
|
+
# not need to pass this option.
|
933
|
+
# @return [String]
|
934
|
+
#
|
935
|
+
# @!attribute [rw] name
|
936
|
+
# The name of the policy to delete.
|
937
|
+
# @return [String]
|
938
|
+
#
|
939
|
+
# @!attribute [rw] type
|
940
|
+
# The type of lifecycle policy.
|
941
|
+
# @return [String]
|
942
|
+
#
|
943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteLifecyclePolicyRequest AWS API Documentation
|
944
|
+
#
|
945
|
+
class DeleteLifecyclePolicyRequest < Struct.new(
|
946
|
+
:client_token,
|
947
|
+
:name,
|
948
|
+
:type)
|
949
|
+
SENSITIVE = []
|
950
|
+
include Aws::Structure
|
951
|
+
end
|
952
|
+
|
953
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/DeleteLifecyclePolicyResponse AWS API Documentation
|
954
|
+
#
|
955
|
+
class DeleteLifecyclePolicyResponse < Aws::EmptyStructure; end
|
956
|
+
|
817
957
|
# @!attribute [rw] client_token
|
818
958
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
819
959
|
# request.
|
@@ -929,12 +1069,85 @@ module Aws::OpenSearchServerless
|
|
929
1069
|
include Aws::Structure
|
930
1070
|
end
|
931
1071
|
|
1072
|
+
# Error information for an OpenSearch Serverless request.
|
1073
|
+
#
|
1074
|
+
# @!attribute [rw] no_min_retention_period
|
1075
|
+
# The minimum number of index retention days set. That is an optional
|
1076
|
+
# param that will return as `true` if the minimum number of days or
|
1077
|
+
# hours is not set to a index resource.
|
1078
|
+
# @return [Boolean]
|
1079
|
+
#
|
1080
|
+
# @!attribute [rw] policy_name
|
1081
|
+
# The name of the lifecycle policy.
|
1082
|
+
# @return [String]
|
1083
|
+
#
|
1084
|
+
# @!attribute [rw] resource
|
1085
|
+
# The name of the OpenSearch Serverless index resource.
|
1086
|
+
# @return [String]
|
1087
|
+
#
|
1088
|
+
# @!attribute [rw] resource_type
|
1089
|
+
# The type of OpenSearch Serverless resource. Currently, the only
|
1090
|
+
# supported resource is `index`.
|
1091
|
+
# @return [String]
|
1092
|
+
#
|
1093
|
+
# @!attribute [rw] retention_period
|
1094
|
+
# The minimum number of index retention in days or hours. This is an
|
1095
|
+
# optional parameter that will return only if it’s set.
|
1096
|
+
# @return [String]
|
1097
|
+
#
|
1098
|
+
# @!attribute [rw] type
|
1099
|
+
# The type of lifecycle policy.
|
1100
|
+
# @return [String]
|
1101
|
+
#
|
1102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/EffectiveLifecyclePolicyDetail AWS API Documentation
|
1103
|
+
#
|
1104
|
+
class EffectiveLifecyclePolicyDetail < Struct.new(
|
1105
|
+
:no_min_retention_period,
|
1106
|
+
:policy_name,
|
1107
|
+
:resource,
|
1108
|
+
:resource_type,
|
1109
|
+
:retention_period,
|
1110
|
+
:type)
|
1111
|
+
SENSITIVE = []
|
1112
|
+
include Aws::Structure
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# Error information for an OpenSearch Serverless request.
|
1116
|
+
#
|
1117
|
+
# @!attribute [rw] error_code
|
1118
|
+
# The error code for the request.
|
1119
|
+
# @return [String]
|
1120
|
+
#
|
1121
|
+
# @!attribute [rw] error_message
|
1122
|
+
# A description of the error. For example, `The specified Index
|
1123
|
+
# resource is not found`.
|
1124
|
+
# @return [String]
|
1125
|
+
#
|
1126
|
+
# @!attribute [rw] resource
|
1127
|
+
# The name of OpenSearch Serverless index resource.
|
1128
|
+
# @return [String]
|
1129
|
+
#
|
1130
|
+
# @!attribute [rw] type
|
1131
|
+
# The type of lifecycle policy.
|
1132
|
+
# @return [String]
|
1133
|
+
#
|
1134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/EffectiveLifecyclePolicyErrorDetail AWS API Documentation
|
1135
|
+
#
|
1136
|
+
class EffectiveLifecyclePolicyErrorDetail < Struct.new(
|
1137
|
+
:error_code,
|
1138
|
+
:error_message,
|
1139
|
+
:resource,
|
1140
|
+
:type)
|
1141
|
+
SENSITIVE = []
|
1142
|
+
include Aws::Structure
|
1143
|
+
end
|
1144
|
+
|
932
1145
|
# @!attribute [rw] name
|
933
1146
|
# The name of the access policy.
|
934
1147
|
# @return [String]
|
935
1148
|
#
|
936
1149
|
# @!attribute [rw] type
|
937
|
-
# Tye type of policy. Currently the only supported value is `data`.
|
1150
|
+
# Tye type of policy. Currently, the only supported value is `data`.
|
938
1151
|
# @return [String]
|
939
1152
|
#
|
940
1153
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/GetAccessPolicyRequest AWS API Documentation
|
@@ -986,6 +1199,10 @@ module Aws::OpenSearchServerless
|
|
986
1199
|
# Information about the data access policies in your account.
|
987
1200
|
# @return [Types::AccessPolicyStats]
|
988
1201
|
#
|
1202
|
+
# @!attribute [rw] lifecycle_policy_stats
|
1203
|
+
# Information about the lifecycle policies in your account.
|
1204
|
+
# @return [Types::LifecyclePolicyStats]
|
1205
|
+
#
|
989
1206
|
# @!attribute [rw] security_config_stats
|
990
1207
|
# Information about the security configurations in your account.
|
991
1208
|
# @return [Types::SecurityConfigStats]
|
@@ -1003,6 +1220,7 @@ module Aws::OpenSearchServerless
|
|
1003
1220
|
#
|
1004
1221
|
class GetPoliciesStatsResponse < Struct.new(
|
1005
1222
|
:access_policy_stats,
|
1223
|
+
:lifecycle_policy_stats,
|
1006
1224
|
:security_config_stats,
|
1007
1225
|
:security_policy_stats,
|
1008
1226
|
:total_policy_count)
|
@@ -1077,6 +1295,171 @@ module Aws::OpenSearchServerless
|
|
1077
1295
|
include Aws::Structure
|
1078
1296
|
end
|
1079
1297
|
|
1298
|
+
# Details about an OpenSearch Serverless lifecycle policy.
|
1299
|
+
#
|
1300
|
+
# @!attribute [rw] created_date
|
1301
|
+
# The date the lifecycle policy was created.
|
1302
|
+
# @return [Integer]
|
1303
|
+
#
|
1304
|
+
# @!attribute [rw] description
|
1305
|
+
# The description of the lifecycle policy.
|
1306
|
+
# @return [String]
|
1307
|
+
#
|
1308
|
+
# @!attribute [rw] last_modified_date
|
1309
|
+
# The timestamp of when the lifecycle policy was last modified.
|
1310
|
+
# @return [Integer]
|
1311
|
+
#
|
1312
|
+
# @!attribute [rw] name
|
1313
|
+
# The name of the lifecycle policy.
|
1314
|
+
# @return [String]
|
1315
|
+
#
|
1316
|
+
# @!attribute [rw] policy
|
1317
|
+
# The JSON policy document without any whitespaces.
|
1318
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
1319
|
+
#
|
1320
|
+
# @!attribute [rw] policy_version
|
1321
|
+
# The version of the lifecycle policy.
|
1322
|
+
# @return [String]
|
1323
|
+
#
|
1324
|
+
# @!attribute [rw] type
|
1325
|
+
# The type of lifecycle policy.
|
1326
|
+
# @return [String]
|
1327
|
+
#
|
1328
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/LifecyclePolicyDetail AWS API Documentation
|
1329
|
+
#
|
1330
|
+
class LifecyclePolicyDetail < Struct.new(
|
1331
|
+
:created_date,
|
1332
|
+
:description,
|
1333
|
+
:last_modified_date,
|
1334
|
+
:name,
|
1335
|
+
:policy,
|
1336
|
+
:policy_version,
|
1337
|
+
:type)
|
1338
|
+
SENSITIVE = []
|
1339
|
+
include Aws::Structure
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
# Error information for an OpenSearch Serverless request.
|
1343
|
+
#
|
1344
|
+
# @!attribute [rw] error_code
|
1345
|
+
# The error code for the request. For example, `NOT_FOUND`.
|
1346
|
+
# @return [String]
|
1347
|
+
#
|
1348
|
+
# @!attribute [rw] error_message
|
1349
|
+
# A description of the error. For example, `The specified Lifecycle
|
1350
|
+
# Policy is not found`.
|
1351
|
+
# @return [String]
|
1352
|
+
#
|
1353
|
+
# @!attribute [rw] name
|
1354
|
+
# The name of the lifecycle policy.
|
1355
|
+
# @return [String]
|
1356
|
+
#
|
1357
|
+
# @!attribute [rw] type
|
1358
|
+
# The type of lifecycle policy.
|
1359
|
+
# @return [String]
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/LifecyclePolicyErrorDetail AWS API Documentation
|
1362
|
+
#
|
1363
|
+
class LifecyclePolicyErrorDetail < Struct.new(
|
1364
|
+
:error_code,
|
1365
|
+
:error_message,
|
1366
|
+
:name,
|
1367
|
+
:type)
|
1368
|
+
SENSITIVE = []
|
1369
|
+
include Aws::Structure
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# The unique identifiers of policy types and policy names.
|
1373
|
+
#
|
1374
|
+
# @!attribute [rw] name
|
1375
|
+
# The name of the lifecycle policy.
|
1376
|
+
# @return [String]
|
1377
|
+
#
|
1378
|
+
# @!attribute [rw] type
|
1379
|
+
# The type of lifecycle policy.
|
1380
|
+
# @return [String]
|
1381
|
+
#
|
1382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/LifecyclePolicyIdentifier AWS API Documentation
|
1383
|
+
#
|
1384
|
+
class LifecyclePolicyIdentifier < Struct.new(
|
1385
|
+
:name,
|
1386
|
+
:type)
|
1387
|
+
SENSITIVE = []
|
1388
|
+
include Aws::Structure
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
# The unique identifiers of policy types and resource names.
|
1392
|
+
#
|
1393
|
+
# @!attribute [rw] resource
|
1394
|
+
# The name of the OpenSearch Serverless ilndex resource.
|
1395
|
+
# @return [String]
|
1396
|
+
#
|
1397
|
+
# @!attribute [rw] type
|
1398
|
+
# The type of lifecycle policy.
|
1399
|
+
# @return [String]
|
1400
|
+
#
|
1401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/LifecyclePolicyResourceIdentifier AWS API Documentation
|
1402
|
+
#
|
1403
|
+
class LifecyclePolicyResourceIdentifier < Struct.new(
|
1404
|
+
:resource,
|
1405
|
+
:type)
|
1406
|
+
SENSITIVE = []
|
1407
|
+
include Aws::Structure
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
# Statistics for an OpenSearch Serverless lifecycle policy.
|
1411
|
+
#
|
1412
|
+
# @!attribute [rw] retention_policy_count
|
1413
|
+
# The number of retention lifecycle policies in the current account.
|
1414
|
+
# @return [Integer]
|
1415
|
+
#
|
1416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/LifecyclePolicyStats AWS API Documentation
|
1417
|
+
#
|
1418
|
+
class LifecyclePolicyStats < Struct.new(
|
1419
|
+
:retention_policy_count)
|
1420
|
+
SENSITIVE = []
|
1421
|
+
include Aws::Structure
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
# A summary of the lifecycle policy.
|
1425
|
+
#
|
1426
|
+
# @!attribute [rw] created_date
|
1427
|
+
# The Epoch time when the lifecycle policy was created.
|
1428
|
+
# @return [Integer]
|
1429
|
+
#
|
1430
|
+
# @!attribute [rw] description
|
1431
|
+
# The description of the lifecycle policy.
|
1432
|
+
# @return [String]
|
1433
|
+
#
|
1434
|
+
# @!attribute [rw] last_modified_date
|
1435
|
+
# The date and time when the lifecycle policy was last modified.
|
1436
|
+
# @return [Integer]
|
1437
|
+
#
|
1438
|
+
# @!attribute [rw] name
|
1439
|
+
# The name of the lifecycle policy.
|
1440
|
+
# @return [String]
|
1441
|
+
#
|
1442
|
+
# @!attribute [rw] policy_version
|
1443
|
+
# The version of the lifecycle policy.
|
1444
|
+
# @return [String]
|
1445
|
+
#
|
1446
|
+
# @!attribute [rw] type
|
1447
|
+
# The type of lifecycle policy.
|
1448
|
+
# @return [String]
|
1449
|
+
#
|
1450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/LifecyclePolicySummary AWS API Documentation
|
1451
|
+
#
|
1452
|
+
class LifecyclePolicySummary < Struct.new(
|
1453
|
+
:created_date,
|
1454
|
+
:description,
|
1455
|
+
:last_modified_date,
|
1456
|
+
:name,
|
1457
|
+
:policy_version,
|
1458
|
+
:type)
|
1459
|
+
SENSITIVE = []
|
1460
|
+
include Aws::Structure
|
1461
|
+
end
|
1462
|
+
|
1080
1463
|
# @!attribute [rw] max_results
|
1081
1464
|
# An optional parameter that specifies the maximum number of results
|
1082
1465
|
# to return. You can use `nextToken` to get the next page of results.
|
@@ -1131,7 +1514,7 @@ module Aws::OpenSearchServerless
|
|
1131
1514
|
end
|
1132
1515
|
|
1133
1516
|
# @!attribute [rw] collection_filters
|
1134
|
-
#
|
1517
|
+
# A list of filter names and values that you can use for requests.
|
1135
1518
|
# @return [Types::CollectionFilters]
|
1136
1519
|
#
|
1137
1520
|
# @!attribute [rw] max_results
|
@@ -1176,6 +1559,59 @@ module Aws::OpenSearchServerless
|
|
1176
1559
|
include Aws::Structure
|
1177
1560
|
end
|
1178
1561
|
|
1562
|
+
# @!attribute [rw] max_results
|
1563
|
+
# An optional parameter that specifies the maximum number of results
|
1564
|
+
# to return. You can use use `nextToken` to get the next page of
|
1565
|
+
# results. The default is 10.
|
1566
|
+
# @return [Integer]
|
1567
|
+
#
|
1568
|
+
# @!attribute [rw] next_token
|
1569
|
+
# If your initial `ListLifecyclePolicies` operation returns a
|
1570
|
+
# `nextToken`, you can include the returned `nextToken` in subsequent
|
1571
|
+
# `ListLifecyclePolicies` operations, which returns results in the
|
1572
|
+
# next page.
|
1573
|
+
# @return [String]
|
1574
|
+
#
|
1575
|
+
# @!attribute [rw] resources
|
1576
|
+
# Resource filters that policies can apply to. Currently, the only
|
1577
|
+
# supported resource type is `index`.
|
1578
|
+
# @return [Array<String>]
|
1579
|
+
#
|
1580
|
+
# @!attribute [rw] type
|
1581
|
+
# The type of lifecycle policy.
|
1582
|
+
# @return [String]
|
1583
|
+
#
|
1584
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/ListLifecyclePoliciesRequest AWS API Documentation
|
1585
|
+
#
|
1586
|
+
class ListLifecyclePoliciesRequest < Struct.new(
|
1587
|
+
:max_results,
|
1588
|
+
:next_token,
|
1589
|
+
:resources,
|
1590
|
+
:type)
|
1591
|
+
SENSITIVE = []
|
1592
|
+
include Aws::Structure
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
# @!attribute [rw] lifecycle_policy_summaries
|
1596
|
+
# Details about the requested lifecycle policies.
|
1597
|
+
# @return [Array<Types::LifecyclePolicySummary>]
|
1598
|
+
#
|
1599
|
+
# @!attribute [rw] next_token
|
1600
|
+
# When `nextToken` is returned, there are more results available. The
|
1601
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1602
|
+
# Make the call again using the returned token to retrieve the next
|
1603
|
+
# page.
|
1604
|
+
# @return [String]
|
1605
|
+
#
|
1606
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/ListLifecyclePoliciesResponse AWS API Documentation
|
1607
|
+
#
|
1608
|
+
class ListLifecyclePoliciesResponse < Struct.new(
|
1609
|
+
:lifecycle_policy_summaries,
|
1610
|
+
:next_token)
|
1611
|
+
SENSITIVE = []
|
1612
|
+
include Aws::Structure
|
1613
|
+
end
|
1614
|
+
|
1179
1615
|
# @!attribute [rw] max_results
|
1180
1616
|
# An optional parameter that specifies the maximum number of results
|
1181
1617
|
# to return. You can use `nextToken` to get the next page of results.
|
@@ -1887,6 +2323,60 @@ module Aws::OpenSearchServerless
|
|
1887
2323
|
include Aws::Structure
|
1888
2324
|
end
|
1889
2325
|
|
2326
|
+
# @!attribute [rw] client_token
|
2327
|
+
# A unique, case-sensitive identifier to ensure idempotency of the
|
2328
|
+
# request.
|
2329
|
+
#
|
2330
|
+
# **A suitable default value is auto-generated.** You should normally
|
2331
|
+
# not need to pass this option.
|
2332
|
+
# @return [String]
|
2333
|
+
#
|
2334
|
+
# @!attribute [rw] description
|
2335
|
+
# A description of the lifecycle policy.
|
2336
|
+
# @return [String]
|
2337
|
+
#
|
2338
|
+
# @!attribute [rw] name
|
2339
|
+
# The name of the policy.
|
2340
|
+
# @return [String]
|
2341
|
+
#
|
2342
|
+
# @!attribute [rw] policy
|
2343
|
+
# The JSON policy document to use as the content for the lifecycle
|
2344
|
+
# policy.
|
2345
|
+
# @return [String]
|
2346
|
+
#
|
2347
|
+
# @!attribute [rw] policy_version
|
2348
|
+
# The version of the policy being updated.
|
2349
|
+
# @return [String]
|
2350
|
+
#
|
2351
|
+
# @!attribute [rw] type
|
2352
|
+
# The type of lifecycle policy.
|
2353
|
+
# @return [String]
|
2354
|
+
#
|
2355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateLifecyclePolicyRequest AWS API Documentation
|
2356
|
+
#
|
2357
|
+
class UpdateLifecyclePolicyRequest < Struct.new(
|
2358
|
+
:client_token,
|
2359
|
+
:description,
|
2360
|
+
:name,
|
2361
|
+
:policy,
|
2362
|
+
:policy_version,
|
2363
|
+
:type)
|
2364
|
+
SENSITIVE = []
|
2365
|
+
include Aws::Structure
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
# @!attribute [rw] lifecycle_policy_detail
|
2369
|
+
# Details about the updated lifecycle policy.
|
2370
|
+
# @return [Types::LifecyclePolicyDetail]
|
2371
|
+
#
|
2372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateLifecyclePolicyResponse AWS API Documentation
|
2373
|
+
#
|
2374
|
+
class UpdateLifecyclePolicyResponse < Struct.new(
|
2375
|
+
:lifecycle_policy_detail)
|
2376
|
+
SENSITIVE = []
|
2377
|
+
include Aws::Structure
|
2378
|
+
end
|
2379
|
+
|
1890
2380
|
# @!attribute [rw] client_token
|
1891
2381
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
1892
2382
|
# request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-opensearchserverless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|