@aws-sdk/client-elasticsearch-service 3.1164.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.
@@ -53,6 +53,9 @@ const _BE = "BaseException";
53
53
  const _C = "Created";
54
54
  const _CA = "ConnectionAlias";
55
55
  const _CAr = "CreatedAt";
56
+ const _CBGO = "ClonedBlueGreenOptions";
57
+ const _CBGSA = "ClonedBlueGreenScheduledAction";
58
+ const _CBGUD = "ClonedBlueGreenUpgradeDetails";
56
59
  const _CC = "CurrencyCode";
57
60
  const _CCI = "CancelledChangeIds";
58
61
  const _CCP = "CancelledChangeProperties";
@@ -86,6 +89,7 @@ const _COCCSC = "CreateOutboundCrossClusterSearchConnection";
86
89
  const _COCCSCR = "CreateOutboundCrossClusterSearchConnectionRequest";
87
90
  const _COCCSCRr = "CreateOutboundCrossClusterSearchConnectionResponse";
88
91
  const _COS = "CognitoOptionsStatus";
92
+ const _COu = "CutoverOptions";
89
93
  const _CP = "CompletedProperties";
90
94
  const _CPD = "ChangeProgressDetails";
91
95
  const _CPR = "CreatePackageRequest";
@@ -96,6 +100,8 @@ const _CPSL = "ChangeProgressStageList";
96
100
  const _CPSh = "ChangeProgressStages";
97
101
  const _CPSha = "ChangeProgressStatus";
98
102
  const _CPr = "CreatePackage";
103
+ const _CRO = "CutoverRequestOptions";
104
+ const _CRTP = "CloneReadTrafficPercent";
99
105
  const _CS = "ConnectionStatus";
100
106
  const _CSO = "ColdStorageOptions";
101
107
  const _CT = "ClientToken";
@@ -107,6 +113,7 @@ const _CVM = "CompatibleVersionsMap";
107
113
  const _CVu = "CurrentVersion";
108
114
  const _CWLLGA = "CloudWatchLogsLogGroupArn";
109
115
  const _Ca = "Cancellable";
116
+ const _Cu = "Current";
110
117
  const _D = "Duration";
111
118
  const _DA = "DomainArn";
112
119
  const _DC = "DomainConfig";
@@ -183,6 +190,7 @@ const _DRR = "DryRunResults";
183
190
  const _DS = "DesiredState";
184
191
  const _DSL = "DomainStatusList";
185
192
  const _DSO = "DeploymentStrategyOptions";
193
+ const _DSOO = "DeploymentStrategyOverrideOptions";
186
194
  const _DSOS = "DeploymentStrategyOptionsStatus";
187
195
  const _DSe = "DeploymentStrategy";
188
196
  const _DSo = "DomainStatus";
@@ -337,6 +345,7 @@ const _PPr = "ProgressPercent";
337
345
  const _PREIO = "PurchaseReservedElasticsearchInstanceOffering";
338
346
  const _PREIOR = "PurchaseReservedElasticsearchInstanceOfferingRequest";
339
347
  const _PREIORu = "PurchaseReservedElasticsearchInstanceOfferingResponse";
348
+ const _PRTP = "PrimaryReadTrafficPercent";
340
349
  const _PS = "PackageSource";
341
350
  const _PSa = "PackageStatus";
342
351
  const _PT = "PrincipalType";
@@ -350,6 +359,7 @@ const _Pro = "Processing";
350
359
  const _R = "Region";
351
360
  const _RA = "RoleArn";
352
361
  const _RAEE = "ResourceAlreadyExistsException";
362
+ const _RAe = "RetentionAction";
353
363
  const _RC = "RecurringCharge";
354
364
  const _RCA = "RecurringChargeAmount";
355
365
  const _RCF = "RecurringChargeFrequency";
@@ -366,9 +376,11 @@ const _REIe = "ReservedElasticsearchInstance";
366
376
  const _RICCSC = "RejectInboundCrossClusterSearchConnection";
367
377
  const _RICCSCR = "RejectInboundCrossClusterSearchConnectionRequest";
368
378
  const _RICCSCRe = "RejectInboundCrossClusterSearchConnectionResponse";
379
+ const _RIH = "RetentionInHours";
369
380
  const _RK = "RolesKey";
370
381
  const _RN = "ReservationName";
371
382
  const _RNFE = "ResourceNotFoundException";
383
+ const _RO = "RetentionOptions";
372
384
  const _ROD = "RollbackOnDisable";
373
385
  const _RP = "ReferencePath";
374
386
  const _RT = "RemoveTags";
@@ -383,6 +395,7 @@ const _SAMLO = "SAMLOptions";
383
395
  const _SAMLOI = "SAMLOptionsInput";
384
396
  const _SAMLOO = "SAMLOptionsOutput";
385
397
  const _SATD = "ScheduledAutoTuneDetails";
398
+ const _SAc = "ScheduledAction";
386
399
  const _SBN = "S3BucketName";
387
400
  const _SC = "StatusCode";
388
401
  const _SDI = "SourceDomainInfo";
@@ -406,24 +419,34 @@ const _STLt = "StorageTypeLimit";
406
419
  const _STLto = "StorageTypeList";
407
420
  const _STM = "SessionTimeoutMinutes";
408
421
  const _STN = "StorageTypeName";
422
+ const _STc = "ScheduledTime";
409
423
  const _STt = "StorageTypes";
410
424
  const _STta = "StartTimestamp";
411
425
  const _STto = "StorageType";
412
426
  const _SV = "SourceVersion";
413
427
  const _Se = "Severity";
414
428
  const _St = "State";
415
- const _T = "Throughput";
429
+ const _Str = "Strategy";
430
+ const _T = "Target";
416
431
  const _TK = "TagKeys";
417
432
  const _TL = "TagList";
418
433
  const _TLSSP = "TLSSecurityPolicy";
419
434
  const _TNOS = "TotalNumberOfStages";
435
+ const _TP = "TrafficPercents";
436
+ const _TS = "TrafficSplit";
437
+ const _TSO = "TrafficSplitOptions";
438
+ const _TSRO = "TrafficSplitRequestOptions";
420
439
  const _TV = "TargetVersions";
421
440
  const _TVa = "TargetVersion";
422
441
  const _Ta = "Tag";
442
+ const _Th = "Throughput";
423
443
  const _U = "Username";
424
444
  const _UA = "UpdateAvailable";
425
445
  const _UC = "UseCase";
446
+ const _UCR = "UpdateCloneRequest";
447
+ const _UCRp = "UpdateCloneResponse";
426
448
  const _UCS = "UseCaseStatus";
449
+ const _UCp = "UpdateClone";
427
450
  const _UD = "UpdateDate";
428
451
  const _UED = "UpgradeElasticsearchDomain";
429
452
  const _UEDC = "UpdateElasticsearchDomainConfig";
@@ -737,8 +760,23 @@ export var ChangeProgressStage$ = [3, n0, _CPS,
737
760
  ];
738
761
  export var ChangeProgressStatusDetails$ = [3, n0, _CPSD,
739
762
  0,
740
- [_CI, _ST, _S, _PP, _CP, _TNOS, _CPSh, _CCS, _LUT, _IB],
741
- [0, 4, 0, 64 | 0, 64 | 0, 1, () => ChangeProgressStageList, 0, 4, 0]
763
+ [_CI, _ST, _S, _PP, _CP, _TNOS, _CPSh, _CCS, _LUT, _IB, _CBGUD],
764
+ [0, 4, 0, 64 | 0, 64 | 0, 1, () => ChangeProgressStageList, 0, 4, 0, () => ClonedBlueGreenUpgradeDetails$]
765
+ ];
766
+ export var ClonedBlueGreenOptions$ = [3, n0, _CBGO,
767
+ 0,
768
+ [_RO],
769
+ [() => RetentionOptions$]
770
+ ];
771
+ export var ClonedBlueGreenScheduledAction$ = [3, n0, _CBGSA,
772
+ 0,
773
+ [_Ac, _STc],
774
+ [0, 4]
775
+ ];
776
+ export var ClonedBlueGreenUpgradeDetails$ = [3, n0, _CBGUD,
777
+ 0,
778
+ [_TS, _SAc, _RIH],
779
+ [() => TrafficPercents$, () => ClonedBlueGreenScheduledAction$, 1]
742
780
  ];
743
781
  export var CognitoOptions$ = [3, n0, _CO,
744
782
  0,
@@ -800,6 +838,16 @@ export var CreateVpcEndpointResponse$ = [3, n0, _CVERr,
800
838
  [_VEp],
801
839
  [() => VpcEndpoint$], 1
802
840
  ];
841
+ export var CutoverOptions$ = [3, n0, _COu,
842
+ 0,
843
+ [_T, _S],
844
+ [0, 0], 2
845
+ ];
846
+ export var CutoverRequestOptions$ = [3, n0, _CRO,
847
+ 0,
848
+ [_T],
849
+ [0], 1
850
+ ];
803
851
  export var DeleteElasticsearchDomainRequest$ = [3, n0, _DEDR,
804
852
  0,
805
853
  [_DN],
@@ -860,6 +908,11 @@ export var DeploymentStrategyOptionsStatus$ = [3, n0, _DSOS,
860
908
  [_O, _S],
861
909
  [() => DeploymentStrategyOptions$, () => OptionStatus$], 2
862
910
  ];
911
+ export var DeploymentStrategyOverrideOptions$ = [3, n0, _DSOO,
912
+ 0,
913
+ [_DSe, _CBGO],
914
+ [0, () => ClonedBlueGreenOptions$], 1
915
+ ];
863
916
  export var DescribeDomainAutoTunesRequest$ = [3, n0, _DDATR,
864
917
  0,
865
918
  [_DN, _MR, _NT],
@@ -1032,7 +1085,7 @@ export var Duration$ = [3, n0, _D,
1032
1085
  ];
1033
1086
  export var EBSOptions$ = [3, n0, _EBSO,
1034
1087
  0,
1035
- [_EBSE, _VT, _VS, _I, _T],
1088
+ [_EBSE, _VT, _VS, _I, _Th],
1036
1089
  [2, 0, 1, 1, 1]
1037
1090
  ];
1038
1091
  export var EBSOptionsStatus$ = [3, n0, _EBSOS,
@@ -1415,6 +1468,31 @@ export var Tag$ = [3, n0, _Ta,
1415
1468
  [_K, _V],
1416
1469
  [0, 0], 2
1417
1470
  ];
1471
+ export var TrafficPercents$ = [3, n0, _TP,
1472
+ 0,
1473
+ [_PRTP, _CRTP],
1474
+ [1, 1], 2
1475
+ ];
1476
+ export var TrafficSplitOptions$ = [3, n0, _TSO,
1477
+ 0,
1478
+ [_Cu, _T, _S],
1479
+ [() => TrafficPercents$, () => TrafficPercents$, 0], 3
1480
+ ];
1481
+ export var TrafficSplitRequestOptions$ = [3, n0, _TSRO,
1482
+ 0,
1483
+ [_Str, _CRTP],
1484
+ [0, 1], 2
1485
+ ];
1486
+ export var UpdateCloneRequest$ = [3, n0, _UCR,
1487
+ 0,
1488
+ [_DN, _TSO, _COu, _RO],
1489
+ [[0, 1], () => TrafficSplitRequestOptions$, () => CutoverRequestOptions$, () => RetentionOptions$], 1
1490
+ ];
1491
+ export var UpdateCloneResponse$ = [3, n0, _UCRp,
1492
+ 0,
1493
+ [_DN, _CI, _COu, _TSO, _RO],
1494
+ [0, 0, () => CutoverOptions$, () => TrafficSplitOptions$, () => RetentionOptions$], 2
1495
+ ];
1418
1496
  export var UpdateElasticsearchDomainConfigRequest$ = [3, n0, _UEDCR,
1419
1497
  0,
1420
1498
  [_DN, _ECC, _EBSO, _SO, _VPCO, _CO, _AO, _APc, _LPO, _DEO, _ASO, _NTNEO, _EARO, _ATO, _DR, _DSO, _ASPO, _UC, _EMn],
@@ -1447,13 +1525,13 @@ export var UpdateVpcEndpointResponse$ = [3, n0, _UVERp,
1447
1525
  ];
1448
1526
  export var UpgradeElasticsearchDomainRequest$ = [3, n0, _UEDR,
1449
1527
  0,
1450
- [_DN, _TVa, _PCO],
1451
- [0, 0, 2], 2
1528
+ [_DN, _TVa, _PCO, _DSO],
1529
+ [0, 0, 2, () => DeploymentStrategyOverrideOptions$], 2
1452
1530
  ];
1453
1531
  export var UpgradeElasticsearchDomainResponse$ = [3, n0, _UEDRp,
1454
1532
  0,
1455
- [_DN, _TVa, _PCO, _CPD],
1456
- [0, 0, 2, () => ChangeProgressDetails$]
1533
+ [_DN, _TVa, _PCO, _DSO, _CPD],
1534
+ [0, 0, 2, () => DeploymentStrategyOverrideOptions$, () => ChangeProgressDetails$]
1457
1535
  ];
1458
1536
  export var UpgradeHistory$ = [3, n0, _UHp,
1459
1537
  0,
@@ -1611,6 +1689,11 @@ var LimitsByRole = [2, n0, _LBR,
1611
1689
  var LogPublishingOptions = [2, n0, _LPO,
1612
1690
  0, 0, () => LogPublishingOption$
1613
1691
  ];
1692
+ export var RetentionOptions$ = [4, n0, _RO,
1693
+ 0,
1694
+ [_RIH, _RAe],
1695
+ [1, 0]
1696
+ ];
1614
1697
  export var AcceptInboundCrossClusterSearchConnection$ = [9, n0, _AICCSC,
1615
1698
  { [_h]: ["PUT", "/2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}/accept", 200] }, () => AcceptInboundCrossClusterSearchConnectionRequest$, () => AcceptInboundCrossClusterSearchConnectionResponse$
1616
1699
  ];
@@ -1752,6 +1835,9 @@ export var RevokeVpcEndpointAccess$ = [9, n0, _RVEA,
1752
1835
  export var StartElasticsearchServiceSoftwareUpdate$ = [9, n0, _SESSU,
1753
1836
  { [_h]: ["POST", "/2015-01-01/es/serviceSoftwareUpdate/start", 200] }, () => StartElasticsearchServiceSoftwareUpdateRequest$, () => StartElasticsearchServiceSoftwareUpdateResponse$
1754
1837
  ];
1838
+ export var UpdateClone$ = [9, n0, _UCp,
1839
+ { [_h]: ["POST", "/2015-01-01/es/domain/{DomainName}/clone", 200] }, () => UpdateCloneRequest$, () => UpdateCloneResponse$
1840
+ ];
1755
1841
  export var UpdateElasticsearchDomainConfig$ = [9, n0, _UEDC,
1756
1842
  { [_h]: ["POST", "/2015-01-01/es/domain/{DomainName}/config", 200] }, () => UpdateElasticsearchDomainConfigRequest$, () => UpdateElasticsearchDomainConfigResponse$
1757
1843
  ];
@@ -46,6 +46,7 @@ import { type RejectInboundCrossClusterSearchConnectionCommandInput, type Reject
46
46
  import { type RemoveTagsCommandInput, type RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
47
47
  import { type RevokeVpcEndpointAccessCommandInput, type RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
48
48
  import { type StartElasticsearchServiceSoftwareUpdateCommandInput, type StartElasticsearchServiceSoftwareUpdateCommandOutput } from "./commands/StartElasticsearchServiceSoftwareUpdateCommand";
49
+ import { type UpdateCloneCommandInput, type UpdateCloneCommandOutput } from "./commands/UpdateCloneCommand";
49
50
  import { type UpdateElasticsearchDomainConfigCommandInput, type UpdateElasticsearchDomainConfigCommandOutput } from "./commands/UpdateElasticsearchDomainConfigCommand";
50
51
  import { type UpdatePackageCommandInput, type UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
51
52
  import { type UpdateVpcEndpointCommandInput, type UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
@@ -350,6 +351,12 @@ export interface ElasticsearchService {
350
351
  startElasticsearchServiceSoftwareUpdate(args: StartElasticsearchServiceSoftwareUpdateCommandInput, options?: ElasticsearchServiceRequestOptions): Promise<StartElasticsearchServiceSoftwareUpdateCommandOutput>;
351
352
  startElasticsearchServiceSoftwareUpdate(args: StartElasticsearchServiceSoftwareUpdateCommandInput, cb: (err: any, data?: StartElasticsearchServiceSoftwareUpdateCommandOutput) => void): void;
352
353
  startElasticsearchServiceSoftwareUpdate(args: StartElasticsearchServiceSoftwareUpdateCommandInput, options: ElasticsearchServiceRequestOptions, cb: (err: any, data?: StartElasticsearchServiceSoftwareUpdateCommandOutput) => void): void;
354
+ /**
355
+ * @see {@link UpdateCloneCommand}
356
+ */
357
+ updateClone(args: UpdateCloneCommandInput, options?: ElasticsearchServiceRequestOptions): Promise<UpdateCloneCommandOutput>;
358
+ updateClone(args: UpdateCloneCommandInput, cb: (err: any, data?: UpdateCloneCommandOutput) => void): void;
359
+ updateClone(args: UpdateCloneCommandInput, options: ElasticsearchServiceRequestOptions, cb: (err: any, data?: UpdateCloneCommandOutput) => void): void;
353
360
  /**
354
361
  * @see {@link UpdateElasticsearchDomainConfigCommand}
355
362
  */
@@ -53,6 +53,7 @@ import type { RejectInboundCrossClusterSearchConnectionCommandInput, RejectInbou
53
53
  import type { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
54
54
  import type { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
55
55
  import type { StartElasticsearchServiceSoftwareUpdateCommandInput, StartElasticsearchServiceSoftwareUpdateCommandOutput } from "./commands/StartElasticsearchServiceSoftwareUpdateCommand";
56
+ import type { UpdateCloneCommandInput, UpdateCloneCommandOutput } from "./commands/UpdateCloneCommand";
56
57
  import type { UpdateElasticsearchDomainConfigCommandInput, UpdateElasticsearchDomainConfigCommandOutput } from "./commands/UpdateElasticsearchDomainConfigCommand";
57
58
  import type { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
58
59
  import type { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "./commands/UpdateVpcEndpointCommand";
@@ -63,11 +64,11 @@ export { __Client };
63
64
  /**
64
65
  * @public
65
66
  */
66
- export type ServiceInputTypes = AcceptInboundCrossClusterSearchConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelElasticsearchServiceSoftwareUpdateCommandInput | CreateElasticsearchDomainCommandInput | CreateOutboundCrossClusterSearchConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteElasticsearchDomainCommandInput | DeleteElasticsearchServiceRoleCommandInput | DeleteInboundCrossClusterSearchConnectionCommandInput | DeleteOutboundCrossClusterSearchConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeElasticsearchDomainCommandInput | DescribeElasticsearchDomainConfigCommandInput | DescribeElasticsearchDomainsCommandInput | DescribeElasticsearchInstanceTypeLimitsCommandInput | DescribeInboundCrossClusterSearchConnectionsCommandInput | DescribeOutboundCrossClusterSearchConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedElasticsearchInstanceOfferingsCommandInput | DescribeReservedElasticsearchInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleElasticsearchVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListElasticsearchInstanceTypesCommandInput | ListElasticsearchVersionsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedElasticsearchInstanceOfferingCommandInput | RejectInboundCrossClusterSearchConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartElasticsearchServiceSoftwareUpdateCommandInput | UpdateElasticsearchDomainConfigCommandInput | UpdatePackageCommandInput | UpdateVpcEndpointCommandInput | UpgradeElasticsearchDomainCommandInput;
67
+ export type ServiceInputTypes = AcceptInboundCrossClusterSearchConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelElasticsearchServiceSoftwareUpdateCommandInput | CreateElasticsearchDomainCommandInput | CreateOutboundCrossClusterSearchConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteElasticsearchDomainCommandInput | DeleteElasticsearchServiceRoleCommandInput | DeleteInboundCrossClusterSearchConnectionCommandInput | DeleteOutboundCrossClusterSearchConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeElasticsearchDomainCommandInput | DescribeElasticsearchDomainConfigCommandInput | DescribeElasticsearchDomainsCommandInput | DescribeElasticsearchInstanceTypeLimitsCommandInput | DescribeInboundCrossClusterSearchConnectionsCommandInput | DescribeOutboundCrossClusterSearchConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedElasticsearchInstanceOfferingsCommandInput | DescribeReservedElasticsearchInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleElasticsearchVersionsCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListElasticsearchInstanceTypesCommandInput | ListElasticsearchVersionsCommandInput | ListPackagesForDomainCommandInput | ListTagsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedElasticsearchInstanceOfferingCommandInput | RejectInboundCrossClusterSearchConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartElasticsearchServiceSoftwareUpdateCommandInput | UpdateCloneCommandInput | UpdateElasticsearchDomainConfigCommandInput | UpdatePackageCommandInput | UpdateVpcEndpointCommandInput | UpgradeElasticsearchDomainCommandInput;
67
68
  /**
68
69
  * @public
69
70
  */
70
- export type ServiceOutputTypes = AcceptInboundCrossClusterSearchConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelElasticsearchServiceSoftwareUpdateCommandOutput | CreateElasticsearchDomainCommandOutput | CreateOutboundCrossClusterSearchConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteElasticsearchDomainCommandOutput | DeleteElasticsearchServiceRoleCommandOutput | DeleteInboundCrossClusterSearchConnectionCommandOutput | DeleteOutboundCrossClusterSearchConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeElasticsearchDomainCommandOutput | DescribeElasticsearchDomainConfigCommandOutput | DescribeElasticsearchDomainsCommandOutput | DescribeElasticsearchInstanceTypeLimitsCommandOutput | DescribeInboundCrossClusterSearchConnectionsCommandOutput | DescribeOutboundCrossClusterSearchConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedElasticsearchInstanceOfferingsCommandOutput | DescribeReservedElasticsearchInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleElasticsearchVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListElasticsearchInstanceTypesCommandOutput | ListElasticsearchVersionsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedElasticsearchInstanceOfferingCommandOutput | RejectInboundCrossClusterSearchConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartElasticsearchServiceSoftwareUpdateCommandOutput | UpdateElasticsearchDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeElasticsearchDomainCommandOutput;
71
+ export type ServiceOutputTypes = AcceptInboundCrossClusterSearchConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelElasticsearchServiceSoftwareUpdateCommandOutput | CreateElasticsearchDomainCommandOutput | CreateOutboundCrossClusterSearchConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteElasticsearchDomainCommandOutput | DeleteElasticsearchServiceRoleCommandOutput | DeleteInboundCrossClusterSearchConnectionCommandOutput | DeleteOutboundCrossClusterSearchConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeElasticsearchDomainCommandOutput | DescribeElasticsearchDomainConfigCommandOutput | DescribeElasticsearchDomainsCommandOutput | DescribeElasticsearchInstanceTypeLimitsCommandOutput | DescribeInboundCrossClusterSearchConnectionsCommandOutput | DescribeOutboundCrossClusterSearchConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedElasticsearchInstanceOfferingsCommandOutput | DescribeReservedElasticsearchInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleElasticsearchVersionsCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListElasticsearchInstanceTypesCommandOutput | ListElasticsearchVersionsCommandOutput | ListPackagesForDomainCommandOutput | ListTagsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedElasticsearchInstanceOfferingCommandOutput | RejectInboundCrossClusterSearchConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartElasticsearchServiceSoftwareUpdateCommandOutput | UpdateCloneCommandOutput | UpdateElasticsearchDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeElasticsearchDomainCommandOutput;
71
72
  /**
72
73
  * @public
73
74
  */
@@ -63,6 +63,17 @@ declare const DescribeDomainChangeProgressCommand_base: {
63
63
  * // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
64
64
  * // LastUpdatedTime: new Date("TIMESTAMP"),
65
65
  * // InitiatedBy: "CUSTOMER" || "SERVICE",
66
+ * // ClonedBlueGreenUpgradeDetails: { // ClonedBlueGreenUpgradeDetails
67
+ * // TrafficSplit: { // TrafficPercents
68
+ * // PrimaryReadTrafficPercent: Number("int"), // required
69
+ * // CloneReadTrafficPercent: Number("int"), // required
70
+ * // },
71
+ * // ScheduledAction: { // ClonedBlueGreenScheduledAction
72
+ * // Action: "AutomaticCutoverToPrimaryCluster" || "DeletePrimaryCluster",
73
+ * // ScheduledTime: new Date("TIMESTAMP"),
74
+ * // },
75
+ * // RetentionInHours: Number("int"),
76
+ * // },
66
77
  * // },
67
78
  * // };
68
79
  *
@@ -0,0 +1,117 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateCloneRequest, UpdateCloneResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateCloneCommand}.
11
+ */
12
+ export interface UpdateCloneCommandInput extends UpdateCloneRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateCloneCommand}.
18
+ */
19
+ export interface UpdateCloneCommandOutput extends UpdateCloneResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateCloneCommand_base: {
22
+ new (input: UpdateCloneCommandInput): import("@smithy/core/client").CommandImpl<UpdateCloneCommandInput, UpdateCloneCommandOutput, import("..").ElasticsearchServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateCloneCommandInput): import("@smithy/core/client").CommandImpl<UpdateCloneCommandInput, UpdateCloneCommandOutput, import("..").ElasticsearchServiceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Manages a cloned blue/green upgrade that is in progress on a domain. Use it to shift a percentage of search traffic to the cloned cluster, to cut over to the cloned cluster or back to the primary cluster, or to change the retention period. Specify exactly one of <code>TrafficSplitOptions</code>, <code>CutoverOptions</code>, or <code>RetentionOptions</code> in each request.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ElasticsearchServiceClient, UpdateCloneCommand } from "@aws-sdk/client-elasticsearch-service"; // ES Modules import
32
+ * // const { ElasticsearchServiceClient, UpdateCloneCommand } = require("@aws-sdk/client-elasticsearch-service"); // CommonJS import
33
+ * // import type { ElasticsearchServiceClientConfig } from "@aws-sdk/client-elasticsearch-service";
34
+ * const config = {}; // type is ElasticsearchServiceClientConfig
35
+ * const client = new ElasticsearchServiceClient(config);
36
+ * const input = { // UpdateCloneRequest
37
+ * DomainName: "STRING_VALUE", // required
38
+ * TrafficSplitOptions: { // TrafficSplitRequestOptions
39
+ * Strategy: "ShiftReadTrafficPercent", // required
40
+ * CloneReadTrafficPercent: Number("int"), // required
41
+ * },
42
+ * CutoverOptions: { // CutoverRequestOptions
43
+ * Target: "ClonedCluster" || "PrimaryCluster", // required
44
+ * },
45
+ * RetentionOptions: { // RetentionOptions Union: only one key present
46
+ * RetentionInHours: Number("int"),
47
+ * RetentionAction: "RollbackToPrimaryCluster" || "DeletePrimaryCluster",
48
+ * },
49
+ * };
50
+ * const command = new UpdateCloneCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // UpdateCloneResponse
53
+ * // DomainName: "STRING_VALUE", // required
54
+ * // ChangeId: "STRING_VALUE", // required
55
+ * // CutoverOptions: { // CutoverOptions
56
+ * // Target: "ClonedCluster" || "PrimaryCluster", // required
57
+ * // Status: "InProgress" || "Completed" || "Failed", // required
58
+ * // },
59
+ * // TrafficSplitOptions: { // TrafficSplitOptions
60
+ * // Current: { // TrafficPercents
61
+ * // PrimaryReadTrafficPercent: Number("int"), // required
62
+ * // CloneReadTrafficPercent: Number("int"), // required
63
+ * // },
64
+ * // Target: {
65
+ * // PrimaryReadTrafficPercent: Number("int"), // required
66
+ * // CloneReadTrafficPercent: Number("int"), // required
67
+ * // },
68
+ * // Status: "InProgress" || "Completed" || "Failed", // required
69
+ * // },
70
+ * // RetentionOptions: { // RetentionOptions Union: only one key present
71
+ * // RetentionInHours: Number("int"),
72
+ * // RetentionAction: "RollbackToPrimaryCluster" || "DeletePrimaryCluster",
73
+ * // },
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param UpdateCloneCommandInput - {@link UpdateCloneCommandInput}
79
+ * @returns {@link UpdateCloneCommandOutput}
80
+ * @see {@link UpdateCloneCommandInput} for command's `input` shape.
81
+ * @see {@link UpdateCloneCommandOutput} for command's `response` shape.
82
+ * @see {@link ElasticsearchServiceClientResolvedConfig | config} for ElasticsearchServiceClient's `config` shape.
83
+ *
84
+ * @throws {@link BaseException} (client fault)
85
+ * <p>An error occurred while processing the request.</p>
86
+ *
87
+ * @throws {@link DisabledOperationException} (client fault)
88
+ * <p>An error occured because the client wanted to access a not supported operation. Gives http status code of 409.</p>
89
+ *
90
+ * @throws {@link InternalException} (server fault)
91
+ * <p>The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.</p>
92
+ *
93
+ * @throws {@link ResourceNotFoundException} (client fault)
94
+ * <p>An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.</p>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>An exception for missing / invalid input fields. Gives http status code of 400.</p>
98
+ *
99
+ * @throws {@link ElasticsearchServiceServiceException}
100
+ * <p>Base exception class for all service exceptions from ElasticsearchService service.</p>
101
+ *
102
+ *
103
+ * @public
104
+ */
105
+ export declare class UpdateCloneCommand extends UpdateCloneCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: UpdateCloneRequest;
110
+ output: UpdateCloneResponse;
111
+ };
112
+ sdk: {
113
+ input: UpdateCloneCommandInput;
114
+ output: UpdateCloneCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -37,6 +37,15 @@ declare const UpgradeElasticsearchDomainCommand_base: {
37
37
  * DomainName: "STRING_VALUE", // required
38
38
  * TargetVersion: "STRING_VALUE", // required
39
39
  * PerformCheckOnly: true || false,
40
+ * DeploymentStrategyOptions: { // DeploymentStrategyOverrideOptions
41
+ * DeploymentStrategy: "ClonedBlueGreen", // required
42
+ * ClonedBlueGreenOptions: { // ClonedBlueGreenOptions
43
+ * RetentionOptions: { // RetentionOptions Union: only one key present
44
+ * RetentionInHours: Number("int"),
45
+ * RetentionAction: "RollbackToPrimaryCluster" || "DeletePrimaryCluster",
46
+ * },
47
+ * },
48
+ * },
40
49
  * };
41
50
  * const command = new UpgradeElasticsearchDomainCommand(input);
42
51
  * const response = await client.send(command);
@@ -44,6 +53,15 @@ declare const UpgradeElasticsearchDomainCommand_base: {
44
53
  * // DomainName: "STRING_VALUE",
45
54
  * // TargetVersion: "STRING_VALUE",
46
55
  * // PerformCheckOnly: true || false,
56
+ * // DeploymentStrategyOptions: { // DeploymentStrategyOverrideOptions
57
+ * // DeploymentStrategy: "ClonedBlueGreen", // required
58
+ * // ClonedBlueGreenOptions: { // ClonedBlueGreenOptions
59
+ * // RetentionOptions: { // RetentionOptions Union: only one key present
60
+ * // RetentionInHours: Number("int"),
61
+ * // RetentionAction: "RollbackToPrimaryCluster" || "DeletePrimaryCluster",
62
+ * // },
63
+ * // },
64
+ * // },
47
65
  * // ChangeProgressDetails: { // ChangeProgressDetails
48
66
  * // ChangeId: "STRING_VALUE",
49
67
  * // Message: "STRING_VALUE",
@@ -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";
@@ -444,6 +444,18 @@ export declare const AutoTuneType: {
444
444
  * @public
445
445
  */
446
446
  export type AutoTuneType = (typeof AutoTuneType)[keyof typeof AutoTuneType];
447
+ /**
448
+ * @public
449
+ * @enum
450
+ */
451
+ export declare const ClonedBlueGreenScheduledActionType: {
452
+ readonly AUTOMATIC_CUTOVER_TO_PRIMARY: "AutomaticCutoverToPrimaryCluster";
453
+ readonly DELETE_PRIMARY_CLUSTER: "DeletePrimaryCluster";
454
+ };
455
+ /**
456
+ * @public
457
+ */
458
+ export type ClonedBlueGreenScheduledActionType = (typeof ClonedBlueGreenScheduledActionType)[keyof typeof ClonedBlueGreenScheduledActionType];
447
459
  /**
448
460
  * @public
449
461
  * @enum
@@ -547,3 +559,75 @@ export declare const EngineType: {
547
559
  * @public
548
560
  */
549
561
  export type EngineType = (typeof EngineType)[keyof typeof EngineType];
562
+ /**
563
+ * @public
564
+ * @enum
565
+ */
566
+ export declare const CutoverTarget: {
567
+ readonly CLONED_CLUSTER: "ClonedCluster";
568
+ readonly PRIMARY_CLUSTER: "PrimaryCluster";
569
+ };
570
+ /**
571
+ * @public
572
+ */
573
+ export type CutoverTarget = (typeof CutoverTarget)[keyof typeof CutoverTarget];
574
+ /**
575
+ * @public
576
+ * @enum
577
+ */
578
+ export declare const RetentionAction: {
579
+ readonly DELETE_PRIMARY_CLUSTER: "DeletePrimaryCluster";
580
+ readonly ROLLBACK_TO_PRIMARY_CLUSTER: "RollbackToPrimaryCluster";
581
+ };
582
+ /**
583
+ * @public
584
+ */
585
+ export type RetentionAction = (typeof RetentionAction)[keyof typeof RetentionAction];
586
+ /**
587
+ * @public
588
+ * @enum
589
+ */
590
+ export declare const TrafficStrategy: {
591
+ readonly SHIFT_READ_TRAFFIC_PERCENT: "ShiftReadTrafficPercent";
592
+ };
593
+ /**
594
+ * @public
595
+ */
596
+ export type TrafficStrategy = (typeof TrafficStrategy)[keyof typeof TrafficStrategy];
597
+ /**
598
+ * @public
599
+ * @enum
600
+ */
601
+ export declare const CutoverStatus: {
602
+ readonly COMPLETED: "Completed";
603
+ readonly FAILED: "Failed";
604
+ readonly IN_PROGRESS: "InProgress";
605
+ };
606
+ /**
607
+ * @public
608
+ */
609
+ export type CutoverStatus = (typeof CutoverStatus)[keyof typeof CutoverStatus];
610
+ /**
611
+ * @public
612
+ * @enum
613
+ */
614
+ export declare const TrafficSplitStatus: {
615
+ readonly COMPLETED: "Completed";
616
+ readonly FAILED: "Failed";
617
+ readonly IN_PROGRESS: "InProgress";
618
+ };
619
+ /**
620
+ * @public
621
+ */
622
+ export type TrafficSplitStatus = (typeof TrafficSplitStatus)[keyof typeof TrafficSplitStatus];
623
+ /**
624
+ * @public
625
+ * @enum
626
+ */
627
+ export declare const DeploymentStrategyOverride: {
628
+ readonly CLONED_BLUE_GREEN: "ClonedBlueGreen";
629
+ };
630
+ /**
631
+ * @public
632
+ */
633
+ export type DeploymentStrategyOverride = (typeof DeploymentStrategyOverride)[keyof typeof DeploymentStrategyOverride];