@aws-sdk/client-elasticsearch-service 3.1163.0 → 3.1165.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.
@@ -1,4 +1,4 @@
1
- import type { AutoTuneDesiredState, AutoTuneState, AutoTuneType, ConfigChangeStatus, DeploymentStatus, DeploymentStrategy, DescribePackagesFilterName, DomainEngineMode, DomainPackageStatus, DomainProcessingStatusType, DomainUseCase, EngineType, ESPartitionInstanceType, ESWarmPartitionInstanceType, InboundCrossClusterSearchConnectionStatusCode, InitiatedBy, LogType, OptionState, OutboundCrossClusterSearchConnectionStatusCode, OverallChangeStatus, PackageStatus, PackageType, PauseState, PrincipalType, PropertyValueType, ReservedElasticsearchInstancePaymentOption, RollbackOnDisable, ScheduledAutoTuneActionType, ScheduledAutoTuneSeverityType, TimeUnit, TLSSecurityPolicy, UpgradeStatus, UpgradeStep, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus } from "./enums";
1
+ import type { AutoTuneDesiredState, AutoTuneState, AutoTuneType, ClonedBlueGreenScheduledActionType, ConfigChangeStatus, CutoverStatus, CutoverTarget, DeploymentStatus, DeploymentStrategy, DeploymentStrategyOverride, DescribePackagesFilterName, DomainEngineMode, DomainPackageStatus, DomainProcessingStatusType, DomainUseCase, EngineType, ESPartitionInstanceType, ESWarmPartitionInstanceType, InboundCrossClusterSearchConnectionStatusCode, InitiatedBy, LogType, OptionState, OutboundCrossClusterSearchConnectionStatusCode, OverallChangeStatus, PackageStatus, PackageType, PauseState, PrincipalType, PropertyValueType, ReservedElasticsearchInstancePaymentOption, RetentionAction, RollbackOnDisable, ScheduledAutoTuneActionType, ScheduledAutoTuneSeverityType, TimeUnit, TLSSecurityPolicy, TrafficSplitStatus, TrafficStrategy, UpgradeStatus, UpgradeStep, VolumeType, VpcEndpointErrorCode, VpcEndpointStatus } from "./enums";
2
2
  /**
3
3
  * <p>Container for the parameters to the <code><a>AcceptInboundCrossClusterSearchConnection</a></code> operation.</p>
4
4
  * @public
@@ -2026,6 +2026,59 @@ export interface ChangeProgressStage {
2026
2026
  */
2027
2027
  LastUpdated?: Date | undefined;
2028
2028
  }
2029
+ /**
2030
+ * <p>An action that the service takes automatically at a scheduled time during a cloned blue/green upgrade.</p>
2031
+ * @public
2032
+ */
2033
+ export interface ClonedBlueGreenScheduledAction {
2034
+ /**
2035
+ * <p>The action that the service takes.</p>
2036
+ * @public
2037
+ */
2038
+ Action?: ClonedBlueGreenScheduledActionType | undefined;
2039
+ /**
2040
+ * <p>The time at which the service takes the action.</p>
2041
+ * @public
2042
+ */
2043
+ ScheduledTime?: Date | undefined;
2044
+ }
2045
+ /**
2046
+ * <p>The split of search traffic between the primary and cloned clusters.</p>
2047
+ * @public
2048
+ */
2049
+ export interface TrafficPercents {
2050
+ /**
2051
+ * <p>The percentage of search traffic sent to the primary cluster.</p>
2052
+ * @public
2053
+ */
2054
+ PrimaryReadTrafficPercent: number | undefined;
2055
+ /**
2056
+ * <p>The percentage of search traffic sent to the cloned cluster.</p>
2057
+ * @public
2058
+ */
2059
+ CloneReadTrafficPercent: number | undefined;
2060
+ }
2061
+ /**
2062
+ * <p>The state of a cloned blue/green upgrade. Members that don't apply are omitted.</p>
2063
+ * @public
2064
+ */
2065
+ export interface ClonedBlueGreenUpgradeDetails {
2066
+ /**
2067
+ * <p>The current split of search traffic between the primary and cloned clusters.</p>
2068
+ * @public
2069
+ */
2070
+ TrafficSplit?: TrafficPercents | undefined;
2071
+ /**
2072
+ * <p>The action that the service takes automatically if you don't act before the scheduled time.</p>
2073
+ * @public
2074
+ */
2075
+ ScheduledAction?: ClonedBlueGreenScheduledAction | undefined;
2076
+ /**
2077
+ * <p>The retention period, in hours, for the cluster that you cut over from.</p>
2078
+ * @public
2079
+ */
2080
+ RetentionInHours?: number | undefined;
2081
+ }
2029
2082
  /**
2030
2083
  * <p>The progress details of a specific domain configuration change.</p>
2031
2084
  * @public
@@ -2081,6 +2134,11 @@ export interface ChangeProgressStatusDetails {
2081
2134
  * @public
2082
2135
  */
2083
2136
  InitiatedBy?: InitiatedBy | undefined;
2137
+ /**
2138
+ * <p>Details about a cloned blue/green upgrade, when the change is one.</p>
2139
+ * @public
2140
+ */
2141
+ ClonedBlueGreenUpgradeDetails?: ClonedBlueGreenUpgradeDetails | undefined;
2084
2142
  }
2085
2143
  /**
2086
2144
  * <p>The result of a <code>DescribeDomainChangeProgress</code> request. Contains the progress information of
@@ -4137,6 +4195,172 @@ export interface StartElasticsearchServiceSoftwareUpdateResponse {
4137
4195
  */
4138
4196
  ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
4139
4197
  }
4198
+ /**
4199
+ * <p>The cutover to perform for a cloned blue/green upgrade.</p>
4200
+ * @public
4201
+ */
4202
+ export interface CutoverRequestOptions {
4203
+ /**
4204
+ * <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>
4205
+ * @public
4206
+ */
4207
+ Target: CutoverTarget | undefined;
4208
+ }
4209
+ /**
4210
+ * <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>
4211
+ * @public
4212
+ */
4213
+ export type RetentionOptions = RetentionOptions.RetentionActionMember | RetentionOptions.RetentionInHoursMember | RetentionOptions.$UnknownMember;
4214
+ /**
4215
+ * @public
4216
+ */
4217
+ export declare namespace RetentionOptions {
4218
+ /**
4219
+ * <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>
4220
+ * @public
4221
+ */
4222
+ interface RetentionInHoursMember {
4223
+ RetentionInHours: number;
4224
+ RetentionAction?: never;
4225
+ $unknown?: never;
4226
+ }
4227
+ /**
4228
+ * <p>Ends the retention period now. Valid only after cutover completes.</p>
4229
+ * @public
4230
+ */
4231
+ interface RetentionActionMember {
4232
+ RetentionInHours?: never;
4233
+ RetentionAction: RetentionAction;
4234
+ $unknown?: never;
4235
+ }
4236
+ /**
4237
+ * @public
4238
+ */
4239
+ interface $UnknownMember {
4240
+ RetentionInHours?: never;
4241
+ RetentionAction?: never;
4242
+ $unknown: [string, any];
4243
+ }
4244
+ /**
4245
+ * @deprecated unused in schema-serde mode.
4246
+ *
4247
+ */
4248
+ interface Visitor<T> {
4249
+ RetentionInHours: (value: number) => T;
4250
+ RetentionAction: (value: RetentionAction) => T;
4251
+ _: (name: string, value: any) => T;
4252
+ }
4253
+ }
4254
+ /**
4255
+ * <p>The traffic shift to perform for a cloned blue/green upgrade.</p>
4256
+ * @public
4257
+ */
4258
+ export interface TrafficSplitRequestOptions {
4259
+ /**
4260
+ * <p>The traffic shifting strategy. The only valid value is <code>ShiftReadTrafficPercent</code>.</p>
4261
+ * @public
4262
+ */
4263
+ Strategy: TrafficStrategy | undefined;
4264
+ /**
4265
+ * <p>The percentage of search traffic, from 0 to 100, to send to the cloned cluster. The rest goes to the primary cluster.</p>
4266
+ * @public
4267
+ */
4268
+ CloneReadTrafficPercent: number | undefined;
4269
+ }
4270
+ /**
4271
+ * <p>Container for the request parameters to the <code>UpdateClone</code> operation.</p>
4272
+ * @public
4273
+ */
4274
+ export interface UpdateCloneRequest {
4275
+ /**
4276
+ * <p>The name of the domain that has a cloned blue/green upgrade in progress.</p>
4277
+ * @public
4278
+ */
4279
+ DomainName: string | undefined;
4280
+ /**
4281
+ * <p>Shifts a percentage of search traffic from the primary cluster to the cloned cluster.</p>
4282
+ * @public
4283
+ */
4284
+ TrafficSplitOptions?: TrafficSplitRequestOptions | undefined;
4285
+ /**
4286
+ * <p>Cuts the domain over to the cloned cluster or back to the primary cluster.</p>
4287
+ * @public
4288
+ */
4289
+ CutoverOptions?: CutoverRequestOptions | undefined;
4290
+ /**
4291
+ * <p>Changes the retention period, or ends it after cutover completes.</p>
4292
+ * @public
4293
+ */
4294
+ RetentionOptions?: RetentionOptions | undefined;
4295
+ }
4296
+ /**
4297
+ * <p>The cutover target and status for a cloned blue/green upgrade.</p>
4298
+ * @public
4299
+ */
4300
+ export interface CutoverOptions {
4301
+ /**
4302
+ * <p>The cluster that the domain is cutting over to.</p>
4303
+ * @public
4304
+ */
4305
+ Target: CutoverTarget | undefined;
4306
+ /**
4307
+ * <p>The status of the cutover.</p>
4308
+ * @public
4309
+ */
4310
+ Status: CutoverStatus | undefined;
4311
+ }
4312
+ /**
4313
+ * <p>The traffic split and status for a cloned blue/green upgrade.</p>
4314
+ * @public
4315
+ */
4316
+ export interface TrafficSplitOptions {
4317
+ /**
4318
+ * <p>The traffic split currently in effect.</p>
4319
+ * @public
4320
+ */
4321
+ Current: TrafficPercents | undefined;
4322
+ /**
4323
+ * <p>The requested traffic split.</p>
4324
+ * @public
4325
+ */
4326
+ Target: TrafficPercents | undefined;
4327
+ /**
4328
+ * <p>The status of the traffic shift.</p>
4329
+ * @public
4330
+ */
4331
+ Status: TrafficSplitStatus | undefined;
4332
+ }
4333
+ /**
4334
+ * <p>Container for the response returned by the <code>UpdateClone</code> operation.</p>
4335
+ * @public
4336
+ */
4337
+ export interface UpdateCloneResponse {
4338
+ /**
4339
+ * <p>The name of the domain.</p>
4340
+ * @public
4341
+ */
4342
+ DomainName: string | undefined;
4343
+ /**
4344
+ * <p>The unique identifier of the configuration change. Use it with <code>DescribeDomainChangeProgress</code> to track the change.</p>
4345
+ * @public
4346
+ */
4347
+ ChangeId: string | undefined;
4348
+ /**
4349
+ * <p>The requested cutover target and the status of the cutover.</p>
4350
+ * @public
4351
+ */
4352
+ CutoverOptions?: CutoverOptions | undefined;
4353
+ /**
4354
+ * <p>The current and requested traffic split, and the status of the traffic shift.</p>
4355
+ * @public
4356
+ */
4357
+ TrafficSplitOptions?: TrafficSplitOptions | undefined;
4358
+ /**
4359
+ * <p>The retention settings for the upgrade.</p>
4360
+ * @public
4361
+ */
4362
+ RetentionOptions?: RetentionOptions | undefined;
4363
+ }
4140
4364
  /**
4141
4365
  * <p>Container for the parameters to the <code><a>UpdateElasticsearchDomain</a></code> operation. Specifies the type and number of instances in the domain cluster.</p>
4142
4366
  * @public
@@ -4363,6 +4587,33 @@ export interface UpdateVpcEndpointResponse {
4363
4587
  */
4364
4588
  VpcEndpoint: VpcEndpoint | undefined;
4365
4589
  }
4590
+ /**
4591
+ * <p>Options for a cloned blue/green upgrade.</p>
4592
+ * @public
4593
+ */
4594
+ export interface ClonedBlueGreenOptions {
4595
+ /**
4596
+ * <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>
4597
+ * @public
4598
+ */
4599
+ RetentionOptions?: RetentionOptions | undefined;
4600
+ }
4601
+ /**
4602
+ * <p>Overrides the deployment strategy for a single operation, such as a version upgrade.</p>
4603
+ * @public
4604
+ */
4605
+ export interface DeploymentStrategyOverrideOptions {
4606
+ /**
4607
+ * <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>
4608
+ * @public
4609
+ */
4610
+ DeploymentStrategy: DeploymentStrategyOverride | undefined;
4611
+ /**
4612
+ * <p>Options that apply when <code>DeploymentStrategy</code> is <code>ClonedBlueGreen</code>.</p>
4613
+ * @public
4614
+ */
4615
+ ClonedBlueGreenOptions?: ClonedBlueGreenOptions | undefined;
4616
+ }
4366
4617
  /**
4367
4618
  * <p>
4368
4619
  * Container for request parameters to
@@ -4392,6 +4643,11 @@ export interface UpgradeElasticsearchDomainRequest {
4392
4643
  * @public
4393
4644
  */
4394
4645
  PerformCheckOnly?: boolean | undefined;
4646
+ /**
4647
+ * <p>Overrides the deployment strategy for this upgrade. To run a cloned blue/green upgrade, set <code>DeploymentStrategy</code> to <code>ClonedBlueGreen</code>.</p>
4648
+ * @public
4649
+ */
4650
+ DeploymentStrategyOptions?: DeploymentStrategyOverrideOptions | undefined;
4395
4651
  }
4396
4652
  /**
4397
4653
  * <p>
@@ -4422,6 +4678,11 @@ export interface UpgradeElasticsearchDomainResponse {
4422
4678
  * @public
4423
4679
  */
4424
4680
  PerformCheckOnly?: boolean | undefined;
4681
+ /**
4682
+ * <p>The deployment strategy override used for the upgrade.</p>
4683
+ * @public
4684
+ */
4685
+ DeploymentStrategyOptions?: DeploymentStrategyOverrideOptions | undefined;
4425
4686
  /**
4426
4687
  * <p>Specifies change details of the domain configuration change.</p>
4427
4688
  * @public
@@ -1,5 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
3
  export declare var ElasticsearchServiceServiceException$: StaticErrorSchema;
4
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
5
  export declare var BaseException$: StaticErrorSchema;
@@ -51,6 +51,9 @@ export declare var CancelledChangeProperty$: StaticStructureSchema;
51
51
  export declare var ChangeProgressDetails$: StaticStructureSchema;
52
52
  export declare var ChangeProgressStage$: StaticStructureSchema;
53
53
  export declare var ChangeProgressStatusDetails$: StaticStructureSchema;
54
+ export declare var ClonedBlueGreenOptions$: StaticStructureSchema;
55
+ export declare var ClonedBlueGreenScheduledAction$: StaticStructureSchema;
56
+ export declare var ClonedBlueGreenUpgradeDetails$: StaticStructureSchema;
54
57
  export declare var CognitoOptions$: StaticStructureSchema;
55
58
  export declare var CognitoOptionsStatus$: StaticStructureSchema;
56
59
  export declare var ColdStorageOptions$: StaticStructureSchema;
@@ -63,6 +66,8 @@ export declare var CreatePackageRequest$: StaticStructureSchema;
63
66
  export declare var CreatePackageResponse$: StaticStructureSchema;
64
67
  export declare var CreateVpcEndpointRequest$: StaticStructureSchema;
65
68
  export declare var CreateVpcEndpointResponse$: StaticStructureSchema;
69
+ export declare var CutoverOptions$: StaticStructureSchema;
70
+ export declare var CutoverRequestOptions$: StaticStructureSchema;
66
71
  export declare var DeleteElasticsearchDomainRequest$: StaticStructureSchema;
67
72
  export declare var DeleteElasticsearchDomainResponse$: StaticStructureSchema;
68
73
  export declare var DeleteInboundCrossClusterSearchConnectionRequest$: StaticStructureSchema;
@@ -75,6 +80,7 @@ export declare var DeleteVpcEndpointRequest$: StaticStructureSchema;
75
80
  export declare var DeleteVpcEndpointResponse$: StaticStructureSchema;
76
81
  export declare var DeploymentStrategyOptions$: StaticStructureSchema;
77
82
  export declare var DeploymentStrategyOptionsStatus$: StaticStructureSchema;
83
+ export declare var DeploymentStrategyOverrideOptions$: StaticStructureSchema;
78
84
  export declare var DescribeDomainAutoTunesRequest$: StaticStructureSchema;
79
85
  export declare var DescribeDomainAutoTunesResponse$: StaticStructureSchema;
80
86
  export declare var DescribeDomainChangeProgressRequest$: StaticStructureSchema;
@@ -186,6 +192,11 @@ export declare var StartElasticsearchServiceSoftwareUpdateResponse$: StaticStruc
186
192
  export declare var StorageType$: StaticStructureSchema;
187
193
  export declare var StorageTypeLimit$: StaticStructureSchema;
188
194
  export declare var Tag$: StaticStructureSchema;
195
+ export declare var TrafficPercents$: StaticStructureSchema;
196
+ export declare var TrafficSplitOptions$: StaticStructureSchema;
197
+ export declare var TrafficSplitRequestOptions$: StaticStructureSchema;
198
+ export declare var UpdateCloneRequest$: StaticStructureSchema;
199
+ export declare var UpdateCloneResponse$: StaticStructureSchema;
189
200
  export declare var UpdateElasticsearchDomainConfigRequest$: StaticStructureSchema;
190
201
  export declare var UpdateElasticsearchDomainConfigResponse$: StaticStructureSchema;
191
202
  export declare var UpdatePackageRequest$: StaticStructureSchema;
@@ -204,6 +215,7 @@ export declare var VpcEndpointError$: StaticStructureSchema;
204
215
  export declare var VpcEndpointSummary$: StaticStructureSchema;
205
216
  export declare var VPCOptions$: StaticStructureSchema;
206
217
  export declare var ZoneAwarenessConfig$: StaticStructureSchema;
218
+ export declare var RetentionOptions$: StaticUnionSchema;
207
219
  export declare var AcceptInboundCrossClusterSearchConnection$: StaticOperationSchema;
208
220
  export declare var AddTags$: StaticOperationSchema;
209
221
  export declare var AssociatePackage$: StaticOperationSchema;
@@ -251,6 +263,7 @@ export declare var RejectInboundCrossClusterSearchConnection$: StaticOperationSc
251
263
  export declare var RemoveTags$: StaticOperationSchema;
252
264
  export declare var RevokeVpcEndpointAccess$: StaticOperationSchema;
253
265
  export declare var StartElasticsearchServiceSoftwareUpdate$: StaticOperationSchema;
266
+ export declare var UpdateClone$: StaticOperationSchema;
254
267
  export declare var UpdateElasticsearchDomainConfig$: StaticOperationSchema;
255
268
  export declare var UpdatePackage$: StaticOperationSchema;
256
269
  export declare var UpdateVpcEndpoint$: StaticOperationSchema;
@@ -183,6 +183,7 @@ import {
183
183
  StartElasticsearchServiceSoftwareUpdateCommandInput,
184
184
  StartElasticsearchServiceSoftwareUpdateCommandOutput,
185
185
  } from "./commands/StartElasticsearchServiceSoftwareUpdateCommand";
186
+ import { UpdateCloneCommandInput, UpdateCloneCommandOutput } from "./commands/UpdateCloneCommand";
186
187
  import {
187
188
  UpdateElasticsearchDomainConfigCommandInput,
188
189
  UpdateElasticsearchDomainConfigCommandOutput,
@@ -819,6 +820,19 @@ export interface ElasticsearchService {
819
820
  options: ElasticsearchServiceRequestOptions,
820
821
  cb: (err: any, data?: StartElasticsearchServiceSoftwareUpdateCommandOutput) => void,
821
822
  ): void;
823
+ updateClone(
824
+ args: UpdateCloneCommandInput,
825
+ options?: ElasticsearchServiceRequestOptions,
826
+ ): Promise<UpdateCloneCommandOutput>;
827
+ updateClone(
828
+ args: UpdateCloneCommandInput,
829
+ cb: (err: any, data?: UpdateCloneCommandOutput) => void,
830
+ ): void;
831
+ updateClone(
832
+ args: UpdateCloneCommandInput,
833
+ options: ElasticsearchServiceRequestOptions,
834
+ cb: (err: any, data?: UpdateCloneCommandOutput) => void,
835
+ ): void;
822
836
  updateElasticsearchDomainConfig(
823
837
  args: UpdateElasticsearchDomainConfigCommandInput,
824
838
  options?: ElasticsearchServiceRequestOptions,
@@ -212,6 +212,7 @@ import {
212
212
  StartElasticsearchServiceSoftwareUpdateCommandInput,
213
213
  StartElasticsearchServiceSoftwareUpdateCommandOutput,
214
214
  } from "./commands/StartElasticsearchServiceSoftwareUpdateCommand";
215
+ import { UpdateCloneCommandInput, UpdateCloneCommandOutput } from "./commands/UpdateCloneCommand";
215
216
  import {
216
217
  UpdateElasticsearchDomainConfigCommandInput,
217
218
  UpdateElasticsearchDomainConfigCommandOutput,
@@ -283,6 +284,7 @@ export type ServiceInputTypes =
283
284
  | RemoveTagsCommandInput
284
285
  | RevokeVpcEndpointAccessCommandInput
285
286
  | StartElasticsearchServiceSoftwareUpdateCommandInput
287
+ | UpdateCloneCommandInput
286
288
  | UpdateElasticsearchDomainConfigCommandInput
287
289
  | UpdatePackageCommandInput
288
290
  | UpdateVpcEndpointCommandInput
@@ -335,6 +337,7 @@ export type ServiceOutputTypes =
335
337
  | RemoveTagsCommandOutput
336
338
  | RevokeVpcEndpointAccessCommandOutput
337
339
  | StartElasticsearchServiceSoftwareUpdateCommandOutput
340
+ | UpdateCloneCommandOutput
338
341
  | UpdateElasticsearchDomainConfigCommandOutput
339
342
  | UpdatePackageCommandOutput
340
343
  | UpdateVpcEndpointCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateCloneRequest, UpdateCloneResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface UpdateCloneCommandInput extends UpdateCloneRequest {}
5
+ export interface UpdateCloneCommandOutput extends UpdateCloneResponse, __MetadataBearer {}
6
+ declare const UpdateCloneCommand_base: {
7
+ new (
8
+ input: UpdateCloneCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ UpdateCloneCommandInput,
11
+ UpdateCloneCommandOutput,
12
+ import("..").ElasticsearchServiceClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: UpdateCloneCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ UpdateCloneCommandInput,
20
+ UpdateCloneCommandOutput,
21
+ import("..").ElasticsearchServiceClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class UpdateCloneCommand extends UpdateCloneCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: UpdateCloneRequest;
31
+ output: UpdateCloneResponse;
32
+ };
33
+ sdk: {
34
+ input: UpdateCloneCommandInput;
35
+ output: UpdateCloneCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -45,6 +45,7 @@ export * from "./RejectInboundCrossClusterSearchConnectionCommand";
45
45
  export * from "./RemoveTagsCommand";
46
46
  export * from "./RevokeVpcEndpointAccessCommand";
47
47
  export * from "./StartElasticsearchServiceSoftwareUpdateCommand";
48
+ export * from "./UpdateCloneCommand";
48
49
  export * from "./UpdateElasticsearchDomainConfigCommand";
49
50
  export * from "./UpdatePackageCommand";
50
51
  export * from "./UpdateVpcEndpointCommand";
@@ -255,6 +255,12 @@ export declare const AutoTuneType: {
255
255
  readonly SCHEDULED_ACTION: "SCHEDULED_ACTION";
256
256
  };
257
257
  export type AutoTuneType = (typeof AutoTuneType)[keyof typeof AutoTuneType];
258
+ export declare const ClonedBlueGreenScheduledActionType: {
259
+ readonly AUTOMATIC_CUTOVER_TO_PRIMARY: "AutomaticCutoverToPrimaryCluster";
260
+ readonly DELETE_PRIMARY_CLUSTER: "DeletePrimaryCluster";
261
+ };
262
+ export type ClonedBlueGreenScheduledActionType =
263
+ (typeof ClonedBlueGreenScheduledActionType)[keyof typeof ClonedBlueGreenScheduledActionType];
258
264
  export declare const OverallChangeStatus: {
259
265
  readonly COMPLETED: "COMPLETED";
260
266
  readonly FAILED: "FAILED";
@@ -304,3 +310,34 @@ export declare const EngineType: {
304
310
  readonly OpenSearch: "OpenSearch";
305
311
  };
306
312
  export type EngineType = (typeof EngineType)[keyof typeof EngineType];
313
+ export declare const CutoverTarget: {
314
+ readonly CLONED_CLUSTER: "ClonedCluster";
315
+ readonly PRIMARY_CLUSTER: "PrimaryCluster";
316
+ };
317
+ export type CutoverTarget = (typeof CutoverTarget)[keyof typeof CutoverTarget];
318
+ export declare const RetentionAction: {
319
+ readonly DELETE_PRIMARY_CLUSTER: "DeletePrimaryCluster";
320
+ readonly ROLLBACK_TO_PRIMARY_CLUSTER: "RollbackToPrimaryCluster";
321
+ };
322
+ export type RetentionAction = (typeof RetentionAction)[keyof typeof RetentionAction];
323
+ export declare const TrafficStrategy: {
324
+ readonly SHIFT_READ_TRAFFIC_PERCENT: "ShiftReadTrafficPercent";
325
+ };
326
+ export type TrafficStrategy = (typeof TrafficStrategy)[keyof typeof TrafficStrategy];
327
+ export declare const CutoverStatus: {
328
+ readonly COMPLETED: "Completed";
329
+ readonly FAILED: "Failed";
330
+ readonly IN_PROGRESS: "InProgress";
331
+ };
332
+ export type CutoverStatus = (typeof CutoverStatus)[keyof typeof CutoverStatus];
333
+ export declare const TrafficSplitStatus: {
334
+ readonly COMPLETED: "Completed";
335
+ readonly FAILED: "Failed";
336
+ readonly IN_PROGRESS: "InProgress";
337
+ };
338
+ export type TrafficSplitStatus = (typeof TrafficSplitStatus)[keyof typeof TrafficSplitStatus];
339
+ export declare const DeploymentStrategyOverride: {
340
+ readonly CLONED_BLUE_GREEN: "ClonedBlueGreen";
341
+ };
342
+ export type DeploymentStrategyOverride =
343
+ (typeof DeploymentStrategyOverride)[keyof typeof DeploymentStrategyOverride];
@@ -2,9 +2,13 @@ import {
2
2
  AutoTuneDesiredState,
3
3
  AutoTuneState,
4
4
  AutoTuneType,
5
+ ClonedBlueGreenScheduledActionType,
5
6
  ConfigChangeStatus,
7
+ CutoverStatus,
8
+ CutoverTarget,
6
9
  DeploymentStatus,
7
10
  DeploymentStrategy,
11
+ DeploymentStrategyOverride,
8
12
  DescribePackagesFilterName,
9
13
  DomainEngineMode,
10
14
  DomainPackageStatus,
@@ -25,11 +29,14 @@ import {
25
29
  PrincipalType,
26
30
  PropertyValueType,
27
31
  ReservedElasticsearchInstancePaymentOption,
32
+ RetentionAction,
28
33
  RollbackOnDisable,
29
34
  ScheduledAutoTuneActionType,
30
35
  ScheduledAutoTuneSeverityType,
31
36
  TimeUnit,
32
37
  TLSSecurityPolicy,
38
+ TrafficSplitStatus,
39
+ TrafficStrategy,
33
40
  UpgradeStatus,
34
41
  UpgradeStep,
35
42
  VolumeType,
@@ -487,6 +494,19 @@ export interface ChangeProgressStage {
487
494
  Description?: string | undefined;
488
495
  LastUpdated?: Date | undefined;
489
496
  }
497
+ export interface ClonedBlueGreenScheduledAction {
498
+ Action?: ClonedBlueGreenScheduledActionType | undefined;
499
+ ScheduledTime?: Date | undefined;
500
+ }
501
+ export interface TrafficPercents {
502
+ PrimaryReadTrafficPercent: number | undefined;
503
+ CloneReadTrafficPercent: number | undefined;
504
+ }
505
+ export interface ClonedBlueGreenUpgradeDetails {
506
+ TrafficSplit?: TrafficPercents | undefined;
507
+ ScheduledAction?: ClonedBlueGreenScheduledAction | undefined;
508
+ RetentionInHours?: number | undefined;
509
+ }
490
510
  export interface ChangeProgressStatusDetails {
491
511
  ChangeId?: string | undefined;
492
512
  StartTime?: Date | undefined;
@@ -498,6 +518,7 @@ export interface ChangeProgressStatusDetails {
498
518
  ConfigChangeStatus?: ConfigChangeStatus | undefined;
499
519
  LastUpdatedTime?: Date | undefined;
500
520
  InitiatedBy?: InitiatedBy | undefined;
521
+ ClonedBlueGreenUpgradeDetails?: ClonedBlueGreenUpgradeDetails | undefined;
501
522
  }
502
523
  export interface DescribeDomainChangeProgressResponse {
503
524
  ChangeProgressStatus?: ChangeProgressStatusDetails | undefined;
@@ -904,6 +925,61 @@ export interface StartElasticsearchServiceSoftwareUpdateRequest {
904
925
  export interface StartElasticsearchServiceSoftwareUpdateResponse {
905
926
  ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
906
927
  }
928
+ export interface CutoverRequestOptions {
929
+ Target: CutoverTarget | undefined;
930
+ }
931
+ export type RetentionOptions =
932
+ | RetentionOptions.RetentionActionMember
933
+ | RetentionOptions.RetentionInHoursMember
934
+ | RetentionOptions.$UnknownMember;
935
+ export declare namespace RetentionOptions {
936
+ interface RetentionInHoursMember {
937
+ RetentionInHours: number;
938
+ RetentionAction?: never;
939
+ $unknown?: never;
940
+ }
941
+ interface RetentionActionMember {
942
+ RetentionInHours?: never;
943
+ RetentionAction: RetentionAction;
944
+ $unknown?: never;
945
+ }
946
+ interface $UnknownMember {
947
+ RetentionInHours?: never;
948
+ RetentionAction?: never;
949
+ $unknown: [string, any];
950
+ }
951
+ interface Visitor<T> {
952
+ RetentionInHours: (value: number) => T;
953
+ RetentionAction: (value: RetentionAction) => T;
954
+ _: (name: string, value: any) => T;
955
+ }
956
+ }
957
+ export interface TrafficSplitRequestOptions {
958
+ Strategy: TrafficStrategy | undefined;
959
+ CloneReadTrafficPercent: number | undefined;
960
+ }
961
+ export interface UpdateCloneRequest {
962
+ DomainName: string | undefined;
963
+ TrafficSplitOptions?: TrafficSplitRequestOptions | undefined;
964
+ CutoverOptions?: CutoverRequestOptions | undefined;
965
+ RetentionOptions?: RetentionOptions | undefined;
966
+ }
967
+ export interface CutoverOptions {
968
+ Target: CutoverTarget | undefined;
969
+ Status: CutoverStatus | undefined;
970
+ }
971
+ export interface TrafficSplitOptions {
972
+ Current: TrafficPercents | undefined;
973
+ Target: TrafficPercents | undefined;
974
+ Status: TrafficSplitStatus | undefined;
975
+ }
976
+ export interface UpdateCloneResponse {
977
+ DomainName: string | undefined;
978
+ ChangeId: string | undefined;
979
+ CutoverOptions?: CutoverOptions | undefined;
980
+ TrafficSplitOptions?: TrafficSplitOptions | undefined;
981
+ RetentionOptions?: RetentionOptions | undefined;
982
+ }
907
983
  export interface UpdateElasticsearchDomainConfigRequest {
908
984
  DomainName: string | undefined;
909
985
  ElasticsearchClusterConfig?: ElasticsearchClusterConfig | undefined;
@@ -949,14 +1025,23 @@ export interface UpdateVpcEndpointRequest {
949
1025
  export interface UpdateVpcEndpointResponse {
950
1026
  VpcEndpoint: VpcEndpoint | undefined;
951
1027
  }
1028
+ export interface ClonedBlueGreenOptions {
1029
+ RetentionOptions?: RetentionOptions | undefined;
1030
+ }
1031
+ export interface DeploymentStrategyOverrideOptions {
1032
+ DeploymentStrategy: DeploymentStrategyOverride | undefined;
1033
+ ClonedBlueGreenOptions?: ClonedBlueGreenOptions | undefined;
1034
+ }
952
1035
  export interface UpgradeElasticsearchDomainRequest {
953
1036
  DomainName: string | undefined;
954
1037
  TargetVersion: string | undefined;
955
1038
  PerformCheckOnly?: boolean | undefined;
1039
+ DeploymentStrategyOptions?: DeploymentStrategyOverrideOptions | undefined;
956
1040
  }
957
1041
  export interface UpgradeElasticsearchDomainResponse {
958
1042
  DomainName?: string | undefined;
959
1043
  TargetVersion?: string | undefined;
960
1044
  PerformCheckOnly?: boolean | undefined;
1045
+ DeploymentStrategyOptions?: DeploymentStrategyOverrideOptions | undefined;
961
1046
  ChangeProgressDetails?: ChangeProgressDetails | undefined;
962
1047
  }