@aws-sdk/client-elasticsearch-service 3.202.0 → 3.208.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.
Files changed (68) hide show
  1. package/dist-cjs/ElasticsearchService.js +135 -0
  2. package/dist-cjs/commands/AuthorizeVpcEndpointAccessCommand.js +46 -0
  3. package/dist-cjs/commands/CreateVpcEndpointCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteVpcEndpointCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeVpcEndpointsCommand.js +46 -0
  6. package/dist-cjs/commands/ListVpcEndpointAccessCommand.js +46 -0
  7. package/dist-cjs/commands/ListVpcEndpointsCommand.js +46 -0
  8. package/dist-cjs/commands/ListVpcEndpointsForDomainCommand.js +46 -0
  9. package/dist-cjs/commands/RevokeVpcEndpointAccessCommand.js +46 -0
  10. package/dist-cjs/commands/UpdateVpcEndpointCommand.js +46 -0
  11. package/dist-cjs/commands/index.js +9 -0
  12. package/dist-cjs/models/models_0.js +249 -4
  13. package/dist-cjs/protocols/Aws_restJson1.js +764 -72
  14. package/dist-cjs/runtimeConfig.browser.js +0 -3
  15. package/dist-cjs/runtimeConfig.js +0 -3
  16. package/dist-cjs/runtimeConfig.shared.js +3 -0
  17. package/dist-es/ElasticsearchService.js +135 -0
  18. package/dist-es/commands/AuthorizeVpcEndpointAccessCommand.js +42 -0
  19. package/dist-es/commands/CreateVpcEndpointCommand.js +42 -0
  20. package/dist-es/commands/DeleteVpcEndpointCommand.js +42 -0
  21. package/dist-es/commands/DescribeVpcEndpointsCommand.js +42 -0
  22. package/dist-es/commands/ListVpcEndpointAccessCommand.js +42 -0
  23. package/dist-es/commands/ListVpcEndpointsCommand.js +42 -0
  24. package/dist-es/commands/ListVpcEndpointsForDomainCommand.js +42 -0
  25. package/dist-es/commands/RevokeVpcEndpointAccessCommand.js +42 -0
  26. package/dist-es/commands/UpdateVpcEndpointCommand.js +42 -0
  27. package/dist-es/commands/index.js +9 -0
  28. package/dist-es/models/models_0.js +222 -0
  29. package/dist-es/protocols/Aws_restJson1.js +741 -67
  30. package/dist-es/runtimeConfig.browser.js +0 -3
  31. package/dist-es/runtimeConfig.js +0 -3
  32. package/dist-es/runtimeConfig.shared.js +3 -0
  33. package/dist-types/ElasticsearchService.d.ts +65 -0
  34. package/dist-types/ElasticsearchServiceClient.d.ts +11 -2
  35. package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +37 -0
  36. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +37 -0
  37. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +37 -0
  38. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +37 -0
  39. package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +38 -0
  40. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +37 -0
  41. package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +37 -0
  42. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +38 -0
  43. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +37 -0
  44. package/dist-types/commands/index.d.ts +9 -0
  45. package/dist-types/models/models_0.d.ts +523 -12
  46. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  47. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  48. package/dist-types/runtimeConfig.d.ts +2 -2
  49. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  50. package/dist-types/ts3.4/ElasticsearchService.d.ts +153 -0
  51. package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +54 -0
  52. package/dist-types/ts3.4/commands/AuthorizeVpcEndpointAccessCommand.d.ts +41 -0
  53. package/dist-types/ts3.4/commands/CreateVpcEndpointCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/DeleteVpcEndpointCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +41 -0
  56. package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +41 -0
  57. package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +37 -0
  58. package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +41 -0
  59. package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +41 -0
  60. package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +38 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +291 -104
  63. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  64. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  65. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  66. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  67. package/package.json +35 -34
  68. package/CHANGELOG.md +0 -4175
@@ -4,15 +4,18 @@ exports.ElasticsearchService = void 0;
4
4
  const AcceptInboundCrossClusterSearchConnectionCommand_1 = require("./commands/AcceptInboundCrossClusterSearchConnectionCommand");
5
5
  const AddTagsCommand_1 = require("./commands/AddTagsCommand");
6
6
  const AssociatePackageCommand_1 = require("./commands/AssociatePackageCommand");
7
+ const AuthorizeVpcEndpointAccessCommand_1 = require("./commands/AuthorizeVpcEndpointAccessCommand");
7
8
  const CancelElasticsearchServiceSoftwareUpdateCommand_1 = require("./commands/CancelElasticsearchServiceSoftwareUpdateCommand");
8
9
  const CreateElasticsearchDomainCommand_1 = require("./commands/CreateElasticsearchDomainCommand");
9
10
  const CreateOutboundCrossClusterSearchConnectionCommand_1 = require("./commands/CreateOutboundCrossClusterSearchConnectionCommand");
10
11
  const CreatePackageCommand_1 = require("./commands/CreatePackageCommand");
12
+ const CreateVpcEndpointCommand_1 = require("./commands/CreateVpcEndpointCommand");
11
13
  const DeleteElasticsearchDomainCommand_1 = require("./commands/DeleteElasticsearchDomainCommand");
12
14
  const DeleteElasticsearchServiceRoleCommand_1 = require("./commands/DeleteElasticsearchServiceRoleCommand");
13
15
  const DeleteInboundCrossClusterSearchConnectionCommand_1 = require("./commands/DeleteInboundCrossClusterSearchConnectionCommand");
14
16
  const DeleteOutboundCrossClusterSearchConnectionCommand_1 = require("./commands/DeleteOutboundCrossClusterSearchConnectionCommand");
15
17
  const DeletePackageCommand_1 = require("./commands/DeletePackageCommand");
18
+ const DeleteVpcEndpointCommand_1 = require("./commands/DeleteVpcEndpointCommand");
16
19
  const DescribeDomainAutoTunesCommand_1 = require("./commands/DescribeDomainAutoTunesCommand");
17
20
  const DescribeDomainChangeProgressCommand_1 = require("./commands/DescribeDomainChangeProgressCommand");
18
21
  const DescribeElasticsearchDomainCommand_1 = require("./commands/DescribeElasticsearchDomainCommand");
@@ -24,6 +27,7 @@ const DescribeOutboundCrossClusterSearchConnectionsCommand_1 = require("./comman
24
27
  const DescribePackagesCommand_1 = require("./commands/DescribePackagesCommand");
25
28
  const DescribeReservedElasticsearchInstanceOfferingsCommand_1 = require("./commands/DescribeReservedElasticsearchInstanceOfferingsCommand");
26
29
  const DescribeReservedElasticsearchInstancesCommand_1 = require("./commands/DescribeReservedElasticsearchInstancesCommand");
30
+ const DescribeVpcEndpointsCommand_1 = require("./commands/DescribeVpcEndpointsCommand");
27
31
  const DissociatePackageCommand_1 = require("./commands/DissociatePackageCommand");
28
32
  const GetCompatibleElasticsearchVersionsCommand_1 = require("./commands/GetCompatibleElasticsearchVersionsCommand");
29
33
  const GetPackageVersionHistoryCommand_1 = require("./commands/GetPackageVersionHistoryCommand");
@@ -35,12 +39,17 @@ const ListElasticsearchInstanceTypesCommand_1 = require("./commands/ListElastics
35
39
  const ListElasticsearchVersionsCommand_1 = require("./commands/ListElasticsearchVersionsCommand");
36
40
  const ListPackagesForDomainCommand_1 = require("./commands/ListPackagesForDomainCommand");
37
41
  const ListTagsCommand_1 = require("./commands/ListTagsCommand");
42
+ const ListVpcEndpointAccessCommand_1 = require("./commands/ListVpcEndpointAccessCommand");
43
+ const ListVpcEndpointsCommand_1 = require("./commands/ListVpcEndpointsCommand");
44
+ const ListVpcEndpointsForDomainCommand_1 = require("./commands/ListVpcEndpointsForDomainCommand");
38
45
  const PurchaseReservedElasticsearchInstanceOfferingCommand_1 = require("./commands/PurchaseReservedElasticsearchInstanceOfferingCommand");
39
46
  const RejectInboundCrossClusterSearchConnectionCommand_1 = require("./commands/RejectInboundCrossClusterSearchConnectionCommand");
40
47
  const RemoveTagsCommand_1 = require("./commands/RemoveTagsCommand");
48
+ const RevokeVpcEndpointAccessCommand_1 = require("./commands/RevokeVpcEndpointAccessCommand");
41
49
  const StartElasticsearchServiceSoftwareUpdateCommand_1 = require("./commands/StartElasticsearchServiceSoftwareUpdateCommand");
42
50
  const UpdateElasticsearchDomainConfigCommand_1 = require("./commands/UpdateElasticsearchDomainConfigCommand");
43
51
  const UpdatePackageCommand_1 = require("./commands/UpdatePackageCommand");
52
+ const UpdateVpcEndpointCommand_1 = require("./commands/UpdateVpcEndpointCommand");
44
53
  const UpgradeElasticsearchDomainCommand_1 = require("./commands/UpgradeElasticsearchDomainCommand");
45
54
  const ElasticsearchServiceClient_1 = require("./ElasticsearchServiceClient");
46
55
  class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchServiceClient {
@@ -86,6 +95,20 @@ class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchSer
86
95
  return this.send(command, optionsOrCb);
87
96
  }
88
97
  }
98
+ authorizeVpcEndpointAccess(args, optionsOrCb, cb) {
99
+ const command = new AuthorizeVpcEndpointAccessCommand_1.AuthorizeVpcEndpointAccessCommand(args);
100
+ if (typeof optionsOrCb === "function") {
101
+ this.send(command, optionsOrCb);
102
+ }
103
+ else if (typeof cb === "function") {
104
+ if (typeof optionsOrCb !== "object")
105
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
106
+ this.send(command, optionsOrCb || {}, cb);
107
+ }
108
+ else {
109
+ return this.send(command, optionsOrCb);
110
+ }
111
+ }
89
112
  cancelElasticsearchServiceSoftwareUpdate(args, optionsOrCb, cb) {
90
113
  const command = new CancelElasticsearchServiceSoftwareUpdateCommand_1.CancelElasticsearchServiceSoftwareUpdateCommand(args);
91
114
  if (typeof optionsOrCb === "function") {
@@ -142,6 +165,20 @@ class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchSer
142
165
  return this.send(command, optionsOrCb);
143
166
  }
144
167
  }
168
+ createVpcEndpoint(args, optionsOrCb, cb) {
169
+ const command = new CreateVpcEndpointCommand_1.CreateVpcEndpointCommand(args);
170
+ if (typeof optionsOrCb === "function") {
171
+ this.send(command, optionsOrCb);
172
+ }
173
+ else if (typeof cb === "function") {
174
+ if (typeof optionsOrCb !== "object")
175
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
176
+ this.send(command, optionsOrCb || {}, cb);
177
+ }
178
+ else {
179
+ return this.send(command, optionsOrCb);
180
+ }
181
+ }
145
182
  deleteElasticsearchDomain(args, optionsOrCb, cb) {
146
183
  const command = new DeleteElasticsearchDomainCommand_1.DeleteElasticsearchDomainCommand(args);
147
184
  if (typeof optionsOrCb === "function") {
@@ -212,6 +249,20 @@ class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchSer
212
249
  return this.send(command, optionsOrCb);
213
250
  }
214
251
  }
252
+ deleteVpcEndpoint(args, optionsOrCb, cb) {
253
+ const command = new DeleteVpcEndpointCommand_1.DeleteVpcEndpointCommand(args);
254
+ if (typeof optionsOrCb === "function") {
255
+ this.send(command, optionsOrCb);
256
+ }
257
+ else if (typeof cb === "function") {
258
+ if (typeof optionsOrCb !== "object")
259
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
260
+ this.send(command, optionsOrCb || {}, cb);
261
+ }
262
+ else {
263
+ return this.send(command, optionsOrCb);
264
+ }
265
+ }
215
266
  describeDomainAutoTunes(args, optionsOrCb, cb) {
216
267
  const command = new DescribeDomainAutoTunesCommand_1.DescribeDomainAutoTunesCommand(args);
217
268
  if (typeof optionsOrCb === "function") {
@@ -366,6 +417,20 @@ class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchSer
366
417
  return this.send(command, optionsOrCb);
367
418
  }
368
419
  }
420
+ describeVpcEndpoints(args, optionsOrCb, cb) {
421
+ const command = new DescribeVpcEndpointsCommand_1.DescribeVpcEndpointsCommand(args);
422
+ if (typeof optionsOrCb === "function") {
423
+ this.send(command, optionsOrCb);
424
+ }
425
+ else if (typeof cb === "function") {
426
+ if (typeof optionsOrCb !== "object")
427
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
428
+ this.send(command, optionsOrCb || {}, cb);
429
+ }
430
+ else {
431
+ return this.send(command, optionsOrCb);
432
+ }
433
+ }
369
434
  dissociatePackage(args, optionsOrCb, cb) {
370
435
  const command = new DissociatePackageCommand_1.DissociatePackageCommand(args);
371
436
  if (typeof optionsOrCb === "function") {
@@ -520,6 +585,48 @@ class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchSer
520
585
  return this.send(command, optionsOrCb);
521
586
  }
522
587
  }
588
+ listVpcEndpointAccess(args, optionsOrCb, cb) {
589
+ const command = new ListVpcEndpointAccessCommand_1.ListVpcEndpointAccessCommand(args);
590
+ if (typeof optionsOrCb === "function") {
591
+ this.send(command, optionsOrCb);
592
+ }
593
+ else if (typeof cb === "function") {
594
+ if (typeof optionsOrCb !== "object")
595
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
596
+ this.send(command, optionsOrCb || {}, cb);
597
+ }
598
+ else {
599
+ return this.send(command, optionsOrCb);
600
+ }
601
+ }
602
+ listVpcEndpoints(args, optionsOrCb, cb) {
603
+ const command = new ListVpcEndpointsCommand_1.ListVpcEndpointsCommand(args);
604
+ if (typeof optionsOrCb === "function") {
605
+ this.send(command, optionsOrCb);
606
+ }
607
+ else if (typeof cb === "function") {
608
+ if (typeof optionsOrCb !== "object")
609
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
610
+ this.send(command, optionsOrCb || {}, cb);
611
+ }
612
+ else {
613
+ return this.send(command, optionsOrCb);
614
+ }
615
+ }
616
+ listVpcEndpointsForDomain(args, optionsOrCb, cb) {
617
+ const command = new ListVpcEndpointsForDomainCommand_1.ListVpcEndpointsForDomainCommand(args);
618
+ if (typeof optionsOrCb === "function") {
619
+ this.send(command, optionsOrCb);
620
+ }
621
+ else if (typeof cb === "function") {
622
+ if (typeof optionsOrCb !== "object")
623
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
624
+ this.send(command, optionsOrCb || {}, cb);
625
+ }
626
+ else {
627
+ return this.send(command, optionsOrCb);
628
+ }
629
+ }
523
630
  purchaseReservedElasticsearchInstanceOffering(args, optionsOrCb, cb) {
524
631
  const command = new PurchaseReservedElasticsearchInstanceOfferingCommand_1.PurchaseReservedElasticsearchInstanceOfferingCommand(args);
525
632
  if (typeof optionsOrCb === "function") {
@@ -562,6 +669,20 @@ class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchSer
562
669
  return this.send(command, optionsOrCb);
563
670
  }
564
671
  }
672
+ revokeVpcEndpointAccess(args, optionsOrCb, cb) {
673
+ const command = new RevokeVpcEndpointAccessCommand_1.RevokeVpcEndpointAccessCommand(args);
674
+ if (typeof optionsOrCb === "function") {
675
+ this.send(command, optionsOrCb);
676
+ }
677
+ else if (typeof cb === "function") {
678
+ if (typeof optionsOrCb !== "object")
679
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
680
+ this.send(command, optionsOrCb || {}, cb);
681
+ }
682
+ else {
683
+ return this.send(command, optionsOrCb);
684
+ }
685
+ }
565
686
  startElasticsearchServiceSoftwareUpdate(args, optionsOrCb, cb) {
566
687
  const command = new StartElasticsearchServiceSoftwareUpdateCommand_1.StartElasticsearchServiceSoftwareUpdateCommand(args);
567
688
  if (typeof optionsOrCb === "function") {
@@ -604,6 +725,20 @@ class ElasticsearchService extends ElasticsearchServiceClient_1.ElasticsearchSer
604
725
  return this.send(command, optionsOrCb);
605
726
  }
606
727
  }
728
+ updateVpcEndpoint(args, optionsOrCb, cb) {
729
+ const command = new UpdateVpcEndpointCommand_1.UpdateVpcEndpointCommand(args);
730
+ if (typeof optionsOrCb === "function") {
731
+ this.send(command, optionsOrCb);
732
+ }
733
+ else if (typeof cb === "function") {
734
+ if (typeof optionsOrCb !== "object")
735
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
736
+ this.send(command, optionsOrCb || {}, cb);
737
+ }
738
+ else {
739
+ return this.send(command, optionsOrCb);
740
+ }
741
+ }
607
742
  upgradeElasticsearchDomain(args, optionsOrCb, cb) {
608
743
  const command = new UpgradeElasticsearchDomainCommand_1.UpgradeElasticsearchDomainCommand(args);
609
744
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthorizeVpcEndpointAccessCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class AuthorizeVpcEndpointAccessCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AuthorizeVpcEndpointAccessCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "AuthorizeVpcEndpointAccessCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.AuthorizeVpcEndpointAccessRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.AuthorizeVpcEndpointAccessResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1AuthorizeVpcEndpointAccessCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1AuthorizeVpcEndpointAccessCommand)(output, context);
44
+ }
45
+ }
46
+ exports.AuthorizeVpcEndpointAccessCommand = AuthorizeVpcEndpointAccessCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateVpcEndpointCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class CreateVpcEndpointCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateVpcEndpointCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "CreateVpcEndpointCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.CreateVpcEndpointRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.CreateVpcEndpointResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateVpcEndpointCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateVpcEndpointCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CreateVpcEndpointCommand = CreateVpcEndpointCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteVpcEndpointCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DeleteVpcEndpointCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteVpcEndpointCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "DeleteVpcEndpointCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DeleteVpcEndpointRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DeleteVpcEndpointResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteVpcEndpointCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteVpcEndpointCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeleteVpcEndpointCommand = DeleteVpcEndpointCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeVpcEndpointsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DescribeVpcEndpointsCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeVpcEndpointsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "DescribeVpcEndpointsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DescribeVpcEndpointsRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DescribeVpcEndpointsResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1DescribeVpcEndpointsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeVpcEndpointsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DescribeVpcEndpointsCommand = DescribeVpcEndpointsCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListVpcEndpointAccessCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListVpcEndpointAccessCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListVpcEndpointAccessCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "ListVpcEndpointAccessCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ListVpcEndpointAccessRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ListVpcEndpointAccessResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListVpcEndpointAccessCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListVpcEndpointAccessCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListVpcEndpointAccessCommand = ListVpcEndpointAccessCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListVpcEndpointsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListVpcEndpointsCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListVpcEndpointsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "ListVpcEndpointsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ListVpcEndpointsRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ListVpcEndpointsResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListVpcEndpointsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListVpcEndpointsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListVpcEndpointsCommand = ListVpcEndpointsCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListVpcEndpointsForDomainCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListVpcEndpointsForDomainCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListVpcEndpointsForDomainCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "ListVpcEndpointsForDomainCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ListVpcEndpointsForDomainRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ListVpcEndpointsForDomainResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListVpcEndpointsForDomainCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListVpcEndpointsForDomainCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListVpcEndpointsForDomainCommand = ListVpcEndpointsForDomainCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevokeVpcEndpointAccessCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class RevokeVpcEndpointAccessCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RevokeVpcEndpointAccessCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "RevokeVpcEndpointAccessCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.RevokeVpcEndpointAccessRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.RevokeVpcEndpointAccessResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1RevokeVpcEndpointAccessCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1RevokeVpcEndpointAccessCommand)(output, context);
44
+ }
45
+ }
46
+ exports.RevokeVpcEndpointAccessCommand = RevokeVpcEndpointAccessCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateVpcEndpointCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateVpcEndpointCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateVpcEndpointCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "ElasticsearchServiceClient";
28
+ const commandName = "UpdateVpcEndpointCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.UpdateVpcEndpointRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.UpdateVpcEndpointResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateVpcEndpointCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateVpcEndpointCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateVpcEndpointCommand = UpdateVpcEndpointCommand;