@aws-sdk/client-opensearch 3.1158.0 → 3.1159.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 (54) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +279 -41
  3. package/dist-es/OpenSearch.js +12 -0
  4. package/dist-es/commands/AddReplicationPeerCommand.js +4 -0
  5. package/dist-es/commands/CompareDomainConfigurationCommand.js +4 -0
  6. package/dist-es/commands/DescribeDomainReplicationCommand.js +4 -0
  7. package/dist-es/commands/FailoverReplicationCommand.js +4 -0
  8. package/dist-es/commands/RemoveReplicationPeerCommand.js +4 -0
  9. package/dist-es/commands/SwitchoverReplicationCommand.js +4 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/enums.js +21 -0
  12. package/dist-es/models/errors.js +13 -13
  13. package/dist-es/schemas/schemas_0.js +189 -27
  14. package/dist-types/OpenSearch.d.ts +42 -0
  15. package/dist-types/OpenSearchClient.d.ts +8 -2
  16. package/dist-types/commands/AddReplicationPeerCommand.d.ts +93 -0
  17. package/dist-types/commands/CompareDomainConfigurationCommand.d.ts +124 -0
  18. package/dist-types/commands/DescribeDomainReplicationCommand.d.ts +96 -0
  19. package/dist-types/commands/FailoverReplicationCommand.d.ts +91 -0
  20. package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +2 -1
  21. package/dist-types/commands/ListMigrationsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
  23. package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
  26. package/dist-types/commands/RemoveReplicationPeerCommand.d.ts +86 -0
  27. package/dist-types/commands/SwitchoverReplicationCommand.d.ts +90 -0
  28. package/dist-types/commands/index.d.ts +6 -0
  29. package/dist-types/models/enums.d.ts +53 -0
  30. package/dist-types/models/errors.d.ts +12 -12
  31. package/dist-types/models/models_0.d.ts +382 -314
  32. package/dist-types/models/models_1.d.ts +381 -2
  33. package/dist-types/schemas/schemas_0.d.ts +23 -0
  34. package/dist-types/ts3.4/OpenSearch.d.ts +102 -0
  35. package/dist-types/ts3.4/OpenSearchClient.d.ts +36 -0
  36. package/dist-types/ts3.4/commands/AddReplicationPeerCommand.d.ts +39 -0
  37. package/dist-types/ts3.4/commands/CompareDomainConfigurationCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/DescribeDomainReplicationCommand.d.ts +42 -0
  39. package/dist-types/ts3.4/commands/FailoverReplicationCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/ListMigrationsCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/RemoveReplicationPeerCommand.d.ts +39 -0
  47. package/dist-types/ts3.4/commands/SwitchoverReplicationCommand.d.ts +39 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  49. package/dist-types/ts3.4/models/enums.d.ts +25 -0
  50. package/dist-types/ts3.4/models/errors.d.ts +6 -6
  51. package/dist-types/ts3.4/models/models_0.d.ts +70 -72
  52. package/dist-types/ts3.4/models/models_1.d.ts +92 -1
  53. package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -0
  54. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { ActionSeverity, ActionStatus, ActionType, AppConfigType, ApplicationStatus, AutoTuneDesiredState, AutoTuneState, AutoTuneType, AWSServicePrincipal, CapabilityFailureReason, CapabilityStatus, ConfigChangeStatus, ConnectionMode, DataSourceAttachmentStatus, DataSourceStatus, DeploymentStatus, DeploymentStrategy, DescribePackagesFilterName, DomainHealth, DomainPackageStatus, DomainProcessingStatusType, DomainState, DomainUseCase, EncryptionMode, EngineMode, EngineType, InboundConnectionStatusCode, IndexStatus, InitiatedBy, InsightEntityType, InsightFeedbackEntityType, InsightFeedbackThumbs, InsightFieldType, InsightPriorityLevel, InsightResponseStatus, InsightSortOrder, InsightStatus, InsightType, IPAddressType, LogType, MaintenanceStatus, MaintenanceType, MasterNodeStatus, NaturalLanguageQueryGenerationCurrentState, NaturalLanguageQueryGenerationDesiredState, NodeOptionsNodeType, NodeStatus, NodeType, OpenSearchPartitionInstanceType, OpenSearchWarmPartitionInstanceType, OptionState, OutboundConnectionStatusCode, OverallChangeStatus, PackageStatus, PackageType, PauseState, PrincipalType, PropertyValueType, RequirementLevel, ReservedInstancePaymentOption, RolesKeyIdCOption, RollbackOnDisable, ScheduledAutoTuneActionType, ScheduledAutoTuneSeverityType, ScheduledBy, SkipUnavailableStatus, SubjectKeyIdCOption, TimeUnit, TLSSecurityPolicy, UpgradeStatus, UpgradeStep, ValidationFailureSeverity, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus, ZoneStatus } from "./enums";
2
+ import type { AppConfigType, ApplicationStatus, AutoTuneDesiredState, AutoTuneState, AutoTuneType, AWSServicePrincipal, CapabilityFailureReason, CapabilityStatus, ConfigChangeStatus, ConnectionMode, DataSourceAttachmentStatus, DataSourceStatus, DeploymentStatus, DeploymentStrategy, DescribePackagesFilterName, DiffFieldPolicy, DiffStatus, DomainHealth, DomainPackageStatus, DomainProcessingStatusType, DomainState, DomainUseCase, EncryptionMode, EngineMode, EngineType, InboundConnectionStatusCode, IndexStatus, InitiatedBy, InsightEntityType, InsightFeedbackEntityType, InsightFeedbackThumbs, InsightFieldType, InsightPriorityLevel, InsightResponseStatus, InsightSortOrder, InsightStatus, InsightType, IPAddressType, LogType, MaintenanceStatus, MaintenanceType, MasterNodeStatus, NaturalLanguageQueryGenerationCurrentState, NaturalLanguageQueryGenerationDesiredState, NodeOptionsNodeType, NodeStatus, NodeType, OpenSearchPartitionInstanceType, OpenSearchWarmPartitionInstanceType, OptionState, OutboundConnectionStatusCode, OverallChangeStatus, PackageStatus, PackageType, PauseState, PrincipalType, PropertyValueType, ReplicationRole, ReplicationStatus, RequirementLevel, ReservedInstancePaymentOption, RolesKeyIdCOption, RollbackOnDisable, ScheduledAutoTuneActionType, ScheduledAutoTuneSeverityType, SkipUnavailableStatus, SubjectKeyIdCOption, TimeUnit, TLSSecurityPolicy, UpgradeStatus, UpgradeStep, ValidationFailureSeverity, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus, ZoneStatus } from "./enums";
3
3
  /**
4
4
  * <p>Container for the parameters to the <code>AcceptInboundConnection</code>
5
5
  * operation.</p>
@@ -478,6 +478,45 @@ export interface AdditionalLimit {
478
478
  */
479
479
  LimitValues?: string[] | undefined;
480
480
  }
481
+ /**
482
+ * @public
483
+ */
484
+ export interface AddReplicationPeerRequest {
485
+ /**
486
+ * <p>The name of an OpenSearch Service domain. Domain names are unique across the domains
487
+ * owned by an account within an Amazon Web Services Region.</p>
488
+ * @public
489
+ */
490
+ DomainName: string | undefined;
491
+ /**
492
+ * <p>The Amazon Resource Name (ARN) of the domain to replicate to. The peer must be in a
493
+ * different Region from the domain you are calling, and in the same AWS account.</p>
494
+ * @public
495
+ */
496
+ PeerDomainArn: string | undefined;
497
+ /**
498
+ * <p>When <code>true</code>, validates the request and reports whether replication could be
499
+ * established, without changing either domain.</p>
500
+ * @public
501
+ */
502
+ DryRun?: boolean | undefined;
503
+ }
504
+ /**
505
+ * @public
506
+ */
507
+ export interface AddReplicationPeerResponse {
508
+ /**
509
+ * <p>The Amazon Resource Name (ARN) of the domain that is now replicating to the peer.</p>
510
+ * @public
511
+ */
512
+ DomainArn?: string | undefined;
513
+ /**
514
+ * <p>The state of the replication relationship. This is <code>PENDING_SETUP</code> immediately
515
+ * after the request is accepted.</p>
516
+ * @public
517
+ */
518
+ Status?: ReplicationStatus | undefined;
519
+ }
481
520
  /**
482
521
  * <p>Container for the parameters to the <code>AddTags</code> operation. Specifies the tags
483
522
  * to attach to the domain, data source, or application.</p>
@@ -1491,6 +1530,210 @@ export interface CancelServiceSoftwareUpdateResponse {
1491
1530
  */
1492
1531
  ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
1493
1532
  }
1533
+ /**
1534
+ * @public
1535
+ */
1536
+ export interface CompareDomainConfigurationRequest {
1537
+ /**
1538
+ * <p>The Amazon Resource Name (ARN) of the domain to compare from.</p>
1539
+ * @public
1540
+ */
1541
+ SourceDomainArn: string | undefined;
1542
+ /**
1543
+ * <p>The Amazon Resource Name (ARN) of the domain to compare against.</p>
1544
+ * @public
1545
+ */
1546
+ TargetDomainArn: string | undefined;
1547
+ /**
1548
+ * <p>The metadata categories to compare. At least one is required, and only the categories you
1549
+ * name are read and returned.</p>
1550
+ * <ul>
1551
+ * <li>
1552
+ * <p>
1553
+ * <code>aliases</code>
1554
+ * </p>
1555
+ * </li>
1556
+ * <li>
1557
+ * <p>
1558
+ * <code>alerting_monitors</code>
1559
+ * </p>
1560
+ * </li>
1561
+ * <li>
1562
+ * <p>
1563
+ * <code>cluster_settings</code>
1564
+ * </p>
1565
+ * </li>
1566
+ * <li>
1567
+ * <p>
1568
+ * <code>component_templates</code>
1569
+ * </p>
1570
+ * </li>
1571
+ * <li>
1572
+ * <p>
1573
+ * <code>ingest_pipelines</code>
1574
+ * </p>
1575
+ * </li>
1576
+ * <li>
1577
+ * <p>
1578
+ * <code>ism_policies</code> — index state management policies</p>
1579
+ * </li>
1580
+ * <li>
1581
+ * <p>
1582
+ * <code>security_action_groups</code>
1583
+ * </p>
1584
+ * </li>
1585
+ * <li>
1586
+ * <p>
1587
+ * <code>security_internal_users</code>
1588
+ * </p>
1589
+ * </li>
1590
+ * <li>
1591
+ * <p>
1592
+ * <code>security_role_mappings</code>
1593
+ * </p>
1594
+ * </li>
1595
+ * <li>
1596
+ * <p>
1597
+ * <code>security_roles</code>
1598
+ * </p>
1599
+ * </li>
1600
+ * <li>
1601
+ * <p>
1602
+ * <code>templates</code> — index templates</p>
1603
+ * </li>
1604
+ * </ul>
1605
+ * <p>The set of categories grows over time, so this list is not fixed. A category the service does
1606
+ * not recognise is rejected with the supported categories named in the error message.</p>
1607
+ * @public
1608
+ */
1609
+ Categories: string[] | undefined;
1610
+ }
1611
+ /**
1612
+ * <p>A single field that differs between the source and target copies of an item.</p>
1613
+ * @public
1614
+ */
1615
+ export interface DivergentField {
1616
+ /**
1617
+ * <p>The location of the field within the item.</p>
1618
+ * @public
1619
+ */
1620
+ Path?: string | undefined;
1621
+ /**
1622
+ * <p>The field's value on the source domain.</p>
1623
+ * @public
1624
+ */
1625
+ SourceValue?: string | undefined;
1626
+ /**
1627
+ * <p>The field's value on the target domain.</p>
1628
+ * @public
1629
+ */
1630
+ TargetValue?: string | undefined;
1631
+ /**
1632
+ * <p>How the comparison treats this field.</p>
1633
+ * @public
1634
+ */
1635
+ Policy?: DiffFieldPolicy | undefined;
1636
+ }
1637
+ /**
1638
+ * <p>An item that exists on both domains but whose contents differ.</p>
1639
+ * @public
1640
+ */
1641
+ export interface DivergentItem {
1642
+ /**
1643
+ * <p>The name of the item.</p>
1644
+ * @public
1645
+ */
1646
+ Name?: string | undefined;
1647
+ /**
1648
+ * <p>The fields of the item that differ.</p>
1649
+ * @public
1650
+ */
1651
+ Fields?: DivergentField[] | undefined;
1652
+ }
1653
+ /**
1654
+ * <p>The items that differ within one metadata category.</p>
1655
+ * @public
1656
+ */
1657
+ export interface DiffItems {
1658
+ /**
1659
+ * <p>The names of items that exist only on the source domain.</p>
1660
+ * @public
1661
+ */
1662
+ SourceOnly?: string[] | undefined;
1663
+ /**
1664
+ * <p>The names of items that exist only on the target domain.</p>
1665
+ * @public
1666
+ */
1667
+ TargetOnly?: string[] | undefined;
1668
+ /**
1669
+ * <p>The items that exist on both domains but differ, with the diverging fields.</p>
1670
+ * @public
1671
+ */
1672
+ Diverged?: DivergentItem[] | undefined;
1673
+ }
1674
+ /**
1675
+ * <p>The result of comparing one metadata category between two domains.</p>
1676
+ * @public
1677
+ */
1678
+ export interface CategoryDiffResult {
1679
+ /**
1680
+ * <p>Whether the category was compared successfully. <code>compared</code> means the result is
1681
+ * complete; <code>error</code> means the category could not be read.</p>
1682
+ * @public
1683
+ */
1684
+ Status?: DiffStatus | undefined;
1685
+ /**
1686
+ * <p>The number of items that are identical on both domains.</p>
1687
+ * @public
1688
+ */
1689
+ InSync?: number | undefined;
1690
+ /**
1691
+ * <p>The number of items that exist only on the source domain.</p>
1692
+ * @public
1693
+ */
1694
+ SourceOnly?: number | undefined;
1695
+ /**
1696
+ * <p>The number of items that exist only on the target domain.</p>
1697
+ * @public
1698
+ */
1699
+ TargetOnly?: number | undefined;
1700
+ /**
1701
+ * <p>The number of items that exist on both domains but differ.</p>
1702
+ * @public
1703
+ */
1704
+ Diverged?: number | undefined;
1705
+ /**
1706
+ * <p>The names of the items that differ, and for diverging items, the fields that differ.</p>
1707
+ * @public
1708
+ */
1709
+ Items?: DiffItems | undefined;
1710
+ /**
1711
+ * <p>Whether <code>Items</code> omits some differences because the category contained more than
1712
+ * the response can carry. The counts remain complete when this is <code>true</code>.</p>
1713
+ * @public
1714
+ */
1715
+ Truncated?: boolean | undefined;
1716
+ }
1717
+ /**
1718
+ * @public
1719
+ */
1720
+ export interface CompareDomainConfigurationResponse {
1721
+ /**
1722
+ * <p>The Amazon Resource Name (ARN) of the domain that was compared from.</p>
1723
+ * @public
1724
+ */
1725
+ SourceDomainArn?: string | undefined;
1726
+ /**
1727
+ * <p>The Amazon Resource Name (ARN) of the domain that was compared against.</p>
1728
+ * @public
1729
+ */
1730
+ TargetDomainArn?: string | undefined;
1731
+ /**
1732
+ * <p>The comparison result for each category you requested, keyed by category name.</p>
1733
+ * @public
1734
+ */
1735
+ Categories?: Record<string, CategoryDiffResult> | undefined;
1736
+ }
1494
1737
  /**
1495
1738
  * <p>Configuration settings for an OpenSearch application. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/application.html">Using the
1496
1739
  * OpenSearch user interface in Amazon OpenSearch Service</a>.</p>
@@ -4875,6 +5118,105 @@ export interface DescribeDomainNodesResponse {
4875
5118
  */
4876
5119
  DomainNodesStatusList?: DomainNodesStatus[] | undefined;
4877
5120
  }
5121
+ /**
5122
+ * @public
5123
+ */
5124
+ export interface DescribeDomainReplicationRequest {
5125
+ /**
5126
+ * <p>The name of an OpenSearch Service domain. Domain names are unique across the domains
5127
+ * owned by an account within an Amazon Web Services Region.</p>
5128
+ * @public
5129
+ */
5130
+ DomainName: string | undefined;
5131
+ }
5132
+ /**
5133
+ * <p>A domain that another domain replicates with, and the state of that relationship.</p>
5134
+ * @public
5135
+ */
5136
+ export interface ReplicationPeer {
5137
+ /**
5138
+ * <p>The Amazon Resource Name (ARN) of the peer domain.</p>
5139
+ * @public
5140
+ */
5141
+ PeerDomainArn?: string | undefined;
5142
+ /**
5143
+ * <p>The peer's role in the relationship, either <code>PRIMARY</code> or
5144
+ * <code>SECONDARY</code>.</p>
5145
+ * @public
5146
+ */
5147
+ PeerRole?: ReplicationRole | undefined;
5148
+ /**
5149
+ * <p>The state of the relationship:</p>
5150
+ * <ul>
5151
+ * <li>
5152
+ * <p>
5153
+ * <code>PENDING_SETUP</code> - replication is being established.</p>
5154
+ * </li>
5155
+ * <li>
5156
+ * <p>
5157
+ * <code>ACTIVE</code> - replication is running.</p>
5158
+ * </li>
5159
+ * <li>
5160
+ * <p>
5161
+ * <code>SWITCHING_OVER</code> - a planned promotion is in progress.</p>
5162
+ * </li>
5163
+ * <li>
5164
+ * <p>
5165
+ * <code>FAILING_OVER</code> - an unplanned promotion is in progress.</p>
5166
+ * </li>
5167
+ * <li>
5168
+ * <p>
5169
+ * <code>PENDING_REMOVAL</code> - replication is being stopped.</p>
5170
+ * </li>
5171
+ * <li>
5172
+ * <p>
5173
+ * <code>DETACHED</code> - the relationship has ended.</p>
5174
+ * </li>
5175
+ * <li>
5176
+ * <p>
5177
+ * <code>EJECTED</code> - a failover promoted the other domain. The former primary
5178
+ * keeps the data it had when it was ejected and stays read-only until you remove the peer, or
5179
+ * discard that data and pair again.</p>
5180
+ * </li>
5181
+ * <li>
5182
+ * <p>
5183
+ * <code>FAILED</code> - setup or teardown could not complete. You can still remove
5184
+ * the relationship.</p>
5185
+ * </li>
5186
+ * </ul>
5187
+ * <p>A relationship that is removed successfully no longer appears in <code>Peers</code>.</p>
5188
+ * @public
5189
+ */
5190
+ Status?: ReplicationStatus | undefined;
5191
+ /**
5192
+ * <p>An explanation of why the relationship is in its current state, when more detail is
5193
+ * available.</p>
5194
+ * @public
5195
+ */
5196
+ StatusMessage?: string | undefined;
5197
+ }
5198
+ /**
5199
+ * @public
5200
+ */
5201
+ export interface DescribeDomainReplicationResponse {
5202
+ /**
5203
+ * <p>The Amazon Resource Name (ARN) of the domain described.</p>
5204
+ * @public
5205
+ */
5206
+ DomainArn?: string | undefined;
5207
+ /**
5208
+ * <p>The domain's role in the arrangement, either <code>PRIMARY</code> or
5209
+ * <code>SECONDARY</code>. Absent when the domain is not replicating.</p>
5210
+ * @public
5211
+ */
5212
+ Role?: ReplicationRole | undefined;
5213
+ /**
5214
+ * <p>The domains that this domain replicates with. Each entry carries the state of that one
5215
+ * relationship. Empty when the domain is not replicating.</p>
5216
+ * @public
5217
+ */
5218
+ Peers?: ReplicationPeer[] | undefined;
5219
+ }
4878
5220
  /**
4879
5221
  * <p>Container for the parameters to the <code>DescribeDomains</code> operation.</p>
4880
5222
  * @public
@@ -5808,6 +6150,45 @@ export interface DissociatePackagesResponse {
5808
6150
  */
5809
6151
  DomainPackageDetailsList?: DomainPackageDetails[] | undefined;
5810
6152
  }
6153
+ /**
6154
+ * @public
6155
+ */
6156
+ export interface FailoverReplicationRequest {
6157
+ /**
6158
+ * <p>The name of an OpenSearch Service domain. Domain names are unique across the domains
6159
+ * owned by an account within an Amazon Web Services Region.</p>
6160
+ * @public
6161
+ */
6162
+ DomainName: string | undefined;
6163
+ /**
6164
+ * <p>The Amazon Resource Name (ARN) of the relationship's current primary. The request is
6165
+ * rejected if this domain is no longer the peer of the domain you are calling.</p>
6166
+ * @public
6167
+ */
6168
+ PeerDomainArn: string | undefined;
6169
+ /**
6170
+ * <p>Acknowledges that writes which had not yet replicated are lost. You must set this to
6171
+ * <code>true</code>; the request is rejected otherwise.</p>
6172
+ * @public
6173
+ */
6174
+ AllowDataLoss: boolean | undefined;
6175
+ }
6176
+ /**
6177
+ * @public
6178
+ */
6179
+ export interface FailoverReplicationResponse {
6180
+ /**
6181
+ * <p>The Amazon Resource Name (ARN) of the domain being promoted.</p>
6182
+ * @public
6183
+ */
6184
+ DomainArn?: string | undefined;
6185
+ /**
6186
+ * <p>The state of the replication relationship. This is <code>FAILING_OVER</code> while the
6187
+ * promotion is in progress.</p>
6188
+ * @public
6189
+ */
6190
+ Status?: ReplicationStatus | undefined;
6191
+ }
5811
6192
  /**
5812
6193
  * @public
5813
6194
  */
@@ -7270,316 +7651,3 @@ export interface InstanceTypeDetails {
7270
7651
  */
7271
7652
  AvailabilityZones?: string[] | undefined;
7272
7653
  }
7273
- /**
7274
- * @public
7275
- */
7276
- export interface ListInstanceTypeDetailsResponse {
7277
- /**
7278
- * <p>Lists all supported instance types and features for the given OpenSearch or
7279
- * Elasticsearch version.</p>
7280
- * @public
7281
- */
7282
- InstanceTypeDetails?: InstanceTypeDetails[] | undefined;
7283
- /**
7284
- * <p>When <code>nextToken</code> is returned, there are more results available. The value
7285
- * of <code>nextToken</code> is a unique pagination token for each page. Send the request
7286
- * again using the returned token to retrieve the next page.</p>
7287
- * @public
7288
- */
7289
- NextToken?: string | undefined;
7290
- }
7291
- /**
7292
- * @public
7293
- */
7294
- export interface ListMigrationsRequest {
7295
- /**
7296
- * <p>The unique identifier of the OpenSearch application to list migrations for.</p>
7297
- * @public
7298
- */
7299
- applicationId: string | undefined;
7300
- /**
7301
- * <p>Filters the results by migration status. Valid values are <code>PENDING</code>, <code>IN_PROGRESS</code>, <code>SUCCEEDED</code>, and <code>FAILED</code>.</p>
7302
- * @public
7303
- */
7304
- status?: string | undefined;
7305
- /**
7306
- * <p>The maximum number of results to return in a single call.</p>
7307
- * @public
7308
- */
7309
- maxResults?: number | undefined;
7310
- /**
7311
- * <p>The pagination token from a previous call to retrieve the next set of results.</p>
7312
- * @public
7313
- */
7314
- nextToken?: string | undefined;
7315
- }
7316
- /**
7317
- * <p>A summary of a migration job, including its status and progress.</p>
7318
- * @public
7319
- */
7320
- export interface MigrationSummary {
7321
- /**
7322
- * <p>The unique identifier of the migration job.</p>
7323
- * @public
7324
- */
7325
- migrationId?: string | undefined;
7326
- /**
7327
- * <p>The current status of the migration job.</p>
7328
- * @public
7329
- */
7330
- status?: string | undefined;
7331
- /**
7332
- * <p>The unique identifier of the OpenSearch application associated with the migration.</p>
7333
- * @public
7334
- */
7335
- applicationId?: string | undefined;
7336
- /**
7337
- * <p>The source configuration for the migration.</p>
7338
- * @public
7339
- */
7340
- source?: MigrationSource | undefined;
7341
- /**
7342
- * <p>The number of saved objects exported from the source data source.</p>
7343
- * @public
7344
- */
7345
- exportedCount?: number | undefined;
7346
- /**
7347
- * <p>The number of saved objects successfully imported into the target workspace.</p>
7348
- * @public
7349
- */
7350
- importedCount?: number | undefined;
7351
- /**
7352
- * <p>Error details if the migration failed or completed with errors.</p>
7353
- * @public
7354
- */
7355
- error?: MigrationError | undefined;
7356
- /**
7357
- * <p>The date and time when the migration job was created.</p>
7358
- * @public
7359
- */
7360
- createdAt?: Date | undefined;
7361
- /**
7362
- * <p>The date and time when the migration job was last updated.</p>
7363
- * @public
7364
- */
7365
- updatedAt?: Date | undefined;
7366
- }
7367
- /**
7368
- * @public
7369
- */
7370
- export interface ListMigrationsResponse {
7371
- /**
7372
- * <p>A list of migration job summaries for the specified application.</p>
7373
- * @public
7374
- */
7375
- migrations?: MigrationSummary[] | undefined;
7376
- /**
7377
- * <p>The pagination token to use in a subsequent call to retrieve the next set of results.</p>
7378
- * @public
7379
- */
7380
- nextToken?: string | undefined;
7381
- }
7382
- /**
7383
- * <p>Container for the request parameters to the <code>ListPackagesForDomain</code>
7384
- * operation.</p>
7385
- * @public
7386
- */
7387
- export interface ListPackagesForDomainRequest {
7388
- /**
7389
- * <p>The name of the domain for which you want to list associated packages.</p>
7390
- * @public
7391
- */
7392
- DomainName: string | undefined;
7393
- /**
7394
- * <p>An optional parameter that specifies the maximum number of results to return. You can
7395
- * use <code>nextToken</code> to get the next page of results.</p>
7396
- * @public
7397
- */
7398
- MaxResults?: number | undefined;
7399
- /**
7400
- * <p>If your initial <code>ListPackagesForDomain</code> operation returns a
7401
- * <code>nextToken</code>, you can include the returned <code>nextToken</code> in
7402
- * subsequent <code>ListPackagesForDomain</code> operations, which returns results in the
7403
- * next page.</p>
7404
- * @public
7405
- */
7406
- NextToken?: string | undefined;
7407
- }
7408
- /**
7409
- * <p>Container for the response parameters to the <code>ListPackagesForDomain</code>
7410
- * operation.</p>
7411
- * @public
7412
- */
7413
- export interface ListPackagesForDomainResponse {
7414
- /**
7415
- * <p>List of all packages associated with a domain.</p>
7416
- * @public
7417
- */
7418
- DomainPackageDetailsList?: DomainPackageDetails[] | undefined;
7419
- /**
7420
- * <p>When <code>nextToken</code> is returned, there are more results available. The value
7421
- * of <code>nextToken</code> is a unique pagination token for each page. Send the request
7422
- * again using the returned token to retrieve the next page.</p>
7423
- * @public
7424
- */
7425
- NextToken?: string | undefined;
7426
- }
7427
- /**
7428
- * @public
7429
- */
7430
- export interface ListScheduledActionsRequest {
7431
- /**
7432
- * <p>The name of the domain.</p>
7433
- * @public
7434
- */
7435
- DomainName: string | undefined;
7436
- /**
7437
- * <p>An optional parameter that specifies the maximum number of results to return. You can
7438
- * use <code>nextToken</code> to get the next page of results.</p>
7439
- * @public
7440
- */
7441
- MaxResults?: number | undefined;
7442
- /**
7443
- * <p>If your initial <code>ListScheduledActions</code> operation returns a
7444
- * <code>nextToken</code>, you can include the returned <code>nextToken</code> in
7445
- * subsequent <code>ListScheduledActions</code> operations, which returns results in the
7446
- * next page.</p>
7447
- * @public
7448
- */
7449
- NextToken?: string | undefined;
7450
- }
7451
- /**
7452
- * <p>Information about a scheduled configuration change for an OpenSearch Service domain.
7453
- * This actions can be a <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html">service
7454
- * software update</a> or a <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html#auto-tune-types">blue/green Auto-Tune enhancement</a>.</p>
7455
- * @public
7456
- */
7457
- export interface ScheduledAction {
7458
- /**
7459
- * <p>The unique identifier of the scheduled action.</p>
7460
- * @public
7461
- */
7462
- Id: string | undefined;
7463
- /**
7464
- * <p>The type of action that will be taken on the domain.</p>
7465
- * @public
7466
- */
7467
- Type: ActionType | undefined;
7468
- /**
7469
- * <p>The severity of the action.</p>
7470
- * @public
7471
- */
7472
- Severity: ActionSeverity | undefined;
7473
- /**
7474
- * <p>The time when the change is scheduled to happen.</p>
7475
- * @public
7476
- */
7477
- ScheduledTime: number | undefined;
7478
- /**
7479
- * <p>A description of the action to be taken.</p>
7480
- * @public
7481
- */
7482
- Description?: string | undefined;
7483
- /**
7484
- * <p>Whether the action was scheduled manually (<code>CUSTOMER</code>, or by OpenSearch
7485
- * Service automatically (<code>SYSTEM</code>).</p>
7486
- * @public
7487
- */
7488
- ScheduledBy?: ScheduledBy | undefined;
7489
- /**
7490
- * <p>The current status of the scheduled action.</p>
7491
- * @public
7492
- */
7493
- Status?: ActionStatus | undefined;
7494
- /**
7495
- * <p>Whether the action is required or optional.</p>
7496
- * @public
7497
- */
7498
- Mandatory?: boolean | undefined;
7499
- /**
7500
- * <p>Whether or not the scheduled action is cancellable.</p>
7501
- * @public
7502
- */
7503
- Cancellable?: boolean | undefined;
7504
- }
7505
- /**
7506
- * @public
7507
- */
7508
- export interface ListScheduledActionsResponse {
7509
- /**
7510
- * <p>A list of actions that are scheduled for the domain.</p>
7511
- * @public
7512
- */
7513
- ScheduledActions?: ScheduledAction[] | undefined;
7514
- /**
7515
- * <p>When <code>nextToken</code> is returned, there are more results available. The value
7516
- * of <code>nextToken</code> is a unique pagination token for each page. Send the request
7517
- * again using the returned token to retrieve the next page.</p>
7518
- * @public
7519
- */
7520
- NextToken?: string | undefined;
7521
- }
7522
- /**
7523
- * <p>Container for the parameters to the <code>ListTags</code> operation.</p>
7524
- * @public
7525
- */
7526
- export interface ListTagsRequest {
7527
- /**
7528
- * <p>Amazon Resource Name (ARN) for the domain, data source, or application to view tags
7529
- * for.</p>
7530
- * @public
7531
- */
7532
- ARN: string | undefined;
7533
- }
7534
- /**
7535
- * <p>The results of a <code>ListTags</code> operation.</p>
7536
- * @public
7537
- */
7538
- export interface ListTagsResponse {
7539
- /**
7540
- * <p>List of resource tags associated with the specified domain, data source, or
7541
- * application.</p>
7542
- * @public
7543
- */
7544
- TagList?: Tag[] | undefined;
7545
- }
7546
- /**
7547
- * <p>Container for the request parameters to the <code>ListVersions</code>
7548
- * operation.</p>
7549
- * @public
7550
- */
7551
- export interface ListVersionsRequest {
7552
- /**
7553
- * <p>An optional parameter that specifies the maximum number of results to return. You can
7554
- * use <code>nextToken</code> to get the next page of results.</p>
7555
- * @public
7556
- */
7557
- MaxResults?: number | undefined;
7558
- /**
7559
- * <p>If your initial <code>ListVersions</code> operation returns a <code>nextToken</code>,
7560
- * you can include the returned <code>nextToken</code> in subsequent
7561
- * <code>ListVersions</code> operations, which returns results in the next page.</p>
7562
- * @public
7563
- */
7564
- NextToken?: string | undefined;
7565
- }
7566
- /**
7567
- * <p>Container for the parameters for response received from the <code>ListVersions</code>
7568
- * operation.</p>
7569
- * @public
7570
- */
7571
- export interface ListVersionsResponse {
7572
- /**
7573
- * <p>A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service
7574
- * supports.</p>
7575
- * @public
7576
- */
7577
- Versions?: string[] | undefined;
7578
- /**
7579
- * <p>When <code>nextToken</code> is returned, there are more results available. The value
7580
- * of <code>nextToken</code> is a unique pagination token for each page. Send the request
7581
- * again using the returned token to retrieve the next page.</p>
7582
- * @public
7583
- */
7584
- NextToken?: string | undefined;
7585
- }