@aws-sdk/client-opensearchserverless 3.859.0 → 3.862.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.
- package/README.md +32 -0
- package/dist-cjs/index.js +173 -0
- package/dist-es/OpenSearchServerless.js +8 -0
- package/dist-es/commands/CreateIndexCommand.js +22 -0
- package/dist-es/commands/DeleteIndexCommand.js +22 -0
- package/dist-es/commands/GetIndexCommand.js +22 -0
- package/dist-es/commands/UpdateIndexCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +101 -0
- package/dist-types/OpenSearchServerless.d.ts +28 -0
- package/dist-types/OpenSearchServerlessClient.d.ts +6 -2
- package/dist-types/commands/CreateCollectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateIndexCommand.d.ts +90 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +83 -0
- package/dist-types/commands/GetIndexCommand.d.ts +85 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +85 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +105 -6
- package/dist-types/protocols/Aws_json1_0.d.ts +36 -0
- package/dist-types/ts3.4/OpenSearchServerless.d.ts +68 -0
- package/dist-types/ts3.4/OpenSearchServerlessClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +48 -0
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -259,6 +259,14 @@ CreateCollection
|
|
|
259
259
|
|
|
260
260
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearchserverless/command/CreateCollectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/CreateCollectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/CreateCollectionCommandOutput/)
|
|
261
261
|
|
|
262
|
+
</details>
|
|
263
|
+
<details>
|
|
264
|
+
<summary>
|
|
265
|
+
CreateIndex
|
|
266
|
+
</summary>
|
|
267
|
+
|
|
268
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearchserverless/command/CreateIndexCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/CreateIndexCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/CreateIndexCommandOutput/)
|
|
269
|
+
|
|
262
270
|
</details>
|
|
263
271
|
<details>
|
|
264
272
|
<summary>
|
|
@@ -307,6 +315,14 @@ DeleteCollection
|
|
|
307
315
|
|
|
308
316
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearchserverless/command/DeleteCollectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/DeleteCollectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/DeleteCollectionCommandOutput/)
|
|
309
317
|
|
|
318
|
+
</details>
|
|
319
|
+
<details>
|
|
320
|
+
<summary>
|
|
321
|
+
DeleteIndex
|
|
322
|
+
</summary>
|
|
323
|
+
|
|
324
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearchserverless/command/DeleteIndexCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/DeleteIndexCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/DeleteIndexCommandOutput/)
|
|
325
|
+
|
|
310
326
|
</details>
|
|
311
327
|
<details>
|
|
312
328
|
<summary>
|
|
@@ -355,6 +371,14 @@ GetAccountSettings
|
|
|
355
371
|
|
|
356
372
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearchserverless/command/GetAccountSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/GetAccountSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/GetAccountSettingsCommandOutput/)
|
|
357
373
|
|
|
374
|
+
</details>
|
|
375
|
+
<details>
|
|
376
|
+
<summary>
|
|
377
|
+
GetIndex
|
|
378
|
+
</summary>
|
|
379
|
+
|
|
380
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearchserverless/command/GetIndexCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/GetIndexCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/GetIndexCommandOutput/)
|
|
381
|
+
|
|
358
382
|
</details>
|
|
359
383
|
<details>
|
|
360
384
|
<summary>
|
|
@@ -475,6 +499,14 @@ UpdateCollection
|
|
|
475
499
|
|
|
476
500
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearchserverless/command/UpdateCollectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/UpdateCollectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/UpdateCollectionCommandOutput/)
|
|
477
501
|
|
|
502
|
+
</details>
|
|
503
|
+
<details>
|
|
504
|
+
<summary>
|
|
505
|
+
UpdateIndex
|
|
506
|
+
</summary>
|
|
507
|
+
|
|
508
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearchserverless/command/UpdateIndexCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/UpdateIndexCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearchserverless/Interface/UpdateIndexCommandOutput/)
|
|
509
|
+
|
|
478
510
|
</details>
|
|
479
511
|
<details>
|
|
480
512
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -31,18 +31,21 @@ __export(index_exports, {
|
|
|
31
31
|
ConflictException: () => ConflictException,
|
|
32
32
|
CreateAccessPolicyCommand: () => CreateAccessPolicyCommand,
|
|
33
33
|
CreateCollectionCommand: () => CreateCollectionCommand,
|
|
34
|
+
CreateIndexCommand: () => CreateIndexCommand,
|
|
34
35
|
CreateLifecyclePolicyCommand: () => CreateLifecyclePolicyCommand,
|
|
35
36
|
CreateSecurityConfigCommand: () => CreateSecurityConfigCommand,
|
|
36
37
|
CreateSecurityPolicyCommand: () => CreateSecurityPolicyCommand,
|
|
37
38
|
CreateVpcEndpointCommand: () => CreateVpcEndpointCommand,
|
|
38
39
|
DeleteAccessPolicyCommand: () => DeleteAccessPolicyCommand,
|
|
39
40
|
DeleteCollectionCommand: () => DeleteCollectionCommand,
|
|
41
|
+
DeleteIndexCommand: () => DeleteIndexCommand,
|
|
40
42
|
DeleteLifecyclePolicyCommand: () => DeleteLifecyclePolicyCommand,
|
|
41
43
|
DeleteSecurityConfigCommand: () => DeleteSecurityConfigCommand,
|
|
42
44
|
DeleteSecurityPolicyCommand: () => DeleteSecurityPolicyCommand,
|
|
43
45
|
DeleteVpcEndpointCommand: () => DeleteVpcEndpointCommand,
|
|
44
46
|
GetAccessPolicyCommand: () => GetAccessPolicyCommand,
|
|
45
47
|
GetAccountSettingsCommand: () => GetAccountSettingsCommand,
|
|
48
|
+
GetIndexCommand: () => GetIndexCommand,
|
|
46
49
|
GetPoliciesStatsCommand: () => GetPoliciesStatsCommand,
|
|
47
50
|
GetSecurityConfigCommand: () => GetSecurityConfigCommand,
|
|
48
51
|
GetSecurityPolicyCommand: () => GetSecurityPolicyCommand,
|
|
@@ -72,6 +75,7 @@ __export(index_exports, {
|
|
|
72
75
|
UpdateAccessPolicyCommand: () => UpdateAccessPolicyCommand,
|
|
73
76
|
UpdateAccountSettingsCommand: () => UpdateAccountSettingsCommand,
|
|
74
77
|
UpdateCollectionCommand: () => UpdateCollectionCommand,
|
|
78
|
+
UpdateIndexCommand: () => UpdateIndexCommand,
|
|
75
79
|
UpdateLifecyclePolicyCommand: () => UpdateLifecyclePolicyCommand,
|
|
76
80
|
UpdateSecurityConfigCommand: () => UpdateSecurityConfigCommand,
|
|
77
81
|
UpdateSecurityPolicyCommand: () => UpdateSecurityPolicyCommand,
|
|
@@ -555,6 +559,12 @@ var se_CreateCollectionCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
555
559
|
body = JSON.stringify(se_CreateCollectionRequest(input, context));
|
|
556
560
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
557
561
|
}, "se_CreateCollectionCommand");
|
|
562
|
+
var se_CreateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
563
|
+
const headers = sharedHeaders("CreateIndex");
|
|
564
|
+
let body;
|
|
565
|
+
body = JSON.stringify(se_CreateIndexRequest(input, context));
|
|
566
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
567
|
+
}, "se_CreateIndexCommand");
|
|
558
568
|
var se_CreateLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
559
569
|
const headers = sharedHeaders("CreateLifecyclePolicy");
|
|
560
570
|
let body;
|
|
@@ -591,6 +601,12 @@ var se_DeleteCollectionCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
591
601
|
body = JSON.stringify(se_DeleteCollectionRequest(input, context));
|
|
592
602
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
593
603
|
}, "se_DeleteCollectionCommand");
|
|
604
|
+
var se_DeleteIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
605
|
+
const headers = sharedHeaders("DeleteIndex");
|
|
606
|
+
let body;
|
|
607
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
608
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
609
|
+
}, "se_DeleteIndexCommand");
|
|
594
610
|
var se_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
595
611
|
const headers = sharedHeaders("DeleteLifecyclePolicy");
|
|
596
612
|
let body;
|
|
@@ -627,6 +643,12 @@ var se_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
627
643
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
628
644
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
629
645
|
}, "se_GetAccountSettingsCommand");
|
|
646
|
+
var se_GetIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
647
|
+
const headers = sharedHeaders("GetIndex");
|
|
648
|
+
let body;
|
|
649
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
650
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
651
|
+
}, "se_GetIndexCommand");
|
|
630
652
|
var se_GetPoliciesStatsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
631
653
|
const headers = sharedHeaders("GetPoliciesStats");
|
|
632
654
|
let body;
|
|
@@ -717,6 +739,12 @@ var se_UpdateCollectionCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
717
739
|
body = JSON.stringify(se_UpdateCollectionRequest(input, context));
|
|
718
740
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
719
741
|
}, "se_UpdateCollectionCommand");
|
|
742
|
+
var se_UpdateIndexCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
743
|
+
const headers = sharedHeaders("UpdateIndex");
|
|
744
|
+
let body;
|
|
745
|
+
body = JSON.stringify(se_UpdateIndexRequest(input, context));
|
|
746
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
747
|
+
}, "se_UpdateIndexCommand");
|
|
720
748
|
var se_UpdateLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
721
749
|
const headers = sharedHeaders("UpdateLifecyclePolicy");
|
|
722
750
|
let body;
|
|
@@ -819,6 +847,19 @@ var de_CreateCollectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
819
847
|
};
|
|
820
848
|
return response;
|
|
821
849
|
}, "de_CreateCollectionCommand");
|
|
850
|
+
var de_CreateIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
851
|
+
if (output.statusCode >= 300) {
|
|
852
|
+
return de_CommandError(output, context);
|
|
853
|
+
}
|
|
854
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
855
|
+
let contents = {};
|
|
856
|
+
contents = (0, import_smithy_client._json)(data);
|
|
857
|
+
const response = {
|
|
858
|
+
$metadata: deserializeMetadata(output),
|
|
859
|
+
...contents
|
|
860
|
+
};
|
|
861
|
+
return response;
|
|
862
|
+
}, "de_CreateIndexCommand");
|
|
822
863
|
var de_CreateLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
823
864
|
if (output.statusCode >= 300) {
|
|
824
865
|
return de_CommandError(output, context);
|
|
@@ -897,6 +938,19 @@ var de_DeleteCollectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
897
938
|
};
|
|
898
939
|
return response;
|
|
899
940
|
}, "de_DeleteCollectionCommand");
|
|
941
|
+
var de_DeleteIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
942
|
+
if (output.statusCode >= 300) {
|
|
943
|
+
return de_CommandError(output, context);
|
|
944
|
+
}
|
|
945
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
946
|
+
let contents = {};
|
|
947
|
+
contents = (0, import_smithy_client._json)(data);
|
|
948
|
+
const response = {
|
|
949
|
+
$metadata: deserializeMetadata(output),
|
|
950
|
+
...contents
|
|
951
|
+
};
|
|
952
|
+
return response;
|
|
953
|
+
}, "de_DeleteIndexCommand");
|
|
900
954
|
var de_DeleteLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
901
955
|
if (output.statusCode >= 300) {
|
|
902
956
|
return de_CommandError(output, context);
|
|
@@ -975,6 +1029,19 @@ var de_GetAccountSettingsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
975
1029
|
};
|
|
976
1030
|
return response;
|
|
977
1031
|
}, "de_GetAccountSettingsCommand");
|
|
1032
|
+
var de_GetIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1033
|
+
if (output.statusCode >= 300) {
|
|
1034
|
+
return de_CommandError(output, context);
|
|
1035
|
+
}
|
|
1036
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1037
|
+
let contents = {};
|
|
1038
|
+
contents = de_GetIndexResponse(data, context);
|
|
1039
|
+
const response = {
|
|
1040
|
+
$metadata: deserializeMetadata(output),
|
|
1041
|
+
...contents
|
|
1042
|
+
};
|
|
1043
|
+
return response;
|
|
1044
|
+
}, "de_GetIndexCommand");
|
|
978
1045
|
var de_GetPoliciesStatsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
979
1046
|
if (output.statusCode >= 300) {
|
|
980
1047
|
return de_CommandError(output, context);
|
|
@@ -1170,6 +1237,19 @@ var de_UpdateCollectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1170
1237
|
};
|
|
1171
1238
|
return response;
|
|
1172
1239
|
}, "de_UpdateCollectionCommand");
|
|
1240
|
+
var de_UpdateIndexCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1241
|
+
if (output.statusCode >= 300) {
|
|
1242
|
+
return de_CommandError(output, context);
|
|
1243
|
+
}
|
|
1244
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1245
|
+
let contents = {};
|
|
1246
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1247
|
+
const response = {
|
|
1248
|
+
$metadata: deserializeMetadata(output),
|
|
1249
|
+
...contents
|
|
1250
|
+
};
|
|
1251
|
+
return response;
|
|
1252
|
+
}, "de_UpdateIndexCommand");
|
|
1173
1253
|
var de_UpdateLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
1254
|
if (output.statusCode >= 300) {
|
|
1175
1255
|
return de_CommandError(output, context);
|
|
@@ -1329,6 +1409,13 @@ var se_CreateCollectionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1329
1409
|
type: []
|
|
1330
1410
|
});
|
|
1331
1411
|
}, "se_CreateCollectionRequest");
|
|
1412
|
+
var se_CreateIndexRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1413
|
+
return (0, import_smithy_client.take)(input, {
|
|
1414
|
+
id: [],
|
|
1415
|
+
indexName: [],
|
|
1416
|
+
indexSchema: /* @__PURE__ */ __name((_) => se_IndexSchema(_, context), "indexSchema")
|
|
1417
|
+
});
|
|
1418
|
+
}, "se_CreateIndexRequest");
|
|
1332
1419
|
var se_CreateLifecyclePolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1333
1420
|
return (0, import_smithy_client.take)(input, {
|
|
1334
1421
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
@@ -1406,6 +1493,9 @@ var se_DeleteVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1406
1493
|
id: []
|
|
1407
1494
|
});
|
|
1408
1495
|
}, "se_DeleteVpcEndpointRequest");
|
|
1496
|
+
var se_IndexSchema = /* @__PURE__ */ __name((input, context) => {
|
|
1497
|
+
return input;
|
|
1498
|
+
}, "se_IndexSchema");
|
|
1409
1499
|
var se_UpdateAccessPolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1410
1500
|
return (0, import_smithy_client.take)(input, {
|
|
1411
1501
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
@@ -1423,6 +1513,13 @@ var se_UpdateCollectionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1423
1513
|
id: []
|
|
1424
1514
|
});
|
|
1425
1515
|
}, "se_UpdateCollectionRequest");
|
|
1516
|
+
var se_UpdateIndexRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1517
|
+
return (0, import_smithy_client.take)(input, {
|
|
1518
|
+
id: [],
|
|
1519
|
+
indexName: [],
|
|
1520
|
+
indexSchema: /* @__PURE__ */ __name((_) => se_IndexSchema(_, context), "indexSchema")
|
|
1521
|
+
});
|
|
1522
|
+
}, "se_UpdateIndexRequest");
|
|
1426
1523
|
var se_UpdateLifecyclePolicyRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1427
1524
|
return (0, import_smithy_client.take)(input, {
|
|
1428
1525
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
@@ -1501,11 +1598,19 @@ var de_GetAccessPolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1501
1598
|
accessPolicyDetail: /* @__PURE__ */ __name((_) => de_AccessPolicyDetail(_, context), "accessPolicyDetail")
|
|
1502
1599
|
});
|
|
1503
1600
|
}, "de_GetAccessPolicyResponse");
|
|
1601
|
+
var de_GetIndexResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1602
|
+
return (0, import_smithy_client.take)(output, {
|
|
1603
|
+
indexSchema: /* @__PURE__ */ __name((_) => de_IndexSchema(_, context), "indexSchema")
|
|
1604
|
+
});
|
|
1605
|
+
}, "de_GetIndexResponse");
|
|
1504
1606
|
var de_GetSecurityPolicyResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1505
1607
|
return (0, import_smithy_client.take)(output, {
|
|
1506
1608
|
securityPolicyDetail: /* @__PURE__ */ __name((_) => de_SecurityPolicyDetail(_, context), "securityPolicyDetail")
|
|
1507
1609
|
});
|
|
1508
1610
|
}, "de_GetSecurityPolicyResponse");
|
|
1611
|
+
var de_IndexSchema = /* @__PURE__ */ __name((output, context) => {
|
|
1612
|
+
return output;
|
|
1613
|
+
}, "de_IndexSchema");
|
|
1509
1614
|
var de_LifecyclePolicyDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1510
1615
|
return (0, import_smithy_client.take)(output, {
|
|
1511
1616
|
createdDate: import_smithy_client.expectLong,
|
|
@@ -1672,6 +1777,21 @@ var CreateCollectionCommand = class extends import_smithy_client.Command.classBu
|
|
|
1672
1777
|
}
|
|
1673
1778
|
};
|
|
1674
1779
|
|
|
1780
|
+
// src/commands/CreateIndexCommand.ts
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
var CreateIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1785
|
+
return [
|
|
1786
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1787
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1788
|
+
];
|
|
1789
|
+
}).s("OpenSearchServerless", "CreateIndex", {}).n("OpenSearchServerlessClient", "CreateIndexCommand").f(void 0, void 0).ser(se_CreateIndexCommand).de(de_CreateIndexCommand).build() {
|
|
1790
|
+
static {
|
|
1791
|
+
__name(this, "CreateIndexCommand");
|
|
1792
|
+
}
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1675
1795
|
// src/commands/CreateLifecyclePolicyCommand.ts
|
|
1676
1796
|
|
|
1677
1797
|
|
|
@@ -1762,6 +1882,21 @@ var DeleteCollectionCommand = class extends import_smithy_client.Command.classBu
|
|
|
1762
1882
|
}
|
|
1763
1883
|
};
|
|
1764
1884
|
|
|
1885
|
+
// src/commands/DeleteIndexCommand.ts
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
var DeleteIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1890
|
+
return [
|
|
1891
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1892
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1893
|
+
];
|
|
1894
|
+
}).s("OpenSearchServerless", "DeleteIndex", {}).n("OpenSearchServerlessClient", "DeleteIndexCommand").f(void 0, void 0).ser(se_DeleteIndexCommand).de(de_DeleteIndexCommand).build() {
|
|
1895
|
+
static {
|
|
1896
|
+
__name(this, "DeleteIndexCommand");
|
|
1897
|
+
}
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1765
1900
|
// src/commands/DeleteLifecyclePolicyCommand.ts
|
|
1766
1901
|
|
|
1767
1902
|
|
|
@@ -1852,6 +1987,21 @@ var GetAccountSettingsCommand = class extends import_smithy_client.Command.class
|
|
|
1852
1987
|
}
|
|
1853
1988
|
};
|
|
1854
1989
|
|
|
1990
|
+
// src/commands/GetIndexCommand.ts
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
|
|
1994
|
+
var GetIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1995
|
+
return [
|
|
1996
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1997
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1998
|
+
];
|
|
1999
|
+
}).s("OpenSearchServerless", "GetIndex", {}).n("OpenSearchServerlessClient", "GetIndexCommand").f(void 0, void 0).ser(se_GetIndexCommand).de(de_GetIndexCommand).build() {
|
|
2000
|
+
static {
|
|
2001
|
+
__name(this, "GetIndexCommand");
|
|
2002
|
+
}
|
|
2003
|
+
};
|
|
2004
|
+
|
|
1855
2005
|
// src/commands/GetPoliciesStatsCommand.ts
|
|
1856
2006
|
|
|
1857
2007
|
|
|
@@ -2077,6 +2227,21 @@ var UpdateCollectionCommand = class extends import_smithy_client.Command.classBu
|
|
|
2077
2227
|
}
|
|
2078
2228
|
};
|
|
2079
2229
|
|
|
2230
|
+
// src/commands/UpdateIndexCommand.ts
|
|
2231
|
+
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
var UpdateIndexCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2235
|
+
return [
|
|
2236
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2237
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2238
|
+
];
|
|
2239
|
+
}).s("OpenSearchServerless", "UpdateIndex", {}).n("OpenSearchServerlessClient", "UpdateIndexCommand").f(void 0, void 0).ser(se_UpdateIndexCommand).de(de_UpdateIndexCommand).build() {
|
|
2240
|
+
static {
|
|
2241
|
+
__name(this, "UpdateIndexCommand");
|
|
2242
|
+
}
|
|
2243
|
+
};
|
|
2244
|
+
|
|
2080
2245
|
// src/commands/UpdateLifecyclePolicyCommand.ts
|
|
2081
2246
|
|
|
2082
2247
|
|
|
@@ -2145,18 +2310,21 @@ var commands = {
|
|
|
2145
2310
|
BatchGetVpcEndpointCommand,
|
|
2146
2311
|
CreateAccessPolicyCommand,
|
|
2147
2312
|
CreateCollectionCommand,
|
|
2313
|
+
CreateIndexCommand,
|
|
2148
2314
|
CreateLifecyclePolicyCommand,
|
|
2149
2315
|
CreateSecurityConfigCommand,
|
|
2150
2316
|
CreateSecurityPolicyCommand,
|
|
2151
2317
|
CreateVpcEndpointCommand,
|
|
2152
2318
|
DeleteAccessPolicyCommand,
|
|
2153
2319
|
DeleteCollectionCommand,
|
|
2320
|
+
DeleteIndexCommand,
|
|
2154
2321
|
DeleteLifecyclePolicyCommand,
|
|
2155
2322
|
DeleteSecurityConfigCommand,
|
|
2156
2323
|
DeleteSecurityPolicyCommand,
|
|
2157
2324
|
DeleteVpcEndpointCommand,
|
|
2158
2325
|
GetAccessPolicyCommand,
|
|
2159
2326
|
GetAccountSettingsCommand,
|
|
2327
|
+
GetIndexCommand,
|
|
2160
2328
|
GetPoliciesStatsCommand,
|
|
2161
2329
|
GetSecurityConfigCommand,
|
|
2162
2330
|
GetSecurityPolicyCommand,
|
|
@@ -2172,6 +2340,7 @@ var commands = {
|
|
|
2172
2340
|
UpdateAccessPolicyCommand,
|
|
2173
2341
|
UpdateAccountSettingsCommand,
|
|
2174
2342
|
UpdateCollectionCommand,
|
|
2343
|
+
UpdateIndexCommand,
|
|
2175
2344
|
UpdateLifecyclePolicyCommand,
|
|
2176
2345
|
UpdateSecurityConfigCommand,
|
|
2177
2346
|
UpdateSecurityPolicyCommand,
|
|
@@ -2221,18 +2390,21 @@ var paginateListVpcEndpoints = (0, import_core.createPaginator)(OpenSearchServer
|
|
|
2221
2390
|
BatchGetVpcEndpointCommand,
|
|
2222
2391
|
CreateAccessPolicyCommand,
|
|
2223
2392
|
CreateCollectionCommand,
|
|
2393
|
+
CreateIndexCommand,
|
|
2224
2394
|
CreateLifecyclePolicyCommand,
|
|
2225
2395
|
CreateSecurityConfigCommand,
|
|
2226
2396
|
CreateSecurityPolicyCommand,
|
|
2227
2397
|
CreateVpcEndpointCommand,
|
|
2228
2398
|
DeleteAccessPolicyCommand,
|
|
2229
2399
|
DeleteCollectionCommand,
|
|
2400
|
+
DeleteIndexCommand,
|
|
2230
2401
|
DeleteLifecyclePolicyCommand,
|
|
2231
2402
|
DeleteSecurityConfigCommand,
|
|
2232
2403
|
DeleteSecurityPolicyCommand,
|
|
2233
2404
|
DeleteVpcEndpointCommand,
|
|
2234
2405
|
GetAccessPolicyCommand,
|
|
2235
2406
|
GetAccountSettingsCommand,
|
|
2407
|
+
GetIndexCommand,
|
|
2236
2408
|
GetPoliciesStatsCommand,
|
|
2237
2409
|
GetSecurityConfigCommand,
|
|
2238
2410
|
GetSecurityPolicyCommand,
|
|
@@ -2248,6 +2420,7 @@ var paginateListVpcEndpoints = (0, import_core.createPaginator)(OpenSearchServer
|
|
|
2248
2420
|
UpdateAccessPolicyCommand,
|
|
2249
2421
|
UpdateAccountSettingsCommand,
|
|
2250
2422
|
UpdateCollectionCommand,
|
|
2423
|
+
UpdateIndexCommand,
|
|
2251
2424
|
UpdateLifecyclePolicyCommand,
|
|
2252
2425
|
UpdateSecurityConfigCommand,
|
|
2253
2426
|
UpdateSecurityPolicyCommand,
|
|
@@ -5,18 +5,21 @@ import { BatchGetLifecyclePolicyCommand, } from "./commands/BatchGetLifecyclePol
|
|
|
5
5
|
import { BatchGetVpcEndpointCommand, } from "./commands/BatchGetVpcEndpointCommand";
|
|
6
6
|
import { CreateAccessPolicyCommand, } from "./commands/CreateAccessPolicyCommand";
|
|
7
7
|
import { CreateCollectionCommand, } from "./commands/CreateCollectionCommand";
|
|
8
|
+
import { CreateIndexCommand } from "./commands/CreateIndexCommand";
|
|
8
9
|
import { CreateLifecyclePolicyCommand, } from "./commands/CreateLifecyclePolicyCommand";
|
|
9
10
|
import { CreateSecurityConfigCommand, } from "./commands/CreateSecurityConfigCommand";
|
|
10
11
|
import { CreateSecurityPolicyCommand, } from "./commands/CreateSecurityPolicyCommand";
|
|
11
12
|
import { CreateVpcEndpointCommand, } from "./commands/CreateVpcEndpointCommand";
|
|
12
13
|
import { DeleteAccessPolicyCommand, } from "./commands/DeleteAccessPolicyCommand";
|
|
13
14
|
import { DeleteCollectionCommand, } from "./commands/DeleteCollectionCommand";
|
|
15
|
+
import { DeleteIndexCommand } from "./commands/DeleteIndexCommand";
|
|
14
16
|
import { DeleteLifecyclePolicyCommand, } from "./commands/DeleteLifecyclePolicyCommand";
|
|
15
17
|
import { DeleteSecurityConfigCommand, } from "./commands/DeleteSecurityConfigCommand";
|
|
16
18
|
import { DeleteSecurityPolicyCommand, } from "./commands/DeleteSecurityPolicyCommand";
|
|
17
19
|
import { DeleteVpcEndpointCommand, } from "./commands/DeleteVpcEndpointCommand";
|
|
18
20
|
import { GetAccessPolicyCommand, } from "./commands/GetAccessPolicyCommand";
|
|
19
21
|
import { GetAccountSettingsCommand, } from "./commands/GetAccountSettingsCommand";
|
|
22
|
+
import { GetIndexCommand } from "./commands/GetIndexCommand";
|
|
20
23
|
import { GetPoliciesStatsCommand, } from "./commands/GetPoliciesStatsCommand";
|
|
21
24
|
import { GetSecurityConfigCommand, } from "./commands/GetSecurityConfigCommand";
|
|
22
25
|
import { GetSecurityPolicyCommand, } from "./commands/GetSecurityPolicyCommand";
|
|
@@ -32,6 +35,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
32
35
|
import { UpdateAccessPolicyCommand, } from "./commands/UpdateAccessPolicyCommand";
|
|
33
36
|
import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
|
|
34
37
|
import { UpdateCollectionCommand, } from "./commands/UpdateCollectionCommand";
|
|
38
|
+
import { UpdateIndexCommand } from "./commands/UpdateIndexCommand";
|
|
35
39
|
import { UpdateLifecyclePolicyCommand, } from "./commands/UpdateLifecyclePolicyCommand";
|
|
36
40
|
import { UpdateSecurityConfigCommand, } from "./commands/UpdateSecurityConfigCommand";
|
|
37
41
|
import { UpdateSecurityPolicyCommand, } from "./commands/UpdateSecurityPolicyCommand";
|
|
@@ -44,18 +48,21 @@ const commands = {
|
|
|
44
48
|
BatchGetVpcEndpointCommand,
|
|
45
49
|
CreateAccessPolicyCommand,
|
|
46
50
|
CreateCollectionCommand,
|
|
51
|
+
CreateIndexCommand,
|
|
47
52
|
CreateLifecyclePolicyCommand,
|
|
48
53
|
CreateSecurityConfigCommand,
|
|
49
54
|
CreateSecurityPolicyCommand,
|
|
50
55
|
CreateVpcEndpointCommand,
|
|
51
56
|
DeleteAccessPolicyCommand,
|
|
52
57
|
DeleteCollectionCommand,
|
|
58
|
+
DeleteIndexCommand,
|
|
53
59
|
DeleteLifecyclePolicyCommand,
|
|
54
60
|
DeleteSecurityConfigCommand,
|
|
55
61
|
DeleteSecurityPolicyCommand,
|
|
56
62
|
DeleteVpcEndpointCommand,
|
|
57
63
|
GetAccessPolicyCommand,
|
|
58
64
|
GetAccountSettingsCommand,
|
|
65
|
+
GetIndexCommand,
|
|
59
66
|
GetPoliciesStatsCommand,
|
|
60
67
|
GetSecurityConfigCommand,
|
|
61
68
|
GetSecurityPolicyCommand,
|
|
@@ -71,6 +78,7 @@ const commands = {
|
|
|
71
78
|
UpdateAccessPolicyCommand,
|
|
72
79
|
UpdateAccountSettingsCommand,
|
|
73
80
|
UpdateCollectionCommand,
|
|
81
|
+
UpdateIndexCommand,
|
|
74
82
|
UpdateLifecyclePolicyCommand,
|
|
75
83
|
UpdateSecurityConfigCommand,
|
|
76
84
|
UpdateSecurityPolicyCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateIndexCommand, se_CreateIndexCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateIndexCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("OpenSearchServerless", "CreateIndex", {})
|
|
17
|
+
.n("OpenSearchServerlessClient", "CreateIndexCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateIndexCommand)
|
|
20
|
+
.de(de_CreateIndexCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteIndexCommand, se_DeleteIndexCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteIndexCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("OpenSearchServerless", "DeleteIndex", {})
|
|
17
|
+
.n("OpenSearchServerlessClient", "DeleteIndexCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteIndexCommand)
|
|
20
|
+
.de(de_DeleteIndexCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetIndexCommand, se_GetIndexCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetIndexCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("OpenSearchServerless", "GetIndex", {})
|
|
17
|
+
.n("OpenSearchServerlessClient", "GetIndexCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetIndexCommand)
|
|
20
|
+
.de(de_GetIndexCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateIndexCommand, se_UpdateIndexCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateIndexCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("OpenSearchServerless", "UpdateIndex", {})
|
|
17
|
+
.n("OpenSearchServerlessClient", "UpdateIndexCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateIndexCommand)
|
|
20
|
+
.de(de_UpdateIndexCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -4,18 +4,21 @@ export * from "./BatchGetLifecyclePolicyCommand";
|
|
|
4
4
|
export * from "./BatchGetVpcEndpointCommand";
|
|
5
5
|
export * from "./CreateAccessPolicyCommand";
|
|
6
6
|
export * from "./CreateCollectionCommand";
|
|
7
|
+
export * from "./CreateIndexCommand";
|
|
7
8
|
export * from "./CreateLifecyclePolicyCommand";
|
|
8
9
|
export * from "./CreateSecurityConfigCommand";
|
|
9
10
|
export * from "./CreateSecurityPolicyCommand";
|
|
10
11
|
export * from "./CreateVpcEndpointCommand";
|
|
11
12
|
export * from "./DeleteAccessPolicyCommand";
|
|
12
13
|
export * from "./DeleteCollectionCommand";
|
|
14
|
+
export * from "./DeleteIndexCommand";
|
|
13
15
|
export * from "./DeleteLifecyclePolicyCommand";
|
|
14
16
|
export * from "./DeleteSecurityConfigCommand";
|
|
15
17
|
export * from "./DeleteSecurityPolicyCommand";
|
|
16
18
|
export * from "./DeleteVpcEndpointCommand";
|
|
17
19
|
export * from "./GetAccessPolicyCommand";
|
|
18
20
|
export * from "./GetAccountSettingsCommand";
|
|
21
|
+
export * from "./GetIndexCommand";
|
|
19
22
|
export * from "./GetPoliciesStatsCommand";
|
|
20
23
|
export * from "./GetSecurityConfigCommand";
|
|
21
24
|
export * from "./GetSecurityPolicyCommand";
|
|
@@ -31,6 +34,7 @@ export * from "./UntagResourceCommand";
|
|
|
31
34
|
export * from "./UpdateAccessPolicyCommand";
|
|
32
35
|
export * from "./UpdateAccountSettingsCommand";
|
|
33
36
|
export * from "./UpdateCollectionCommand";
|
|
37
|
+
export * from "./UpdateIndexCommand";
|
|
34
38
|
export * from "./UpdateLifecyclePolicyCommand";
|
|
35
39
|
export * from "./UpdateSecurityConfigCommand";
|
|
36
40
|
export * from "./UpdateSecurityPolicyCommand";
|