@aws-sdk/client-opensearch 3.325.0 → 3.327.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 (80) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/OpenSearch.js +4 -0
  3. package/dist-cjs/commands/DescribeDomainHealthCommand.js +45 -0
  4. package/dist-cjs/commands/DescribeDomainNodesCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +45 -2
  7. package/dist-cjs/protocols/Aws_restJson1.js +161 -3
  8. package/dist-es/OpenSearch.js +4 -0
  9. package/dist-es/commands/DescribeDomainHealthCommand.js +41 -0
  10. package/dist-es/commands/DescribeDomainNodesCommand.js +41 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +42 -0
  13. package/dist-es/protocols/Aws_restJson1.js +155 -1
  14. package/dist-types/OpenSearch.d.ts +14 -0
  15. package/dist-types/OpenSearchClient.d.ts +4 -2
  16. package/dist-types/commands/AcceptInboundConnectionCommand.d.ts +29 -2
  17. package/dist-types/commands/AddTagsCommand.d.ts +4 -0
  18. package/dist-types/commands/AssociatePackageCommand.d.ts +20 -1
  19. package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +11 -2
  20. package/dist-types/commands/CancelServiceSoftwareUpdateCommand.d.ts +16 -1
  21. package/dist-types/commands/CreateDomainCommand.d.ts +138 -1
  22. package/dist-types/commands/CreateOutboundConnectionCommand.d.ts +30 -1
  23. package/dist-types/commands/CreatePackageCommand.d.ts +19 -0
  24. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +25 -1
  25. package/dist-types/commands/DeleteDomainCommand.d.ts +137 -1
  26. package/dist-types/commands/DeleteInboundConnectionCommand.d.ts +29 -2
  27. package/dist-types/commands/DeleteOutboundConnectionCommand.d.ts +33 -2
  28. package/dist-types/commands/DeletePackageCommand.d.ts +20 -1
  29. package/dist-types/commands/DeleteVpcEndpointCommand.d.ts +13 -2
  30. package/dist-types/commands/DescribeDomainAutoTunesCommand.d.ts +20 -1
  31. package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +26 -1
  32. package/dist-types/commands/DescribeDomainCommand.d.ts +137 -1
  33. package/dist-types/commands/DescribeDomainConfigCommand.d.ts +211 -1
  34. package/dist-types/commands/DescribeDomainHealthCommand.d.ts +109 -0
  35. package/dist-types/commands/DescribeDomainNodesCommand.d.ts +99 -0
  36. package/dist-types/commands/DescribeDomainsCommand.d.ts +138 -0
  37. package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +154 -2
  38. package/dist-types/commands/DescribeInboundConnectionsCommand.d.ts +32 -2
  39. package/dist-types/commands/DescribeInstanceTypeLimitsCommand.d.ts +38 -1
  40. package/dist-types/commands/DescribeOutboundConnectionsCommand.d.ts +36 -2
  41. package/dist-types/commands/DescribePackagesCommand.d.ts +23 -1
  42. package/dist-types/commands/DescribeReservedInstanceOfferingsCommand.d.ts +25 -2
  43. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +31 -2
  44. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +34 -1
  45. package/dist-types/commands/DissociatePackageCommand.d.ts +20 -1
  46. package/dist-types/commands/GetCompatibleVersionsCommand.d.ts +15 -2
  47. package/dist-types/commands/GetPackageVersionHistoryCommand.d.ts +17 -3
  48. package/dist-types/commands/GetUpgradeHistoryCommand.d.ts +25 -2
  49. package/dist-types/commands/GetUpgradeStatusCommand.d.ts +10 -2
  50. package/dist-types/commands/ListDomainNamesCommand.d.ts +11 -0
  51. package/dist-types/commands/ListDomainsForPackageCommand.d.ts +23 -1
  52. package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +25 -1
  53. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +23 -1
  54. package/dist-types/commands/ListScheduledActionsCommand.d.ts +21 -2
  55. package/dist-types/commands/ListTagsCommand.d.ts +12 -1
  56. package/dist-types/commands/ListVersionsCommand.d.ts +10 -1
  57. package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +14 -2
  58. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +15 -1
  59. package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +16 -2
  60. package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +9 -2
  61. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +29 -2
  62. package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
  63. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +6 -2
  64. package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +16 -1
  65. package/dist-types/commands/UpdateDomainConfigCommand.d.ts +230 -2
  66. package/dist-types/commands/UpdatePackageCommand.d.ts +20 -1
  67. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +17 -1
  68. package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +26 -2
  69. package/dist-types/commands/UpgradeDomainCommand.d.ts +18 -2
  70. package/dist-types/commands/index.d.ts +2 -0
  71. package/dist-types/models/models_0.d.ts +345 -23
  72. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  73. package/dist-types/ts3.4/OpenSearch.d.ts +34 -0
  74. package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -0
  75. package/dist-types/ts3.4/commands/DescribeDomainHealthCommand.d.ts +41 -0
  76. package/dist-types/ts3.4/commands/DescribeDomainNodesCommand.d.ts +38 -0
  77. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +93 -0
  79. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  80. package/package.json +7 -7
package/README.md CHANGED
@@ -358,6 +358,22 @@ DescribeDomainConfig
358
358
 
359
359
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/classes/describedomainconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/interfaces/describedomainconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/interfaces/describedomainconfigcommandoutput.html)
360
360
 
361
+ </details>
362
+ <details>
363
+ <summary>
364
+ DescribeDomainHealth
365
+ </summary>
366
+
367
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/classes/describedomainhealthcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/interfaces/describedomainhealthcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/interfaces/describedomainhealthcommandoutput.html)
368
+
369
+ </details>
370
+ <details>
371
+ <summary>
372
+ DescribeDomainNodes
373
+ </summary>
374
+
375
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/classes/describedomainnodescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/interfaces/describedomainnodescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-opensearch/interfaces/describedomainnodescommandoutput.html)
376
+
361
377
  </details>
362
378
  <details>
363
379
  <summary>
@@ -20,6 +20,8 @@ const DescribeDomainAutoTunesCommand_1 = require("./commands/DescribeDomainAutoT
20
20
  const DescribeDomainChangeProgressCommand_1 = require("./commands/DescribeDomainChangeProgressCommand");
21
21
  const DescribeDomainCommand_1 = require("./commands/DescribeDomainCommand");
22
22
  const DescribeDomainConfigCommand_1 = require("./commands/DescribeDomainConfigCommand");
23
+ const DescribeDomainHealthCommand_1 = require("./commands/DescribeDomainHealthCommand");
24
+ const DescribeDomainNodesCommand_1 = require("./commands/DescribeDomainNodesCommand");
23
25
  const DescribeDomainsCommand_1 = require("./commands/DescribeDomainsCommand");
24
26
  const DescribeDryRunProgressCommand_1 = require("./commands/DescribeDryRunProgressCommand");
25
27
  const DescribeInboundConnectionsCommand_1 = require("./commands/DescribeInboundConnectionsCommand");
@@ -74,6 +76,8 @@ const commands = {
74
76
  DescribeDomainAutoTunesCommand: DescribeDomainAutoTunesCommand_1.DescribeDomainAutoTunesCommand,
75
77
  DescribeDomainChangeProgressCommand: DescribeDomainChangeProgressCommand_1.DescribeDomainChangeProgressCommand,
76
78
  DescribeDomainConfigCommand: DescribeDomainConfigCommand_1.DescribeDomainConfigCommand,
79
+ DescribeDomainHealthCommand: DescribeDomainHealthCommand_1.DescribeDomainHealthCommand,
80
+ DescribeDomainNodesCommand: DescribeDomainNodesCommand_1.DescribeDomainNodesCommand,
77
81
  DescribeDomainsCommand: DescribeDomainsCommand_1.DescribeDomainsCommand,
78
82
  DescribeDryRunProgressCommand: DescribeDryRunProgressCommand_1.DescribeDryRunProgressCommand,
79
83
  DescribeInboundConnectionsCommand: DescribeInboundConnectionsCommand_1.DescribeInboundConnectionsCommand,
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeDomainHealthCommand = 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 Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeDomainHealthCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDomainHealthCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "OpenSearchClient";
27
+ const commandName = "DescribeDomainHealthCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_DescribeDomainHealthCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_DescribeDomainHealthCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeDomainHealthCommand = DescribeDomainHealthCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeDomainNodesCommand = 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 Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeDomainNodesCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDomainNodesCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "OpenSearchClient";
27
+ const commandName = "DescribeDomainNodesCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_restJson1_1.se_DescribeDomainNodesCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_restJson1_1.de_DescribeDomainNodesCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeDomainNodesCommand = DescribeDomainNodesCommand;
@@ -19,6 +19,8 @@ tslib_1.__exportStar(require("./DescribeDomainAutoTunesCommand"), exports);
19
19
  tslib_1.__exportStar(require("./DescribeDomainChangeProgressCommand"), exports);
20
20
  tslib_1.__exportStar(require("./DescribeDomainCommand"), exports);
21
21
  tslib_1.__exportStar(require("./DescribeDomainConfigCommand"), exports);
22
+ tslib_1.__exportStar(require("./DescribeDomainHealthCommand"), exports);
23
+ tslib_1.__exportStar(require("./DescribeDomainNodesCommand"), exports);
22
24
  tslib_1.__exportStar(require("./DescribeDomainsCommand"), exports);
23
25
  tslib_1.__exportStar(require("./DescribeDryRunProgressCommand"), exports);
24
26
  tslib_1.__exportStar(require("./DescribeInboundConnectionsCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdvancedSecurityOptionsInputFilterSensitiveLog = exports.SAMLOptionsInputFilterSensitiveLog = exports.MasterUserOptionsFilterSensitiveLog = exports.SlotNotAvailableException = exports.DryRunMode = exports.ScheduleAt = exports.ScheduledBy = exports.EngineType = exports.UpgradeStatus = exports.UpgradeStep = exports.VpcEndpointErrorCode = exports.ReservedInstancePaymentOption = exports.DescribePackagesFilterName = exports.InvalidPaginationTokenException = exports.RollbackOnDisable = exports.OverallChangeStatus = exports.AutoTuneType = exports.ScheduledAutoTuneSeverityType = exports.ScheduledAutoTuneActionType = exports.VpcEndpointStatus = exports.PackageStatus = exports.OutboundConnectionStatusCode = exports.ResourceAlreadyExistsException = exports.InvalidTypeException = exports.AutoTuneState = exports.LogType = exports.VolumeType = exports.TLSSecurityPolicy = exports.OpenSearchWarmPartitionInstanceType = exports.OpenSearchPartitionInstanceType = exports.TimeUnit = exports.AutoTuneDesiredState = exports.DeploymentStatus = exports.PrincipalType = exports.ConflictException = exports.PackageType = exports.DomainPackageStatus = exports.ValidationException = exports.InternalException = exports.BaseException = exports.ActionType = exports.ActionStatus = exports.ActionSeverity = exports.OptionState = exports.AccessDeniedException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.DisabledOperationException = exports.InboundConnectionStatusCode = exports.ConnectionMode = void 0;
4
- exports.UpdateDomainConfigRequestFilterSensitiveLog = exports.CreateDomainRequestFilterSensitiveLog = void 0;
3
+ exports.EngineType = exports.UpgradeStatus = exports.UpgradeStep = exports.VpcEndpointErrorCode = exports.ReservedInstancePaymentOption = exports.DescribePackagesFilterName = exports.InvalidPaginationTokenException = exports.NodeType = exports.NodeStatus = exports.DependencyFailureException = exports.MasterNodeStatus = exports.ZoneStatus = exports.DomainState = exports.DomainHealth = exports.RollbackOnDisable = exports.OverallChangeStatus = exports.AutoTuneType = exports.ScheduledAutoTuneSeverityType = exports.ScheduledAutoTuneActionType = exports.VpcEndpointStatus = exports.PackageStatus = exports.OutboundConnectionStatusCode = exports.ResourceAlreadyExistsException = exports.InvalidTypeException = exports.AutoTuneState = exports.LogType = exports.VolumeType = exports.TLSSecurityPolicy = exports.OpenSearchWarmPartitionInstanceType = exports.OpenSearchPartitionInstanceType = exports.TimeUnit = exports.AutoTuneDesiredState = exports.DeploymentStatus = exports.PrincipalType = exports.ConflictException = exports.PackageType = exports.DomainPackageStatus = exports.ValidationException = exports.InternalException = exports.BaseException = exports.ActionType = exports.ActionStatus = exports.ActionSeverity = exports.OptionState = exports.AccessDeniedException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.DisabledOperationException = exports.InboundConnectionStatusCode = exports.ConnectionMode = void 0;
4
+ exports.UpdateDomainConfigRequestFilterSensitiveLog = exports.CreateDomainRequestFilterSensitiveLog = exports.AdvancedSecurityOptionsInputFilterSensitiveLog = exports.SAMLOptionsInputFilterSensitiveLog = exports.MasterUserOptionsFilterSensitiveLog = exports.SlotNotAvailableException = exports.DryRunMode = exports.ScheduleAt = exports.ScheduledBy = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const OpenSearchServiceException_1 = require("./OpenSearchServiceException");
7
7
  exports.ConnectionMode = {
@@ -381,6 +381,49 @@ exports.RollbackOnDisable = {
381
381
  DEFAULT_ROLLBACK: "DEFAULT_ROLLBACK",
382
382
  NO_ROLLBACK: "NO_ROLLBACK",
383
383
  };
384
+ exports.DomainHealth = {
385
+ Green: "Green",
386
+ NotAvailable: "NotAvailable",
387
+ Red: "Red",
388
+ Yellow: "Yellow",
389
+ };
390
+ exports.DomainState = {
391
+ Active: "Active",
392
+ NotAvailable: "NotAvailable",
393
+ Processing: "Processing",
394
+ };
395
+ exports.ZoneStatus = {
396
+ Active: "Active",
397
+ NotAvailable: "NotAvailable",
398
+ StandBy: "StandBy",
399
+ };
400
+ exports.MasterNodeStatus = {
401
+ Available: "Available",
402
+ UnAvailable: "UnAvailable",
403
+ };
404
+ class DependencyFailureException extends OpenSearchServiceException_1.OpenSearchServiceException {
405
+ constructor(opts) {
406
+ super({
407
+ name: "DependencyFailureException",
408
+ $fault: "client",
409
+ ...opts,
410
+ });
411
+ this.name = "DependencyFailureException";
412
+ this.$fault = "client";
413
+ Object.setPrototypeOf(this, DependencyFailureException.prototype);
414
+ }
415
+ }
416
+ exports.DependencyFailureException = DependencyFailureException;
417
+ exports.NodeStatus = {
418
+ Active: "Active",
419
+ NotAvailable: "NotAvailable",
420
+ StandBy: "StandBy",
421
+ };
422
+ exports.NodeType = {
423
+ Data: "Data",
424
+ Master: "Master",
425
+ Ultrawarm: "Ultrawarm",
426
+ };
384
427
  class InvalidPaginationTokenException extends OpenSearchServiceException_1.OpenSearchServiceException {
385
428
  constructor(opts) {
386
429
  super({
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_UpdateScheduledActionCommand = exports.se_UpdatePackageCommand = exports.se_UpdateDomainConfigCommand = exports.se_StartServiceSoftwareUpdateCommand = exports.se_RevokeVpcEndpointAccessCommand = exports.se_RemoveTagsCommand = exports.se_RejectInboundConnectionCommand = exports.se_PurchaseReservedInstanceOfferingCommand = exports.se_ListVpcEndpointsForDomainCommand = exports.se_ListVpcEndpointsCommand = exports.se_ListVpcEndpointAccessCommand = exports.se_ListVersionsCommand = exports.se_ListTagsCommand = exports.se_ListScheduledActionsCommand = exports.se_ListPackagesForDomainCommand = exports.se_ListInstanceTypeDetailsCommand = exports.se_ListDomainsForPackageCommand = exports.se_ListDomainNamesCommand = exports.se_GetUpgradeStatusCommand = exports.se_GetUpgradeHistoryCommand = exports.se_GetPackageVersionHistoryCommand = exports.se_GetCompatibleVersionsCommand = exports.se_DissociatePackageCommand = exports.se_DescribeVpcEndpointsCommand = exports.se_DescribeReservedInstancesCommand = exports.se_DescribeReservedInstanceOfferingsCommand = exports.se_DescribePackagesCommand = exports.se_DescribeOutboundConnectionsCommand = exports.se_DescribeInstanceTypeLimitsCommand = exports.se_DescribeInboundConnectionsCommand = exports.se_DescribeDryRunProgressCommand = exports.se_DescribeDomainsCommand = exports.se_DescribeDomainConfigCommand = exports.se_DescribeDomainChangeProgressCommand = exports.se_DescribeDomainAutoTunesCommand = exports.se_DescribeDomainCommand = exports.se_DeleteVpcEndpointCommand = exports.se_DeletePackageCommand = exports.se_DeleteOutboundConnectionCommand = exports.se_DeleteInboundConnectionCommand = exports.se_DeleteDomainCommand = exports.se_CreateVpcEndpointCommand = exports.se_CreatePackageCommand = exports.se_CreateOutboundConnectionCommand = exports.se_CreateDomainCommand = exports.se_CancelServiceSoftwareUpdateCommand = exports.se_AuthorizeVpcEndpointAccessCommand = exports.se_AssociatePackageCommand = exports.se_AddTagsCommand = exports.se_AcceptInboundConnectionCommand = void 0;
4
- exports.de_UpdateDomainConfigCommand = exports.de_StartServiceSoftwareUpdateCommand = exports.de_RevokeVpcEndpointAccessCommand = exports.de_RemoveTagsCommand = exports.de_RejectInboundConnectionCommand = exports.de_PurchaseReservedInstanceOfferingCommand = exports.de_ListVpcEndpointsForDomainCommand = exports.de_ListVpcEndpointsCommand = exports.de_ListVpcEndpointAccessCommand = exports.de_ListVersionsCommand = exports.de_ListTagsCommand = exports.de_ListScheduledActionsCommand = exports.de_ListPackagesForDomainCommand = exports.de_ListInstanceTypeDetailsCommand = exports.de_ListDomainsForPackageCommand = exports.de_ListDomainNamesCommand = exports.de_GetUpgradeStatusCommand = exports.de_GetUpgradeHistoryCommand = exports.de_GetPackageVersionHistoryCommand = exports.de_GetCompatibleVersionsCommand = exports.de_DissociatePackageCommand = exports.de_DescribeVpcEndpointsCommand = exports.de_DescribeReservedInstancesCommand = exports.de_DescribeReservedInstanceOfferingsCommand = exports.de_DescribePackagesCommand = exports.de_DescribeOutboundConnectionsCommand = exports.de_DescribeInstanceTypeLimitsCommand = exports.de_DescribeInboundConnectionsCommand = exports.de_DescribeDryRunProgressCommand = exports.de_DescribeDomainsCommand = exports.de_DescribeDomainConfigCommand = exports.de_DescribeDomainChangeProgressCommand = exports.de_DescribeDomainAutoTunesCommand = exports.de_DescribeDomainCommand = exports.de_DeleteVpcEndpointCommand = exports.de_DeletePackageCommand = exports.de_DeleteOutboundConnectionCommand = exports.de_DeleteInboundConnectionCommand = exports.de_DeleteDomainCommand = exports.de_CreateVpcEndpointCommand = exports.de_CreatePackageCommand = exports.de_CreateOutboundConnectionCommand = exports.de_CreateDomainCommand = exports.de_CancelServiceSoftwareUpdateCommand = exports.de_AuthorizeVpcEndpointAccessCommand = exports.de_AssociatePackageCommand = exports.de_AddTagsCommand = exports.de_AcceptInboundConnectionCommand = exports.se_UpgradeDomainCommand = exports.se_UpdateVpcEndpointCommand = void 0;
5
- exports.de_UpgradeDomainCommand = exports.de_UpdateVpcEndpointCommand = exports.de_UpdateScheduledActionCommand = exports.de_UpdatePackageCommand = void 0;
3
+ exports.se_UpdateDomainConfigCommand = exports.se_StartServiceSoftwareUpdateCommand = exports.se_RevokeVpcEndpointAccessCommand = exports.se_RemoveTagsCommand = exports.se_RejectInboundConnectionCommand = exports.se_PurchaseReservedInstanceOfferingCommand = exports.se_ListVpcEndpointsForDomainCommand = exports.se_ListVpcEndpointsCommand = exports.se_ListVpcEndpointAccessCommand = exports.se_ListVersionsCommand = exports.se_ListTagsCommand = exports.se_ListScheduledActionsCommand = exports.se_ListPackagesForDomainCommand = exports.se_ListInstanceTypeDetailsCommand = exports.se_ListDomainsForPackageCommand = exports.se_ListDomainNamesCommand = exports.se_GetUpgradeStatusCommand = exports.se_GetUpgradeHistoryCommand = exports.se_GetPackageVersionHistoryCommand = exports.se_GetCompatibleVersionsCommand = exports.se_DissociatePackageCommand = exports.se_DescribeVpcEndpointsCommand = exports.se_DescribeReservedInstancesCommand = exports.se_DescribeReservedInstanceOfferingsCommand = exports.se_DescribePackagesCommand = exports.se_DescribeOutboundConnectionsCommand = exports.se_DescribeInstanceTypeLimitsCommand = exports.se_DescribeInboundConnectionsCommand = exports.se_DescribeDryRunProgressCommand = exports.se_DescribeDomainsCommand = exports.se_DescribeDomainNodesCommand = exports.se_DescribeDomainHealthCommand = exports.se_DescribeDomainConfigCommand = exports.se_DescribeDomainChangeProgressCommand = exports.se_DescribeDomainAutoTunesCommand = exports.se_DescribeDomainCommand = exports.se_DeleteVpcEndpointCommand = exports.se_DeletePackageCommand = exports.se_DeleteOutboundConnectionCommand = exports.se_DeleteInboundConnectionCommand = exports.se_DeleteDomainCommand = exports.se_CreateVpcEndpointCommand = exports.se_CreatePackageCommand = exports.se_CreateOutboundConnectionCommand = exports.se_CreateDomainCommand = exports.se_CancelServiceSoftwareUpdateCommand = exports.se_AuthorizeVpcEndpointAccessCommand = exports.se_AssociatePackageCommand = exports.se_AddTagsCommand = exports.se_AcceptInboundConnectionCommand = void 0;
4
+ exports.de_RejectInboundConnectionCommand = exports.de_PurchaseReservedInstanceOfferingCommand = exports.de_ListVpcEndpointsForDomainCommand = exports.de_ListVpcEndpointsCommand = exports.de_ListVpcEndpointAccessCommand = exports.de_ListVersionsCommand = exports.de_ListTagsCommand = exports.de_ListScheduledActionsCommand = exports.de_ListPackagesForDomainCommand = exports.de_ListInstanceTypeDetailsCommand = exports.de_ListDomainsForPackageCommand = exports.de_ListDomainNamesCommand = exports.de_GetUpgradeStatusCommand = exports.de_GetUpgradeHistoryCommand = exports.de_GetPackageVersionHistoryCommand = exports.de_GetCompatibleVersionsCommand = exports.de_DissociatePackageCommand = exports.de_DescribeVpcEndpointsCommand = exports.de_DescribeReservedInstancesCommand = exports.de_DescribeReservedInstanceOfferingsCommand = exports.de_DescribePackagesCommand = exports.de_DescribeOutboundConnectionsCommand = exports.de_DescribeInstanceTypeLimitsCommand = exports.de_DescribeInboundConnectionsCommand = exports.de_DescribeDryRunProgressCommand = exports.de_DescribeDomainsCommand = exports.de_DescribeDomainNodesCommand = exports.de_DescribeDomainHealthCommand = exports.de_DescribeDomainConfigCommand = exports.de_DescribeDomainChangeProgressCommand = exports.de_DescribeDomainAutoTunesCommand = exports.de_DescribeDomainCommand = exports.de_DeleteVpcEndpointCommand = exports.de_DeletePackageCommand = exports.de_DeleteOutboundConnectionCommand = exports.de_DeleteInboundConnectionCommand = exports.de_DeleteDomainCommand = exports.de_CreateVpcEndpointCommand = exports.de_CreatePackageCommand = exports.de_CreateOutboundConnectionCommand = exports.de_CreateDomainCommand = exports.de_CancelServiceSoftwareUpdateCommand = exports.de_AuthorizeVpcEndpointAccessCommand = exports.de_AssociatePackageCommand = exports.de_AddTagsCommand = exports.de_AcceptInboundConnectionCommand = exports.se_UpgradeDomainCommand = exports.se_UpdateVpcEndpointCommand = exports.se_UpdateScheduledActionCommand = exports.se_UpdatePackageCommand = void 0;
5
+ exports.de_UpgradeDomainCommand = exports.de_UpdateVpcEndpointCommand = exports.de_UpdateScheduledActionCommand = exports.de_UpdatePackageCommand = exports.de_UpdateDomainConfigCommand = exports.de_StartServiceSoftwareUpdateCommand = exports.de_RevokeVpcEndpointAccessCommand = exports.de_RemoveTagsCommand = void 0;
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const models_0_1 = require("../models/models_0");
@@ -392,6 +392,42 @@ const se_DescribeDomainConfigCommand = async (input, context) => {
392
392
  });
393
393
  };
394
394
  exports.se_DescribeDomainConfigCommand = se_DescribeDomainConfigCommand;
395
+ const se_DescribeDomainHealthCommand = async (input, context) => {
396
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
397
+ const headers = {};
398
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
399
+ "/2021-01-01/opensearch/domain/{DomainName}/health";
400
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
401
+ let body;
402
+ return new protocol_http_1.HttpRequest({
403
+ protocol,
404
+ hostname,
405
+ port,
406
+ method: "GET",
407
+ headers,
408
+ path: resolvedPath,
409
+ body,
410
+ });
411
+ };
412
+ exports.se_DescribeDomainHealthCommand = se_DescribeDomainHealthCommand;
413
+ const se_DescribeDomainNodesCommand = async (input, context) => {
414
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
415
+ const headers = {};
416
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
417
+ "/2021-01-01/opensearch/domain/{DomainName}/nodes";
418
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
419
+ let body;
420
+ return new protocol_http_1.HttpRequest({
421
+ protocol,
422
+ hostname,
423
+ port,
424
+ method: "GET",
425
+ headers,
426
+ path: resolvedPath,
427
+ body,
428
+ });
429
+ };
430
+ exports.se_DescribeDomainNodesCommand = se_DescribeDomainNodesCommand;
395
431
  const se_DescribeDomainsCommand = async (input, context) => {
396
432
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
397
433
  const headers = {
@@ -751,6 +787,8 @@ const se_ListInstanceTypeDetailsCommand = async (input, context) => {
751
787
  domainName: [, input.DomainName],
752
788
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
753
789
  nextToken: [, input.NextToken],
790
+ retrieveAZs: [() => input.RetrieveAZs !== void 0, () => input.RetrieveAZs.toString()],
791
+ instanceType: [, input.InstanceType],
754
792
  });
755
793
  let body;
756
794
  return new protocol_http_1.HttpRequest({
@@ -1966,6 +2004,113 @@ const de_DescribeDomainConfigCommandError = async (output, context) => {
1966
2004
  });
1967
2005
  }
1968
2006
  };
2007
+ const de_DescribeDomainHealthCommand = async (output, context) => {
2008
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2009
+ return de_DescribeDomainHealthCommandError(output, context);
2010
+ }
2011
+ const contents = (0, smithy_client_1.map)({
2012
+ $metadata: deserializeMetadata(output),
2013
+ });
2014
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2015
+ const doc = (0, smithy_client_1.take)(data, {
2016
+ ActiveAvailabilityZoneCount: smithy_client_1.expectString,
2017
+ AvailabilityZoneCount: smithy_client_1.expectString,
2018
+ ClusterHealth: smithy_client_1.expectString,
2019
+ DataNodeCount: smithy_client_1.expectString,
2020
+ DedicatedMaster: smithy_client_1.expectBoolean,
2021
+ DomainState: smithy_client_1.expectString,
2022
+ EnvironmentInformation: smithy_client_1._json,
2023
+ MasterEligibleNodeCount: smithy_client_1.expectString,
2024
+ MasterNode: smithy_client_1.expectString,
2025
+ StandByAvailabilityZoneCount: smithy_client_1.expectString,
2026
+ TotalShards: smithy_client_1.expectString,
2027
+ TotalUnAssignedShards: smithy_client_1.expectString,
2028
+ WarmNodeCount: smithy_client_1.expectString,
2029
+ });
2030
+ Object.assign(contents, doc);
2031
+ return contents;
2032
+ };
2033
+ exports.de_DescribeDomainHealthCommand = de_DescribeDomainHealthCommand;
2034
+ const de_DescribeDomainHealthCommandError = async (output, context) => {
2035
+ const parsedOutput = {
2036
+ ...output,
2037
+ body: await parseErrorBody(output.body, context),
2038
+ };
2039
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2040
+ switch (errorCode) {
2041
+ case "BaseException":
2042
+ case "com.amazonaws.opensearch#BaseException":
2043
+ throw await de_BaseExceptionRes(parsedOutput, context);
2044
+ case "DisabledOperationException":
2045
+ case "com.amazonaws.opensearch#DisabledOperationException":
2046
+ throw await de_DisabledOperationExceptionRes(parsedOutput, context);
2047
+ case "InternalException":
2048
+ case "com.amazonaws.opensearch#InternalException":
2049
+ throw await de_InternalExceptionRes(parsedOutput, context);
2050
+ case "ResourceNotFoundException":
2051
+ case "com.amazonaws.opensearch#ResourceNotFoundException":
2052
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2053
+ case "ValidationException":
2054
+ case "com.amazonaws.opensearch#ValidationException":
2055
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2056
+ default:
2057
+ const parsedBody = parsedOutput.body;
2058
+ return throwDefaultError({
2059
+ output,
2060
+ parsedBody,
2061
+ errorCode,
2062
+ });
2063
+ }
2064
+ };
2065
+ const de_DescribeDomainNodesCommand = async (output, context) => {
2066
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2067
+ return de_DescribeDomainNodesCommandError(output, context);
2068
+ }
2069
+ const contents = (0, smithy_client_1.map)({
2070
+ $metadata: deserializeMetadata(output),
2071
+ });
2072
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2073
+ const doc = (0, smithy_client_1.take)(data, {
2074
+ DomainNodesStatusList: smithy_client_1._json,
2075
+ });
2076
+ Object.assign(contents, doc);
2077
+ return contents;
2078
+ };
2079
+ exports.de_DescribeDomainNodesCommand = de_DescribeDomainNodesCommand;
2080
+ const de_DescribeDomainNodesCommandError = async (output, context) => {
2081
+ const parsedOutput = {
2082
+ ...output,
2083
+ body: await parseErrorBody(output.body, context),
2084
+ };
2085
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2086
+ switch (errorCode) {
2087
+ case "BaseException":
2088
+ case "com.amazonaws.opensearch#BaseException":
2089
+ throw await de_BaseExceptionRes(parsedOutput, context);
2090
+ case "DependencyFailureException":
2091
+ case "com.amazonaws.opensearch#DependencyFailureException":
2092
+ throw await de_DependencyFailureExceptionRes(parsedOutput, context);
2093
+ case "DisabledOperationException":
2094
+ case "com.amazonaws.opensearch#DisabledOperationException":
2095
+ throw await de_DisabledOperationExceptionRes(parsedOutput, context);
2096
+ case "InternalException":
2097
+ case "com.amazonaws.opensearch#InternalException":
2098
+ throw await de_InternalExceptionRes(parsedOutput, context);
2099
+ case "ResourceNotFoundException":
2100
+ case "com.amazonaws.opensearch#ResourceNotFoundException":
2101
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2102
+ case "ValidationException":
2103
+ case "com.amazonaws.opensearch#ValidationException":
2104
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2105
+ default:
2106
+ const parsedBody = parsedOutput.body;
2107
+ return throwDefaultError({
2108
+ output,
2109
+ parsedBody,
2110
+ errorCode,
2111
+ });
2112
+ }
2113
+ };
1969
2114
  const de_DescribeDomainsCommand = async (output, context) => {
1970
2115
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1971
2116
  return de_DescribeDomainsCommandError(output, context);
@@ -3537,6 +3682,19 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
3537
3682
  });
3538
3683
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3539
3684
  };
3685
+ const de_DependencyFailureExceptionRes = async (parsedOutput, context) => {
3686
+ const contents = (0, smithy_client_1.map)({});
3687
+ const data = parsedOutput.body;
3688
+ const doc = (0, smithy_client_1.take)(data, {
3689
+ message: smithy_client_1.expectString,
3690
+ });
3691
+ Object.assign(contents, doc);
3692
+ const exception = new models_0_1.DependencyFailureException({
3693
+ $metadata: deserializeMetadata(parsedOutput),
3694
+ ...contents,
3695
+ });
3696
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3697
+ };
3540
3698
  const de_DisabledOperationExceptionRes = async (parsedOutput, context) => {
3541
3699
  const contents = (0, smithy_client_1.map)({});
3542
3700
  const data = parsedOutput.body;
@@ -17,6 +17,8 @@ import { DescribeDomainAutoTunesCommand, } from "./commands/DescribeDomainAutoTu
17
17
  import { DescribeDomainChangeProgressCommand, } from "./commands/DescribeDomainChangeProgressCommand";
18
18
  import { DescribeDomainCommand, } from "./commands/DescribeDomainCommand";
19
19
  import { DescribeDomainConfigCommand, } from "./commands/DescribeDomainConfigCommand";
20
+ import { DescribeDomainHealthCommand, } from "./commands/DescribeDomainHealthCommand";
21
+ import { DescribeDomainNodesCommand, } from "./commands/DescribeDomainNodesCommand";
20
22
  import { DescribeDomainsCommand, } from "./commands/DescribeDomainsCommand";
21
23
  import { DescribeDryRunProgressCommand, } from "./commands/DescribeDryRunProgressCommand";
22
24
  import { DescribeInboundConnectionsCommand, } from "./commands/DescribeInboundConnectionsCommand";
@@ -71,6 +73,8 @@ const commands = {
71
73
  DescribeDomainAutoTunesCommand,
72
74
  DescribeDomainChangeProgressCommand,
73
75
  DescribeDomainConfigCommand,
76
+ DescribeDomainHealthCommand,
77
+ DescribeDomainNodesCommand,
74
78
  DescribeDomainsCommand,
75
79
  DescribeDryRunProgressCommand,
76
80
  DescribeInboundConnectionsCommand,
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DescribeDomainHealthCommand, se_DescribeDomainHealthCommand } from "../protocols/Aws_restJson1";
5
+ export class DescribeDomainHealthCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDomainHealthCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "OpenSearchClient";
24
+ const commandName = "DescribeDomainHealthCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_DescribeDomainHealthCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_DescribeDomainHealthCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_DescribeDomainNodesCommand, se_DescribeDomainNodesCommand } from "../protocols/Aws_restJson1";
5
+ export class DescribeDomainNodesCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDomainNodesCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "OpenSearchClient";
24
+ const commandName = "DescribeDomainNodesCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return se_DescribeDomainNodesCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return de_DescribeDomainNodesCommand(output, context);
40
+ }
41
+ }
@@ -16,6 +16,8 @@ export * from "./DescribeDomainAutoTunesCommand";
16
16
  export * from "./DescribeDomainChangeProgressCommand";
17
17
  export * from "./DescribeDomainCommand";
18
18
  export * from "./DescribeDomainConfigCommand";
19
+ export * from "./DescribeDomainHealthCommand";
20
+ export * from "./DescribeDomainNodesCommand";
19
21
  export * from "./DescribeDomainsCommand";
20
22
  export * from "./DescribeDryRunProgressCommand";
21
23
  export * from "./DescribeInboundConnectionsCommand";
@@ -367,6 +367,48 @@ export const RollbackOnDisable = {
367
367
  DEFAULT_ROLLBACK: "DEFAULT_ROLLBACK",
368
368
  NO_ROLLBACK: "NO_ROLLBACK",
369
369
  };
370
+ export const DomainHealth = {
371
+ Green: "Green",
372
+ NotAvailable: "NotAvailable",
373
+ Red: "Red",
374
+ Yellow: "Yellow",
375
+ };
376
+ export const DomainState = {
377
+ Active: "Active",
378
+ NotAvailable: "NotAvailable",
379
+ Processing: "Processing",
380
+ };
381
+ export const ZoneStatus = {
382
+ Active: "Active",
383
+ NotAvailable: "NotAvailable",
384
+ StandBy: "StandBy",
385
+ };
386
+ export const MasterNodeStatus = {
387
+ Available: "Available",
388
+ UnAvailable: "UnAvailable",
389
+ };
390
+ export class DependencyFailureException extends __BaseException {
391
+ constructor(opts) {
392
+ super({
393
+ name: "DependencyFailureException",
394
+ $fault: "client",
395
+ ...opts,
396
+ });
397
+ this.name = "DependencyFailureException";
398
+ this.$fault = "client";
399
+ Object.setPrototypeOf(this, DependencyFailureException.prototype);
400
+ }
401
+ }
402
+ export const NodeStatus = {
403
+ Active: "Active",
404
+ NotAvailable: "NotAvailable",
405
+ StandBy: "StandBy",
406
+ };
407
+ export const NodeType = {
408
+ Data: "Data",
409
+ Master: "Master",
410
+ Ultrawarm: "Ultrawarm",
411
+ };
370
412
  export class InvalidPaginationTokenException extends __BaseException {
371
413
  constructor(opts) {
372
414
  super({