@aws-sdk/client-elasticsearch-service 3.36.0 → 3.39.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 (123) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/ElasticsearchService.js +0 -9
  3. package/dist-cjs/ElasticsearchServiceClient.js +0 -14
  4. package/dist-cjs/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +0 -24
  5. package/dist-cjs/commands/AddTagsCommand.js +0 -25
  6. package/dist-cjs/commands/AssociatePackageCommand.js +0 -24
  7. package/dist-cjs/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +0 -24
  8. package/dist-cjs/commands/CreateElasticsearchDomainCommand.js +0 -25
  9. package/dist-cjs/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +0 -24
  10. package/dist-cjs/commands/CreatePackageCommand.js +0 -24
  11. package/dist-cjs/commands/DeleteElasticsearchDomainCommand.js +0 -24
  12. package/dist-cjs/commands/DeleteElasticsearchServiceRoleCommand.js +0 -24
  13. package/dist-cjs/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +0 -24
  14. package/dist-cjs/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +0 -24
  15. package/dist-cjs/commands/DeletePackageCommand.js +0 -24
  16. package/dist-cjs/commands/DescribeDomainAutoTunesCommand.js +0 -24
  17. package/dist-cjs/commands/DescribeElasticsearchDomainCommand.js +0 -24
  18. package/dist-cjs/commands/DescribeElasticsearchDomainConfigCommand.js +0 -24
  19. package/dist-cjs/commands/DescribeElasticsearchDomainsCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +0 -31
  21. package/dist-cjs/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +0 -24
  22. package/dist-cjs/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +0 -24
  23. package/dist-cjs/commands/DescribePackagesCommand.js +0 -24
  24. package/dist-cjs/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +0 -24
  25. package/dist-cjs/commands/DescribeReservedElasticsearchInstancesCommand.js +0 -24
  26. package/dist-cjs/commands/DissociatePackageCommand.js +0 -24
  27. package/dist-cjs/commands/GetCompatibleElasticsearchVersionsCommand.js +0 -31
  28. package/dist-cjs/commands/GetPackageVersionHistoryCommand.js +0 -24
  29. package/dist-cjs/commands/GetUpgradeHistoryCommand.js +0 -24
  30. package/dist-cjs/commands/GetUpgradeStatusCommand.js +0 -24
  31. package/dist-cjs/commands/ListDomainNamesCommand.js +0 -24
  32. package/dist-cjs/commands/ListDomainsForPackageCommand.js +0 -24
  33. package/dist-cjs/commands/ListElasticsearchInstanceTypesCommand.js +0 -24
  34. package/dist-cjs/commands/ListElasticsearchVersionsCommand.js +0 -24
  35. package/dist-cjs/commands/ListPackagesForDomainCommand.js +0 -24
  36. package/dist-cjs/commands/ListTagsCommand.js +0 -24
  37. package/dist-cjs/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +0 -24
  38. package/dist-cjs/commands/RejectInboundCrossClusterSearchConnectionCommand.js +0 -24
  39. package/dist-cjs/commands/RemoveTagsCommand.js +0 -24
  40. package/dist-cjs/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +0 -24
  41. package/dist-cjs/commands/UpdateElasticsearchDomainConfigCommand.js +0 -24
  42. package/dist-cjs/commands/UpdatePackageCommand.js +0 -24
  43. package/dist-cjs/commands/UpgradeElasticsearchDomainCommand.js +0 -24
  44. package/dist-cjs/commands/index.js +43 -0
  45. package/dist-cjs/endpoints.js +6 -1
  46. package/dist-cjs/index.js +4 -55
  47. package/dist-cjs/models/models_0.js +0 -474
  48. package/dist-cjs/pagination/DescribeDomainAutoTunesPaginator.js +0 -10
  49. package/dist-cjs/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js +0 -10
  50. package/dist-cjs/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js +0 -10
  51. package/dist-cjs/pagination/DescribePackagesPaginator.js +0 -10
  52. package/dist-cjs/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js +0 -10
  53. package/dist-cjs/pagination/DescribeReservedElasticsearchInstancesPaginator.js +0 -10
  54. package/dist-cjs/pagination/GetPackageVersionHistoryPaginator.js +0 -10
  55. package/dist-cjs/pagination/GetUpgradeHistoryPaginator.js +0 -10
  56. package/dist-cjs/pagination/ListDomainsForPackagePaginator.js +0 -10
  57. package/dist-cjs/pagination/ListElasticsearchInstanceTypesPaginator.js +0 -10
  58. package/dist-cjs/pagination/ListElasticsearchVersionsPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListPackagesForDomainPaginator.js +0 -10
  60. package/dist-cjs/pagination/index.js +16 -0
  61. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  62. package/dist-cjs/runtimeConfig.browser.js +1 -5
  63. package/dist-cjs/runtimeConfig.js +1 -5
  64. package/dist-cjs/runtimeConfig.native.js +0 -3
  65. package/dist-cjs/runtimeConfig.shared.js +0 -3
  66. package/dist-es/commands/index.js +40 -0
  67. package/dist-es/endpoints.js +6 -1
  68. package/dist-es/index.js +4 -55
  69. package/dist-es/pagination/index.js +13 -0
  70. package/dist-types/commands/index.d.ts +40 -0
  71. package/dist-types/index.d.ts +4 -55
  72. package/dist-types/pagination/index.d.ts +13 -0
  73. package/dist-types/ts3.4/ElasticsearchService.d.ts +41 -145
  74. package/dist-types/ts3.4/ElasticsearchServiceClient.d.ts +24 -95
  75. package/dist-types/ts3.4/commands/AcceptInboundCrossClusterSearchConnectionCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -21
  77. package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/CancelElasticsearchServiceSoftwareUpdateCommand.d.ts +2 -20
  79. package/dist-types/ts3.4/commands/CreateElasticsearchDomainCommand.d.ts +2 -21
  80. package/dist-types/ts3.4/commands/CreateOutboundCrossClusterSearchConnectionCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/DeleteElasticsearchDomainCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/DeleteElasticsearchServiceRoleCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DeleteInboundCrossClusterSearchConnectionCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DeleteOutboundCrossClusterSearchConnectionCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/DeletePackageCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +2 -20
  88. package/dist-types/ts3.4/commands/DescribeElasticsearchDomainCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/DescribeElasticsearchDomainConfigCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/DescribeElasticsearchDomainsCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/DescribeElasticsearchInstanceTypeLimitsCommand.d.ts +2 -27
  92. package/dist-types/ts3.4/commands/DescribeInboundCrossClusterSearchConnectionsCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.d.ts +2 -20
  94. package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/DescribeReservedElasticsearchInstancesCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DissociatePackageCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/GetCompatibleElasticsearchVersionsCommand.d.ts +2 -27
  99. package/dist-types/ts3.4/commands/GetPackageVersionHistoryCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/ListDomainsForPackageCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/ListElasticsearchInstanceTypesCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/ListElasticsearchVersionsCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/RejectInboundCrossClusterSearchConnectionCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/StartElasticsearchServiceSoftwareUpdateCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/UpdateElasticsearchDomainConfigCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/UpgradeElasticsearchDomainCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/index.d.ts +40 -0
  116. package/dist-types/ts3.4/index.d.ts +4 -55
  117. package/dist-types/ts3.4/models/models_0.d.ts +740 -2761
  118. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  119. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  120. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  121. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  122. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  123. package/package.json +32 -32
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns all tags for the given Elasticsearch domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticsearchServiceClient, ListTagsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
14
- * // const { ElasticsearchServiceClient, ListTagsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
15
- * const client = new ElasticsearchServiceClient(config);
16
- * const command = new ListTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTagsCommandInput} for command's `input` shape.
21
- * @see {@link ListTagsCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Allows you to purchase reserved Elasticsearch instances.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticsearchServiceClient, PurchaseReservedElasticsearchInstanceOfferingCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
14
- * // const { ElasticsearchServiceClient, PurchaseReservedElasticsearchInstanceOfferingCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
15
- * const client = new ElasticsearchServiceClient(config);
16
- * const command = new PurchaseReservedElasticsearchInstanceOfferingCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link PurchaseReservedElasticsearchInstanceOfferingCommandInput} for command's `input` shape.
21
- * @see {@link PurchaseReservedElasticsearchInstanceOfferingCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class PurchaseReservedElasticsearchInstanceOfferingCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Allows the destination domain owner to reject an inbound cross-cluster search connection request.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticsearchServiceClient, RejectInboundCrossClusterSearchConnectionCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
14
- * // const { ElasticsearchServiceClient, RejectInboundCrossClusterSearchConnectionCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
15
- * const client = new ElasticsearchServiceClient(config);
16
- * const command = new RejectInboundCrossClusterSearchConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link RejectInboundCrossClusterSearchConnectionCommandInput} for command's `input` shape.
21
- * @see {@link RejectInboundCrossClusterSearchConnectionCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class RejectInboundCrossClusterSearchConnectionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Removes the specified set of tags from the specified Elasticsearch domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticsearchServiceClient, RemoveTagsCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
14
- * // const { ElasticsearchServiceClient, RemoveTagsCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
15
- * const client = new ElasticsearchServiceClient(config);
16
- * const command = new RemoveTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link RemoveTagsCommandInput} for command's `input` shape.
21
- * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class RemoveTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Schedules a service software update for an Amazon ES domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticsearchServiceClient, StartElasticsearchServiceSoftwareUpdateCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
14
- * // const { ElasticsearchServiceClient, StartElasticsearchServiceSoftwareUpdateCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
15
- * const client = new ElasticsearchServiceClient(config);
16
- * const command = new StartElasticsearchServiceSoftwareUpdateCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartElasticsearchServiceSoftwareUpdateCommandInput} for command's `input` shape.
21
- * @see {@link StartElasticsearchServiceSoftwareUpdateCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class StartElasticsearchServiceSoftwareUpdateCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticsearchServiceClient, UpdateElasticsearchDomainConfigCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
14
- * // const { ElasticsearchServiceClient, UpdateElasticsearchDomainConfigCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
15
- * const client = new ElasticsearchServiceClient(config);
16
- * const command = new UpdateElasticsearchDomainConfigCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateElasticsearchDomainConfigCommandInput} for command's `input` shape.
21
- * @see {@link UpdateElasticsearchDomainConfigCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateElasticsearchDomainConfigCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates a package for use with Amazon ES domains.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticsearchServiceClient, UpdatePackageCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
14
- * // const { ElasticsearchServiceClient, UpdatePackageCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
15
- * const client = new ElasticsearchServiceClient(config);
16
- * const command = new UpdatePackageCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdatePackageCommandInput} for command's `input` shape.
21
- * @see {@link UpdatePackageCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdatePackageCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticsearchServiceClient, UpgradeElasticsearchDomainCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
14
- * // const { ElasticsearchServiceClient, UpgradeElasticsearchDomainCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
15
- * const client = new ElasticsearchServiceClient(config);
16
- * const command = new UpgradeElasticsearchDomainCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpgradeElasticsearchDomainCommandInput} for command's `input` shape.
21
- * @see {@link UpgradeElasticsearchDomainCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticsearchServiceClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpgradeElasticsearchDomainCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AcceptInboundCrossClusterSearchConnectionCommand"), exports);
5
+ tslib_1.__exportStar(require("./AddTagsCommand"), exports);
6
+ tslib_1.__exportStar(require("./AssociatePackageCommand"), exports);
7
+ tslib_1.__exportStar(require("./CancelElasticsearchServiceSoftwareUpdateCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateElasticsearchDomainCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateOutboundCrossClusterSearchConnectionCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreatePackageCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteElasticsearchDomainCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteElasticsearchServiceRoleCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteInboundCrossClusterSearchConnectionCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeleteOutboundCrossClusterSearchConnectionCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeletePackageCommand"), exports);
16
+ tslib_1.__exportStar(require("./DescribeDomainAutoTunesCommand"), exports);
17
+ tslib_1.__exportStar(require("./DescribeElasticsearchDomainCommand"), exports);
18
+ tslib_1.__exportStar(require("./DescribeElasticsearchDomainConfigCommand"), exports);
19
+ tslib_1.__exportStar(require("./DescribeElasticsearchDomainsCommand"), exports);
20
+ tslib_1.__exportStar(require("./DescribeElasticsearchInstanceTypeLimitsCommand"), exports);
21
+ tslib_1.__exportStar(require("./DescribeInboundCrossClusterSearchConnectionsCommand"), exports);
22
+ tslib_1.__exportStar(require("./DescribeOutboundCrossClusterSearchConnectionsCommand"), exports);
23
+ tslib_1.__exportStar(require("./DescribePackagesCommand"), exports);
24
+ tslib_1.__exportStar(require("./DescribeReservedElasticsearchInstanceOfferingsCommand"), exports);
25
+ tslib_1.__exportStar(require("./DescribeReservedElasticsearchInstancesCommand"), exports);
26
+ tslib_1.__exportStar(require("./DissociatePackageCommand"), exports);
27
+ tslib_1.__exportStar(require("./GetCompatibleElasticsearchVersionsCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetPackageVersionHistoryCommand"), exports);
29
+ tslib_1.__exportStar(require("./GetUpgradeHistoryCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetUpgradeStatusCommand"), exports);
31
+ tslib_1.__exportStar(require("./ListDomainNamesCommand"), exports);
32
+ tslib_1.__exportStar(require("./ListDomainsForPackageCommand"), exports);
33
+ tslib_1.__exportStar(require("./ListElasticsearchInstanceTypesCommand"), exports);
34
+ tslib_1.__exportStar(require("./ListElasticsearchVersionsCommand"), exports);
35
+ tslib_1.__exportStar(require("./ListPackagesForDomainCommand"), exports);
36
+ tslib_1.__exportStar(require("./ListTagsCommand"), exports);
37
+ tslib_1.__exportStar(require("./PurchaseReservedElasticsearchInstanceOfferingCommand"), exports);
38
+ tslib_1.__exportStar(require("./RejectInboundCrossClusterSearchConnectionCommand"), exports);
39
+ tslib_1.__exportStar(require("./RemoveTagsCommand"), exports);
40
+ tslib_1.__exportStar(require("./StartElasticsearchServiceSoftwareUpdateCommand"), exports);
41
+ tslib_1.__exportStar(require("./UpdateElasticsearchDomainConfigCommand"), exports);
42
+ tslib_1.__exportStar(require("./UpdatePackageCommand"), exports);
43
+ tslib_1.__exportStar(require("./UpgradeElasticsearchDomainCommand"), exports);
@@ -34,22 +34,27 @@ const partitionHash = {
34
34
  "us-west-1",
35
35
  "us-west-2",
36
36
  ],
37
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
37
38
  hostname: "es.{region}.amazonaws.com",
38
39
  },
39
40
  "aws-cn": {
40
41
  regions: ["cn-north-1", "cn-northwest-1"],
42
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
41
43
  hostname: "es.{region}.amazonaws.com.cn",
42
44
  },
43
45
  "aws-iso": {
44
- regions: ["us-iso-east-1"],
46
+ regions: ["us-iso-east-1", "us-iso-west-1"],
47
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
45
48
  hostname: "es.{region}.c2s.ic.gov",
46
49
  },
47
50
  "aws-iso-b": {
48
51
  regions: ["us-isob-east-1"],
52
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
49
53
  hostname: "es.{region}.sc2s.sgov.gov",
50
54
  },
51
55
  "aws-us-gov": {
52
56
  regions: ["fips", "us-gov-east-1", "us-gov-west-1"],
57
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
53
58
  hostname: "es.{region}.amazonaws.com",
54
59
  },
55
60
  };
package/dist-cjs/index.js CHANGED
@@ -1,59 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ElasticsearchServiceClient"), exports);
5
4
  tslib_1.__exportStar(require("./ElasticsearchService"), exports);
6
- tslib_1.__exportStar(require("./commands/AcceptInboundCrossClusterSearchConnectionCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/AddTagsCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/AssociatePackageCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CancelElasticsearchServiceSoftwareUpdateCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateElasticsearchDomainCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateOutboundCrossClusterSearchConnectionCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreatePackageCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DeleteElasticsearchDomainCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/DeleteElasticsearchServiceRoleCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DeleteInboundCrossClusterSearchConnectionCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DeleteOutboundCrossClusterSearchConnectionCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DeletePackageCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DescribeDomainAutoTunesCommand"), exports);
19
- tslib_1.__exportStar(require("./pagination/DescribeDomainAutoTunesPaginator"), exports);
20
- tslib_1.__exportStar(require("./commands/DescribeElasticsearchDomainCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DescribeElasticsearchDomainConfigCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DescribeElasticsearchDomainsCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DescribeElasticsearchInstanceTypeLimitsCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DescribeInboundCrossClusterSearchConnectionsCommand"), exports);
25
- tslib_1.__exportStar(require("./pagination/DescribeInboundCrossClusterSearchConnectionsPaginator"), exports);
26
- tslib_1.__exportStar(require("./commands/DescribeOutboundCrossClusterSearchConnectionsCommand"), exports);
27
- tslib_1.__exportStar(require("./pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator"), exports);
28
- tslib_1.__exportStar(require("./commands/DescribePackagesCommand"), exports);
29
- tslib_1.__exportStar(require("./pagination/DescribePackagesPaginator"), exports);
30
- tslib_1.__exportStar(require("./commands/DescribeReservedElasticsearchInstanceOfferingsCommand"), exports);
31
- tslib_1.__exportStar(require("./pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator"), exports);
32
- tslib_1.__exportStar(require("./commands/DescribeReservedElasticsearchInstancesCommand"), exports);
33
- tslib_1.__exportStar(require("./pagination/DescribeReservedElasticsearchInstancesPaginator"), exports);
34
- tslib_1.__exportStar(require("./commands/DissociatePackageCommand"), exports);
35
- tslib_1.__exportStar(require("./commands/GetCompatibleElasticsearchVersionsCommand"), exports);
36
- tslib_1.__exportStar(require("./commands/GetPackageVersionHistoryCommand"), exports);
37
- tslib_1.__exportStar(require("./pagination/GetPackageVersionHistoryPaginator"), exports);
38
- tslib_1.__exportStar(require("./commands/GetUpgradeHistoryCommand"), exports);
39
- tslib_1.__exportStar(require("./pagination/GetUpgradeHistoryPaginator"), exports);
40
- tslib_1.__exportStar(require("./commands/GetUpgradeStatusCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/ListDomainNamesCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/ListDomainsForPackageCommand"), exports);
43
- tslib_1.__exportStar(require("./pagination/ListDomainsForPackagePaginator"), exports);
44
- tslib_1.__exportStar(require("./commands/ListElasticsearchInstanceTypesCommand"), exports);
45
- tslib_1.__exportStar(require("./pagination/ListElasticsearchInstanceTypesPaginator"), exports);
46
- tslib_1.__exportStar(require("./commands/ListElasticsearchVersionsCommand"), exports);
47
- tslib_1.__exportStar(require("./pagination/ListElasticsearchVersionsPaginator"), exports);
48
- tslib_1.__exportStar(require("./commands/ListPackagesForDomainCommand"), exports);
49
- tslib_1.__exportStar(require("./pagination/ListPackagesForDomainPaginator"), exports);
50
- tslib_1.__exportStar(require("./commands/ListTagsCommand"), exports);
51
- tslib_1.__exportStar(require("./commands/PurchaseReservedElasticsearchInstanceOfferingCommand"), exports);
52
- tslib_1.__exportStar(require("./commands/RejectInboundCrossClusterSearchConnectionCommand"), exports);
53
- tslib_1.__exportStar(require("./commands/RemoveTagsCommand"), exports);
54
- tslib_1.__exportStar(require("./commands/StartElasticsearchServiceSoftwareUpdateCommand"), exports);
55
- tslib_1.__exportStar(require("./commands/UpdateElasticsearchDomainConfigCommand"), exports);
56
- tslib_1.__exportStar(require("./commands/UpdatePackageCommand"), exports);
57
- tslib_1.__exportStar(require("./commands/UpgradeElasticsearchDomainCommand"), exports);
58
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
59
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./ElasticsearchServiceClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);