@aws-sdk/client-opensearch 3.928.0 → 3.930.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/dist-cjs/index.js +3821 -3625
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/OpenSearchClient.js +2 -0
- package/dist-es/commands/AcceptInboundConnectionCommand.js +3 -9
- package/dist-es/commands/AddDataSourceCommand.js +3 -9
- package/dist-es/commands/AddDirectQueryDataSourceCommand.js +3 -9
- package/dist-es/commands/AddTagsCommand.js +3 -9
- package/dist-es/commands/AssociatePackageCommand.js +3 -9
- package/dist-es/commands/AssociatePackagesCommand.js +3 -9
- package/dist-es/commands/AuthorizeVpcEndpointAccessCommand.js +3 -9
- package/dist-es/commands/CancelDomainConfigChangeCommand.js +3 -9
- package/dist-es/commands/CancelServiceSoftwareUpdateCommand.js +3 -9
- package/dist-es/commands/CreateApplicationCommand.js +3 -9
- package/dist-es/commands/CreateDomainCommand.js +3 -10
- package/dist-es/commands/CreateOutboundConnectionCommand.js +3 -9
- package/dist-es/commands/CreatePackageCommand.js +3 -9
- package/dist-es/commands/CreateVpcEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteApplicationCommand.js +3 -9
- package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
- package/dist-es/commands/DeleteDirectQueryDataSourceCommand.js +3 -9
- package/dist-es/commands/DeleteDomainCommand.js +3 -9
- package/dist-es/commands/DeleteInboundConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteOutboundConnectionCommand.js +3 -9
- package/dist-es/commands/DeletePackageCommand.js +3 -9
- package/dist-es/commands/DeleteVpcEndpointCommand.js +3 -9
- package/dist-es/commands/DescribeDomainAutoTunesCommand.js +3 -9
- package/dist-es/commands/DescribeDomainChangeProgressCommand.js +3 -9
- package/dist-es/commands/DescribeDomainCommand.js +3 -9
- package/dist-es/commands/DescribeDomainConfigCommand.js +3 -9
- package/dist-es/commands/DescribeDomainHealthCommand.js +3 -9
- package/dist-es/commands/DescribeDomainNodesCommand.js +3 -9
- package/dist-es/commands/DescribeDomainsCommand.js +3 -9
- package/dist-es/commands/DescribeDryRunProgressCommand.js +3 -9
- package/dist-es/commands/DescribeInboundConnectionsCommand.js +3 -9
- package/dist-es/commands/DescribeInstanceTypeLimitsCommand.js +3 -9
- package/dist-es/commands/DescribeOutboundConnectionsCommand.js +3 -9
- package/dist-es/commands/DescribePackagesCommand.js +3 -9
- package/dist-es/commands/DescribeReservedInstanceOfferingsCommand.js +3 -9
- package/dist-es/commands/DescribeReservedInstancesCommand.js +3 -9
- package/dist-es/commands/DescribeVpcEndpointsCommand.js +3 -9
- package/dist-es/commands/DissociatePackageCommand.js +3 -9
- package/dist-es/commands/DissociatePackagesCommand.js +3 -9
- package/dist-es/commands/GetApplicationCommand.js +3 -9
- package/dist-es/commands/GetCompatibleVersionsCommand.js +3 -9
- package/dist-es/commands/GetDataSourceCommand.js +3 -9
- package/dist-es/commands/GetDefaultApplicationSettingCommand.js +3 -9
- package/dist-es/commands/GetDirectQueryDataSourceCommand.js +3 -9
- package/dist-es/commands/GetDomainMaintenanceStatusCommand.js +3 -9
- package/dist-es/commands/GetPackageVersionHistoryCommand.js +3 -9
- package/dist-es/commands/GetUpgradeHistoryCommand.js +3 -9
- package/dist-es/commands/GetUpgradeStatusCommand.js +3 -9
- package/dist-es/commands/ListApplicationsCommand.js +3 -9
- package/dist-es/commands/ListDataSourcesCommand.js +3 -9
- package/dist-es/commands/ListDirectQueryDataSourcesCommand.js +3 -9
- package/dist-es/commands/ListDomainMaintenancesCommand.js +3 -9
- package/dist-es/commands/ListDomainNamesCommand.js +3 -9
- package/dist-es/commands/ListDomainsForPackageCommand.js +3 -9
- package/dist-es/commands/ListInstanceTypeDetailsCommand.js +3 -9
- package/dist-es/commands/ListPackagesForDomainCommand.js +3 -9
- package/dist-es/commands/ListScheduledActionsCommand.js +3 -9
- package/dist-es/commands/ListTagsCommand.js +3 -9
- package/dist-es/commands/ListVersionsCommand.js +3 -9
- package/dist-es/commands/ListVpcEndpointAccessCommand.js +3 -9
- package/dist-es/commands/ListVpcEndpointsCommand.js +3 -9
- package/dist-es/commands/ListVpcEndpointsForDomainCommand.js +3 -9
- package/dist-es/commands/PurchaseReservedInstanceOfferingCommand.js +3 -9
- package/dist-es/commands/PutDefaultApplicationSettingCommand.js +3 -9
- package/dist-es/commands/RejectInboundConnectionCommand.js +3 -9
- package/dist-es/commands/RemoveTagsCommand.js +3 -9
- package/dist-es/commands/RevokeVpcEndpointAccessCommand.js +3 -9
- package/dist-es/commands/StartDomainMaintenanceCommand.js +3 -9
- package/dist-es/commands/StartServiceSoftwareUpdateCommand.js +3 -9
- package/dist-es/commands/UpdateApplicationCommand.js +3 -9
- package/dist-es/commands/UpdateDataSourceCommand.js +3 -9
- package/dist-es/commands/UpdateDirectQueryDataSourceCommand.js +3 -9
- package/dist-es/commands/UpdateDomainConfigCommand.js +3 -10
- package/dist-es/commands/UpdatePackageCommand.js +3 -9
- package/dist-es/commands/UpdatePackageScopeCommand.js +3 -9
- package/dist-es/commands/UpdateScheduledActionCommand.js +3 -9
- package/dist-es/commands/UpdateVpcEndpointCommand.js +3 -9
- package/dist-es/commands/UpgradeDomainCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -39
- package/dist-es/models/models_1.js +0 -7
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +3666 -0
- package/dist-types/OpenSearchClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +8 -18
- package/dist-types/models/models_1.d.ts +0 -4
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +444 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -14
- package/dist-types/ts3.4/models/models_1.d.ts +0 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +451 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -3017
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -704
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -941
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StartServiceSoftwareUpdate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StartServiceSoftwareUpdateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "StartServiceSoftwareUpdate", {})
|
|
17
13
|
.n("OpenSearchClient", "StartServiceSoftwareUpdateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StartServiceSoftwareUpdateCommand)
|
|
20
|
-
.de(de_StartServiceSoftwareUpdateCommand)
|
|
14
|
+
.sc(StartServiceSoftwareUpdate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateApplication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateApplicationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "UpdateApplication", {})
|
|
17
13
|
.n("OpenSearchClient", "UpdateApplicationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateApplicationCommand)
|
|
20
|
-
.de(de_UpdateApplicationCommand)
|
|
14
|
+
.sc(UpdateApplication)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDataSource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDataSourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "UpdateDataSource", {})
|
|
17
13
|
.n("OpenSearchClient", "UpdateDataSourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDataSourceCommand)
|
|
20
|
-
.de(de_UpdateDataSourceCommand)
|
|
14
|
+
.sc(UpdateDataSource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDirectQueryDataSource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDirectQueryDataSourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "UpdateDirectQueryDataSource", {})
|
|
17
13
|
.n("OpenSearchClient", "UpdateDirectQueryDataSourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDirectQueryDataSourceCommand)
|
|
20
|
-
.de(de_UpdateDirectQueryDataSourceCommand)
|
|
14
|
+
.sc(UpdateDirectQueryDataSource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateDomainConfigCommand, se_UpdateDomainConfigCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateDomainConfig } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateDomainConfigCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonOpenSearchService", "UpdateDomainConfig", {})
|
|
18
13
|
.n("OpenSearchClient", "UpdateDomainConfigCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateDomainConfigCommand)
|
|
21
|
-
.de(de_UpdateDomainConfigCommand)
|
|
14
|
+
.sc(UpdateDomainConfig)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePackage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePackageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "UpdatePackage", {})
|
|
17
13
|
.n("OpenSearchClient", "UpdatePackageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePackageCommand)
|
|
20
|
-
.de(de_UpdatePackageCommand)
|
|
14
|
+
.sc(UpdatePackage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePackageScope } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePackageScopeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "UpdatePackageScope", {})
|
|
17
13
|
.n("OpenSearchClient", "UpdatePackageScopeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePackageScopeCommand)
|
|
20
|
-
.de(de_UpdatePackageScopeCommand)
|
|
14
|
+
.sc(UpdatePackageScope)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateScheduledAction } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateScheduledActionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "UpdateScheduledAction", {})
|
|
17
13
|
.n("OpenSearchClient", "UpdateScheduledActionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateScheduledActionCommand)
|
|
20
|
-
.de(de_UpdateScheduledActionCommand)
|
|
14
|
+
.sc(UpdateScheduledAction)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateVpcEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateVpcEndpointCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "UpdateVpcEndpoint", {})
|
|
17
13
|
.n("OpenSearchClient", "UpdateVpcEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateVpcEndpointCommand)
|
|
20
|
-
.de(de_UpdateVpcEndpointCommand)
|
|
14
|
+
.sc(UpdateVpcEndpoint)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpgradeDomain } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpgradeDomainCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonOpenSearchService", "UpgradeDomain", {})
|
|
17
13
|
.n("OpenSearchClient", "UpgradeDomainCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpgradeDomainCommand)
|
|
20
|
-
.de(de_UpgradeDomainCommand)
|
|
14
|
+
.sc(UpgradeDomain)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
|
|
3
2
|
export const ConnectionMode = {
|
|
4
3
|
DIRECT: "DIRECT",
|
|
@@ -85,14 +84,6 @@ export const ActionType = {
|
|
|
85
84
|
JVM_YOUNG_GEN_TUNING: "JVM_YOUNG_GEN_TUNING",
|
|
86
85
|
SERVICE_SOFTWARE_UPDATE: "SERVICE_SOFTWARE_UPDATE",
|
|
87
86
|
};
|
|
88
|
-
export var DataSourceType;
|
|
89
|
-
(function (DataSourceType) {
|
|
90
|
-
DataSourceType.visit = (value, visitor) => {
|
|
91
|
-
if (value.S3GlueDataCatalog !== undefined)
|
|
92
|
-
return visitor.S3GlueDataCatalog(value.S3GlueDataCatalog);
|
|
93
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
94
|
-
};
|
|
95
|
-
})(DataSourceType || (DataSourceType = {}));
|
|
96
87
|
export class BaseException extends __BaseException {
|
|
97
88
|
name = "BaseException";
|
|
98
89
|
$fault = "client";
|
|
@@ -141,16 +132,6 @@ export class ValidationException extends __BaseException {
|
|
|
141
132
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
142
133
|
}
|
|
143
134
|
}
|
|
144
|
-
export var DirectQueryDataSourceType;
|
|
145
|
-
(function (DirectQueryDataSourceType) {
|
|
146
|
-
DirectQueryDataSourceType.visit = (value, visitor) => {
|
|
147
|
-
if (value.CloudWatchLog !== undefined)
|
|
148
|
-
return visitor.CloudWatchLog(value.CloudWatchLog);
|
|
149
|
-
if (value.SecurityLake !== undefined)
|
|
150
|
-
return visitor.SecurityLake(value.SecurityLake);
|
|
151
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
152
|
-
};
|
|
153
|
-
})(DirectQueryDataSourceType || (DirectQueryDataSourceType = {}));
|
|
154
135
|
export const NaturalLanguageQueryGenerationDesiredState = {
|
|
155
136
|
Disabled: "DISABLED",
|
|
156
137
|
Enabled: "ENABLED",
|
|
@@ -578,23 +559,3 @@ export const EngineType = {
|
|
|
578
559
|
Elasticsearch: "Elasticsearch",
|
|
579
560
|
OpenSearch: "OpenSearch",
|
|
580
561
|
};
|
|
581
|
-
export const MasterUserOptionsFilterSensitiveLog = (obj) => ({
|
|
582
|
-
...obj,
|
|
583
|
-
...(obj.MasterUserName && { MasterUserName: SENSITIVE_STRING }),
|
|
584
|
-
...(obj.MasterUserPassword && { MasterUserPassword: SENSITIVE_STRING }),
|
|
585
|
-
});
|
|
586
|
-
export const SAMLOptionsInputFilterSensitiveLog = (obj) => ({
|
|
587
|
-
...obj,
|
|
588
|
-
...(obj.MasterUserName && { MasterUserName: SENSITIVE_STRING }),
|
|
589
|
-
});
|
|
590
|
-
export const AdvancedSecurityOptionsInputFilterSensitiveLog = (obj) => ({
|
|
591
|
-
...obj,
|
|
592
|
-
...(obj.MasterUserOptions && { MasterUserOptions: MasterUserOptionsFilterSensitiveLog(obj.MasterUserOptions) }),
|
|
593
|
-
...(obj.SAMLOptions && { SAMLOptions: SAMLOptionsInputFilterSensitiveLog(obj.SAMLOptions) }),
|
|
594
|
-
});
|
|
595
|
-
export const CreateDomainRequestFilterSensitiveLog = (obj) => ({
|
|
596
|
-
...obj,
|
|
597
|
-
...(obj.AdvancedSecurityOptions && {
|
|
598
|
-
AdvancedSecurityOptions: AdvancedSecurityOptionsInputFilterSensitiveLog(obj.AdvancedSecurityOptions),
|
|
599
|
-
}),
|
|
600
|
-
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AdvancedSecurityOptionsInputFilterSensitiveLog, } from "./models_0";
|
|
2
1
|
import { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
|
|
3
2
|
export const ScheduledBy = {
|
|
4
3
|
CUSTOMER: "CUSTOMER",
|
|
@@ -32,9 +31,3 @@ export class SlotNotAvailableException extends __BaseException {
|
|
|
32
31
|
this.SlotSuggestions = opts.SlotSuggestions;
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
|
-
export const UpdateDomainConfigRequestFilterSensitiveLog = (obj) => ({
|
|
36
|
-
...obj,
|
|
37
|
-
...(obj.AdvancedSecurityOptions && {
|
|
38
|
-
AdvancedSecurityOptions: AdvancedSecurityOptionsInputFilterSensitiveLog(obj.AdvancedSecurityOptions),
|
|
39
|
-
}),
|
|
40
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.opensearch" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "OpenSearch",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|