@aws-sdk/client-elasticsearch-service 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/ElasticsearchService.js +173 -166
- package/dist-es/ElasticsearchServiceClient.js +28 -22
- package/dist-es/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +28 -21
- package/dist-es/commands/AddTagsCommand.js +29 -22
- package/dist-es/commands/AssociatePackageCommand.js +28 -21
- package/dist-es/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +28 -21
- package/dist-es/commands/CreateElasticsearchDomainCommand.js +28 -21
- package/dist-es/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +28 -21
- package/dist-es/commands/CreatePackageCommand.js +28 -21
- package/dist-es/commands/DeleteElasticsearchDomainCommand.js +28 -21
- package/dist-es/commands/DeleteElasticsearchServiceRoleCommand.js +30 -23
- package/dist-es/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +28 -21
- package/dist-es/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +28 -21
- package/dist-es/commands/DeletePackageCommand.js +28 -21
- package/dist-es/commands/DescribeDomainAutoTunesCommand.js +28 -21
- package/dist-es/commands/DescribeDomainChangeProgressCommand.js +28 -21
- package/dist-es/commands/DescribeElasticsearchDomainCommand.js +28 -21
- package/dist-es/commands/DescribeElasticsearchDomainConfigCommand.js +28 -21
- package/dist-es/commands/DescribeElasticsearchDomainsCommand.js +28 -21
- package/dist-es/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +28 -21
- package/dist-es/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +28 -21
- package/dist-es/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +28 -21
- package/dist-es/commands/DescribePackagesCommand.js +28 -21
- package/dist-es/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +28 -21
- package/dist-es/commands/DescribeReservedElasticsearchInstancesCommand.js +28 -21
- package/dist-es/commands/DissociatePackageCommand.js +28 -21
- package/dist-es/commands/GetCompatibleElasticsearchVersionsCommand.js +28 -21
- package/dist-es/commands/GetPackageVersionHistoryCommand.js +28 -21
- package/dist-es/commands/GetUpgradeHistoryCommand.js +28 -21
- package/dist-es/commands/GetUpgradeStatusCommand.js +28 -21
- package/dist-es/commands/ListDomainNamesCommand.js +28 -21
- package/dist-es/commands/ListDomainsForPackageCommand.js +28 -21
- package/dist-es/commands/ListElasticsearchInstanceTypesCommand.js +28 -21
- package/dist-es/commands/ListElasticsearchVersionsCommand.js +28 -21
- package/dist-es/commands/ListPackagesForDomainCommand.js +28 -21
- package/dist-es/commands/ListTagsCommand.js +28 -21
- package/dist-es/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +28 -21
- package/dist-es/commands/RejectInboundCrossClusterSearchConnectionCommand.js +28 -21
- package/dist-es/commands/RemoveTagsCommand.js +29 -22
- package/dist-es/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +28 -21
- package/dist-es/commands/UpdateElasticsearchDomainConfigCommand.js +28 -21
- package/dist-es/commands/UpdatePackageCommand.js +28 -21
- package/dist-es/commands/UpgradeElasticsearchDomainCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ElasticsearchServiceServiceException.js +10 -5
- package/dist-es/models/models_0.js +279 -591
- package/dist-es/pagination/DescribeDomainAutoTunesPaginator.js +68 -25
- package/dist-es/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js +68 -25
- package/dist-es/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js +68 -25
- package/dist-es/pagination/DescribePackagesPaginator.js +68 -25
- package/dist-es/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js +68 -25
- package/dist-es/pagination/DescribeReservedElasticsearchInstancesPaginator.js +68 -25
- package/dist-es/pagination/GetPackageVersionHistoryPaginator.js +68 -25
- package/dist-es/pagination/GetUpgradeHistoryPaginator.js +68 -25
- package/dist-es/pagination/ListDomainsForPackagePaginator.js +68 -25
- package/dist-es/pagination/ListElasticsearchInstanceTypesPaginator.js +68 -25
- package/dist-es/pagination/ListElasticsearchVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListPackagesForDomainPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +4382 -3228
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var ElasticsearchServiceClient = (function (_super) {
|
|
13
|
+
__extends(ElasticsearchServiceClient, _super);
|
|
14
|
+
function ElasticsearchServiceClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
ElasticsearchServiceClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return ElasticsearchServiceClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { ElasticsearchServiceClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AcceptInboundCrossClusterSearchConnectionRequestFilterSensitiveLog, AcceptInboundCrossClusterSearchConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand, serializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AcceptInboundCrossClusterSearchConnectionCommand = (function (_super) {
|
|
7
|
+
__extends(AcceptInboundCrossClusterSearchConnectionCommand, _super);
|
|
8
|
+
function AcceptInboundCrossClusterSearchConnectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AcceptInboundCrossClusterSearchConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "AcceptInboundCrossClusterSearchConnectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AcceptInboundCrossClusterSearchConnectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AcceptInboundCrossClusterSearchConnectionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AcceptInboundCrossClusterSearchConnectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AcceptInboundCrossClusterSearchConnectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AcceptInboundCrossClusterSearchConnectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AcceptInboundCrossClusterSearchConnectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AcceptInboundCrossClusterSearchConnectionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AddTagsRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AddTagsCommand, serializeAws_restJson1AddTagsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AddTagsCommand = (function (_super) {
|
|
7
|
+
__extends(AddTagsCommand, _super);
|
|
8
|
+
function AddTagsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AddTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "AddTagsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AddTagsRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AddTagsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AddTagsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AddTagsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AddTagsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AddTagsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AddTagsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociatePackageRequestFilterSensitiveLog, AssociatePackageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociatePackageCommand, serializeAws_restJson1AssociatePackageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociatePackageCommand = (function (_super) {
|
|
7
|
+
__extends(AssociatePackageCommand, _super);
|
|
8
|
+
function AssociatePackageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociatePackageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "AssociatePackageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociatePackageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociatePackageResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociatePackageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociatePackageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociatePackageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociatePackageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociatePackageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociatePackageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CancelElasticsearchServiceSoftwareUpdateRequestFilterSensitiveLog, CancelElasticsearchServiceSoftwareUpdateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand, serializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CancelElasticsearchServiceSoftwareUpdateCommand = (function (_super) {
|
|
7
|
+
__extends(CancelElasticsearchServiceSoftwareUpdateCommand, _super);
|
|
8
|
+
function CancelElasticsearchServiceSoftwareUpdateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CancelElasticsearchServiceSoftwareUpdateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "CancelElasticsearchServiceSoftwareUpdateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CancelElasticsearchServiceSoftwareUpdateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CancelElasticsearchServiceSoftwareUpdateResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CancelElasticsearchServiceSoftwareUpdateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CancelElasticsearchServiceSoftwareUpdateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CancelElasticsearchServiceSoftwareUpdateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CancelElasticsearchServiceSoftwareUpdateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CancelElasticsearchServiceSoftwareUpdateCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateElasticsearchDomainRequestFilterSensitiveLog, CreateElasticsearchDomainResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateElasticsearchDomainCommand, serializeAws_restJson1CreateElasticsearchDomainCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateElasticsearchDomainCommand = (function (_super) {
|
|
7
|
+
__extends(CreateElasticsearchDomainCommand, _super);
|
|
8
|
+
function CreateElasticsearchDomainCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateElasticsearchDomainCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "CreateElasticsearchDomainCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateElasticsearchDomainRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateElasticsearchDomainResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateElasticsearchDomainCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateElasticsearchDomainCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateElasticsearchDomainCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateElasticsearchDomainCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateElasticsearchDomainCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateElasticsearchDomainCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateOutboundCrossClusterSearchConnectionRequestFilterSensitiveLog, CreateOutboundCrossClusterSearchConnectionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand, serializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateOutboundCrossClusterSearchConnectionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateOutboundCrossClusterSearchConnectionCommand, _super);
|
|
8
|
+
function CreateOutboundCrossClusterSearchConnectionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateOutboundCrossClusterSearchConnectionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "CreateOutboundCrossClusterSearchConnectionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateOutboundCrossClusterSearchConnectionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateOutboundCrossClusterSearchConnectionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateOutboundCrossClusterSearchConnectionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateOutboundCrossClusterSearchConnectionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreateOutboundCrossClusterSearchConnectionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateOutboundCrossClusterSearchConnectionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateOutboundCrossClusterSearchConnectionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreatePackageRequestFilterSensitiveLog, CreatePackageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CreatePackageCommand, serializeAws_restJson1CreatePackageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreatePackageCommand = (function (_super) {
|
|
7
|
+
__extends(CreatePackageCommand, _super);
|
|
8
|
+
function CreatePackageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreatePackageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "CreatePackageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreatePackageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreatePackageResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreatePackageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CreatePackageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreatePackageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CreatePackageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreatePackageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreatePackageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteElasticsearchDomainRequestFilterSensitiveLog, DeleteElasticsearchDomainResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DeleteElasticsearchDomainCommand, serializeAws_restJson1DeleteElasticsearchDomainCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteElasticsearchDomainCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteElasticsearchDomainCommand, _super);
|
|
8
|
+
function DeleteElasticsearchDomainCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteElasticsearchDomainCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ElasticsearchServiceClient";
|
|
18
|
+
var commandName = "DeleteElasticsearchDomainCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteElasticsearchDomainRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteElasticsearchDomainResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteElasticsearchDomainCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DeleteElasticsearchDomainCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteElasticsearchDomainCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DeleteElasticsearchDomainCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteElasticsearchDomainCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteElasticsearchDomainCommand };
|
|
@@ -1,31 +1,38 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { deserializeAws_restJson1DeleteElasticsearchServiceRoleCommand, serializeAws_restJson1DeleteElasticsearchServiceRoleCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
var DeleteElasticsearchServiceRoleCommand = (function (_super) {
|
|
6
|
+
__extends(DeleteElasticsearchServiceRoleCommand, _super);
|
|
7
|
+
function DeleteElasticsearchServiceRoleCommand(input) {
|
|
8
|
+
var _this = _super.call(this) || this;
|
|
9
|
+
_this.input = input;
|
|
10
|
+
return _this;
|
|
8
11
|
}
|
|
9
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
12
|
+
DeleteElasticsearchServiceRoleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
10
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
logger,
|
|
17
|
-
clientName,
|
|
18
|
-
commandName,
|
|
19
|
-
inputFilterSensitiveLog: (input)
|
|
20
|
-
outputFilterSensitiveLog: (output)
|
|
14
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
var logger = configuration.logger;
|
|
16
|
+
var clientName = "ElasticsearchServiceClient";
|
|
17
|
+
var commandName = "DeleteElasticsearchServiceRoleCommand";
|
|
18
|
+
var handlerExecutionContext = {
|
|
19
|
+
logger: logger,
|
|
20
|
+
clientName: clientName,
|
|
21
|
+
commandName: commandName,
|
|
22
|
+
inputFilterSensitiveLog: function (input) { return input; },
|
|
23
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
21
24
|
};
|
|
22
|
-
|
|
23
|
-
return stack.resolve((request)
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
var requestHandler = configuration.requestHandler;
|
|
26
|
+
return stack.resolve(function (request) {
|
|
27
|
+
return requestHandler.handle(request.request, options || {});
|
|
28
|
+
}, handlerExecutionContext);
|
|
29
|
+
};
|
|
30
|
+
DeleteElasticsearchServiceRoleCommand.prototype.serialize = function (input, context) {
|
|
26
31
|
return serializeAws_restJson1DeleteElasticsearchServiceRoleCommand(input, context);
|
|
27
|
-
}
|
|
28
|
-
deserialize(output, context) {
|
|
32
|
+
};
|
|
33
|
+
DeleteElasticsearchServiceRoleCommand.prototype.deserialize = function (output, context) {
|
|
29
34
|
return deserializeAws_restJson1DeleteElasticsearchServiceRoleCommand(output, context);
|
|
30
|
-
}
|
|
31
|
-
|
|
35
|
+
};
|
|
36
|
+
return DeleteElasticsearchServiceRoleCommand;
|
|
37
|
+
}($Command));
|
|
38
|
+
export { DeleteElasticsearchServiceRoleCommand };
|