@aws-sdk/client-elasticsearch-service 3.1076.0 → 3.1078.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 +162 -615
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +2 -14
- package/dist-es/commands/AddTagsCommand.js +2 -14
- package/dist-es/commands/AssociatePackageCommand.js +2 -14
- package/dist-es/commands/AuthorizeVpcEndpointAccessCommand.js +2 -14
- package/dist-es/commands/CancelDomainConfigChangeCommand.js +2 -14
- package/dist-es/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +2 -14
- package/dist-es/commands/CreateElasticsearchDomainCommand.js +2 -14
- package/dist-es/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +2 -14
- package/dist-es/commands/CreatePackageCommand.js +2 -14
- package/dist-es/commands/CreateVpcEndpointCommand.js +2 -14
- package/dist-es/commands/DeleteElasticsearchDomainCommand.js +2 -14
- package/dist-es/commands/DeleteElasticsearchServiceRoleCommand.js +2 -14
- package/dist-es/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +2 -14
- package/dist-es/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +2 -14
- package/dist-es/commands/DeletePackageCommand.js +2 -14
- package/dist-es/commands/DeleteVpcEndpointCommand.js +2 -14
- package/dist-es/commands/DescribeDomainAutoTunesCommand.js +2 -14
- package/dist-es/commands/DescribeDomainChangeProgressCommand.js +2 -14
- package/dist-es/commands/DescribeElasticsearchDomainCommand.js +2 -14
- package/dist-es/commands/DescribeElasticsearchDomainConfigCommand.js +2 -14
- package/dist-es/commands/DescribeElasticsearchDomainsCommand.js +2 -14
- package/dist-es/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +2 -14
- package/dist-es/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +2 -14
- package/dist-es/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +2 -14
- package/dist-es/commands/DescribePackagesCommand.js +2 -14
- package/dist-es/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +2 -14
- package/dist-es/commands/DescribeReservedElasticsearchInstancesCommand.js +2 -14
- package/dist-es/commands/DescribeVpcEndpointsCommand.js +2 -14
- package/dist-es/commands/DissociatePackageCommand.js +2 -14
- package/dist-es/commands/GetCompatibleElasticsearchVersionsCommand.js +2 -14
- package/dist-es/commands/GetPackageVersionHistoryCommand.js +2 -14
- package/dist-es/commands/GetUpgradeHistoryCommand.js +2 -14
- package/dist-es/commands/GetUpgradeStatusCommand.js +2 -14
- package/dist-es/commands/ListDomainNamesCommand.js +2 -14
- package/dist-es/commands/ListDomainsForPackageCommand.js +2 -14
- package/dist-es/commands/ListElasticsearchInstanceTypesCommand.js +2 -14
- package/dist-es/commands/ListElasticsearchVersionsCommand.js +2 -14
- package/dist-es/commands/ListPackagesForDomainCommand.js +2 -14
- package/dist-es/commands/ListTagsCommand.js +2 -14
- package/dist-es/commands/ListVpcEndpointAccessCommand.js +2 -14
- package/dist-es/commands/ListVpcEndpointsCommand.js +2 -14
- package/dist-es/commands/ListVpcEndpointsForDomainCommand.js +2 -14
- package/dist-es/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +2 -14
- package/dist-es/commands/RejectInboundCrossClusterSearchConnectionCommand.js +2 -14
- package/dist-es/commands/RemoveTagsCommand.js +2 -14
- package/dist-es/commands/RevokeVpcEndpointAccessCommand.js +2 -14
- package/dist-es/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +2 -14
- package/dist-es/commands/UpdateElasticsearchDomainConfigCommand.js +2 -14
- package/dist-es/commands/UpdatePackageCommand.js +2 -14
- package/dist-es/commands/UpdateVpcEndpointCommand.js +2 -14
- package/dist-es/commands/UpgradeElasticsearchDomainCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AcceptInboundCrossClusterSearchConnectionCommand.d.ts +3 -8
- package/dist-types/commands/AddTagsCommand.d.ts +3 -8
- package/dist-types/commands/AssociatePackageCommand.d.ts +3 -8
- package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +3 -8
- package/dist-types/commands/CancelDomainConfigChangeCommand.d.ts +3 -8
- package/dist-types/commands/CancelElasticsearchServiceSoftwareUpdateCommand.d.ts +3 -8
- package/dist-types/commands/CreateElasticsearchDomainCommand.d.ts +3 -8
- package/dist-types/commands/CreateOutboundCrossClusterSearchConnectionCommand.d.ts +3 -8
- package/dist-types/commands/CreatePackageCommand.d.ts +3 -8
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DeleteElasticsearchDomainCommand.d.ts +3 -8
- package/dist-types/commands/DeleteElasticsearchServiceRoleCommand.d.ts +3 -8
- package/dist-types/commands/DeleteInboundCrossClusterSearchConnectionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteOutboundCrossClusterSearchConnectionCommand.d.ts +3 -8
- package/dist-types/commands/DeletePackageCommand.d.ts +3 -8
- package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +3 -8
- package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +3 -8
- package/dist-types/commands/DescribeElasticsearchDomainCommand.d.ts +3 -8
- package/dist-types/commands/DescribeElasticsearchDomainConfigCommand.d.ts +3 -8
- package/dist-types/commands/DescribeElasticsearchDomainsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeElasticsearchInstanceTypeLimitsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeInboundCrossClusterSearchConnectionsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.d.ts +3 -8
- package/dist-types/commands/DescribePackagesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeReservedElasticsearchInstancesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +3 -8
- package/dist-types/commands/DissociatePackageCommand.d.ts +3 -8
- package/dist-types/commands/GetCompatibleElasticsearchVersionsCommand.d.ts +3 -8
- package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +3 -8
- package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +3 -8
- package/dist-types/commands/GetUpgradeStatusCommand.d.ts +3 -8
- package/dist-types/commands/ListDomainNamesCommand.d.ts +3 -8
- package/dist-types/commands/ListDomainsForPackageCommand.d.ts +3 -8
- package/dist-types/commands/ListElasticsearchInstanceTypesCommand.d.ts +3 -8
- package/dist-types/commands/ListElasticsearchVersionsCommand.d.ts +3 -8
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsCommand.d.ts +3 -8
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +3 -8
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +3 -8
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +3 -8
- package/dist-types/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.d.ts +3 -8
- package/dist-types/commands/RejectInboundCrossClusterSearchConnectionCommand.d.ts +3 -8
- package/dist-types/commands/RemoveTagsCommand.d.ts +3 -8
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +3 -8
- package/dist-types/commands/StartElasticsearchServiceSoftwareUpdateCommand.d.ts +3 -8
- package/dist-types/commands/UpdateElasticsearchDomainConfigCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePackageCommand.d.ts +3 -8
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +3 -8
- package/dist-types/commands/UpgradeElasticsearchDomainCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AcceptInboundCrossClusterSearchConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AuthorizeVpcEndpointAccessCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CancelDomainConfigChangeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CancelElasticsearchServiceSoftwareUpdateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateElasticsearchDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateOutboundCrossClusterSearchConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteElasticsearchDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteElasticsearchServiceRoleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteInboundCrossClusterSearchConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteOutboundCrossClusterSearchConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeDomainChangeProgressCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeElasticsearchDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeElasticsearchDomainConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeElasticsearchDomainsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeElasticsearchInstanceTypeLimitsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeInboundCrossClusterSearchConnectionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeReservedElasticsearchInstancesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DissociatePackageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCompatibleElasticsearchVersionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPackageVersionHistoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDomainsForPackageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListElasticsearchInstanceTypesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListElasticsearchVersionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RejectInboundCrossClusterSearchConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartElasticsearchServiceSoftwareUpdateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateElasticsearchDomainConfigCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpgradeElasticsearchDomainCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetPackageVersionHistory$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPackageVersionHistoryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "GetPackageVersionHistory", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "GetPackageVersionHistoryCommand")
|
|
14
|
-
.sc(GetPackageVersionHistory$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPackageVersionHistoryCommand extends command(_ep0, _mw0, "GetPackageVersionHistory", GetPackageVersionHistory$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetUpgradeHistory$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetUpgradeHistoryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "GetUpgradeHistory", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "GetUpgradeHistoryCommand")
|
|
14
|
-
.sc(GetUpgradeHistory$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetUpgradeHistoryCommand extends command(_ep0, _mw0, "GetUpgradeHistory", GetUpgradeHistory$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetUpgradeStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetUpgradeStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "GetUpgradeStatus", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "GetUpgradeStatusCommand")
|
|
14
|
-
.sc(GetUpgradeStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetUpgradeStatusCommand extends command(_ep0, _mw0, "GetUpgradeStatus", GetUpgradeStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListDomainNames$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListDomainNamesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListDomainNames", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListDomainNamesCommand")
|
|
14
|
-
.sc(ListDomainNames$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListDomainNamesCommand extends command(_ep0, _mw0, "ListDomainNames", ListDomainNames$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListDomainsForPackage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListDomainsForPackageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListDomainsForPackage", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListDomainsForPackageCommand")
|
|
14
|
-
.sc(ListDomainsForPackage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListDomainsForPackageCommand extends command(_ep0, _mw0, "ListDomainsForPackage", ListDomainsForPackage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListElasticsearchInstanceTypes$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListElasticsearchInstanceTypesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListElasticsearchInstanceTypes", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListElasticsearchInstanceTypesCommand")
|
|
14
|
-
.sc(ListElasticsearchInstanceTypes$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListElasticsearchInstanceTypesCommand extends command(_ep0, _mw0, "ListElasticsearchInstanceTypes", ListElasticsearchInstanceTypes$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListElasticsearchVersions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListElasticsearchVersionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListElasticsearchVersions", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListElasticsearchVersionsCommand")
|
|
14
|
-
.sc(ListElasticsearchVersions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListElasticsearchVersionsCommand extends command(_ep0, _mw0, "ListElasticsearchVersions", ListElasticsearchVersions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPackagesForDomain$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPackagesForDomainCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListPackagesForDomain", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListPackagesForDomainCommand")
|
|
14
|
-
.sc(ListPackagesForDomain$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPackagesForDomainCommand extends command(_ep0, _mw0, "ListPackagesForDomain", ListPackagesForDomain$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTags$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListTags", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListTagsCommand")
|
|
14
|
-
.sc(ListTags$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListVpcEndpointAccess$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListVpcEndpointAccessCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListVpcEndpointAccess", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListVpcEndpointAccessCommand")
|
|
14
|
-
.sc(ListVpcEndpointAccess$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListVpcEndpointAccessCommand extends command(_ep0, _mw0, "ListVpcEndpointAccess", ListVpcEndpointAccess$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListVpcEndpoints$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListVpcEndpointsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListVpcEndpoints", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListVpcEndpointsCommand")
|
|
14
|
-
.sc(ListVpcEndpoints$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListVpcEndpointsCommand extends command(_ep0, _mw0, "ListVpcEndpoints", ListVpcEndpoints$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListVpcEndpointsForDomain$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListVpcEndpointsForDomainCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "ListVpcEndpointsForDomain", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "ListVpcEndpointsForDomainCommand")
|
|
14
|
-
.sc(ListVpcEndpointsForDomain$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListVpcEndpointsForDomainCommand extends command(_ep0, _mw0, "ListVpcEndpointsForDomain", ListVpcEndpointsForDomain$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PurchaseReservedElasticsearchInstanceOffering$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PurchaseReservedElasticsearchInstanceOfferingCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "PurchaseReservedElasticsearchInstanceOffering", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "PurchaseReservedElasticsearchInstanceOfferingCommand")
|
|
14
|
-
.sc(PurchaseReservedElasticsearchInstanceOffering$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PurchaseReservedElasticsearchInstanceOfferingCommand extends command(_ep0, _mw0, "PurchaseReservedElasticsearchInstanceOffering", PurchaseReservedElasticsearchInstanceOffering$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RejectInboundCrossClusterSearchConnection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RejectInboundCrossClusterSearchConnectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "RejectInboundCrossClusterSearchConnection", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "RejectInboundCrossClusterSearchConnectionCommand")
|
|
14
|
-
.sc(RejectInboundCrossClusterSearchConnection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RejectInboundCrossClusterSearchConnectionCommand extends command(_ep0, _mw0, "RejectInboundCrossClusterSearchConnection", RejectInboundCrossClusterSearchConnection$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemoveTags$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveTagsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "RemoveTags", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "RemoveTagsCommand")
|
|
14
|
-
.sc(RemoveTags$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemoveTagsCommand extends command(_ep0, _mw0, "RemoveTags", RemoveTags$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RevokeVpcEndpointAccess$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RevokeVpcEndpointAccessCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "RevokeVpcEndpointAccess", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "RevokeVpcEndpointAccessCommand")
|
|
14
|
-
.sc(RevokeVpcEndpointAccess$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RevokeVpcEndpointAccessCommand extends command(_ep0, _mw0, "RevokeVpcEndpointAccess", RevokeVpcEndpointAccess$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartElasticsearchServiceSoftwareUpdate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartElasticsearchServiceSoftwareUpdateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "StartElasticsearchServiceSoftwareUpdate", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "StartElasticsearchServiceSoftwareUpdateCommand")
|
|
14
|
-
.sc(StartElasticsearchServiceSoftwareUpdate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartElasticsearchServiceSoftwareUpdateCommand extends command(_ep0, _mw0, "StartElasticsearchServiceSoftwareUpdate", StartElasticsearchServiceSoftwareUpdate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateElasticsearchDomainConfig$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateElasticsearchDomainConfigCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "UpdateElasticsearchDomainConfig", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "UpdateElasticsearchDomainConfigCommand")
|
|
14
|
-
.sc(UpdateElasticsearchDomainConfig$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateElasticsearchDomainConfigCommand extends command(_ep0, _mw0, "UpdateElasticsearchDomainConfig", UpdateElasticsearchDomainConfig$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePackage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePackageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "UpdatePackage", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "UpdatePackageCommand")
|
|
14
|
-
.sc(UpdatePackage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePackageCommand extends command(_ep0, _mw0, "UpdatePackage", UpdatePackage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateVpcEndpoint$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateVpcEndpointCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "UpdateVpcEndpoint", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "UpdateVpcEndpointCommand")
|
|
14
|
-
.sc(UpdateVpcEndpoint$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateVpcEndpointCommand extends command(_ep0, _mw0, "UpdateVpcEndpoint", UpdateVpcEndpoint$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpgradeElasticsearchDomain$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpgradeElasticsearchDomainCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonElasticsearchService2015", "UpgradeElasticsearchDomain", {})
|
|
13
|
-
.n("ElasticsearchServiceClient", "UpgradeElasticsearchDomainCommand")
|
|
14
|
-
.sc(UpgradeElasticsearchDomain$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpgradeElasticsearchDomainCommand extends command(_ep0, _mw0, "UpgradeElasticsearchDomain", UpgradeElasticsearchDomain$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./ElasticsearchServiceClient";
|
|
2
2
|
export * from "./ElasticsearchService";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
33
|
serviceTarget: "AmazonElasticsearchService2015",
|
|
33
34
|
},
|
|
34
35
|
serviceId: config?.serviceId ?? "Elasticsearch Service",
|
|
36
|
+
sha256: config?.sha256 ?? Sha256,
|
|
35
37
|
urlParser: config?.urlParser ?? parseUrl,
|
|
36
38
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
39
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ElasticsearchServiceClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
4
2
|
import type { AcceptInboundCrossClusterSearchConnectionRequest, AcceptInboundCrossClusterSearchConnectionResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AcceptInboundCrossClusterSearchConnectionCommandInput extends A
|
|
|
22
19
|
export interface AcceptInboundCrossClusterSearchConnectionCommandOutput extends AcceptInboundCrossClusterSearchConnectionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AcceptInboundCrossClusterSearchConnectionCommand_base: {
|
|
25
|
-
new (input: AcceptInboundCrossClusterSearchConnectionCommandInput): import("@smithy/core/client").CommandImpl<AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCrossClusterSearchConnectionCommandOutput, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AcceptInboundCrossClusterSearchConnectionCommandInput): import("@smithy/core/client").CommandImpl<AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCrossClusterSearchConnectionCommandOutput, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AcceptInboundCrossClusterSearchConnectionCommandInput): import("@smithy/core/client").CommandImpl<AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCrossClusterSearchConnectionCommandOutput, import("..").ElasticsearchServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AcceptInboundCrossClusterSearchConnectionCommandInput): import("@smithy/core/client").CommandImpl<AcceptInboundCrossClusterSearchConnectionCommandInput, AcceptInboundCrossClusterSearchConnectionCommandOutput, import("..").ElasticsearchServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Allows the destination domain owner to accept an inbound cross-cluster search connection request.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
4
2
|
import type { AddTagsRequest } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AddTagsCommandInput extends AddTagsRequest {
|
|
|
22
19
|
export interface AddTagsCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AddTagsCommand_base: {
|
|
25
|
-
new (input: AddTagsCommandInput): import("@smithy/core/client").CommandImpl<AddTagsCommandInput, AddTagsCommandOutput, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AddTagsCommandInput): import("@smithy/core/client").CommandImpl<AddTagsCommandInput, AddTagsCommandOutput, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AddTagsCommandInput): import("@smithy/core/client").CommandImpl<AddTagsCommandInput, AddTagsCommandOutput, import("..").ElasticsearchServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AddTagsCommandInput): import("@smithy/core/client").CommandImpl<AddTagsCommandInput, AddTagsCommandOutput, import("..").ElasticsearchServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See <a href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-managedomains.html#es-managedomains-awsresorcetagging" target="_blank">
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
4
2
|
import type { AssociatePackageRequest, AssociatePackageResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociatePackageCommandInput extends AssociatePackageRequest {
|
|
|
22
19
|
export interface AssociatePackageCommandOutput extends AssociatePackageResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociatePackageCommand_base: {
|
|
25
|
-
new (input: AssociatePackageCommandInput): import("@smithy/core/client").CommandImpl<AssociatePackageCommandInput, AssociatePackageCommandOutput, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociatePackageCommandInput): import("@smithy/core/client").CommandImpl<AssociatePackageCommandInput, AssociatePackageCommandOutput, ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociatePackageCommandInput): import("@smithy/core/client").CommandImpl<AssociatePackageCommandInput, AssociatePackageCommandOutput, import("..").ElasticsearchServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociatePackageCommandInput): import("@smithy/core/client").CommandImpl<AssociatePackageCommandInput, AssociatePackageCommandOutput, import("..").ElasticsearchServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Associates a package with an Amazon ES domain.</p>
|