@aws-sdk/client-opensearch 3.1164.0 → 3.1166.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 (30) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +151 -14
  3. package/dist-es/OpenSearch.js +2 -0
  4. package/dist-es/commands/UpdateCloneCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +28 -0
  7. package/dist-es/schemas/schemas_0.js +97 -13
  8. package/dist-types/OpenSearch.d.ts +7 -0
  9. package/dist-types/OpenSearchClient.d.ts +3 -2
  10. package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +11 -0
  11. package/dist-types/commands/ListInsightsCommand.d.ts +2 -1
  12. package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +1 -2
  13. package/dist-types/commands/UpdateCloneCommand.d.ts +117 -0
  14. package/dist-types/commands/UpgradeDomainCommand.d.ts +18 -0
  15. package/dist-types/commands/index.d.ts +1 -0
  16. package/dist-types/models/enums.d.ts +84 -0
  17. package/dist-types/models/models_0.d.ts +59 -109
  18. package/dist-types/models/models_1.d.ts +313 -2
  19. package/dist-types/schemas/schemas_0.d.ts +13 -0
  20. package/dist-types/ts3.4/OpenSearch.d.ts +14 -0
  21. package/dist-types/ts3.4/OpenSearchClient.d.ts +3 -0
  22. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +2 -1
  23. package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +4 -2
  24. package/dist-types/ts3.4/commands/UpdateCloneCommand.d.ts +38 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/enums.d.ts +37 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +15 -22
  28. package/dist-types/ts3.4/models/models_1.d.ts +95 -1
  29. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
  30. package/package.json +8 -8
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
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";
2
+ import type { AppConfigType, ApplicationStatus, AutoTuneDesiredState, AutoTuneState, AutoTuneType, AWSServicePrincipal, CapabilityFailureReason, CapabilityStatus, ClonedBlueGreenScheduledActionType, 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>
@@ -4200,6 +4200,59 @@ export interface ChangeProgressStage {
4200
4200
  */
4201
4201
  LastUpdated?: Date | undefined;
4202
4202
  }
4203
+ /**
4204
+ * <p>An action that the service takes automatically at a scheduled time during a cloned blue/green upgrade.</p>
4205
+ * @public
4206
+ */
4207
+ export interface ClonedBlueGreenScheduledAction {
4208
+ /**
4209
+ * <p>The action that the service takes.</p>
4210
+ * @public
4211
+ */
4212
+ Action?: ClonedBlueGreenScheduledActionType | undefined;
4213
+ /**
4214
+ * <p>The time at which the service takes the action.</p>
4215
+ * @public
4216
+ */
4217
+ ScheduledTime?: Date | undefined;
4218
+ }
4219
+ /**
4220
+ * <p>The split of search traffic between the primary and cloned clusters.</p>
4221
+ * @public
4222
+ */
4223
+ export interface TrafficPercents {
4224
+ /**
4225
+ * <p>The percentage of search traffic sent to the primary cluster.</p>
4226
+ * @public
4227
+ */
4228
+ PrimaryReadTrafficPercent: number | undefined;
4229
+ /**
4230
+ * <p>The percentage of search traffic sent to the cloned cluster.</p>
4231
+ * @public
4232
+ */
4233
+ CloneReadTrafficPercent: number | undefined;
4234
+ }
4235
+ /**
4236
+ * <p>The state of a cloned blue/green upgrade. Members that don't apply are omitted.</p>
4237
+ * @public
4238
+ */
4239
+ export interface ClonedBlueGreenUpgradeDetails {
4240
+ /**
4241
+ * <p>The current split of search traffic between the primary and cloned clusters.</p>
4242
+ * @public
4243
+ */
4244
+ TrafficSplit?: TrafficPercents | undefined;
4245
+ /**
4246
+ * <p>The action that the service takes automatically if you don't act before the scheduled time.</p>
4247
+ * @public
4248
+ */
4249
+ ScheduledAction?: ClonedBlueGreenScheduledAction | undefined;
4250
+ /**
4251
+ * <p>The retention period, in hours, for the cluster that you cut over from.</p>
4252
+ * @public
4253
+ */
4254
+ RetentionInHours?: number | undefined;
4255
+ }
4203
4256
  /**
4204
4257
  * <p>A validation failure that occurred as the result of a pre-update validation check
4205
4258
  * (verbose dry run) on a domain.</p>
@@ -4280,6 +4333,11 @@ export interface ChangeProgressStatusDetails {
4280
4333
  * @public
4281
4334
  */
4282
4335
  InitiatedBy?: InitiatedBy | undefined;
4336
+ /**
4337
+ * <p>Details about a cloned blue/green upgrade, when the change is one.</p>
4338
+ * @public
4339
+ */
4340
+ ClonedBlueGreenUpgradeDetails?: ClonedBlueGreenUpgradeDetails | undefined;
4283
4341
  /**
4284
4342
  * <p>The validation failures that occurred as a result of the configuration change.</p>
4285
4343
  * @public
@@ -7543,111 +7601,3 @@ export interface Insight {
7543
7601
  */
7544
7602
  IsExperimental?: boolean | undefined;
7545
7603
  }
7546
- /**
7547
- * <p>The result of a <code>ListInsights</code> request. Contains the list of insights and
7548
- * a pagination token for retrieving the next page of results.</p>
7549
- * @public
7550
- */
7551
- export interface ListInsightsResponse {
7552
- /**
7553
- * <p>The list of insights returned for the specified entity.</p>
7554
- * @public
7555
- */
7556
- Insights?: Insight[] | undefined;
7557
- /**
7558
- * <p>When <code>NextToken</code> is returned, there are more results available. The value
7559
- * of <code>NextToken</code> is a unique pagination token for each page. Send the request
7560
- * again using the returned token to retrieve the next page.</p>
7561
- * @public
7562
- */
7563
- NextToken?: string | undefined;
7564
- }
7565
- /**
7566
- * @public
7567
- */
7568
- export interface ListInstanceTypeDetailsRequest {
7569
- /**
7570
- * <p>The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or
7571
- * OpenSearch_X.Y. Defaults to the latest version of OpenSearch.</p>
7572
- * @public
7573
- */
7574
- EngineVersion: string | undefined;
7575
- /**
7576
- * <p>The name of the domain.</p>
7577
- * @public
7578
- */
7579
- DomainName?: string | undefined;
7580
- /**
7581
- * <p>An optional parameter that specifies the maximum number of results to return. You can
7582
- * use <code>nextToken</code> to get the next page of results.</p>
7583
- * @public
7584
- */
7585
- MaxResults?: number | undefined;
7586
- /**
7587
- * <p>If your initial <code>ListInstanceTypeDetails</code> operation returns a
7588
- * <code>nextToken</code>, you can include the returned <code>nextToken</code> in
7589
- * subsequent <code>ListInstanceTypeDetails</code> operations, which returns results in the
7590
- * next page.</p>
7591
- * @public
7592
- */
7593
- NextToken?: string | undefined;
7594
- /**
7595
- * <p>An optional parameter that specifies the Availability Zones for the domain.</p>
7596
- * @public
7597
- */
7598
- RetrieveAZs?: boolean | undefined;
7599
- /**
7600
- * <p>An optional parameter that lists information for a given instance type.</p>
7601
- * @public
7602
- */
7603
- InstanceType?: string | undefined;
7604
- }
7605
- /**
7606
- * <p>Lists all instance types and available features for a given OpenSearch or Elasticsearch
7607
- * version.</p>
7608
- * @public
7609
- */
7610
- export interface InstanceTypeDetails {
7611
- /**
7612
- * <p>The instance type.</p>
7613
- * @public
7614
- */
7615
- InstanceType?: OpenSearchPartitionInstanceType | undefined;
7616
- /**
7617
- * <p>Whether encryption at rest and node-to-node encryption are supported for the instance
7618
- * type.</p>
7619
- * @public
7620
- */
7621
- EncryptionEnabled?: boolean | undefined;
7622
- /**
7623
- * <p>Whether Amazon Cognito access is supported for the instance type.</p>
7624
- * @public
7625
- */
7626
- CognitoEnabled?: boolean | undefined;
7627
- /**
7628
- * <p>Whether logging is supported for the instance type.</p>
7629
- * @public
7630
- */
7631
- AppLogsEnabled?: boolean | undefined;
7632
- /**
7633
- * <p>Whether fine-grained access control is supported for the instance type.</p>
7634
- * @public
7635
- */
7636
- AdvancedSecurityEnabled?: boolean | undefined;
7637
- /**
7638
- * <p>Whether UltraWarm is supported for the instance type.</p>
7639
- * @public
7640
- */
7641
- WarmEnabled?: boolean | undefined;
7642
- /**
7643
- * <p>Whether the instance acts as a data node, a dedicated master node, or an UltraWarm
7644
- * node.</p>
7645
- * @public
7646
- */
7647
- InstanceRole?: string[] | undefined;
7648
- /**
7649
- * <p>The supported Availability Zones for the instance type.</p>
7650
- * @public
7651
- */
7652
- AvailabilityZones?: string[] | undefined;
7653
- }
@@ -1,6 +1,114 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { ActionSeverity, ActionStatus, ActionType, AWSServicePrincipal, CapabilityStatus, DataSourceStatus, DomainUseCase, DryRunMode, EngineMode, IndexStatus, IPAddressType, LogType, MaintenanceType, PackageScopeOperationEnum, ReplicationStatus, ScheduleAt, ScheduledBy } from "./enums";
3
- import type { AdvancedSecurityOptionsInput, AIConfig, AIMLOptionsInput, AppConfig, AuthorizedPrincipal, AutomatedSnapshotPauseRequestOptions, AutoTuneOptions, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceType, DeploymentStrategyOptions, DirectQueryDataSourceType, DomainConfig, DomainEndpointOptions, DomainPackageDetails, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IamIdentityCenterOptionsInput, IdentityCenterOptionsInput, InboundConnection, InstanceTypeDetails, LogPublishingOption, MigrationError, MigrationSource, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ServiceOptions, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, Tag, VpcEndpoint, VpcEndpointSummary, VPCOptions } from "./models_0";
2
+ import type { ActionSeverity, ActionStatus, ActionType, AWSServicePrincipal, CapabilityStatus, CutoverStatus, CutoverTarget, DataSourceStatus, DeploymentStrategyOverride, DomainUseCase, DryRunMode, EngineMode, IndexStatus, IPAddressType, LogType, MaintenanceType, OpenSearchPartitionInstanceType, PackageScopeOperationEnum, ReplicationStatus, RetentionAction, ScheduleAt, ScheduledBy, TrafficSplitStatus, TrafficStrategy } from "./enums";
3
+ import type { AdvancedSecurityOptionsInput, AIConfig, AIMLOptionsInput, AppConfig, AuthorizedPrincipal, AutomatedSnapshotPauseRequestOptions, AutoTuneOptions, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceType, DeploymentStrategyOptions, DirectQueryDataSourceType, DomainConfig, DomainEndpointOptions, DomainPackageDetails, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IamIdentityCenterOptionsInput, IdentityCenterOptionsInput, InboundConnection, Insight, LogPublishingOption, MigrationError, MigrationSource, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ServiceOptions, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, Tag, TrafficPercents, VpcEndpoint, VpcEndpointSummary, VPCOptions } from "./models_0";
4
+ /**
5
+ * <p>The result of a <code>ListInsights</code> request. Contains the list of insights and
6
+ * a pagination token for retrieving the next page of results.</p>
7
+ * @public
8
+ */
9
+ export interface ListInsightsResponse {
10
+ /**
11
+ * <p>The list of insights returned for the specified entity.</p>
12
+ * @public
13
+ */
14
+ Insights?: Insight[] | undefined;
15
+ /**
16
+ * <p>When <code>NextToken</code> is returned, there are more results available. The value
17
+ * of <code>NextToken</code> is a unique pagination token for each page. Send the request
18
+ * again using the returned token to retrieve the next page.</p>
19
+ * @public
20
+ */
21
+ NextToken?: string | undefined;
22
+ }
23
+ /**
24
+ * @public
25
+ */
26
+ export interface ListInstanceTypeDetailsRequest {
27
+ /**
28
+ * <p>The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or
29
+ * OpenSearch_X.Y. Defaults to the latest version of OpenSearch.</p>
30
+ * @public
31
+ */
32
+ EngineVersion: string | undefined;
33
+ /**
34
+ * <p>The name of the domain.</p>
35
+ * @public
36
+ */
37
+ DomainName?: string | undefined;
38
+ /**
39
+ * <p>An optional parameter that specifies the maximum number of results to return. You can
40
+ * use <code>nextToken</code> to get the next page of results.</p>
41
+ * @public
42
+ */
43
+ MaxResults?: number | undefined;
44
+ /**
45
+ * <p>If your initial <code>ListInstanceTypeDetails</code> operation returns a
46
+ * <code>nextToken</code>, you can include the returned <code>nextToken</code> in
47
+ * subsequent <code>ListInstanceTypeDetails</code> operations, which returns results in the
48
+ * next page.</p>
49
+ * @public
50
+ */
51
+ NextToken?: string | undefined;
52
+ /**
53
+ * <p>An optional parameter that specifies the Availability Zones for the domain.</p>
54
+ * @public
55
+ */
56
+ RetrieveAZs?: boolean | undefined;
57
+ /**
58
+ * <p>An optional parameter that lists information for a given instance type.</p>
59
+ * @public
60
+ */
61
+ InstanceType?: string | undefined;
62
+ }
63
+ /**
64
+ * <p>Lists all instance types and available features for a given OpenSearch or Elasticsearch
65
+ * version.</p>
66
+ * @public
67
+ */
68
+ export interface InstanceTypeDetails {
69
+ /**
70
+ * <p>The instance type.</p>
71
+ * @public
72
+ */
73
+ InstanceType?: OpenSearchPartitionInstanceType | undefined;
74
+ /**
75
+ * <p>Whether encryption at rest and node-to-node encryption are supported for the instance
76
+ * type.</p>
77
+ * @public
78
+ */
79
+ EncryptionEnabled?: boolean | undefined;
80
+ /**
81
+ * <p>Whether Amazon Cognito access is supported for the instance type.</p>
82
+ * @public
83
+ */
84
+ CognitoEnabled?: boolean | undefined;
85
+ /**
86
+ * <p>Whether logging is supported for the instance type.</p>
87
+ * @public
88
+ */
89
+ AppLogsEnabled?: boolean | undefined;
90
+ /**
91
+ * <p>Whether fine-grained access control is supported for the instance type.</p>
92
+ * @public
93
+ */
94
+ AdvancedSecurityEnabled?: boolean | undefined;
95
+ /**
96
+ * <p>Whether UltraWarm is supported for the instance type.</p>
97
+ * @public
98
+ */
99
+ WarmEnabled?: boolean | undefined;
100
+ /**
101
+ * <p>Whether the instance acts as a data node, a dedicated master node, or an UltraWarm
102
+ * node.</p>
103
+ * @public
104
+ */
105
+ InstanceRole?: string[] | undefined;
106
+ /**
107
+ * <p>The supported Availability Zones for the instance type.</p>
108
+ * @public
109
+ */
110
+ AvailabilityZones?: string[] | undefined;
111
+ }
4
112
  /**
5
113
  * @public
6
114
  */
@@ -1073,6 +1181,172 @@ export interface UpdateApplicationResponse {
1073
1181
  */
1074
1182
  lastUpdatedAt?: Date | undefined;
1075
1183
  }
1184
+ /**
1185
+ * <p>The cutover to perform for a cloned blue/green upgrade.</p>
1186
+ * @public
1187
+ */
1188
+ export interface CutoverRequestOptions {
1189
+ /**
1190
+ * <p>The cluster to cut over to. <code>ClonedCluster</code> makes the cloned cluster serve the domain. <code>PrimaryCluster</code> keeps the primary cluster and ends the upgrade.</p>
1191
+ * @public
1192
+ */
1193
+ Target: CutoverTarget | undefined;
1194
+ }
1195
+ /**
1196
+ * <p>Controls how long the cluster that you cut over from is kept after cutover completes. Specify exactly one of <code>RetentionInHours</code> or <code>RetentionAction</code>.</p>
1197
+ * @public
1198
+ */
1199
+ export type RetentionOptions = RetentionOptions.RetentionActionMember | RetentionOptions.RetentionInHoursMember | RetentionOptions.$UnknownMember;
1200
+ /**
1201
+ * @public
1202
+ */
1203
+ export declare namespace RetentionOptions {
1204
+ /**
1205
+ * <p>The number of hours to keep the cluster that you cut over from. The retention period starts when cutover completes. The minimum is 1 hour. In an <code>UpdateClone</code> response after cutover completes, this value is the number of hours remaining in the retention period, rounded up.</p>
1206
+ * @public
1207
+ */
1208
+ interface RetentionInHoursMember {
1209
+ RetentionInHours: number;
1210
+ RetentionAction?: never;
1211
+ $unknown?: never;
1212
+ }
1213
+ /**
1214
+ * <p>Ends the retention period now. Valid only after cutover completes.</p>
1215
+ * @public
1216
+ */
1217
+ interface RetentionActionMember {
1218
+ RetentionInHours?: never;
1219
+ RetentionAction: RetentionAction;
1220
+ $unknown?: never;
1221
+ }
1222
+ /**
1223
+ * @public
1224
+ */
1225
+ interface $UnknownMember {
1226
+ RetentionInHours?: never;
1227
+ RetentionAction?: never;
1228
+ $unknown: [string, any];
1229
+ }
1230
+ /**
1231
+ * @deprecated unused in schema-serde mode.
1232
+ *
1233
+ */
1234
+ interface Visitor<T> {
1235
+ RetentionInHours: (value: number) => T;
1236
+ RetentionAction: (value: RetentionAction) => T;
1237
+ _: (name: string, value: any) => T;
1238
+ }
1239
+ }
1240
+ /**
1241
+ * <p>The traffic shift to perform for a cloned blue/green upgrade.</p>
1242
+ * @public
1243
+ */
1244
+ export interface TrafficSplitRequestOptions {
1245
+ /**
1246
+ * <p>The traffic shifting strategy. The only valid value is <code>ShiftReadTrafficPercent</code>.</p>
1247
+ * @public
1248
+ */
1249
+ Strategy: TrafficStrategy | undefined;
1250
+ /**
1251
+ * <p>The percentage of search traffic, from 0 to 100, to send to the cloned cluster. The rest goes to the primary cluster.</p>
1252
+ * @public
1253
+ */
1254
+ CloneReadTrafficPercent: number | undefined;
1255
+ }
1256
+ /**
1257
+ * <p>Container for the request parameters to the <code>UpdateClone</code> operation.</p>
1258
+ * @public
1259
+ */
1260
+ export interface UpdateCloneRequest {
1261
+ /**
1262
+ * <p>The name of the domain that has a cloned blue/green upgrade in progress.</p>
1263
+ * @public
1264
+ */
1265
+ DomainName: string | undefined;
1266
+ /**
1267
+ * <p>Shifts a percentage of search traffic from the primary cluster to the cloned cluster.</p>
1268
+ * @public
1269
+ */
1270
+ TrafficSplitOptions?: TrafficSplitRequestOptions | undefined;
1271
+ /**
1272
+ * <p>Cuts the domain over to the cloned cluster or back to the primary cluster.</p>
1273
+ * @public
1274
+ */
1275
+ CutoverOptions?: CutoverRequestOptions | undefined;
1276
+ /**
1277
+ * <p>Changes the retention period, or ends it after cutover completes.</p>
1278
+ * @public
1279
+ */
1280
+ RetentionOptions?: RetentionOptions | undefined;
1281
+ }
1282
+ /**
1283
+ * <p>The cutover target and status for a cloned blue/green upgrade.</p>
1284
+ * @public
1285
+ */
1286
+ export interface CutoverOptions {
1287
+ /**
1288
+ * <p>The cluster that the domain is cutting over to.</p>
1289
+ * @public
1290
+ */
1291
+ Target: CutoverTarget | undefined;
1292
+ /**
1293
+ * <p>The status of the cutover.</p>
1294
+ * @public
1295
+ */
1296
+ Status: CutoverStatus | undefined;
1297
+ }
1298
+ /**
1299
+ * <p>The traffic split and status for a cloned blue/green upgrade.</p>
1300
+ * @public
1301
+ */
1302
+ export interface TrafficSplitOptions {
1303
+ /**
1304
+ * <p>The traffic split currently in effect.</p>
1305
+ * @public
1306
+ */
1307
+ Current: TrafficPercents | undefined;
1308
+ /**
1309
+ * <p>The requested traffic split.</p>
1310
+ * @public
1311
+ */
1312
+ Target: TrafficPercents | undefined;
1313
+ /**
1314
+ * <p>The status of the traffic shift.</p>
1315
+ * @public
1316
+ */
1317
+ Status: TrafficSplitStatus | undefined;
1318
+ }
1319
+ /**
1320
+ * <p>Container for the response returned by the <code>UpdateClone</code> operation.</p>
1321
+ * @public
1322
+ */
1323
+ export interface UpdateCloneResponse {
1324
+ /**
1325
+ * <p>The name of the domain.</p>
1326
+ * @public
1327
+ */
1328
+ DomainName: string | undefined;
1329
+ /**
1330
+ * <p>The unique identifier of the configuration change. Use it with <code>DescribeDomainChangeProgress</code> to track the change.</p>
1331
+ * @public
1332
+ */
1333
+ ChangeId: string | undefined;
1334
+ /**
1335
+ * <p>The requested cutover target and the status of the cutover.</p>
1336
+ * @public
1337
+ */
1338
+ CutoverOptions?: CutoverOptions | undefined;
1339
+ /**
1340
+ * <p>The current and requested traffic split, and the status of the traffic shift.</p>
1341
+ * @public
1342
+ */
1343
+ TrafficSplitOptions?: TrafficSplitOptions | undefined;
1344
+ /**
1345
+ * <p>The retention settings for the upgrade.</p>
1346
+ * @public
1347
+ */
1348
+ RetentionOptions?: RetentionOptions | undefined;
1349
+ }
1076
1350
  /**
1077
1351
  * <p>Container for the parameters to the <code>UpdateDataSource</code> operation.</p>
1078
1352
  * @public
@@ -1583,6 +1857,33 @@ export interface UpdateVpcEndpointResponse {
1583
1857
  */
1584
1858
  VpcEndpoint: VpcEndpoint | undefined;
1585
1859
  }
1860
+ /**
1861
+ * <p>Options for a cloned blue/green upgrade.</p>
1862
+ * @public
1863
+ */
1864
+ export interface ClonedBlueGreenOptions {
1865
+ /**
1866
+ * <p>How long to keep the cluster that you cut over from after cutover completes. When you start the upgrade, only <code>RetentionInHours</code> is accepted.</p>
1867
+ * @public
1868
+ */
1869
+ RetentionOptions?: RetentionOptions | undefined;
1870
+ }
1871
+ /**
1872
+ * <p>Overrides the deployment strategy for a single operation, such as a version upgrade.</p>
1873
+ * @public
1874
+ */
1875
+ export interface DeploymentStrategyOverrideOptions {
1876
+ /**
1877
+ * <p>The deployment strategy to use for this operation. The only valid value is <code>ClonedBlueGreen</code>, which creates a cloned cluster on the target version next to the primary cluster so that you can validate it and shift traffic to it before you cut over.</p>
1878
+ * @public
1879
+ */
1880
+ DeploymentStrategy: DeploymentStrategyOverride | undefined;
1881
+ /**
1882
+ * <p>Options that apply when <code>DeploymentStrategy</code> is <code>ClonedBlueGreen</code>.</p>
1883
+ * @public
1884
+ */
1885
+ ClonedBlueGreenOptions?: ClonedBlueGreenOptions | undefined;
1886
+ }
1586
1887
  /**
1587
1888
  * <p>Container for the request parameters to the <code>UpgradeDomain</code>
1588
1889
  * operation.</p>
@@ -1614,6 +1915,11 @@ export interface UpgradeDomainRequest {
1614
1915
  * @public
1615
1916
  */
1616
1917
  AdvancedOptions?: Record<string, string> | undefined;
1918
+ /**
1919
+ * <p>Overrides the deployment strategy for this upgrade. To run a cloned blue/green upgrade, set <code>DeploymentStrategy</code> to <code>ClonedBlueGreen</code>.</p>
1920
+ * @public
1921
+ */
1922
+ DeploymentStrategyOptions?: DeploymentStrategyOverrideOptions | undefined;
1617
1923
  }
1618
1924
  /**
1619
1925
  * <p>Container for the response returned by <code>UpgradeDomain</code> operation.</p>
@@ -1645,6 +1951,11 @@ export interface UpgradeDomainResponse {
1645
1951
  * @public
1646
1952
  */
1647
1953
  AdvancedOptions?: Record<string, string> | undefined;
1954
+ /**
1955
+ * <p>The deployment strategy override used for the upgrade.</p>
1956
+ * @public
1957
+ */
1958
+ DeploymentStrategyOptions?: DeploymentStrategyOverrideOptions | undefined;
1648
1959
  /**
1649
1960
  * <p>Container for information about a configuration change happening on a domain.</p>
1650
1961
  * @public
@@ -75,6 +75,9 @@ export declare var CategoryDiffResult$: StaticStructureSchema;
75
75
  export declare var ChangeProgressDetails$: StaticStructureSchema;
76
76
  export declare var ChangeProgressStage$: StaticStructureSchema;
77
77
  export declare var ChangeProgressStatusDetails$: StaticStructureSchema;
78
+ export declare var ClonedBlueGreenOptions$: StaticStructureSchema;
79
+ export declare var ClonedBlueGreenScheduledAction$: StaticStructureSchema;
80
+ export declare var ClonedBlueGreenUpgradeDetails$: StaticStructureSchema;
78
81
  export declare var CloudWatchDirectQueryDataSource$: StaticStructureSchema;
79
82
  export declare var ClusterConfig$: StaticStructureSchema;
80
83
  export declare var ClusterConfigStatus$: StaticStructureSchema;
@@ -98,6 +101,8 @@ export declare var CreatePackageResponse$: StaticStructureSchema;
98
101
  export declare var CreateVpcEndpointRequest$: StaticStructureSchema;
99
102
  export declare var CreateVpcEndpointResponse$: StaticStructureSchema;
100
103
  export declare var CrossClusterSearchConnectionProperties$: StaticStructureSchema;
104
+ export declare var CutoverOptions$: StaticStructureSchema;
105
+ export declare var CutoverRequestOptions$: StaticStructureSchema;
101
106
  export declare var DataSource$: StaticStructureSchema;
102
107
  export declare var DataSourceAttachmentSummary$: StaticStructureSchema;
103
108
  export declare var DataSourceDetails$: StaticStructureSchema;
@@ -120,6 +125,7 @@ export declare var DeleteVpcEndpointRequest$: StaticStructureSchema;
120
125
  export declare var DeleteVpcEndpointResponse$: StaticStructureSchema;
121
126
  export declare var DeploymentStrategyOptions$: StaticStructureSchema;
122
127
  export declare var DeploymentStrategyOptionsStatus$: StaticStructureSchema;
128
+ export declare var DeploymentStrategyOverrideOptions$: StaticStructureSchema;
123
129
  export declare var DeregisterCapabilityRequest$: StaticStructureSchema;
124
130
  export declare var DeregisterCapabilityResponse$: StaticStructureSchema;
125
131
  export declare var DescribeDataSourceAttachmentRequest$: StaticStructureSchema;
@@ -352,8 +358,13 @@ export declare var StorageTypeLimit$: StaticStructureSchema;
352
358
  export declare var SwitchoverReplicationRequest$: StaticStructureSchema;
353
359
  export declare var SwitchoverReplicationResponse$: StaticStructureSchema;
354
360
  export declare var Tag$: StaticStructureSchema;
361
+ export declare var TrafficPercents$: StaticStructureSchema;
362
+ export declare var TrafficSplitOptions$: StaticStructureSchema;
363
+ export declare var TrafficSplitRequestOptions$: StaticStructureSchema;
355
364
  export declare var UpdateApplicationRequest$: StaticStructureSchema;
356
365
  export declare var UpdateApplicationResponse$: StaticStructureSchema;
366
+ export declare var UpdateCloneRequest$: StaticStructureSchema;
367
+ export declare var UpdateCloneResponse$: StaticStructureSchema;
357
368
  export declare var UpdateDataSourceRequest$: StaticStructureSchema;
358
369
  export declare var UpdateDataSourceResponse$: StaticStructureSchema;
359
370
  export declare var UpdateDirectQueryDataSourceRequest$: StaticStructureSchema;
@@ -391,6 +402,7 @@ export declare var CapabilityBaseResponseConfig$: StaticUnionSchema;
391
402
  export declare var CapabilityExtendedResponseConfig$: StaticUnionSchema;
392
403
  export declare var DataSourceType$: StaticUnionSchema;
393
404
  export declare var DirectQueryDataSourceType$: StaticUnionSchema;
405
+ export declare var RetentionOptions$: StaticUnionSchema;
394
406
  export declare var AcceptInboundConnection$: StaticOperationSchema;
395
407
  export declare var AddDataSource$: StaticOperationSchema;
396
408
  export declare var AddDirectQueryDataSource$: StaticOperationSchema;
@@ -484,6 +496,7 @@ export declare var StartMigration$: StaticOperationSchema;
484
496
  export declare var StartServiceSoftwareUpdate$: StaticOperationSchema;
485
497
  export declare var SwitchoverReplication$: StaticOperationSchema;
486
498
  export declare var UpdateApplication$: StaticOperationSchema;
499
+ export declare var UpdateClone$: StaticOperationSchema;
487
500
  export declare var UpdateDataSource$: StaticOperationSchema;
488
501
  export declare var UpdateDirectQueryDataSource$: StaticOperationSchema;
489
502
  export declare var UpdateDomainConfig$: StaticOperationSchema;
@@ -358,6 +358,7 @@ import {
358
358
  UpdateApplicationCommandInput,
359
359
  UpdateApplicationCommandOutput,
360
360
  } from "./commands/UpdateApplicationCommand";
361
+ import { UpdateCloneCommandInput, UpdateCloneCommandOutput } from "./commands/UpdateCloneCommand";
361
362
  import {
362
363
  UpdateDataSourceCommandInput,
363
364
  UpdateDataSourceCommandOutput,
@@ -1608,6 +1609,19 @@ export interface OpenSearch {
1608
1609
  options: OpenSearchRequestOptions,
1609
1610
  cb: (err: any, data?: UpdateApplicationCommandOutput) => void,
1610
1611
  ): void;
1612
+ updateClone(
1613
+ args: UpdateCloneCommandInput,
1614
+ options?: OpenSearchRequestOptions,
1615
+ ): Promise<UpdateCloneCommandOutput>;
1616
+ updateClone(
1617
+ args: UpdateCloneCommandInput,
1618
+ cb: (err: any, data?: UpdateCloneCommandOutput) => void,
1619
+ ): void;
1620
+ updateClone(
1621
+ args: UpdateCloneCommandInput,
1622
+ options: OpenSearchRequestOptions,
1623
+ cb: (err: any, data?: UpdateCloneCommandOutput) => void,
1624
+ ): void;
1611
1625
  updateDataSource(
1612
1626
  args: UpdateDataSourceCommandInput,
1613
1627
  options?: OpenSearchRequestOptions,
@@ -387,6 +387,7 @@ import {
387
387
  UpdateApplicationCommandInput,
388
388
  UpdateApplicationCommandOutput,
389
389
  } from "./commands/UpdateApplicationCommand";
390
+ import { UpdateCloneCommandInput, UpdateCloneCommandOutput } from "./commands/UpdateCloneCommand";
390
391
  import {
391
392
  UpdateDataSourceCommandInput,
392
393
  UpdateDataSourceCommandOutput,
@@ -521,6 +522,7 @@ export type ServiceInputTypes =
521
522
  | StartServiceSoftwareUpdateCommandInput
522
523
  | SwitchoverReplicationCommandInput
523
524
  | UpdateApplicationCommandInput
525
+ | UpdateCloneCommandInput
524
526
  | UpdateDataSourceCommandInput
525
527
  | UpdateDirectQueryDataSourceCommandInput
526
528
  | UpdateDomainConfigCommandInput
@@ -624,6 +626,7 @@ export type ServiceOutputTypes =
624
626
  | StartServiceSoftwareUpdateCommandOutput
625
627
  | SwitchoverReplicationCommandOutput
626
628
  | UpdateApplicationCommandOutput
629
+ | UpdateCloneCommandOutput
627
630
  | UpdateDataSourceCommandOutput
628
631
  | UpdateDirectQueryDataSourceCommandOutput
629
632
  | UpdateDomainConfigCommandOutput
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { ListInsightsRequest, ListInsightsResponse } from "../models/models_0";
2
+ import { ListInsightsRequest } from "../models/models_0";
3
+ import { ListInsightsResponse } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface ListInsightsCommandInput extends ListInsightsRequest {}
5
6
  export interface ListInsightsCommandOutput extends ListInsightsResponse, __MetadataBearer {}
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { ListInstanceTypeDetailsRequest } from "../models/models_0";
3
- import { ListInstanceTypeDetailsResponse } from "../models/models_1";
2
+ import {
3
+ ListInstanceTypeDetailsRequest,
4
+ ListInstanceTypeDetailsResponse,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface ListInstanceTypeDetailsCommandInput extends ListInstanceTypeDetailsRequest {}
6
8
  export interface ListInstanceTypeDetailsCommandOutput