@aws-sdk/client-opensearch 3.699.0 → 3.709.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 +40 -0
- package/dist-cjs/index.js +240 -5
- package/dist-es/OpenSearch.js +10 -0
- package/dist-es/commands/AddDirectQueryDataSourceCommand.js +22 -0
- package/dist-es/commands/DeleteDirectQueryDataSourceCommand.js +22 -0
- package/dist-es/commands/GetDirectQueryDataSourceCommand.js +22 -0
- package/dist-es/commands/ListDirectQueryDataSourcesCommand.js +22 -0
- package/dist-es/commands/UpdateDirectQueryDataSourceCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +10 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +134 -0
- package/dist-types/OpenSearch.d.ts +36 -0
- package/dist-types/OpenSearchClient.d.ts +7 -2
- package/dist-types/commands/AddDirectQueryDataSourceCommand.d.ts +110 -0
- package/dist-types/commands/AddTagsCommand.d.ts +4 -4
- package/dist-types/commands/DeleteDirectQueryDataSourceCommand.d.ts +87 -0
- package/dist-types/commands/GetDirectQueryDataSourceCommand.d.ts +102 -0
- package/dist-types/commands/ListDirectQueryDataSourcesCommand.d.ts +113 -0
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +4 -3
- package/dist-types/commands/RemoveTagsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDirectQueryDataSourceCommand.d.ts +101 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +307 -298
- package/dist-types/models/models_1.d.ts +331 -4
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +86 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AddDirectQueryDataSourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDirectQueryDataSourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetDirectQueryDataSourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDirectQueryDataSourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDirectQueryDataSourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +74 -65
- package/dist-types/ts3.4/models/models_1.d.ts +77 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -222,6 +222,14 @@ AddDataSource
|
|
|
222
222
|
|
|
223
223
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/AddDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AddDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AddDataSourceCommandOutput/)
|
|
224
224
|
|
|
225
|
+
</details>
|
|
226
|
+
<details>
|
|
227
|
+
<summary>
|
|
228
|
+
AddDirectQueryDataSource
|
|
229
|
+
</summary>
|
|
230
|
+
|
|
231
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/AddDirectQueryDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AddDirectQueryDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AddDirectQueryDataSourceCommandOutput/)
|
|
232
|
+
|
|
225
233
|
</details>
|
|
226
234
|
<details>
|
|
227
235
|
<summary>
|
|
@@ -326,6 +334,14 @@ DeleteDataSource
|
|
|
326
334
|
|
|
327
335
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/DeleteDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DeleteDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DeleteDataSourceCommandOutput/)
|
|
328
336
|
|
|
337
|
+
</details>
|
|
338
|
+
<details>
|
|
339
|
+
<summary>
|
|
340
|
+
DeleteDirectQueryDataSource
|
|
341
|
+
</summary>
|
|
342
|
+
|
|
343
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/DeleteDirectQueryDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DeleteDirectQueryDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DeleteDirectQueryDataSourceCommandOutput/)
|
|
344
|
+
|
|
329
345
|
</details>
|
|
330
346
|
<details>
|
|
331
347
|
<summary>
|
|
@@ -526,6 +542,14 @@ GetDataSource
|
|
|
526
542
|
|
|
527
543
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/GetDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/GetDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/GetDataSourceCommandOutput/)
|
|
528
544
|
|
|
545
|
+
</details>
|
|
546
|
+
<details>
|
|
547
|
+
<summary>
|
|
548
|
+
GetDirectQueryDataSource
|
|
549
|
+
</summary>
|
|
550
|
+
|
|
551
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/GetDirectQueryDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/GetDirectQueryDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/GetDirectQueryDataSourceCommandOutput/)
|
|
552
|
+
|
|
529
553
|
</details>
|
|
530
554
|
<details>
|
|
531
555
|
<summary>
|
|
@@ -574,6 +598,14 @@ ListDataSources
|
|
|
574
598
|
|
|
575
599
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/ListDataSourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/ListDataSourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/ListDataSourcesCommandOutput/)
|
|
576
600
|
|
|
601
|
+
</details>
|
|
602
|
+
<details>
|
|
603
|
+
<summary>
|
|
604
|
+
ListDirectQueryDataSources
|
|
605
|
+
</summary>
|
|
606
|
+
|
|
607
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/ListDirectQueryDataSourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/ListDirectQueryDataSourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/ListDirectQueryDataSourcesCommandOutput/)
|
|
608
|
+
|
|
577
609
|
</details>
|
|
578
610
|
<details>
|
|
579
611
|
<summary>
|
|
@@ -726,6 +758,14 @@ UpdateDataSource
|
|
|
726
758
|
|
|
727
759
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/UpdateDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/UpdateDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/UpdateDataSourceCommandOutput/)
|
|
728
760
|
|
|
761
|
+
</details>
|
|
762
|
+
<details>
|
|
763
|
+
<summary>
|
|
764
|
+
UpdateDirectQueryDataSource
|
|
765
|
+
</summary>
|
|
766
|
+
|
|
767
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/UpdateDirectQueryDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/UpdateDirectQueryDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/UpdateDirectQueryDataSourceCommandOutput/)
|
|
768
|
+
|
|
729
769
|
</details>
|
|
730
770
|
<details>
|
|
731
771
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -28,6 +28,7 @@ __export(src_exports, {
|
|
|
28
28
|
ActionStatus: () => ActionStatus,
|
|
29
29
|
ActionType: () => ActionType,
|
|
30
30
|
AddDataSourceCommand: () => AddDataSourceCommand,
|
|
31
|
+
AddDirectQueryDataSourceCommand: () => AddDirectQueryDataSourceCommand,
|
|
31
32
|
AddTagsCommand: () => AddTagsCommand,
|
|
32
33
|
AdvancedSecurityOptionsInputFilterSensitiveLog: () => AdvancedSecurityOptionsInputFilterSensitiveLog,
|
|
33
34
|
AppConfigType: () => AppConfigType,
|
|
@@ -54,6 +55,7 @@ __export(src_exports, {
|
|
|
54
55
|
DataSourceType: () => DataSourceType,
|
|
55
56
|
DeleteApplicationCommand: () => DeleteApplicationCommand,
|
|
56
57
|
DeleteDataSourceCommand: () => DeleteDataSourceCommand,
|
|
58
|
+
DeleteDirectQueryDataSourceCommand: () => DeleteDirectQueryDataSourceCommand,
|
|
57
59
|
DeleteDomainCommand: () => DeleteDomainCommand,
|
|
58
60
|
DeleteInboundConnectionCommand: () => DeleteInboundConnectionCommand,
|
|
59
61
|
DeleteOutboundConnectionCommand: () => DeleteOutboundConnectionCommand,
|
|
@@ -77,6 +79,7 @@ __export(src_exports, {
|
|
|
77
79
|
DescribeReservedInstanceOfferingsCommand: () => DescribeReservedInstanceOfferingsCommand,
|
|
78
80
|
DescribeReservedInstancesCommand: () => DescribeReservedInstancesCommand,
|
|
79
81
|
DescribeVpcEndpointsCommand: () => DescribeVpcEndpointsCommand,
|
|
82
|
+
DirectQueryDataSourceType: () => DirectQueryDataSourceType,
|
|
80
83
|
DisabledOperationException: () => DisabledOperationException,
|
|
81
84
|
DissociatePackageCommand: () => DissociatePackageCommand,
|
|
82
85
|
DissociatePackagesCommand: () => DissociatePackagesCommand,
|
|
@@ -89,6 +92,7 @@ __export(src_exports, {
|
|
|
89
92
|
GetApplicationCommand: () => GetApplicationCommand,
|
|
90
93
|
GetCompatibleVersionsCommand: () => GetCompatibleVersionsCommand,
|
|
91
94
|
GetDataSourceCommand: () => GetDataSourceCommand,
|
|
95
|
+
GetDirectQueryDataSourceCommand: () => GetDirectQueryDataSourceCommand,
|
|
92
96
|
GetDomainMaintenanceStatusCommand: () => GetDomainMaintenanceStatusCommand,
|
|
93
97
|
GetPackageVersionHistoryCommand: () => GetPackageVersionHistoryCommand,
|
|
94
98
|
GetUpgradeHistoryCommand: () => GetUpgradeHistoryCommand,
|
|
@@ -102,6 +106,7 @@ __export(src_exports, {
|
|
|
102
106
|
LimitExceededException: () => LimitExceededException,
|
|
103
107
|
ListApplicationsCommand: () => ListApplicationsCommand,
|
|
104
108
|
ListDataSourcesCommand: () => ListDataSourcesCommand,
|
|
109
|
+
ListDirectQueryDataSourcesCommand: () => ListDirectQueryDataSourcesCommand,
|
|
105
110
|
ListDomainMaintenancesCommand: () => ListDomainMaintenancesCommand,
|
|
106
111
|
ListDomainNamesCommand: () => ListDomainNamesCommand,
|
|
107
112
|
ListDomainsForPackageCommand: () => ListDomainsForPackageCommand,
|
|
@@ -160,6 +165,7 @@ __export(src_exports, {
|
|
|
160
165
|
TimeUnit: () => TimeUnit,
|
|
161
166
|
UpdateApplicationCommand: () => UpdateApplicationCommand,
|
|
162
167
|
UpdateDataSourceCommand: () => UpdateDataSourceCommand,
|
|
168
|
+
UpdateDirectQueryDataSourceCommand: () => UpdateDirectQueryDataSourceCommand,
|
|
163
169
|
UpdateDomainConfigCommand: () => UpdateDomainConfigCommand,
|
|
164
170
|
UpdateDomainConfigRequestFilterSensitiveLog: () => UpdateDomainConfigRequestFilterSensitiveLog,
|
|
165
171
|
UpdatePackageCommand: () => UpdatePackageCommand,
|
|
@@ -543,6 +549,16 @@ var _ValidationException = class _ValidationException extends OpenSearchServiceE
|
|
|
543
549
|
};
|
|
544
550
|
__name(_ValidationException, "ValidationException");
|
|
545
551
|
var ValidationException = _ValidationException;
|
|
552
|
+
var DirectQueryDataSourceType;
|
|
553
|
+
((DirectQueryDataSourceType4) => {
|
|
554
|
+
DirectQueryDataSourceType4.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
555
|
+
if (value.CloudWatchLog !== void 0)
|
|
556
|
+
return visitor.CloudWatchLog(value.CloudWatchLog);
|
|
557
|
+
if (value.SecurityLake !== void 0)
|
|
558
|
+
return visitor.SecurityLake(value.SecurityLake);
|
|
559
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
560
|
+
}, "visit");
|
|
561
|
+
})(DirectQueryDataSourceType || (DirectQueryDataSourceType = {}));
|
|
546
562
|
var NaturalLanguageQueryGenerationDesiredState = {
|
|
547
563
|
Disabled: "DISABLED",
|
|
548
564
|
Enabled: "ENABLED"
|
|
@@ -990,10 +1006,6 @@ var EngineType = {
|
|
|
990
1006
|
Elasticsearch: "Elasticsearch",
|
|
991
1007
|
OpenSearch: "OpenSearch"
|
|
992
1008
|
};
|
|
993
|
-
var ScheduledBy = {
|
|
994
|
-
CUSTOMER: "CUSTOMER",
|
|
995
|
-
SYSTEM: "SYSTEM"
|
|
996
|
-
};
|
|
997
1009
|
var MasterUserOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
998
1010
|
...obj,
|
|
999
1011
|
...obj.MasterUserName && { MasterUserName: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -1016,6 +1028,10 @@ var CreateDomainRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
1016
1028
|
}), "CreateDomainRequestFilterSensitiveLog");
|
|
1017
1029
|
|
|
1018
1030
|
// src/models/models_1.ts
|
|
1031
|
+
var ScheduledBy = {
|
|
1032
|
+
CUSTOMER: "CUSTOMER",
|
|
1033
|
+
SYSTEM: "SYSTEM"
|
|
1034
|
+
};
|
|
1019
1035
|
var ScheduleAt = {
|
|
1020
1036
|
NOW: "NOW",
|
|
1021
1037
|
OFF_PEAK_WINDOW: "OFF_PEAK_WINDOW",
|
|
@@ -1083,6 +1099,25 @@ var se_AddDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1083
1099
|
b.m("POST").h(headers).b(body);
|
|
1084
1100
|
return b.build();
|
|
1085
1101
|
}, "se_AddDataSourceCommand");
|
|
1102
|
+
var se_AddDirectQueryDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1103
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1104
|
+
const headers = {
|
|
1105
|
+
"content-type": "application/json"
|
|
1106
|
+
};
|
|
1107
|
+
b.bp("/2021-01-01/opensearch/directQueryDataSource");
|
|
1108
|
+
let body;
|
|
1109
|
+
body = JSON.stringify(
|
|
1110
|
+
(0, import_smithy_client.take)(input, {
|
|
1111
|
+
DataSourceName: [],
|
|
1112
|
+
DataSourceType: (_) => (0, import_smithy_client._json)(_),
|
|
1113
|
+
Description: [],
|
|
1114
|
+
OpenSearchArns: (_) => (0, import_smithy_client._json)(_),
|
|
1115
|
+
TagList: (_) => (0, import_smithy_client._json)(_)
|
|
1116
|
+
})
|
|
1117
|
+
);
|
|
1118
|
+
b.m("POST").h(headers).b(body);
|
|
1119
|
+
return b.build();
|
|
1120
|
+
}, "se_AddDirectQueryDataSourceCommand");
|
|
1086
1121
|
var se_AddTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1087
1122
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1088
1123
|
const headers = {
|
|
@@ -1313,6 +1348,15 @@ var se_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1313
1348
|
b.m("DELETE").h(headers).b(body);
|
|
1314
1349
|
return b.build();
|
|
1315
1350
|
}, "se_DeleteDataSourceCommand");
|
|
1351
|
+
var se_DeleteDirectQueryDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1352
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1353
|
+
const headers = {};
|
|
1354
|
+
b.bp("/2021-01-01/opensearch/directQueryDataSource/{DataSourceName}");
|
|
1355
|
+
b.p("DataSourceName", () => input.DataSourceName, "{DataSourceName}", false);
|
|
1356
|
+
let body;
|
|
1357
|
+
b.m("DELETE").h(headers).b(body);
|
|
1358
|
+
return b.build();
|
|
1359
|
+
}, "se_DeleteDirectQueryDataSourceCommand");
|
|
1316
1360
|
var se_DeleteDomainCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1317
1361
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1318
1362
|
const headers = {};
|
|
@@ -1612,6 +1656,15 @@ var se_GetDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1612
1656
|
b.m("GET").h(headers).b(body);
|
|
1613
1657
|
return b.build();
|
|
1614
1658
|
}, "se_GetDataSourceCommand");
|
|
1659
|
+
var se_GetDirectQueryDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1660
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1661
|
+
const headers = {};
|
|
1662
|
+
b.bp("/2021-01-01/opensearch/directQueryDataSource/{DataSourceName}");
|
|
1663
|
+
b.p("DataSourceName", () => input.DataSourceName, "{DataSourceName}", false);
|
|
1664
|
+
let body;
|
|
1665
|
+
b.m("GET").h(headers).b(body);
|
|
1666
|
+
return b.build();
|
|
1667
|
+
}, "se_GetDirectQueryDataSourceCommand");
|
|
1615
1668
|
var se_GetDomainMaintenanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1616
1669
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1617
1670
|
const headers = {};
|
|
@@ -1681,6 +1734,17 @@ var se_ListDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1681
1734
|
b.m("GET").h(headers).b(body);
|
|
1682
1735
|
return b.build();
|
|
1683
1736
|
}, "se_ListDataSourcesCommand");
|
|
1737
|
+
var se_ListDirectQueryDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1738
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1739
|
+
const headers = {};
|
|
1740
|
+
b.bp("/2021-01-01/opensearch/directQueryDataSource");
|
|
1741
|
+
const query = (0, import_smithy_client.map)({
|
|
1742
|
+
[_n]: [, input[_NT]]
|
|
1743
|
+
});
|
|
1744
|
+
let body;
|
|
1745
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1746
|
+
return b.build();
|
|
1747
|
+
}, "se_ListDirectQueryDataSourcesCommand");
|
|
1684
1748
|
var se_ListDomainMaintenancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1685
1749
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1686
1750
|
const headers = {};
|
|
@@ -1949,6 +2013,24 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1949
2013
|
b.m("PUT").h(headers).b(body);
|
|
1950
2014
|
return b.build();
|
|
1951
2015
|
}, "se_UpdateDataSourceCommand");
|
|
2016
|
+
var se_UpdateDirectQueryDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2017
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2018
|
+
const headers = {
|
|
2019
|
+
"content-type": "application/json"
|
|
2020
|
+
};
|
|
2021
|
+
b.bp("/2021-01-01/opensearch/directQueryDataSource/{DataSourceName}");
|
|
2022
|
+
b.p("DataSourceName", () => input.DataSourceName, "{DataSourceName}", false);
|
|
2023
|
+
let body;
|
|
2024
|
+
body = JSON.stringify(
|
|
2025
|
+
(0, import_smithy_client.take)(input, {
|
|
2026
|
+
DataSourceType: (_) => (0, import_smithy_client._json)(_),
|
|
2027
|
+
Description: [],
|
|
2028
|
+
OpenSearchArns: (_) => (0, import_smithy_client._json)(_)
|
|
2029
|
+
})
|
|
2030
|
+
);
|
|
2031
|
+
b.m("PUT").h(headers).b(body);
|
|
2032
|
+
return b.build();
|
|
2033
|
+
}, "se_UpdateDirectQueryDataSourceCommand");
|
|
1952
2034
|
var se_UpdateDomainConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1953
2035
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1954
2036
|
const headers = {
|
|
@@ -2102,6 +2184,20 @@ var de_AddDataSourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2102
2184
|
Object.assign(contents, doc);
|
|
2103
2185
|
return contents;
|
|
2104
2186
|
}, "de_AddDataSourceCommand");
|
|
2187
|
+
var de_AddDirectQueryDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2188
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2189
|
+
return de_CommandError(output, context);
|
|
2190
|
+
}
|
|
2191
|
+
const contents = (0, import_smithy_client.map)({
|
|
2192
|
+
$metadata: deserializeMetadata(output)
|
|
2193
|
+
});
|
|
2194
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2195
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2196
|
+
DataSourceArn: import_smithy_client.expectString
|
|
2197
|
+
});
|
|
2198
|
+
Object.assign(contents, doc);
|
|
2199
|
+
return contents;
|
|
2200
|
+
}, "de_AddDirectQueryDataSourceCommand");
|
|
2105
2201
|
var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2106
2202
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2107
2203
|
return de_CommandError(output, context);
|
|
@@ -2291,6 +2387,16 @@ var de_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2291
2387
|
Object.assign(contents, doc);
|
|
2292
2388
|
return contents;
|
|
2293
2389
|
}, "de_DeleteDataSourceCommand");
|
|
2390
|
+
var de_DeleteDirectQueryDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2391
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2392
|
+
return de_CommandError(output, context);
|
|
2393
|
+
}
|
|
2394
|
+
const contents = (0, import_smithy_client.map)({
|
|
2395
|
+
$metadata: deserializeMetadata(output)
|
|
2396
|
+
});
|
|
2397
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2398
|
+
return contents;
|
|
2399
|
+
}, "de_DeleteDirectQueryDataSourceCommand");
|
|
2294
2400
|
var de_DeleteDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2295
2401
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2296
2402
|
return de_CommandError(output, context);
|
|
@@ -2674,6 +2780,24 @@ var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2674
2780
|
Object.assign(contents, doc);
|
|
2675
2781
|
return contents;
|
|
2676
2782
|
}, "de_GetDataSourceCommand");
|
|
2783
|
+
var de_GetDirectQueryDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2784
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2785
|
+
return de_CommandError(output, context);
|
|
2786
|
+
}
|
|
2787
|
+
const contents = (0, import_smithy_client.map)({
|
|
2788
|
+
$metadata: deserializeMetadata(output)
|
|
2789
|
+
});
|
|
2790
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2791
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2792
|
+
DataSourceArn: import_smithy_client.expectString,
|
|
2793
|
+
DataSourceName: import_smithy_client.expectString,
|
|
2794
|
+
DataSourceType: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2795
|
+
Description: import_smithy_client.expectString,
|
|
2796
|
+
OpenSearchArns: import_smithy_client._json
|
|
2797
|
+
});
|
|
2798
|
+
Object.assign(contents, doc);
|
|
2799
|
+
return contents;
|
|
2800
|
+
}, "de_GetDirectQueryDataSourceCommand");
|
|
2677
2801
|
var de_GetDomainMaintenanceStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2678
2802
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2679
2803
|
return de_CommandError(output, context);
|
|
@@ -2769,6 +2893,21 @@ var de_ListDataSourcesCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2769
2893
|
Object.assign(contents, doc);
|
|
2770
2894
|
return contents;
|
|
2771
2895
|
}, "de_ListDataSourcesCommand");
|
|
2896
|
+
var de_ListDirectQueryDataSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2897
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2898
|
+
return de_CommandError(output, context);
|
|
2899
|
+
}
|
|
2900
|
+
const contents = (0, import_smithy_client.map)({
|
|
2901
|
+
$metadata: deserializeMetadata(output)
|
|
2902
|
+
});
|
|
2903
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2904
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2905
|
+
DirectQueryDataSources: import_smithy_client._json,
|
|
2906
|
+
NextToken: import_smithy_client.expectString
|
|
2907
|
+
});
|
|
2908
|
+
Object.assign(contents, doc);
|
|
2909
|
+
return contents;
|
|
2910
|
+
}, "de_ListDirectQueryDataSourcesCommand");
|
|
2772
2911
|
var de_ListDomainMaintenancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2773
2912
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2774
2913
|
return de_CommandError(output, context);
|
|
@@ -3044,6 +3183,20 @@ var de_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3044
3183
|
Object.assign(contents, doc);
|
|
3045
3184
|
return contents;
|
|
3046
3185
|
}, "de_UpdateDataSourceCommand");
|
|
3186
|
+
var de_UpdateDirectQueryDataSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3187
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3188
|
+
return de_CommandError(output, context);
|
|
3189
|
+
}
|
|
3190
|
+
const contents = (0, import_smithy_client.map)({
|
|
3191
|
+
$metadata: deserializeMetadata(output)
|
|
3192
|
+
});
|
|
3193
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3194
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3195
|
+
DataSourceArn: import_smithy_client.expectString
|
|
3196
|
+
});
|
|
3197
|
+
Object.assign(contents, doc);
|
|
3198
|
+
return contents;
|
|
3199
|
+
}, "de_UpdateDirectQueryDataSourceCommand");
|
|
3047
3200
|
var de_UpdateDomainConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3048
3201
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3049
3202
|
return de_CommandError(output, context);
|
|
@@ -3908,6 +4061,7 @@ var _iT = "instanceType";
|
|
|
3908
4061
|
var _lDRC = "loadDryRunConfig";
|
|
3909
4062
|
var _mI = "maintenanceId";
|
|
3910
4063
|
var _mR = "maxResults";
|
|
4064
|
+
var _n = "nexttoken";
|
|
3911
4065
|
var _nT = "nextToken";
|
|
3912
4066
|
var _oI = "offeringId";
|
|
3913
4067
|
var _rAZ = "retrieveAZs";
|
|
@@ -3940,6 +4094,20 @@ var _AddDataSourceCommand = class _AddDataSourceCommand extends import_smithy_cl
|
|
|
3940
4094
|
__name(_AddDataSourceCommand, "AddDataSourceCommand");
|
|
3941
4095
|
var AddDataSourceCommand = _AddDataSourceCommand;
|
|
3942
4096
|
|
|
4097
|
+
// src/commands/AddDirectQueryDataSourceCommand.ts
|
|
4098
|
+
|
|
4099
|
+
|
|
4100
|
+
|
|
4101
|
+
var _AddDirectQueryDataSourceCommand = class _AddDirectQueryDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4102
|
+
return [
|
|
4103
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4104
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4105
|
+
];
|
|
4106
|
+
}).s("AmazonOpenSearchService", "AddDirectQueryDataSource", {}).n("OpenSearchClient", "AddDirectQueryDataSourceCommand").f(void 0, void 0).ser(se_AddDirectQueryDataSourceCommand).de(de_AddDirectQueryDataSourceCommand).build() {
|
|
4107
|
+
};
|
|
4108
|
+
__name(_AddDirectQueryDataSourceCommand, "AddDirectQueryDataSourceCommand");
|
|
4109
|
+
var AddDirectQueryDataSourceCommand = _AddDirectQueryDataSourceCommand;
|
|
4110
|
+
|
|
3943
4111
|
// src/commands/AddTagsCommand.ts
|
|
3944
4112
|
|
|
3945
4113
|
|
|
@@ -4122,6 +4290,20 @@ var _DeleteDataSourceCommand = class _DeleteDataSourceCommand extends import_smi
|
|
|
4122
4290
|
__name(_DeleteDataSourceCommand, "DeleteDataSourceCommand");
|
|
4123
4291
|
var DeleteDataSourceCommand = _DeleteDataSourceCommand;
|
|
4124
4292
|
|
|
4293
|
+
// src/commands/DeleteDirectQueryDataSourceCommand.ts
|
|
4294
|
+
|
|
4295
|
+
|
|
4296
|
+
|
|
4297
|
+
var _DeleteDirectQueryDataSourceCommand = class _DeleteDirectQueryDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4298
|
+
return [
|
|
4299
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4300
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4301
|
+
];
|
|
4302
|
+
}).s("AmazonOpenSearchService", "DeleteDirectQueryDataSource", {}).n("OpenSearchClient", "DeleteDirectQueryDataSourceCommand").f(void 0, void 0).ser(se_DeleteDirectQueryDataSourceCommand).de(de_DeleteDirectQueryDataSourceCommand).build() {
|
|
4303
|
+
};
|
|
4304
|
+
__name(_DeleteDirectQueryDataSourceCommand, "DeleteDirectQueryDataSourceCommand");
|
|
4305
|
+
var DeleteDirectQueryDataSourceCommand = _DeleteDirectQueryDataSourceCommand;
|
|
4306
|
+
|
|
4125
4307
|
// src/commands/DeleteDomainCommand.ts
|
|
4126
4308
|
|
|
4127
4309
|
|
|
@@ -4472,6 +4654,20 @@ var _GetDataSourceCommand = class _GetDataSourceCommand extends import_smithy_cl
|
|
|
4472
4654
|
__name(_GetDataSourceCommand, "GetDataSourceCommand");
|
|
4473
4655
|
var GetDataSourceCommand = _GetDataSourceCommand;
|
|
4474
4656
|
|
|
4657
|
+
// src/commands/GetDirectQueryDataSourceCommand.ts
|
|
4658
|
+
|
|
4659
|
+
|
|
4660
|
+
|
|
4661
|
+
var _GetDirectQueryDataSourceCommand = class _GetDirectQueryDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4662
|
+
return [
|
|
4663
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4664
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4665
|
+
];
|
|
4666
|
+
}).s("AmazonOpenSearchService", "GetDirectQueryDataSource", {}).n("OpenSearchClient", "GetDirectQueryDataSourceCommand").f(void 0, void 0).ser(se_GetDirectQueryDataSourceCommand).de(de_GetDirectQueryDataSourceCommand).build() {
|
|
4667
|
+
};
|
|
4668
|
+
__name(_GetDirectQueryDataSourceCommand, "GetDirectQueryDataSourceCommand");
|
|
4669
|
+
var GetDirectQueryDataSourceCommand = _GetDirectQueryDataSourceCommand;
|
|
4670
|
+
|
|
4475
4671
|
// src/commands/GetDomainMaintenanceStatusCommand.ts
|
|
4476
4672
|
|
|
4477
4673
|
|
|
@@ -4556,6 +4752,20 @@ var _ListDataSourcesCommand = class _ListDataSourcesCommand extends import_smith
|
|
|
4556
4752
|
__name(_ListDataSourcesCommand, "ListDataSourcesCommand");
|
|
4557
4753
|
var ListDataSourcesCommand = _ListDataSourcesCommand;
|
|
4558
4754
|
|
|
4755
|
+
// src/commands/ListDirectQueryDataSourcesCommand.ts
|
|
4756
|
+
|
|
4757
|
+
|
|
4758
|
+
|
|
4759
|
+
var _ListDirectQueryDataSourcesCommand = class _ListDirectQueryDataSourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4760
|
+
return [
|
|
4761
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4762
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4763
|
+
];
|
|
4764
|
+
}).s("AmazonOpenSearchService", "ListDirectQueryDataSources", {}).n("OpenSearchClient", "ListDirectQueryDataSourcesCommand").f(void 0, void 0).ser(se_ListDirectQueryDataSourcesCommand).de(de_ListDirectQueryDataSourcesCommand).build() {
|
|
4765
|
+
};
|
|
4766
|
+
__name(_ListDirectQueryDataSourcesCommand, "ListDirectQueryDataSourcesCommand");
|
|
4767
|
+
var ListDirectQueryDataSourcesCommand = _ListDirectQueryDataSourcesCommand;
|
|
4768
|
+
|
|
4559
4769
|
// src/commands/ListDomainMaintenancesCommand.ts
|
|
4560
4770
|
|
|
4561
4771
|
|
|
@@ -4822,6 +5032,20 @@ var _UpdateDataSourceCommand = class _UpdateDataSourceCommand extends import_smi
|
|
|
4822
5032
|
__name(_UpdateDataSourceCommand, "UpdateDataSourceCommand");
|
|
4823
5033
|
var UpdateDataSourceCommand = _UpdateDataSourceCommand;
|
|
4824
5034
|
|
|
5035
|
+
// src/commands/UpdateDirectQueryDataSourceCommand.ts
|
|
5036
|
+
|
|
5037
|
+
|
|
5038
|
+
|
|
5039
|
+
var _UpdateDirectQueryDataSourceCommand = class _UpdateDirectQueryDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5040
|
+
return [
|
|
5041
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5042
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5043
|
+
];
|
|
5044
|
+
}).s("AmazonOpenSearchService", "UpdateDirectQueryDataSource", {}).n("OpenSearchClient", "UpdateDirectQueryDataSourceCommand").f(void 0, void 0).ser(se_UpdateDirectQueryDataSourceCommand).de(de_UpdateDirectQueryDataSourceCommand).build() {
|
|
5045
|
+
};
|
|
5046
|
+
__name(_UpdateDirectQueryDataSourceCommand, "UpdateDirectQueryDataSourceCommand");
|
|
5047
|
+
var UpdateDirectQueryDataSourceCommand = _UpdateDirectQueryDataSourceCommand;
|
|
5048
|
+
|
|
4825
5049
|
// src/commands/UpdateDomainConfigCommand.ts
|
|
4826
5050
|
|
|
4827
5051
|
|
|
@@ -4910,6 +5134,7 @@ var UpgradeDomainCommand = _UpgradeDomainCommand;
|
|
|
4910
5134
|
var commands = {
|
|
4911
5135
|
AcceptInboundConnectionCommand,
|
|
4912
5136
|
AddDataSourceCommand,
|
|
5137
|
+
AddDirectQueryDataSourceCommand,
|
|
4913
5138
|
AddTagsCommand,
|
|
4914
5139
|
AssociatePackageCommand,
|
|
4915
5140
|
AssociatePackagesCommand,
|
|
@@ -4923,6 +5148,7 @@ var commands = {
|
|
|
4923
5148
|
CreateVpcEndpointCommand,
|
|
4924
5149
|
DeleteApplicationCommand,
|
|
4925
5150
|
DeleteDataSourceCommand,
|
|
5151
|
+
DeleteDirectQueryDataSourceCommand,
|
|
4926
5152
|
DeleteDomainCommand,
|
|
4927
5153
|
DeleteInboundConnectionCommand,
|
|
4928
5154
|
DeleteOutboundConnectionCommand,
|
|
@@ -4948,12 +5174,14 @@ var commands = {
|
|
|
4948
5174
|
GetApplicationCommand,
|
|
4949
5175
|
GetCompatibleVersionsCommand,
|
|
4950
5176
|
GetDataSourceCommand,
|
|
5177
|
+
GetDirectQueryDataSourceCommand,
|
|
4951
5178
|
GetDomainMaintenanceStatusCommand,
|
|
4952
5179
|
GetPackageVersionHistoryCommand,
|
|
4953
5180
|
GetUpgradeHistoryCommand,
|
|
4954
5181
|
GetUpgradeStatusCommand,
|
|
4955
5182
|
ListApplicationsCommand,
|
|
4956
5183
|
ListDataSourcesCommand,
|
|
5184
|
+
ListDirectQueryDataSourcesCommand,
|
|
4957
5185
|
ListDomainMaintenancesCommand,
|
|
4958
5186
|
ListDomainNamesCommand,
|
|
4959
5187
|
ListDomainsForPackageCommand,
|
|
@@ -4973,6 +5201,7 @@ var commands = {
|
|
|
4973
5201
|
StartServiceSoftwareUpdateCommand,
|
|
4974
5202
|
UpdateApplicationCommand,
|
|
4975
5203
|
UpdateDataSourceCommand,
|
|
5204
|
+
UpdateDirectQueryDataSourceCommand,
|
|
4976
5205
|
UpdateDomainConfigCommand,
|
|
4977
5206
|
UpdatePackageCommand,
|
|
4978
5207
|
UpdatePackageScopeCommand,
|
|
@@ -5055,6 +5284,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
5055
5284
|
$Command,
|
|
5056
5285
|
AcceptInboundConnectionCommand,
|
|
5057
5286
|
AddDataSourceCommand,
|
|
5287
|
+
AddDirectQueryDataSourceCommand,
|
|
5058
5288
|
AddTagsCommand,
|
|
5059
5289
|
AssociatePackageCommand,
|
|
5060
5290
|
AssociatePackagesCommand,
|
|
@@ -5068,6 +5298,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
5068
5298
|
CreateVpcEndpointCommand,
|
|
5069
5299
|
DeleteApplicationCommand,
|
|
5070
5300
|
DeleteDataSourceCommand,
|
|
5301
|
+
DeleteDirectQueryDataSourceCommand,
|
|
5071
5302
|
DeleteDomainCommand,
|
|
5072
5303
|
DeleteInboundConnectionCommand,
|
|
5073
5304
|
DeleteOutboundConnectionCommand,
|
|
@@ -5093,12 +5324,14 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
5093
5324
|
GetApplicationCommand,
|
|
5094
5325
|
GetCompatibleVersionsCommand,
|
|
5095
5326
|
GetDataSourceCommand,
|
|
5327
|
+
GetDirectQueryDataSourceCommand,
|
|
5096
5328
|
GetDomainMaintenanceStatusCommand,
|
|
5097
5329
|
GetPackageVersionHistoryCommand,
|
|
5098
5330
|
GetUpgradeHistoryCommand,
|
|
5099
5331
|
GetUpgradeStatusCommand,
|
|
5100
5332
|
ListApplicationsCommand,
|
|
5101
5333
|
ListDataSourcesCommand,
|
|
5334
|
+
ListDirectQueryDataSourcesCommand,
|
|
5102
5335
|
ListDomainMaintenancesCommand,
|
|
5103
5336
|
ListDomainNamesCommand,
|
|
5104
5337
|
ListDomainsForPackageCommand,
|
|
@@ -5118,6 +5351,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
5118
5351
|
StartServiceSoftwareUpdateCommand,
|
|
5119
5352
|
UpdateApplicationCommand,
|
|
5120
5353
|
UpdateDataSourceCommand,
|
|
5354
|
+
UpdateDirectQueryDataSourceCommand,
|
|
5121
5355
|
UpdateDomainConfigCommand,
|
|
5122
5356
|
UpdatePackageCommand,
|
|
5123
5357
|
UpdatePackageScopeCommand,
|
|
@@ -5154,6 +5388,7 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
5154
5388
|
DependencyFailureException,
|
|
5155
5389
|
InternalException,
|
|
5156
5390
|
ValidationException,
|
|
5391
|
+
DirectQueryDataSourceType,
|
|
5157
5392
|
NaturalLanguageQueryGenerationDesiredState,
|
|
5158
5393
|
NaturalLanguageQueryGenerationCurrentState,
|
|
5159
5394
|
DomainPackageStatus,
|
|
@@ -5208,11 +5443,11 @@ var paginateListVersions = (0, import_core.createPaginator)(OpenSearchClient, Li
|
|
|
5208
5443
|
UpgradeStep,
|
|
5209
5444
|
UpgradeStatus,
|
|
5210
5445
|
EngineType,
|
|
5211
|
-
ScheduledBy,
|
|
5212
5446
|
MasterUserOptionsFilterSensitiveLog,
|
|
5213
5447
|
SAMLOptionsInputFilterSensitiveLog,
|
|
5214
5448
|
AdvancedSecurityOptionsInputFilterSensitiveLog,
|
|
5215
5449
|
CreateDomainRequestFilterSensitiveLog,
|
|
5450
|
+
ScheduledBy,
|
|
5216
5451
|
ScheduleAt,
|
|
5217
5452
|
DryRunMode,
|
|
5218
5453
|
PackageScopeOperationEnum,
|
package/dist-es/OpenSearch.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { AcceptInboundConnectionCommand, } from "./commands/AcceptInboundConnectionCommand";
|
|
3
3
|
import { AddDataSourceCommand, } from "./commands/AddDataSourceCommand";
|
|
4
|
+
import { AddDirectQueryDataSourceCommand, } from "./commands/AddDirectQueryDataSourceCommand";
|
|
4
5
|
import { AddTagsCommand } from "./commands/AddTagsCommand";
|
|
5
6
|
import { AssociatePackageCommand, } from "./commands/AssociatePackageCommand";
|
|
6
7
|
import { AssociatePackagesCommand, } from "./commands/AssociatePackagesCommand";
|
|
@@ -14,6 +15,7 @@ import { CreatePackageCommand, } from "./commands/CreatePackageCommand";
|
|
|
14
15
|
import { CreateVpcEndpointCommand, } from "./commands/CreateVpcEndpointCommand";
|
|
15
16
|
import { DeleteApplicationCommand, } from "./commands/DeleteApplicationCommand";
|
|
16
17
|
import { DeleteDataSourceCommand, } from "./commands/DeleteDataSourceCommand";
|
|
18
|
+
import { DeleteDirectQueryDataSourceCommand, } from "./commands/DeleteDirectQueryDataSourceCommand";
|
|
17
19
|
import { DeleteDomainCommand, } from "./commands/DeleteDomainCommand";
|
|
18
20
|
import { DeleteInboundConnectionCommand, } from "./commands/DeleteInboundConnectionCommand";
|
|
19
21
|
import { DeleteOutboundConnectionCommand, } from "./commands/DeleteOutboundConnectionCommand";
|
|
@@ -39,12 +41,14 @@ import { DissociatePackagesCommand, } from "./commands/DissociatePackagesCommand
|
|
|
39
41
|
import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
|
|
40
42
|
import { GetCompatibleVersionsCommand, } from "./commands/GetCompatibleVersionsCommand";
|
|
41
43
|
import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
|
|
44
|
+
import { GetDirectQueryDataSourceCommand, } from "./commands/GetDirectQueryDataSourceCommand";
|
|
42
45
|
import { GetDomainMaintenanceStatusCommand, } from "./commands/GetDomainMaintenanceStatusCommand";
|
|
43
46
|
import { GetPackageVersionHistoryCommand, } from "./commands/GetPackageVersionHistoryCommand";
|
|
44
47
|
import { GetUpgradeHistoryCommand, } from "./commands/GetUpgradeHistoryCommand";
|
|
45
48
|
import { GetUpgradeStatusCommand, } from "./commands/GetUpgradeStatusCommand";
|
|
46
49
|
import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
|
|
47
50
|
import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
|
|
51
|
+
import { ListDirectQueryDataSourcesCommand, } from "./commands/ListDirectQueryDataSourcesCommand";
|
|
48
52
|
import { ListDomainMaintenancesCommand, } from "./commands/ListDomainMaintenancesCommand";
|
|
49
53
|
import { ListDomainNamesCommand, } from "./commands/ListDomainNamesCommand";
|
|
50
54
|
import { ListDomainsForPackageCommand, } from "./commands/ListDomainsForPackageCommand";
|
|
@@ -64,6 +68,7 @@ import { StartDomainMaintenanceCommand, } from "./commands/StartDomainMaintenanc
|
|
|
64
68
|
import { StartServiceSoftwareUpdateCommand, } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
65
69
|
import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
66
70
|
import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
|
|
71
|
+
import { UpdateDirectQueryDataSourceCommand, } from "./commands/UpdateDirectQueryDataSourceCommand";
|
|
67
72
|
import { UpdateDomainConfigCommand, } from "./commands/UpdateDomainConfigCommand";
|
|
68
73
|
import { UpdatePackageCommand, } from "./commands/UpdatePackageCommand";
|
|
69
74
|
import { UpdatePackageScopeCommand, } from "./commands/UpdatePackageScopeCommand";
|
|
@@ -74,6 +79,7 @@ import { OpenSearchClient } from "./OpenSearchClient";
|
|
|
74
79
|
const commands = {
|
|
75
80
|
AcceptInboundConnectionCommand,
|
|
76
81
|
AddDataSourceCommand,
|
|
82
|
+
AddDirectQueryDataSourceCommand,
|
|
77
83
|
AddTagsCommand,
|
|
78
84
|
AssociatePackageCommand,
|
|
79
85
|
AssociatePackagesCommand,
|
|
@@ -87,6 +93,7 @@ const commands = {
|
|
|
87
93
|
CreateVpcEndpointCommand,
|
|
88
94
|
DeleteApplicationCommand,
|
|
89
95
|
DeleteDataSourceCommand,
|
|
96
|
+
DeleteDirectQueryDataSourceCommand,
|
|
90
97
|
DeleteDomainCommand,
|
|
91
98
|
DeleteInboundConnectionCommand,
|
|
92
99
|
DeleteOutboundConnectionCommand,
|
|
@@ -112,12 +119,14 @@ const commands = {
|
|
|
112
119
|
GetApplicationCommand,
|
|
113
120
|
GetCompatibleVersionsCommand,
|
|
114
121
|
GetDataSourceCommand,
|
|
122
|
+
GetDirectQueryDataSourceCommand,
|
|
115
123
|
GetDomainMaintenanceStatusCommand,
|
|
116
124
|
GetPackageVersionHistoryCommand,
|
|
117
125
|
GetUpgradeHistoryCommand,
|
|
118
126
|
GetUpgradeStatusCommand,
|
|
119
127
|
ListApplicationsCommand,
|
|
120
128
|
ListDataSourcesCommand,
|
|
129
|
+
ListDirectQueryDataSourcesCommand,
|
|
121
130
|
ListDomainMaintenancesCommand,
|
|
122
131
|
ListDomainNamesCommand,
|
|
123
132
|
ListDomainsForPackageCommand,
|
|
@@ -137,6 +146,7 @@ const commands = {
|
|
|
137
146
|
StartServiceSoftwareUpdateCommand,
|
|
138
147
|
UpdateApplicationCommand,
|
|
139
148
|
UpdateDataSourceCommand,
|
|
149
|
+
UpdateDirectQueryDataSourceCommand,
|
|
140
150
|
UpdateDomainConfigCommand,
|
|
141
151
|
UpdatePackageCommand,
|
|
142
152
|
UpdatePackageScopeCommand,
|
|
@@ -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_AddDirectQueryDataSourceCommand, se_AddDirectQueryDataSourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AddDirectQueryDataSourceCommand 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("AmazonOpenSearchService", "AddDirectQueryDataSource", {})
|
|
17
|
+
.n("OpenSearchClient", "AddDirectQueryDataSourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AddDirectQueryDataSourceCommand)
|
|
20
|
+
.de(de_AddDirectQueryDataSourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|