@aws-sdk/client-elasticsearch-service 3.54.0 → 3.56.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/CHANGELOG.md +24 -0
- package/dist-cjs/ElasticsearchServiceClient.js +13 -13
- package/dist-cjs/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist-cjs/commands/AddTagsCommand.js +3 -3
- package/dist-cjs/commands/AssociatePackageCommand.js +3 -3
- package/dist-cjs/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +3 -3
- package/dist-cjs/commands/CreateElasticsearchDomainCommand.js +3 -3
- package/dist-cjs/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist-cjs/commands/CreatePackageCommand.js +3 -3
- package/dist-cjs/commands/DeleteElasticsearchDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteElasticsearchServiceRoleCommand.js +3 -3
- package/dist-cjs/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist-cjs/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist-cjs/commands/DeletePackageCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainAutoTunesCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainChangeProgressCommand.js +3 -3
- package/dist-cjs/commands/DescribeElasticsearchDomainCommand.js +3 -3
- package/dist-cjs/commands/DescribeElasticsearchDomainConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeElasticsearchDomainsCommand.js +3 -3
- package/dist-cjs/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +3 -3
- package/dist-cjs/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +3 -3
- package/dist-cjs/commands/DescribePackagesCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedElasticsearchInstancesCommand.js +3 -3
- package/dist-cjs/commands/DissociatePackageCommand.js +3 -3
- package/dist-cjs/commands/GetCompatibleElasticsearchVersionsCommand.js +3 -3
- package/dist-cjs/commands/GetPackageVersionHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetUpgradeHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetUpgradeStatusCommand.js +3 -3
- package/dist-cjs/commands/ListDomainNamesCommand.js +3 -3
- package/dist-cjs/commands/ListDomainsForPackageCommand.js +3 -3
- package/dist-cjs/commands/ListElasticsearchInstanceTypesCommand.js +3 -3
- package/dist-cjs/commands/ListElasticsearchVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListPackagesForDomainCommand.js +3 -3
- package/dist-cjs/commands/ListTagsCommand.js +3 -3
- package/dist-cjs/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +3 -3
- package/dist-cjs/commands/RejectInboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist-cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist-cjs/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +3 -3
- package/dist-cjs/commands/UpdateElasticsearchDomainConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdatePackageCommand.js +3 -3
- package/dist-cjs/commands/UpgradeElasticsearchDomainCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +320 -320
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/ElasticsearchService.js +41 -41
- package/dist-es/pagination/DescribeDomainAutoTunesPaginator.js +4 -4
- package/dist-es/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js +4 -4
- package/dist-es/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js +4 -4
- package/dist-es/pagination/DescribePackagesPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js +4 -4
- package/dist-es/pagination/DescribeReservedElasticsearchInstancesPaginator.js +4 -4
- package/dist-es/pagination/GetPackageVersionHistoryPaginator.js +4 -4
- package/dist-es/pagination/GetUpgradeHistoryPaginator.js +4 -4
- package/dist-es/pagination/ListDomainsForPackagePaginator.js +4 -4
- package/dist-es/pagination/ListElasticsearchInstanceTypesPaginator.js +4 -4
- package/dist-es/pagination/ListElasticsearchVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListPackagesForDomainPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +41 -41
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetPackageVersionHistoryCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetPackageVersionHistoryCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getPackageVersionHistory.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getPackageVersionHistory.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetPackageVersionHistory(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElasticsearchService)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElasticsearchServiceClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetUpgradeHistoryCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetUpgradeHistoryCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getUpgradeHistory.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getUpgradeHistory.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetUpgradeHistory(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElasticsearchService)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElasticsearchServiceClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListDomainsForPackageCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDomainsForPackageCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listDomainsForPackage.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDomainsForPackage.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListDomainsForPackage(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElasticsearchService)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElasticsearchServiceClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListElasticsearchInstanceTypesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListElasticsearchInstanceTypesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listElasticsearchInstanceTypes.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listElasticsearchInstanceTypes.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListElasticsearchInstanceTypes(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElasticsearchService)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElasticsearchServiceClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListElasticsearchVersionsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListElasticsearchVersionsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listElasticsearchVersions.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listElasticsearchVersions.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListElasticsearchVersions(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElasticsearchService)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElasticsearchServiceClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListPackagesForDomainCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListPackagesForDomainCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listPackagesForDomain.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listPackagesForDomain.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListPackagesForDomain(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ElasticsearchService)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ElasticsearchServiceClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -11,7 +11,7 @@ export var serializeAws_restJson1AcceptInboundCrossClusterSearchConnectionComman
|
|
|
11
11
|
case 1:
|
|
12
12
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
13
13
|
headers = {};
|
|
14
|
-
resolvedPath = ""
|
|
14
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
15
15
|
"/2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}/accept";
|
|
16
16
|
if (input.CrossClusterSearchConnectionId !== undefined) {
|
|
17
17
|
labelValue = input.CrossClusterSearchConnectionId;
|
|
@@ -45,7 +45,7 @@ export var serializeAws_restJson1AddTagsCommand = function (input, context) { re
|
|
|
45
45
|
headers = {
|
|
46
46
|
"content-type": "application/json",
|
|
47
47
|
};
|
|
48
|
-
resolvedPath = ""
|
|
48
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/tags";
|
|
49
49
|
body = JSON.stringify(__assign(__assign({}, (input.ARN !== undefined && input.ARN !== null && { ARN: input.ARN })), (input.TagList !== undefined &&
|
|
50
50
|
input.TagList !== null && { TagList: serializeAws_restJson1TagList(input.TagList, context) })));
|
|
51
51
|
return [2, new __HttpRequest({
|
|
@@ -68,7 +68,7 @@ export var serializeAws_restJson1AssociatePackageCommand = function (input, cont
|
|
|
68
68
|
case 1:
|
|
69
69
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
70
70
|
headers = {};
|
|
71
|
-
resolvedPath = ""
|
|
71
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
72
72
|
"/2015-01-01/packages/associate/{PackageID}/{DomainName}";
|
|
73
73
|
if (input.PackageID !== undefined) {
|
|
74
74
|
labelValue = input.PackageID;
|
|
@@ -112,7 +112,7 @@ export var serializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand
|
|
|
112
112
|
headers = {
|
|
113
113
|
"content-type": "application/json",
|
|
114
114
|
};
|
|
115
|
-
resolvedPath = ""
|
|
115
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
116
116
|
"/2015-01-01/es/serviceSoftwareUpdate/cancel";
|
|
117
117
|
body = JSON.stringify(__assign({}, (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })));
|
|
118
118
|
return [2, new __HttpRequest({
|
|
@@ -137,7 +137,7 @@ export var serializeAws_restJson1CreateElasticsearchDomainCommand = function (in
|
|
|
137
137
|
headers = {
|
|
138
138
|
"content-type": "application/json",
|
|
139
139
|
};
|
|
140
|
-
resolvedPath = ""
|
|
140
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/domain";
|
|
141
141
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicies !== undefined &&
|
|
142
142
|
input.AccessPolicies !== null && { AccessPolicies: input.AccessPolicies })), (input.AdvancedOptions !== undefined &&
|
|
143
143
|
input.AdvancedOptions !== null && {
|
|
@@ -196,7 +196,7 @@ export var serializeAws_restJson1CreateOutboundCrossClusterSearchConnectionComma
|
|
|
196
196
|
headers = {
|
|
197
197
|
"content-type": "application/json",
|
|
198
198
|
};
|
|
199
|
-
resolvedPath = ""
|
|
199
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/ccs/outboundConnection";
|
|
200
200
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.ConnectionAlias !== undefined &&
|
|
201
201
|
input.ConnectionAlias !== null && { ConnectionAlias: input.ConnectionAlias })), (input.DestinationDomainInfo !== undefined &&
|
|
202
202
|
input.DestinationDomainInfo !== null && {
|
|
@@ -227,7 +227,7 @@ export var serializeAws_restJson1CreatePackageCommand = function (input, context
|
|
|
227
227
|
headers = {
|
|
228
228
|
"content-type": "application/json",
|
|
229
229
|
};
|
|
230
|
-
resolvedPath = ""
|
|
230
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/packages";
|
|
231
231
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.PackageDescription !== undefined &&
|
|
232
232
|
input.PackageDescription !== null && { PackageDescription: input.PackageDescription })), (input.PackageName !== undefined && input.PackageName !== null && { PackageName: input.PackageName })), (input.PackageSource !== undefined &&
|
|
233
233
|
input.PackageSource !== null && {
|
|
@@ -253,7 +253,7 @@ export var serializeAws_restJson1DeleteElasticsearchDomainCommand = function (in
|
|
|
253
253
|
case 1:
|
|
254
254
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
255
255
|
headers = {};
|
|
256
|
-
resolvedPath = ""
|
|
256
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/domain/{DomainName}";
|
|
257
257
|
if (input.DomainName !== undefined) {
|
|
258
258
|
labelValue = input.DomainName;
|
|
259
259
|
if (labelValue.length <= 0) {
|
|
@@ -286,7 +286,7 @@ export var serializeAws_restJson1DeleteElasticsearchServiceRoleCommand = functio
|
|
|
286
286
|
headers = {
|
|
287
287
|
"content-type": "application/json",
|
|
288
288
|
};
|
|
289
|
-
resolvedPath = ""
|
|
289
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/role";
|
|
290
290
|
body = "";
|
|
291
291
|
return [2, new __HttpRequest({
|
|
292
292
|
protocol: protocol,
|
|
@@ -308,7 +308,7 @@ export var serializeAws_restJson1DeleteInboundCrossClusterSearchConnectionComman
|
|
|
308
308
|
case 1:
|
|
309
309
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
310
310
|
headers = {};
|
|
311
|
-
resolvedPath = ""
|
|
311
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
312
312
|
"/2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}";
|
|
313
313
|
if (input.CrossClusterSearchConnectionId !== undefined) {
|
|
314
314
|
labelValue = input.CrossClusterSearchConnectionId;
|
|
@@ -340,7 +340,7 @@ export var serializeAws_restJson1DeleteOutboundCrossClusterSearchConnectionComma
|
|
|
340
340
|
case 1:
|
|
341
341
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
342
342
|
headers = {};
|
|
343
|
-
resolvedPath = ""
|
|
343
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
344
344
|
"/2015-01-01/es/ccs/outboundConnection/{CrossClusterSearchConnectionId}";
|
|
345
345
|
if (input.CrossClusterSearchConnectionId !== undefined) {
|
|
346
346
|
labelValue = input.CrossClusterSearchConnectionId;
|
|
@@ -372,7 +372,7 @@ export var serializeAws_restJson1DeletePackageCommand = function (input, context
|
|
|
372
372
|
case 1:
|
|
373
373
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
374
374
|
headers = {};
|
|
375
|
-
resolvedPath = ""
|
|
375
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/packages/{PackageID}";
|
|
376
376
|
if (input.PackageID !== undefined) {
|
|
377
377
|
labelValue = input.PackageID;
|
|
378
378
|
if (labelValue.length <= 0) {
|
|
@@ -405,7 +405,7 @@ export var serializeAws_restJson1DescribeDomainAutoTunesCommand = function (inpu
|
|
|
405
405
|
headers = {
|
|
406
406
|
"content-type": "application/json",
|
|
407
407
|
};
|
|
408
|
-
resolvedPath = ""
|
|
408
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
409
409
|
"/2015-01-01/es/domain/{DomainName}/autoTunes";
|
|
410
410
|
if (input.DomainName !== undefined) {
|
|
411
411
|
labelValue = input.DomainName;
|
|
@@ -438,7 +438,7 @@ export var serializeAws_restJson1DescribeDomainChangeProgressCommand = function
|
|
|
438
438
|
case 1:
|
|
439
439
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
440
440
|
headers = {};
|
|
441
|
-
resolvedPath = ""
|
|
441
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
442
442
|
"/2015-01-01/es/domain/{DomainName}/progress";
|
|
443
443
|
if (input.DomainName !== undefined) {
|
|
444
444
|
labelValue = input.DomainName;
|
|
@@ -472,7 +472,7 @@ export var serializeAws_restJson1DescribeElasticsearchDomainCommand = function (
|
|
|
472
472
|
case 1:
|
|
473
473
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
474
474
|
headers = {};
|
|
475
|
-
resolvedPath = ""
|
|
475
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/domain/{DomainName}";
|
|
476
476
|
if (input.DomainName !== undefined) {
|
|
477
477
|
labelValue = input.DomainName;
|
|
478
478
|
if (labelValue.length <= 0) {
|
|
@@ -503,7 +503,7 @@ export var serializeAws_restJson1DescribeElasticsearchDomainConfigCommand = func
|
|
|
503
503
|
case 1:
|
|
504
504
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
505
505
|
headers = {};
|
|
506
|
-
resolvedPath = ""
|
|
506
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/domain/{DomainName}/config";
|
|
507
507
|
if (input.DomainName !== undefined) {
|
|
508
508
|
labelValue = input.DomainName;
|
|
509
509
|
if (labelValue.length <= 0) {
|
|
@@ -536,7 +536,7 @@ export var serializeAws_restJson1DescribeElasticsearchDomainsCommand = function
|
|
|
536
536
|
headers = {
|
|
537
537
|
"content-type": "application/json",
|
|
538
538
|
};
|
|
539
|
-
resolvedPath = ""
|
|
539
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/domain-info";
|
|
540
540
|
body = JSON.stringify(__assign({}, (input.DomainNames !== undefined &&
|
|
541
541
|
input.DomainNames !== null && { DomainNames: serializeAws_restJson1DomainNameList(input.DomainNames, context) })));
|
|
542
542
|
return [2, new __HttpRequest({
|
|
@@ -559,7 +559,7 @@ export var serializeAws_restJson1DescribeElasticsearchInstanceTypeLimitsCommand
|
|
|
559
559
|
case 1:
|
|
560
560
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
561
561
|
headers = {};
|
|
562
|
-
resolvedPath = ""
|
|
562
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
563
563
|
"/2015-01-01/es/instanceTypeLimits/{ElasticsearchVersion}/{InstanceType}";
|
|
564
564
|
if (input.InstanceType !== undefined) {
|
|
565
565
|
labelValue = input.InstanceType;
|
|
@@ -605,7 +605,7 @@ export var serializeAws_restJson1DescribeInboundCrossClusterSearchConnectionsCom
|
|
|
605
605
|
headers = {
|
|
606
606
|
"content-type": "application/json",
|
|
607
607
|
};
|
|
608
|
-
resolvedPath = ""
|
|
608
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
609
609
|
"/2015-01-01/es/ccs/inboundConnection/search";
|
|
610
610
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters !== undefined &&
|
|
611
611
|
input.Filters !== null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
@@ -631,7 +631,7 @@ export var serializeAws_restJson1DescribeOutboundCrossClusterSearchConnectionsCo
|
|
|
631
631
|
headers = {
|
|
632
632
|
"content-type": "application/json",
|
|
633
633
|
};
|
|
634
|
-
resolvedPath = ""
|
|
634
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
635
635
|
"/2015-01-01/es/ccs/outboundConnection/search";
|
|
636
636
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters !== undefined &&
|
|
637
637
|
input.Filters !== null && { Filters: serializeAws_restJson1FilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
@@ -657,7 +657,7 @@ export var serializeAws_restJson1DescribePackagesCommand = function (input, cont
|
|
|
657
657
|
headers = {
|
|
658
658
|
"content-type": "application/json",
|
|
659
659
|
};
|
|
660
|
-
resolvedPath = ""
|
|
660
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/packages/describe";
|
|
661
661
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.Filters !== undefined &&
|
|
662
662
|
input.Filters !== null && { Filters: serializeAws_restJson1DescribePackagesFilterList(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
663
663
|
return [2, new __HttpRequest({
|
|
@@ -680,7 +680,7 @@ export var serializeAws_restJson1DescribeReservedElasticsearchInstanceOfferingsC
|
|
|
680
680
|
case 1:
|
|
681
681
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
682
682
|
headers = {};
|
|
683
|
-
resolvedPath = ""
|
|
683
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/reservedInstanceOfferings";
|
|
684
684
|
query = __assign(__assign(__assign({}, (input.ReservedElasticsearchInstanceOfferingId !== undefined && {
|
|
685
685
|
offeringId: input.ReservedElasticsearchInstanceOfferingId,
|
|
686
686
|
})), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
@@ -705,7 +705,7 @@ export var serializeAws_restJson1DescribeReservedElasticsearchInstancesCommand =
|
|
|
705
705
|
case 1:
|
|
706
706
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
707
707
|
headers = {};
|
|
708
|
-
resolvedPath = ""
|
|
708
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/reservedInstances";
|
|
709
709
|
query = __assign(__assign(__assign({}, (input.ReservedElasticsearchInstanceId !== undefined && {
|
|
710
710
|
reservationId: input.ReservedElasticsearchInstanceId,
|
|
711
711
|
})), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
@@ -730,7 +730,7 @@ export var serializeAws_restJson1DissociatePackageCommand = function (input, con
|
|
|
730
730
|
case 1:
|
|
731
731
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
732
732
|
headers = {};
|
|
733
|
-
resolvedPath = ""
|
|
733
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
734
734
|
"/2015-01-01/packages/dissociate/{PackageID}/{DomainName}";
|
|
735
735
|
if (input.PackageID !== undefined) {
|
|
736
736
|
labelValue = input.PackageID;
|
|
@@ -772,7 +772,7 @@ export var serializeAws_restJson1GetCompatibleElasticsearchVersionsCommand = fun
|
|
|
772
772
|
case 1:
|
|
773
773
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
774
774
|
headers = {};
|
|
775
|
-
resolvedPath = ""
|
|
775
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/compatibleVersions";
|
|
776
776
|
query = __assign({}, (input.DomainName !== undefined && { domainName: input.DomainName }));
|
|
777
777
|
return [2, new __HttpRequest({
|
|
778
778
|
protocol: protocol,
|
|
@@ -795,7 +795,7 @@ export var serializeAws_restJson1GetPackageVersionHistoryCommand = function (inp
|
|
|
795
795
|
case 1:
|
|
796
796
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
797
797
|
headers = {};
|
|
798
|
-
resolvedPath = ""
|
|
798
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/packages/{PackageID}/history";
|
|
799
799
|
if (input.PackageID !== undefined) {
|
|
800
800
|
labelValue = input.PackageID;
|
|
801
801
|
if (labelValue.length <= 0) {
|
|
@@ -828,7 +828,7 @@ export var serializeAws_restJson1GetUpgradeHistoryCommand = function (input, con
|
|
|
828
828
|
case 1:
|
|
829
829
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
830
830
|
headers = {};
|
|
831
|
-
resolvedPath = ""
|
|
831
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
832
832
|
"/2015-01-01/es/upgradeDomain/{DomainName}/history";
|
|
833
833
|
if (input.DomainName !== undefined) {
|
|
834
834
|
labelValue = input.DomainName;
|
|
@@ -862,7 +862,7 @@ export var serializeAws_restJson1GetUpgradeStatusCommand = function (input, cont
|
|
|
862
862
|
case 1:
|
|
863
863
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
864
864
|
headers = {};
|
|
865
|
-
resolvedPath = ""
|
|
865
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
866
866
|
"/2015-01-01/es/upgradeDomain/{DomainName}/status";
|
|
867
867
|
if (input.DomainName !== undefined) {
|
|
868
868
|
labelValue = input.DomainName;
|
|
@@ -894,7 +894,7 @@ export var serializeAws_restJson1ListDomainNamesCommand = function (input, conte
|
|
|
894
894
|
case 1:
|
|
895
895
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
896
896
|
headers = {};
|
|
897
|
-
resolvedPath = ""
|
|
897
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/domain";
|
|
898
898
|
query = __assign({}, (input.EngineType !== undefined && { engineType: input.EngineType }));
|
|
899
899
|
return [2, new __HttpRequest({
|
|
900
900
|
protocol: protocol,
|
|
@@ -917,7 +917,7 @@ export var serializeAws_restJson1ListDomainsForPackageCommand = function (input,
|
|
|
917
917
|
case 1:
|
|
918
918
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
919
919
|
headers = {};
|
|
920
|
-
resolvedPath = ""
|
|
920
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/packages/{PackageID}/domains";
|
|
921
921
|
if (input.PackageID !== undefined) {
|
|
922
922
|
labelValue = input.PackageID;
|
|
923
923
|
if (labelValue.length <= 0) {
|
|
@@ -950,7 +950,7 @@ export var serializeAws_restJson1ListElasticsearchInstanceTypesCommand = functio
|
|
|
950
950
|
case 1:
|
|
951
951
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
952
952
|
headers = {};
|
|
953
|
-
resolvedPath = ""
|
|
953
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
954
954
|
"/2015-01-01/es/instanceTypes/{ElasticsearchVersion}";
|
|
955
955
|
if (input.ElasticsearchVersion !== undefined) {
|
|
956
956
|
labelValue = input.ElasticsearchVersion;
|
|
@@ -984,7 +984,7 @@ export var serializeAws_restJson1ListElasticsearchVersionsCommand = function (in
|
|
|
984
984
|
case 1:
|
|
985
985
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
986
986
|
headers = {};
|
|
987
|
-
resolvedPath = ""
|
|
987
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/versions";
|
|
988
988
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
989
989
|
return [2, new __HttpRequest({
|
|
990
990
|
protocol: protocol,
|
|
@@ -1007,7 +1007,7 @@ export var serializeAws_restJson1ListPackagesForDomainCommand = function (input,
|
|
|
1007
1007
|
case 1:
|
|
1008
1008
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1009
1009
|
headers = {};
|
|
1010
|
-
resolvedPath = ""
|
|
1010
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/domain/{DomainName}/packages";
|
|
1011
1011
|
if (input.DomainName !== undefined) {
|
|
1012
1012
|
labelValue = input.DomainName;
|
|
1013
1013
|
if (labelValue.length <= 0) {
|
|
@@ -1040,7 +1040,7 @@ export var serializeAws_restJson1ListTagsCommand = function (input, context) { r
|
|
|
1040
1040
|
case 1:
|
|
1041
1041
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1042
1042
|
headers = {};
|
|
1043
|
-
resolvedPath = ""
|
|
1043
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/tags";
|
|
1044
1044
|
query = __assign({}, (input.ARN !== undefined && { arn: input.ARN }));
|
|
1045
1045
|
return [2, new __HttpRequest({
|
|
1046
1046
|
protocol: protocol,
|
|
@@ -1065,7 +1065,7 @@ export var serializeAws_restJson1PurchaseReservedElasticsearchInstanceOfferingCo
|
|
|
1065
1065
|
headers = {
|
|
1066
1066
|
"content-type": "application/json",
|
|
1067
1067
|
};
|
|
1068
|
-
resolvedPath = ""
|
|
1068
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1069
1069
|
"/2015-01-01/es/purchaseReservedInstanceOffering";
|
|
1070
1070
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount })), (input.ReservationName !== undefined &&
|
|
1071
1071
|
input.ReservationName !== null && { ReservationName: input.ReservationName })), (input.ReservedElasticsearchInstanceOfferingId !== undefined &&
|
|
@@ -1092,7 +1092,7 @@ export var serializeAws_restJson1RejectInboundCrossClusterSearchConnectionComman
|
|
|
1092
1092
|
case 1:
|
|
1093
1093
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1094
1094
|
headers = {};
|
|
1095
|
-
resolvedPath = ""
|
|
1095
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1096
1096
|
"/2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}/reject";
|
|
1097
1097
|
if (input.CrossClusterSearchConnectionId !== undefined) {
|
|
1098
1098
|
labelValue = input.CrossClusterSearchConnectionId;
|
|
@@ -1126,7 +1126,7 @@ export var serializeAws_restJson1RemoveTagsCommand = function (input, context) {
|
|
|
1126
1126
|
headers = {
|
|
1127
1127
|
"content-type": "application/json",
|
|
1128
1128
|
};
|
|
1129
|
-
resolvedPath = ""
|
|
1129
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/tags-removal";
|
|
1130
1130
|
body = JSON.stringify(__assign(__assign({}, (input.ARN !== undefined && input.ARN !== null && { ARN: input.ARN })), (input.TagKeys !== undefined &&
|
|
1131
1131
|
input.TagKeys !== null && { TagKeys: serializeAws_restJson1StringList(input.TagKeys, context) })));
|
|
1132
1132
|
return [2, new __HttpRequest({
|
|
@@ -1151,7 +1151,7 @@ export var serializeAws_restJson1StartElasticsearchServiceSoftwareUpdateCommand
|
|
|
1151
1151
|
headers = {
|
|
1152
1152
|
"content-type": "application/json",
|
|
1153
1153
|
};
|
|
1154
|
-
resolvedPath = ""
|
|
1154
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1155
1155
|
"/2015-01-01/es/serviceSoftwareUpdate/start";
|
|
1156
1156
|
body = JSON.stringify(__assign({}, (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })));
|
|
1157
1157
|
return [2, new __HttpRequest({
|
|
@@ -1176,7 +1176,7 @@ export var serializeAws_restJson1UpdateElasticsearchDomainConfigCommand = functi
|
|
|
1176
1176
|
headers = {
|
|
1177
1177
|
"content-type": "application/json",
|
|
1178
1178
|
};
|
|
1179
|
-
resolvedPath = ""
|
|
1179
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/domain/{DomainName}/config";
|
|
1180
1180
|
if (input.DomainName !== undefined) {
|
|
1181
1181
|
labelValue = input.DomainName;
|
|
1182
1182
|
if (labelValue.length <= 0) {
|
|
@@ -1243,7 +1243,7 @@ export var serializeAws_restJson1UpdatePackageCommand = function (input, context
|
|
|
1243
1243
|
headers = {
|
|
1244
1244
|
"content-type": "application/json",
|
|
1245
1245
|
};
|
|
1246
|
-
resolvedPath = ""
|
|
1246
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/packages/update";
|
|
1247
1247
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.CommitMessage !== undefined && input.CommitMessage !== null && { CommitMessage: input.CommitMessage })), (input.PackageDescription !== undefined &&
|
|
1248
1248
|
input.PackageDescription !== null && { PackageDescription: input.PackageDescription })), (input.PackageID !== undefined && input.PackageID !== null && { PackageID: input.PackageID })), (input.PackageSource !== undefined &&
|
|
1249
1249
|
input.PackageSource !== null && {
|
|
@@ -1271,7 +1271,7 @@ export var serializeAws_restJson1UpgradeElasticsearchDomainCommand = function (i
|
|
|
1271
1271
|
headers = {
|
|
1272
1272
|
"content-type": "application/json",
|
|
1273
1273
|
};
|
|
1274
|
-
resolvedPath = ""
|
|
1274
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/2015-01-01/es/upgradeDomain";
|
|
1275
1275
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.PerformCheckOnly !== undefined &&
|
|
1276
1276
|
input.PerformCheckOnly !== null && { PerformCheckOnly: input.PerformCheckOnly })), (input.TargetVersion !== undefined && input.TargetVersion !== null && { TargetVersion: input.TargetVersion })));
|
|
1277
1277
|
return [2, new __HttpRequest({
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ElasticsearchServiceClientConfig
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: ElasticsearchServiceClientConfig
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|