@aws-sdk/client-opensearch 3.925.0 → 3.927.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 +20 -4
- package/dist-cjs/index.js +88 -0
- package/dist-es/OpenSearch.js +4 -0
- package/dist-es/commands/GetDefaultApplicationSettingCommand.js +22 -0
- package/dist-es/commands/PutDefaultApplicationSettingCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +50 -0
- package/dist-types/OpenSearch.d.ts +19 -4
- package/dist-types/OpenSearchClient.d.ts +8 -6
- package/dist-types/commands/AcceptInboundConnectionCommand.d.ts +1 -2
- package/dist-types/commands/AddDataSourceCommand.d.ts +3 -2
- package/dist-types/commands/AddDirectQueryDataSourceCommand.d.ts +2 -4
- package/dist-types/commands/AddTagsCommand.d.ts +4 -4
- package/dist-types/commands/AssociatePackageCommand.d.ts +3 -3
- package/dist-types/commands/AssociatePackagesCommand.d.ts +2 -1
- package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +2 -2
- package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +5 -3
- package/dist-types/commands/CreateDomainCommand.d.ts +2 -1
- package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +2 -3
- package/dist-types/commands/CreatePackageCommand.d.ts +3 -2
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDirectQueryDataSourceCommand.d.ts +2 -4
- package/dist-types/commands/DeleteDomainCommand.d.ts +2 -2
- package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +2 -3
- package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +2 -3
- package/dist-types/commands/DeletePackageCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainHealthCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDomainNodesCommand.d.ts +3 -2
- package/dist-types/commands/DescribeDomainsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +2 -3
- package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +2 -3
- package/dist-types/commands/DescribePackagesCommand.d.ts +3 -2
- package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -3
- package/dist-types/commands/DissociatePackageCommand.d.ts +5 -4
- package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +2 -2
- package/dist-types/commands/GetDefaultApplicationSettingCommand.d.ts +86 -0
- package/dist-types/commands/GetDirectQueryDataSourceCommand.d.ts +2 -4
- package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +4 -3
- package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +2 -2
- package/dist-types/commands/GetUpgradeStatusCommand.d.ts +2 -2
- package/dist-types/commands/ListDataSourcesCommand.d.ts +3 -3
- package/dist-types/commands/ListDirectQueryDataSourcesCommand.d.ts +2 -4
- package/dist-types/commands/ListDomainNamesCommand.d.ts +3 -4
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +2 -2
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +2 -2
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +2 -2
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +3 -4
- package/dist-types/commands/ListTagsCommand.d.ts +1 -2
- package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +3 -2
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +2 -2
- package/dist-types/commands/PutDefaultApplicationSettingCommand.d.ts +91 -0
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +2 -2
- package/dist-types/commands/RemoveTagsCommand.d.ts +2 -2
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +2 -2
- package/dist-types/commands/StartDomainMaintenanceCommand.d.ts +3 -2
- package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +3 -2
- package/dist-types/commands/UpdateDirectQueryDataSourceCommand.d.ts +2 -4
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageCommand.d.ts +3 -2
- package/dist-types/commands/UpdatePackageScopeCommand.d.ts +2 -1
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +3 -4
- package/dist-types/commands/UpgradeDomainCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +904 -793
- package/dist-types/models/models_1.d.ts +257 -183
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +35 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetDefaultApplicationSettingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutDefaultApplicationSettingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -7
- package/dist-types/ts3.4/models/models_1.d.ts +15 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
AWS SDK for JavaScript OpenSearch Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<p>Use the Amazon OpenSearch Service configuration API to create, configure, and manage
|
|
10
|
-
OpenSearch Service domains. The endpoint for configuration service requests is Region
|
|
11
|
-
es.<i>region</i>.amazonaws.com. For example,
|
|
12
|
-
current list of supported Regions and endpoints, see
|
|
13
|
-
endpoints</a>.</p>
|
|
10
|
+
OpenSearch Service domains. The endpoint for configuration service requests is Region
|
|
11
|
+
specific: es.<i>region</i>.amazonaws.com. For example,
|
|
12
|
+
es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see
|
|
13
|
+
<a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions">Amazon Web Services service endpoints</a>.</p>
|
|
14
14
|
|
|
15
15
|
## Installing
|
|
16
16
|
|
|
@@ -542,6 +542,14 @@ GetDataSource
|
|
|
542
542
|
|
|
543
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/)
|
|
544
544
|
|
|
545
|
+
</details>
|
|
546
|
+
<details>
|
|
547
|
+
<summary>
|
|
548
|
+
GetDefaultApplicationSetting
|
|
549
|
+
</summary>
|
|
550
|
+
|
|
551
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/GetDefaultApplicationSettingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/GetDefaultApplicationSettingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/GetDefaultApplicationSettingCommandOutput/)
|
|
552
|
+
|
|
545
553
|
</details>
|
|
546
554
|
<details>
|
|
547
555
|
<summary>
|
|
@@ -702,6 +710,14 @@ PurchaseReservedInstanceOffering
|
|
|
702
710
|
|
|
703
711
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/PurchaseReservedInstanceOfferingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/PurchaseReservedInstanceOfferingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/PurchaseReservedInstanceOfferingCommandOutput/)
|
|
704
712
|
|
|
713
|
+
</details>
|
|
714
|
+
<details>
|
|
715
|
+
<summary>
|
|
716
|
+
PutDefaultApplicationSetting
|
|
717
|
+
</summary>
|
|
718
|
+
|
|
719
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/PutDefaultApplicationSettingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/PutDefaultApplicationSettingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/PutDefaultApplicationSettingCommandOutput/)
|
|
720
|
+
|
|
705
721
|
</details>
|
|
706
722
|
<details>
|
|
707
723
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -1300,6 +1300,14 @@ const se_GetDataSourceCommand = async (input, context) => {
|
|
|
1300
1300
|
b.m("GET").h(headers).b(body);
|
|
1301
1301
|
return b.build();
|
|
1302
1302
|
};
|
|
1303
|
+
const se_GetDefaultApplicationSettingCommand = async (input, context) => {
|
|
1304
|
+
const b = core.requestBuilder(input, context);
|
|
1305
|
+
const headers = {};
|
|
1306
|
+
b.bp("/2021-01-01/opensearch/defaultApplicationSetting");
|
|
1307
|
+
let body;
|
|
1308
|
+
b.m("GET").h(headers).b(body);
|
|
1309
|
+
return b.build();
|
|
1310
|
+
};
|
|
1303
1311
|
const se_GetDirectQueryDataSourceCommand = async (input, context) => {
|
|
1304
1312
|
const b = core.requestBuilder(input, context);
|
|
1305
1313
|
const headers = {};
|
|
@@ -1543,6 +1551,20 @@ const se_PurchaseReservedInstanceOfferingCommand = async (input, context) => {
|
|
|
1543
1551
|
b.m("POST").h(headers).b(body);
|
|
1544
1552
|
return b.build();
|
|
1545
1553
|
};
|
|
1554
|
+
const se_PutDefaultApplicationSettingCommand = async (input, context) => {
|
|
1555
|
+
const b = core.requestBuilder(input, context);
|
|
1556
|
+
const headers = {
|
|
1557
|
+
"content-type": "application/json",
|
|
1558
|
+
};
|
|
1559
|
+
b.bp("/2021-01-01/opensearch/defaultApplicationSetting");
|
|
1560
|
+
let body;
|
|
1561
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1562
|
+
applicationArn: [],
|
|
1563
|
+
setAsDefault: [],
|
|
1564
|
+
}));
|
|
1565
|
+
b.m("PUT").h(headers).b(body);
|
|
1566
|
+
return b.build();
|
|
1567
|
+
};
|
|
1546
1568
|
const se_RejectInboundConnectionCommand = async (input, context) => {
|
|
1547
1569
|
const b = core.requestBuilder(input, context);
|
|
1548
1570
|
const headers = {};
|
|
@@ -2396,6 +2418,20 @@ const de_GetDataSourceCommand = async (output, context) => {
|
|
|
2396
2418
|
Object.assign(contents, doc);
|
|
2397
2419
|
return contents;
|
|
2398
2420
|
};
|
|
2421
|
+
const de_GetDefaultApplicationSettingCommand = async (output, context) => {
|
|
2422
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2423
|
+
return de_CommandError(output, context);
|
|
2424
|
+
}
|
|
2425
|
+
const contents = smithyClient.map({
|
|
2426
|
+
$metadata: deserializeMetadata(output),
|
|
2427
|
+
});
|
|
2428
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2429
|
+
const doc = smithyClient.take(data, {
|
|
2430
|
+
applicationArn: smithyClient.expectString,
|
|
2431
|
+
});
|
|
2432
|
+
Object.assign(contents, doc);
|
|
2433
|
+
return contents;
|
|
2434
|
+
};
|
|
2399
2435
|
const de_GetDirectQueryDataSourceCommand = async (output, context) => {
|
|
2400
2436
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2401
2437
|
return de_CommandError(output, context);
|
|
@@ -2702,6 +2738,20 @@ const de_PurchaseReservedInstanceOfferingCommand = async (output, context) => {
|
|
|
2702
2738
|
Object.assign(contents, doc);
|
|
2703
2739
|
return contents;
|
|
2704
2740
|
};
|
|
2741
|
+
const de_PutDefaultApplicationSettingCommand = async (output, context) => {
|
|
2742
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2743
|
+
return de_CommandError(output, context);
|
|
2744
|
+
}
|
|
2745
|
+
const contents = smithyClient.map({
|
|
2746
|
+
$metadata: deserializeMetadata(output),
|
|
2747
|
+
});
|
|
2748
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2749
|
+
const doc = smithyClient.take(data, {
|
|
2750
|
+
applicationArn: smithyClient.expectString,
|
|
2751
|
+
});
|
|
2752
|
+
Object.assign(contents, doc);
|
|
2753
|
+
return contents;
|
|
2754
|
+
};
|
|
2705
2755
|
const de_RejectInboundConnectionCommand = async (output, context) => {
|
|
2706
2756
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2707
2757
|
return de_CommandError(output, context);
|
|
@@ -4430,6 +4480,23 @@ class GetDataSourceCommand extends smithyClient.Command
|
|
|
4430
4480
|
.build() {
|
|
4431
4481
|
}
|
|
4432
4482
|
|
|
4483
|
+
class GetDefaultApplicationSettingCommand extends smithyClient.Command
|
|
4484
|
+
.classBuilder()
|
|
4485
|
+
.ep(commonParams)
|
|
4486
|
+
.m(function (Command, cs, config, o) {
|
|
4487
|
+
return [
|
|
4488
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
4489
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
4490
|
+
];
|
|
4491
|
+
})
|
|
4492
|
+
.s("AmazonOpenSearchService", "GetDefaultApplicationSetting", {})
|
|
4493
|
+
.n("OpenSearchClient", "GetDefaultApplicationSettingCommand")
|
|
4494
|
+
.f(void 0, void 0)
|
|
4495
|
+
.ser(se_GetDefaultApplicationSettingCommand)
|
|
4496
|
+
.de(de_GetDefaultApplicationSettingCommand)
|
|
4497
|
+
.build() {
|
|
4498
|
+
}
|
|
4499
|
+
|
|
4433
4500
|
class GetDirectQueryDataSourceCommand extends smithyClient.Command
|
|
4434
4501
|
.classBuilder()
|
|
4435
4502
|
.ep(commonParams)
|
|
@@ -4770,6 +4837,23 @@ class PurchaseReservedInstanceOfferingCommand extends smithyClient.Command
|
|
|
4770
4837
|
.build() {
|
|
4771
4838
|
}
|
|
4772
4839
|
|
|
4840
|
+
class PutDefaultApplicationSettingCommand extends smithyClient.Command
|
|
4841
|
+
.classBuilder()
|
|
4842
|
+
.ep(commonParams)
|
|
4843
|
+
.m(function (Command, cs, config, o) {
|
|
4844
|
+
return [
|
|
4845
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
4846
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
4847
|
+
];
|
|
4848
|
+
})
|
|
4849
|
+
.s("AmazonOpenSearchService", "PutDefaultApplicationSetting", {})
|
|
4850
|
+
.n("OpenSearchClient", "PutDefaultApplicationSettingCommand")
|
|
4851
|
+
.f(void 0, void 0)
|
|
4852
|
+
.ser(se_PutDefaultApplicationSettingCommand)
|
|
4853
|
+
.de(de_PutDefaultApplicationSettingCommand)
|
|
4854
|
+
.build() {
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4773
4857
|
class RejectInboundConnectionCommand extends smithyClient.Command
|
|
4774
4858
|
.classBuilder()
|
|
4775
4859
|
.ep(commonParams)
|
|
@@ -5051,6 +5135,7 @@ const commands = {
|
|
|
5051
5135
|
GetApplicationCommand,
|
|
5052
5136
|
GetCompatibleVersionsCommand,
|
|
5053
5137
|
GetDataSourceCommand,
|
|
5138
|
+
GetDefaultApplicationSettingCommand,
|
|
5054
5139
|
GetDirectQueryDataSourceCommand,
|
|
5055
5140
|
GetDomainMaintenanceStatusCommand,
|
|
5056
5141
|
GetPackageVersionHistoryCommand,
|
|
@@ -5071,6 +5156,7 @@ const commands = {
|
|
|
5071
5156
|
ListVpcEndpointsCommand,
|
|
5072
5157
|
ListVpcEndpointsForDomainCommand,
|
|
5073
5158
|
PurchaseReservedInstanceOfferingCommand,
|
|
5159
|
+
PutDefaultApplicationSettingCommand,
|
|
5074
5160
|
RejectInboundConnectionCommand,
|
|
5075
5161
|
RemoveTagsCommand,
|
|
5076
5162
|
RevokeVpcEndpointAccessCommand,
|
|
@@ -5197,6 +5283,7 @@ exports.EngineType = EngineType;
|
|
|
5197
5283
|
exports.GetApplicationCommand = GetApplicationCommand;
|
|
5198
5284
|
exports.GetCompatibleVersionsCommand = GetCompatibleVersionsCommand;
|
|
5199
5285
|
exports.GetDataSourceCommand = GetDataSourceCommand;
|
|
5286
|
+
exports.GetDefaultApplicationSettingCommand = GetDefaultApplicationSettingCommand;
|
|
5200
5287
|
exports.GetDirectQueryDataSourceCommand = GetDirectQueryDataSourceCommand;
|
|
5201
5288
|
exports.GetDomainMaintenanceStatusCommand = GetDomainMaintenanceStatusCommand;
|
|
5202
5289
|
exports.GetPackageVersionHistoryCommand = GetPackageVersionHistoryCommand;
|
|
@@ -5247,6 +5334,7 @@ exports.PackageType = PackageType;
|
|
|
5247
5334
|
exports.PrincipalType = PrincipalType;
|
|
5248
5335
|
exports.PropertyValueType = PropertyValueType;
|
|
5249
5336
|
exports.PurchaseReservedInstanceOfferingCommand = PurchaseReservedInstanceOfferingCommand;
|
|
5337
|
+
exports.PutDefaultApplicationSettingCommand = PutDefaultApplicationSettingCommand;
|
|
5250
5338
|
exports.RejectInboundConnectionCommand = RejectInboundConnectionCommand;
|
|
5251
5339
|
exports.RemoveTagsCommand = RemoveTagsCommand;
|
|
5252
5340
|
exports.RequirementLevel = RequirementLevel;
|
package/dist-es/OpenSearch.js
CHANGED
|
@@ -41,6 +41,7 @@ import { DissociatePackagesCommand, } from "./commands/DissociatePackagesCommand
|
|
|
41
41
|
import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
|
|
42
42
|
import { GetCompatibleVersionsCommand, } from "./commands/GetCompatibleVersionsCommand";
|
|
43
43
|
import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
|
|
44
|
+
import { GetDefaultApplicationSettingCommand, } from "./commands/GetDefaultApplicationSettingCommand";
|
|
44
45
|
import { GetDirectQueryDataSourceCommand, } from "./commands/GetDirectQueryDataSourceCommand";
|
|
45
46
|
import { GetDomainMaintenanceStatusCommand, } from "./commands/GetDomainMaintenanceStatusCommand";
|
|
46
47
|
import { GetPackageVersionHistoryCommand, } from "./commands/GetPackageVersionHistoryCommand";
|
|
@@ -61,6 +62,7 @@ import { ListVpcEndpointAccessCommand, } from "./commands/ListVpcEndpointAccessC
|
|
|
61
62
|
import { ListVpcEndpointsCommand, } from "./commands/ListVpcEndpointsCommand";
|
|
62
63
|
import { ListVpcEndpointsForDomainCommand, } from "./commands/ListVpcEndpointsForDomainCommand";
|
|
63
64
|
import { PurchaseReservedInstanceOfferingCommand, } from "./commands/PurchaseReservedInstanceOfferingCommand";
|
|
65
|
+
import { PutDefaultApplicationSettingCommand, } from "./commands/PutDefaultApplicationSettingCommand";
|
|
64
66
|
import { RejectInboundConnectionCommand, } from "./commands/RejectInboundConnectionCommand";
|
|
65
67
|
import { RemoveTagsCommand } from "./commands/RemoveTagsCommand";
|
|
66
68
|
import { RevokeVpcEndpointAccessCommand, } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
@@ -119,6 +121,7 @@ const commands = {
|
|
|
119
121
|
GetApplicationCommand,
|
|
120
122
|
GetCompatibleVersionsCommand,
|
|
121
123
|
GetDataSourceCommand,
|
|
124
|
+
GetDefaultApplicationSettingCommand,
|
|
122
125
|
GetDirectQueryDataSourceCommand,
|
|
123
126
|
GetDomainMaintenanceStatusCommand,
|
|
124
127
|
GetPackageVersionHistoryCommand,
|
|
@@ -139,6 +142,7 @@ const commands = {
|
|
|
139
142
|
ListVpcEndpointsCommand,
|
|
140
143
|
ListVpcEndpointsForDomainCommand,
|
|
141
144
|
PurchaseReservedInstanceOfferingCommand,
|
|
145
|
+
PutDefaultApplicationSettingCommand,
|
|
142
146
|
RejectInboundConnectionCommand,
|
|
143
147
|
RemoveTagsCommand,
|
|
144
148
|
RevokeVpcEndpointAccessCommand,
|
|
@@ -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_GetDefaultApplicationSettingCommand, se_GetDefaultApplicationSettingCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetDefaultApplicationSettingCommand 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", "GetDefaultApplicationSetting", {})
|
|
17
|
+
.n("OpenSearchClient", "GetDefaultApplicationSettingCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetDefaultApplicationSettingCommand)
|
|
20
|
+
.de(de_GetDefaultApplicationSettingCommand)
|
|
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_PutDefaultApplicationSettingCommand, se_PutDefaultApplicationSettingCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutDefaultApplicationSettingCommand 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", "PutDefaultApplicationSetting", {})
|
|
17
|
+
.n("OpenSearchClient", "PutDefaultApplicationSettingCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutDefaultApplicationSettingCommand)
|
|
20
|
+
.de(de_PutDefaultApplicationSettingCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -40,6 +40,7 @@ export * from "./DissociatePackagesCommand";
|
|
|
40
40
|
export * from "./GetApplicationCommand";
|
|
41
41
|
export * from "./GetCompatibleVersionsCommand";
|
|
42
42
|
export * from "./GetDataSourceCommand";
|
|
43
|
+
export * from "./GetDefaultApplicationSettingCommand";
|
|
43
44
|
export * from "./GetDirectQueryDataSourceCommand";
|
|
44
45
|
export * from "./GetDomainMaintenanceStatusCommand";
|
|
45
46
|
export * from "./GetPackageVersionHistoryCommand";
|
|
@@ -60,6 +61,7 @@ export * from "./ListVpcEndpointAccessCommand";
|
|
|
60
61
|
export * from "./ListVpcEndpointsCommand";
|
|
61
62
|
export * from "./ListVpcEndpointsForDomainCommand";
|
|
62
63
|
export * from "./PurchaseReservedInstanceOfferingCommand";
|
|
64
|
+
export * from "./PutDefaultApplicationSettingCommand";
|
|
63
65
|
export * from "./RejectInboundConnectionCommand";
|
|
64
66
|
export * from "./RemoveTagsCommand";
|
|
65
67
|
export * from "./RevokeVpcEndpointAccessCommand";
|
|
@@ -549,6 +549,14 @@ export const se_GetDataSourceCommand = async (input, context) => {
|
|
|
549
549
|
b.m("GET").h(headers).b(body);
|
|
550
550
|
return b.build();
|
|
551
551
|
};
|
|
552
|
+
export const se_GetDefaultApplicationSettingCommand = async (input, context) => {
|
|
553
|
+
const b = rb(input, context);
|
|
554
|
+
const headers = {};
|
|
555
|
+
b.bp("/2021-01-01/opensearch/defaultApplicationSetting");
|
|
556
|
+
let body;
|
|
557
|
+
b.m("GET").h(headers).b(body);
|
|
558
|
+
return b.build();
|
|
559
|
+
};
|
|
552
560
|
export const se_GetDirectQueryDataSourceCommand = async (input, context) => {
|
|
553
561
|
const b = rb(input, context);
|
|
554
562
|
const headers = {};
|
|
@@ -792,6 +800,20 @@ export const se_PurchaseReservedInstanceOfferingCommand = async (input, context)
|
|
|
792
800
|
b.m("POST").h(headers).b(body);
|
|
793
801
|
return b.build();
|
|
794
802
|
};
|
|
803
|
+
export const se_PutDefaultApplicationSettingCommand = async (input, context) => {
|
|
804
|
+
const b = rb(input, context);
|
|
805
|
+
const headers = {
|
|
806
|
+
"content-type": "application/json",
|
|
807
|
+
};
|
|
808
|
+
b.bp("/2021-01-01/opensearch/defaultApplicationSetting");
|
|
809
|
+
let body;
|
|
810
|
+
body = JSON.stringify(take(input, {
|
|
811
|
+
applicationArn: [],
|
|
812
|
+
setAsDefault: [],
|
|
813
|
+
}));
|
|
814
|
+
b.m("PUT").h(headers).b(body);
|
|
815
|
+
return b.build();
|
|
816
|
+
};
|
|
795
817
|
export const se_RejectInboundConnectionCommand = async (input, context) => {
|
|
796
818
|
const b = rb(input, context);
|
|
797
819
|
const headers = {};
|
|
@@ -1645,6 +1667,20 @@ export const de_GetDataSourceCommand = async (output, context) => {
|
|
|
1645
1667
|
Object.assign(contents, doc);
|
|
1646
1668
|
return contents;
|
|
1647
1669
|
};
|
|
1670
|
+
export const de_GetDefaultApplicationSettingCommand = async (output, context) => {
|
|
1671
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1672
|
+
return de_CommandError(output, context);
|
|
1673
|
+
}
|
|
1674
|
+
const contents = map({
|
|
1675
|
+
$metadata: deserializeMetadata(output),
|
|
1676
|
+
});
|
|
1677
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1678
|
+
const doc = take(data, {
|
|
1679
|
+
applicationArn: __expectString,
|
|
1680
|
+
});
|
|
1681
|
+
Object.assign(contents, doc);
|
|
1682
|
+
return contents;
|
|
1683
|
+
};
|
|
1648
1684
|
export const de_GetDirectQueryDataSourceCommand = async (output, context) => {
|
|
1649
1685
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1650
1686
|
return de_CommandError(output, context);
|
|
@@ -1951,6 +1987,20 @@ export const de_PurchaseReservedInstanceOfferingCommand = async (output, context
|
|
|
1951
1987
|
Object.assign(contents, doc);
|
|
1952
1988
|
return contents;
|
|
1953
1989
|
};
|
|
1990
|
+
export const de_PutDefaultApplicationSettingCommand = async (output, context) => {
|
|
1991
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1992
|
+
return de_CommandError(output, context);
|
|
1993
|
+
}
|
|
1994
|
+
const contents = map({
|
|
1995
|
+
$metadata: deserializeMetadata(output),
|
|
1996
|
+
});
|
|
1997
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1998
|
+
const doc = take(data, {
|
|
1999
|
+
applicationArn: __expectString,
|
|
2000
|
+
});
|
|
2001
|
+
Object.assign(contents, doc);
|
|
2002
|
+
return contents;
|
|
2003
|
+
};
|
|
1954
2004
|
export const de_RejectInboundConnectionCommand = async (output, context) => {
|
|
1955
2005
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1956
2006
|
return de_CommandError(output, context);
|
|
@@ -41,6 +41,7 @@ import { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from
|
|
|
41
41
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
42
42
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
43
43
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
44
|
+
import { GetDefaultApplicationSettingCommandInput, GetDefaultApplicationSettingCommandOutput } from "./commands/GetDefaultApplicationSettingCommand";
|
|
44
45
|
import { GetDirectQueryDataSourceCommandInput, GetDirectQueryDataSourceCommandOutput } from "./commands/GetDirectQueryDataSourceCommand";
|
|
45
46
|
import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "./commands/GetDomainMaintenanceStatusCommand";
|
|
46
47
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "./commands/GetPackageVersionHistoryCommand";
|
|
@@ -61,6 +62,7 @@ import { ListVpcEndpointAccessCommandInput, ListVpcEndpointAccessCommandOutput }
|
|
|
61
62
|
import { ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput } from "./commands/ListVpcEndpointsCommand";
|
|
62
63
|
import { ListVpcEndpointsForDomainCommandInput, ListVpcEndpointsForDomainCommandOutput } from "./commands/ListVpcEndpointsForDomainCommand";
|
|
63
64
|
import { PurchaseReservedInstanceOfferingCommandInput, PurchaseReservedInstanceOfferingCommandOutput } from "./commands/PurchaseReservedInstanceOfferingCommand";
|
|
65
|
+
import { PutDefaultApplicationSettingCommandInput, PutDefaultApplicationSettingCommandOutput } from "./commands/PutDefaultApplicationSettingCommand";
|
|
64
66
|
import { RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput } from "./commands/RejectInboundConnectionCommand";
|
|
65
67
|
import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
|
|
66
68
|
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
@@ -335,6 +337,13 @@ export interface OpenSearch {
|
|
|
335
337
|
getDataSource(args: GetDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSourceCommandOutput>;
|
|
336
338
|
getDataSource(args: GetDataSourceCommandInput, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
337
339
|
getDataSource(args: GetDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
340
|
+
/**
|
|
341
|
+
* @see {@link GetDefaultApplicationSettingCommand}
|
|
342
|
+
*/
|
|
343
|
+
getDefaultApplicationSetting(): Promise<GetDefaultApplicationSettingCommandOutput>;
|
|
344
|
+
getDefaultApplicationSetting(args: GetDefaultApplicationSettingCommandInput, options?: __HttpHandlerOptions): Promise<GetDefaultApplicationSettingCommandOutput>;
|
|
345
|
+
getDefaultApplicationSetting(args: GetDefaultApplicationSettingCommandInput, cb: (err: any, data?: GetDefaultApplicationSettingCommandOutput) => void): void;
|
|
346
|
+
getDefaultApplicationSetting(args: GetDefaultApplicationSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDefaultApplicationSettingCommandOutput) => void): void;
|
|
338
347
|
/**
|
|
339
348
|
* @see {@link GetDirectQueryDataSourceCommand}
|
|
340
349
|
*/
|
|
@@ -460,6 +469,12 @@ export interface OpenSearch {
|
|
|
460
469
|
purchaseReservedInstanceOffering(args: PurchaseReservedInstanceOfferingCommandInput, options?: __HttpHandlerOptions): Promise<PurchaseReservedInstanceOfferingCommandOutput>;
|
|
461
470
|
purchaseReservedInstanceOffering(args: PurchaseReservedInstanceOfferingCommandInput, cb: (err: any, data?: PurchaseReservedInstanceOfferingCommandOutput) => void): void;
|
|
462
471
|
purchaseReservedInstanceOffering(args: PurchaseReservedInstanceOfferingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PurchaseReservedInstanceOfferingCommandOutput) => void): void;
|
|
472
|
+
/**
|
|
473
|
+
* @see {@link PutDefaultApplicationSettingCommand}
|
|
474
|
+
*/
|
|
475
|
+
putDefaultApplicationSetting(args: PutDefaultApplicationSettingCommandInput, options?: __HttpHandlerOptions): Promise<PutDefaultApplicationSettingCommandOutput>;
|
|
476
|
+
putDefaultApplicationSetting(args: PutDefaultApplicationSettingCommandInput, cb: (err: any, data?: PutDefaultApplicationSettingCommandOutput) => void): void;
|
|
477
|
+
putDefaultApplicationSetting(args: PutDefaultApplicationSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutDefaultApplicationSettingCommandOutput) => void): void;
|
|
463
478
|
/**
|
|
464
479
|
* @see {@link RejectInboundConnectionCommand}
|
|
465
480
|
*/
|
|
@@ -547,10 +562,10 @@ export interface OpenSearch {
|
|
|
547
562
|
}
|
|
548
563
|
/**
|
|
549
564
|
* <p>Use the Amazon OpenSearch Service configuration API to create, configure, and manage
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
*
|
|
553
|
-
*
|
|
565
|
+
* OpenSearch Service domains. The endpoint for configuration service requests is Region
|
|
566
|
+
* specific: es.<i>region</i>.amazonaws.com. For example,
|
|
567
|
+
* es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see
|
|
568
|
+
* <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions">Amazon Web Services service endpoints</a>.</p>
|
|
554
569
|
* @public
|
|
555
570
|
*/
|
|
556
571
|
export declare class OpenSearch extends OpenSearchClient implements OpenSearch {
|
|
@@ -49,6 +49,7 @@ import { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from
|
|
|
49
49
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
50
50
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
51
51
|
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
52
|
+
import { GetDefaultApplicationSettingCommandInput, GetDefaultApplicationSettingCommandOutput } from "./commands/GetDefaultApplicationSettingCommand";
|
|
52
53
|
import { GetDirectQueryDataSourceCommandInput, GetDirectQueryDataSourceCommandOutput } from "./commands/GetDirectQueryDataSourceCommand";
|
|
53
54
|
import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "./commands/GetDomainMaintenanceStatusCommand";
|
|
54
55
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "./commands/GetPackageVersionHistoryCommand";
|
|
@@ -69,6 +70,7 @@ import { ListVpcEndpointAccessCommandInput, ListVpcEndpointAccessCommandOutput }
|
|
|
69
70
|
import { ListVpcEndpointsCommandInput, ListVpcEndpointsCommandOutput } from "./commands/ListVpcEndpointsCommand";
|
|
70
71
|
import { ListVpcEndpointsForDomainCommandInput, ListVpcEndpointsForDomainCommandOutput } from "./commands/ListVpcEndpointsForDomainCommand";
|
|
71
72
|
import { PurchaseReservedInstanceOfferingCommandInput, PurchaseReservedInstanceOfferingCommandOutput } from "./commands/PurchaseReservedInstanceOfferingCommand";
|
|
73
|
+
import { PutDefaultApplicationSettingCommandInput, PutDefaultApplicationSettingCommandOutput } from "./commands/PutDefaultApplicationSettingCommand";
|
|
72
74
|
import { RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput } from "./commands/RejectInboundConnectionCommand";
|
|
73
75
|
import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
|
|
74
76
|
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
@@ -89,11 +91,11 @@ export { __Client };
|
|
|
89
91
|
/**
|
|
90
92
|
* @public
|
|
91
93
|
*/
|
|
92
|
-
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
94
|
+
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
93
95
|
/**
|
|
94
96
|
* @public
|
|
95
97
|
*/
|
|
96
|
-
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
98
|
+
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
97
99
|
/**
|
|
98
100
|
* @public
|
|
99
101
|
*/
|
|
@@ -246,10 +248,10 @@ export interface OpenSearchClientResolvedConfig extends OpenSearchClientResolved
|
|
|
246
248
|
}
|
|
247
249
|
/**
|
|
248
250
|
* <p>Use the Amazon OpenSearch Service configuration API to create, configure, and manage
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
251
|
+
* OpenSearch Service domains. The endpoint for configuration service requests is Region
|
|
252
|
+
* specific: es.<i>region</i>.amazonaws.com. For example,
|
|
253
|
+
* es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see
|
|
254
|
+
* <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions">Amazon Web Services service endpoints</a>.</p>
|
|
253
255
|
* @public
|
|
254
256
|
*/
|
|
255
257
|
export declare class OpenSearchClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OpenSearchClientResolvedConfig> {
|
|
@@ -28,8 +28,7 @@ declare const AcceptInboundConnectionCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Allows the destination Amazon OpenSearch Service domain owner to accept an inbound
|
|
31
|
-
*
|
|
32
|
-
* for Amazon OpenSearch Service</a>.</p>
|
|
31
|
+
* cross-cluster search connection request. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cross-cluster-search.html">Cross-cluster search for Amazon OpenSearch Service</a>.</p>
|
|
33
32
|
* @example
|
|
34
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
34
|
* ```javascript
|
|
@@ -27,8 +27,9 @@ declare const AddDataSourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a new direct-query data source to the specified domain. For more information,
|
|
31
|
-
*
|
|
30
|
+
* <p>Creates a new direct-query data source to the specified domain. For more information,
|
|
31
|
+
* see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3-creating.html">Creating Amazon OpenSearch Service data source integrations with Amazon
|
|
32
|
+
* S3</a>.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -27,10 +27,8 @@ declare const AddDirectQueryDataSourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
32
|
-
* so that you can perform direct queries on external data.
|
|
33
|
-
* </p>
|
|
30
|
+
* <p> Adds a new data source in Amazon OpenSearch Service so that you can perform direct
|
|
31
|
+
* queries on external data. </p>
|
|
34
32
|
* @example
|
|
35
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
34
|
* ```javascript
|
|
@@ -27,10 +27,10 @@ declare const AddTagsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Attaches tags to an existing Amazon OpenSearch Service domain, data source, or
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Attaches tags to an existing Amazon OpenSearch Service domain, data source, or
|
|
31
|
+
* application. </p>
|
|
32
|
+
* <p>Tags are a set of case-sensitive key-value pairs. A domain, data source, or
|
|
33
|
+
* application can have up to 10 tags. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html">Tagging Amazon OpenSearch Service resources</a>. </p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -27,9 +27,9 @@ declare const AssociatePackageCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Associates a package with an Amazon OpenSearch Service domain. For more information,
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Associates a package with an Amazon OpenSearch Service domain. For more information,
|
|
31
|
+
* see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html">Custom packages
|
|
32
|
+
* for Amazon OpenSearch Service</a>.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const AssociatePackagesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Operation in the Amazon OpenSearch Service API for associating
|
|
30
|
+
* <p>Operation in the Amazon OpenSearch Service API for associating multiple packages with
|
|
31
|
+
* a domain simultaneously.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -27,8 +27,8 @@ declare const AuthorizeVpcEndpointAccessCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Provides access to an Amazon OpenSearch Service domain through the use of an interface
|
|
31
|
-
*
|
|
30
|
+
* <p>Provides access to an Amazon OpenSearch Service domain through the use of an interface
|
|
31
|
+
* VPC endpoint.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -27,9 +27,11 @@ declare const CancelServiceSoftwareUpdateCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Cancels a scheduled service software update for an Amazon OpenSearch Service domain.
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <p>Cancels a scheduled service software update for an Amazon OpenSearch Service domain.
|
|
31
|
+
* You can only perform this operation before the <code>AutomatedUpdateDate</code> and when
|
|
32
|
+
* the domain's <code>UpdateStatus</code> is <code>PENDING_UPDATE</code>. For more
|
|
33
|
+
* information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html">Service
|
|
34
|
+
* software updates in Amazon OpenSearch Service</a>.</p>
|
|
33
35
|
* @example
|
|
34
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
37
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const CreateDomainCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an Amazon OpenSearch Service domain. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html">Creating and
|
|
30
|
+
* <p>Creates an Amazon OpenSearch Service domain. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html">Creating and
|
|
31
|
+
* managing Amazon OpenSearch Service domains</a>.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|