@aws-sdk/client-opensearch 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.
- package/README.md +7 -0
- package/dist-cjs/index.js +151 -14
- package/dist-es/OpenSearch.js +2 -0
- package/dist-es/commands/UpdateCloneCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/schemas/schemas_0.js +97 -13
- package/dist-types/OpenSearch.d.ts +7 -0
- package/dist-types/OpenSearchClient.d.ts +3 -2
- package/dist-types/commands/DescribeDomainChangeProgressCommand.d.ts +11 -0
- package/dist-types/commands/ListInsightsCommand.d.ts +2 -1
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +1 -2
- package/dist-types/commands/UpdateCloneCommand.d.ts +117 -0
- package/dist-types/commands/UpgradeDomainCommand.d.ts +18 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +84 -0
- package/dist-types/models/models_0.d.ts +59 -109
- package/dist-types/models/models_1.d.ts +313 -2
- package/dist-types/schemas/schemas_0.d.ts +13 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +14 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +3 -0
- package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateCloneCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +37 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -22
- package/dist-types/ts3.4/models/models_1.d.ts +95 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/package.json +8 -8
|
@@ -99,6 +99,9 @@ const _CAR = "CreateApplicationRequest";
|
|
|
99
99
|
const _CARr = "CreateApplicationResponse";
|
|
100
100
|
const _CAr = "CreatedAt";
|
|
101
101
|
const _CAre = "CreateApplication";
|
|
102
|
+
const _CBGO = "ClonedBlueGreenOptions";
|
|
103
|
+
const _CBGSA = "ClonedBlueGreenScheduledAction";
|
|
104
|
+
const _CBGUD = "ClonedBlueGreenUpgradeDetails";
|
|
102
105
|
const _CBRC = "CapabilityBaseRequestConfig";
|
|
103
106
|
const _CBRCa = "CapabilityBaseResponseConfig";
|
|
104
107
|
const _CC = "ClusterConfig";
|
|
@@ -147,6 +150,7 @@ const _COC = "CreateOutboundConnection";
|
|
|
147
150
|
const _COCR = "CreateOutboundConnectionRequest";
|
|
148
151
|
const _COCRr = "CreateOutboundConnectionResponse";
|
|
149
152
|
const _COS = "CognitoOptionsStatus";
|
|
153
|
+
const _COu = "CutoverOptions";
|
|
150
154
|
const _CP = "CompletedProperties";
|
|
151
155
|
const _CPD = "ChangeProgressDetails";
|
|
152
156
|
const _CPR = "CreatePackageRequest";
|
|
@@ -159,6 +163,8 @@ const _CPSha = "ChangeProgressStatus";
|
|
|
159
163
|
const _CPo = "ConnectionProperties";
|
|
160
164
|
const _CPr = "CreatePackage";
|
|
161
165
|
const _CR = "ConfigurationRequirement";
|
|
166
|
+
const _CRO = "CutoverRequestOptions";
|
|
167
|
+
const _CRTP = "CloneReadTrafficPercent";
|
|
162
168
|
const _CS = "ConnectionStatus";
|
|
163
169
|
const _CSO = "ColdStorageOptions";
|
|
164
170
|
const _CSSU = "CancelServiceSoftwareUpdate";
|
|
@@ -184,6 +190,7 @@ const _Co = "Connections";
|
|
|
184
190
|
const _Cod = "Code";
|
|
185
191
|
const _Cou = "Count";
|
|
186
192
|
const _Cr = "Created";
|
|
193
|
+
const _Cu = "Current";
|
|
187
194
|
const _D = "Description";
|
|
188
195
|
const _DA = "DomainArn";
|
|
189
196
|
const _DAR = "DeleteApplicationRequest";
|
|
@@ -327,6 +334,7 @@ const _DSL = "DomainStatusList";
|
|
|
327
334
|
const _DSLa = "DataSourceList";
|
|
328
335
|
const _DSN = "DataSourceName";
|
|
329
336
|
const _DSO = "DeploymentStrategyOptions";
|
|
337
|
+
const _DSOO = "DeploymentStrategyOverrideOptions";
|
|
330
338
|
const _DSOS = "DeploymentStrategyOptionsStatus";
|
|
331
339
|
const _DST = "DataSourceType";
|
|
332
340
|
const _DSTe = "DesiredStartTime";
|
|
@@ -632,6 +640,7 @@ const _PR = "PeerRole";
|
|
|
632
640
|
const _PRIO = "PurchaseReservedInstanceOffering";
|
|
633
641
|
const _PRIOR = "PurchaseReservedInstanceOfferingRequest";
|
|
634
642
|
const _PRIORu = "PurchaseReservedInstanceOfferingResponse";
|
|
643
|
+
const _PRTP = "PrimaryReadTrafficPercent";
|
|
635
644
|
const _PS = "PackageSource";
|
|
636
645
|
const _PSa = "PackageStatus";
|
|
637
646
|
const _PT = "PrincipalType";
|
|
@@ -653,6 +662,7 @@ const _R = "Region";
|
|
|
653
662
|
const _RA = "RoleArn";
|
|
654
663
|
const _RAEE = "ResourceAlreadyExistsException";
|
|
655
664
|
const _RAZ = "RetrieveAZs";
|
|
665
|
+
const _RAe = "RetentionAction";
|
|
656
666
|
const _RAo = "RollbackAvailable";
|
|
657
667
|
const _RC = "RecurringCharge";
|
|
658
668
|
const _RCA = "RecurringChargeAmount";
|
|
@@ -667,6 +677,7 @@ const _RI = "ReservedInstances";
|
|
|
667
677
|
const _RIC = "RejectInboundConnection";
|
|
668
678
|
const _RICR = "RejectInboundConnectionRequest";
|
|
669
679
|
const _RICRe = "RejectInboundConnectionResponse";
|
|
680
|
+
const _RIH = "RetentionInHours";
|
|
670
681
|
const _RII = "ReservedInstanceId";
|
|
671
682
|
const _RIL = "ReservedInstanceList";
|
|
672
683
|
const _RIO = "ReservedInstanceOfferings";
|
|
@@ -677,6 +688,7 @@ const _RIe = "ReservedInstance";
|
|
|
677
688
|
const _RK = "RolesKey";
|
|
678
689
|
const _RN = "ReservationName";
|
|
679
690
|
const _RNFE = "ResourceNotFoundException";
|
|
691
|
+
const _RO = "RetentionOptions";
|
|
680
692
|
const _ROD = "RollbackOnDisable";
|
|
681
693
|
const _RP = "ReferencePath";
|
|
682
694
|
const _RPL = "ReplicationPeerList";
|
|
@@ -703,8 +715,8 @@ const _SAMLO = "SAMLOptions";
|
|
|
703
715
|
const _SAMLOI = "SAMLOptionsInput";
|
|
704
716
|
const _SAMLOO = "SAMLOptionsOutput";
|
|
705
717
|
const _SATD = "ScheduledAutoTuneDetails";
|
|
706
|
-
const _SAc = "
|
|
707
|
-
const _SAch = "
|
|
718
|
+
const _SAc = "ScheduledAction";
|
|
719
|
+
const _SAch = "ScheduledActions";
|
|
708
720
|
const _SAche = "ScheduleAt";
|
|
709
721
|
const _SB = "ScheduledBy";
|
|
710
722
|
const _SBAZC = "StandByAvailabilityZoneCount";
|
|
@@ -770,6 +782,7 @@ const _SVo = "SourceValue";
|
|
|
770
782
|
const _Se = "Service";
|
|
771
783
|
const _Sev = "Severity";
|
|
772
784
|
const _St = "State";
|
|
785
|
+
const _Str = "Strategy";
|
|
773
786
|
const _T = "Truncated";
|
|
774
787
|
const _TDA = "TargetDomainArn";
|
|
775
788
|
const _TE = "ThrottlingException";
|
|
@@ -778,13 +791,18 @@ const _TL = "TagList";
|
|
|
778
791
|
const _TLSSP = "TLSSecurityPolicy";
|
|
779
792
|
const _TNOS = "TotalNumberOfStages";
|
|
780
793
|
const _TO = "TargetOnly";
|
|
794
|
+
const _TP = "TrafficPercents";
|
|
781
795
|
const _TR = "TimeRange";
|
|
782
796
|
const _TS = "TotalShards";
|
|
797
|
+
const _TSO = "TrafficSplitOptions";
|
|
798
|
+
const _TSRO = "TrafficSplitRequestOptions";
|
|
799
|
+
const _TSr = "TrafficSplit";
|
|
783
800
|
const _TUAS = "TotalUnAssignedShards";
|
|
784
801
|
const _TV = "TargetVersions";
|
|
785
802
|
const _TVa = "TargetValue";
|
|
786
803
|
const _TVar = "TargetVersion";
|
|
787
|
-
const _Ta = "
|
|
804
|
+
const _Ta = "Target";
|
|
805
|
+
const _Tag = "Tag";
|
|
788
806
|
const _Th = "Throughput";
|
|
789
807
|
const _Thu = "Thumbs";
|
|
790
808
|
const _To = "To";
|
|
@@ -796,7 +814,10 @@ const _UARp = "UpdateApplicationResponse";
|
|
|
796
814
|
const _UAp = "UpdateAvailable";
|
|
797
815
|
const _UApd = "UpdateApplication";
|
|
798
816
|
const _UC = "UseCase";
|
|
817
|
+
const _UCR = "UpdateCloneRequest";
|
|
818
|
+
const _UCRp = "UpdateCloneResponse";
|
|
799
819
|
const _UCS = "UseCaseStatus";
|
|
820
|
+
const _UCp = "UpdateClone";
|
|
800
821
|
const _UD = "UpdateDate";
|
|
801
822
|
const _UDC = "UpdateDomainConfig";
|
|
802
823
|
const _UDCR = "UpdateDomainConfigRequest";
|
|
@@ -1325,8 +1346,23 @@ export var ChangeProgressStage$ = [3, n0, _CPS,
|
|
|
1325
1346
|
];
|
|
1326
1347
|
export var ChangeProgressStatusDetails$ = [3, n0, _CPSD,
|
|
1327
1348
|
0,
|
|
1328
|
-
[_CIh, _ST, _S, _PP, _CP, _TNOS, _CPSh, _LUT, _CCS, _IB, _VF, _AW],
|
|
1329
|
-
[0, 4, 0, 64 | 0, 64 | 0, 1, () => ChangeProgressStageList, 4, 0, 0, () => ValidationFailures, 64 | 0]
|
|
1349
|
+
[_CIh, _ST, _S, _PP, _CP, _TNOS, _CPSh, _LUT, _CCS, _IB, _CBGUD, _VF, _AW],
|
|
1350
|
+
[0, 4, 0, 64 | 0, 64 | 0, 1, () => ChangeProgressStageList, 4, 0, 0, () => ClonedBlueGreenUpgradeDetails$, () => ValidationFailures, 64 | 0]
|
|
1351
|
+
];
|
|
1352
|
+
export var ClonedBlueGreenOptions$ = [3, n0, _CBGO,
|
|
1353
|
+
0,
|
|
1354
|
+
[_RO],
|
|
1355
|
+
[() => RetentionOptions$]
|
|
1356
|
+
];
|
|
1357
|
+
export var ClonedBlueGreenScheduledAction$ = [3, n0, _CBGSA,
|
|
1358
|
+
0,
|
|
1359
|
+
[_Ac, _STc],
|
|
1360
|
+
[0, 4]
|
|
1361
|
+
];
|
|
1362
|
+
export var ClonedBlueGreenUpgradeDetails$ = [3, n0, _CBGUD,
|
|
1363
|
+
0,
|
|
1364
|
+
[_TSr, _SAc, _RIH],
|
|
1365
|
+
[() => TrafficPercents$, () => ClonedBlueGreenScheduledAction$, 1]
|
|
1330
1366
|
];
|
|
1331
1367
|
export var CloudWatchDirectQueryDataSource$ = [3, n0, _CWDQDS,
|
|
1332
1368
|
0,
|
|
@@ -1443,6 +1479,16 @@ export var CrossClusterSearchConnectionProperties$ = [3, n0, _CCSCP,
|
|
|
1443
1479
|
[_SU],
|
|
1444
1480
|
[0]
|
|
1445
1481
|
];
|
|
1482
|
+
export var CutoverOptions$ = [3, n0, _COu,
|
|
1483
|
+
0,
|
|
1484
|
+
[_Ta, _S],
|
|
1485
|
+
[0, 0], 2
|
|
1486
|
+
];
|
|
1487
|
+
export var CutoverRequestOptions$ = [3, n0, _CRO,
|
|
1488
|
+
0,
|
|
1489
|
+
[_Ta],
|
|
1490
|
+
[0], 1
|
|
1491
|
+
];
|
|
1446
1492
|
export var DataSource$ = [3, n0, _DSa,
|
|
1447
1493
|
0,
|
|
1448
1494
|
[_dSA, _dSD, _iRFDSA],
|
|
@@ -1553,6 +1599,11 @@ export var DeploymentStrategyOptionsStatus$ = [3, n0, _DSOS,
|
|
|
1553
1599
|
[_O, _S],
|
|
1554
1600
|
[() => DeploymentStrategyOptions$, () => OptionStatus$], 2
|
|
1555
1601
|
];
|
|
1602
|
+
export var DeploymentStrategyOverrideOptions$ = [3, n0, _DSOO,
|
|
1603
|
+
0,
|
|
1604
|
+
[_DSe, _CBGO],
|
|
1605
|
+
[0, () => ClonedBlueGreenOptions$], 1
|
|
1606
|
+
];
|
|
1556
1607
|
export var DeregisterCapabilityRequest$ = [3, n0, _DCR,
|
|
1557
1608
|
0,
|
|
1558
1609
|
[_aIp, _cN],
|
|
@@ -2270,7 +2321,7 @@ export var ListScheduledActionsRequest$ = [3, n0, _LSAR,
|
|
|
2270
2321
|
];
|
|
2271
2322
|
export var ListScheduledActionsResponse$ = [3, n0, _LSARi,
|
|
2272
2323
|
0,
|
|
2273
|
-
[
|
|
2324
|
+
[_SAch, _NT],
|
|
2274
2325
|
[() => ScheduledActionsList, 0]
|
|
2275
2326
|
];
|
|
2276
2327
|
export var ListTagsRequest$ = [3, n0, _LTR,
|
|
@@ -2608,7 +2659,7 @@ export var SavedObjectIdentifier$ = [3, n0, _SOI,
|
|
|
2608
2659
|
[_ty, _i],
|
|
2609
2660
|
[0, 0], 2
|
|
2610
2661
|
];
|
|
2611
|
-
export var ScheduledAction$ = [3, n0,
|
|
2662
|
+
export var ScheduledAction$ = [3, n0, _SAc,
|
|
2612
2663
|
0,
|
|
2613
2664
|
[_Id_, _Ty, _Sev, _STc, _D, _SB, _S, _Ma, _Can],
|
|
2614
2665
|
[0, 0, 0, 1, 0, 0, 0, 2, 2], 4
|
|
@@ -2708,11 +2759,26 @@ export var SwitchoverReplicationResponse$ = [3, n0, _SRRw,
|
|
|
2708
2759
|
[_DA, _S],
|
|
2709
2760
|
[0, 0]
|
|
2710
2761
|
];
|
|
2711
|
-
export var Tag$ = [3, n0,
|
|
2762
|
+
export var Tag$ = [3, n0, _Tag,
|
|
2712
2763
|
0,
|
|
2713
2764
|
[_K, _V],
|
|
2714
2765
|
[0, 0], 2
|
|
2715
2766
|
];
|
|
2767
|
+
export var TrafficPercents$ = [3, n0, _TP,
|
|
2768
|
+
0,
|
|
2769
|
+
[_PRTP, _CRTP],
|
|
2770
|
+
[1, 1], 2
|
|
2771
|
+
];
|
|
2772
|
+
export var TrafficSplitOptions$ = [3, n0, _TSO,
|
|
2773
|
+
0,
|
|
2774
|
+
[_Cu, _Ta, _S],
|
|
2775
|
+
[() => TrafficPercents$, () => TrafficPercents$, 0], 3
|
|
2776
|
+
];
|
|
2777
|
+
export var TrafficSplitRequestOptions$ = [3, n0, _TSRO,
|
|
2778
|
+
0,
|
|
2779
|
+
[_Str, _CRTP],
|
|
2780
|
+
[0, 1], 2
|
|
2781
|
+
];
|
|
2716
2782
|
export var UpdateApplicationRequest$ = [3, n0, _UAR,
|
|
2717
2783
|
0,
|
|
2718
2784
|
[_i, _dS, _aC, _iICO],
|
|
@@ -2723,6 +2789,16 @@ export var UpdateApplicationResponse$ = [3, n0, _UARp,
|
|
|
2723
2789
|
[_i, _n, _a, _dS, _iICO, _aC, _cA, _lUA],
|
|
2724
2790
|
[0, 0, 0, () => DataSources, () => IamIdentityCenterOptions$, () => AppConfigs, 4, 4]
|
|
2725
2791
|
];
|
|
2792
|
+
export var UpdateCloneRequest$ = [3, n0, _UCR,
|
|
2793
|
+
0,
|
|
2794
|
+
[_DN, _TSO, _COu, _RO],
|
|
2795
|
+
[[0, 1], () => TrafficSplitRequestOptions$, () => CutoverRequestOptions$, () => RetentionOptions$], 1
|
|
2796
|
+
];
|
|
2797
|
+
export var UpdateCloneResponse$ = [3, n0, _UCRp,
|
|
2798
|
+
0,
|
|
2799
|
+
[_DN, _CIh, _COu, _TSO, _RO],
|
|
2800
|
+
[0, 0, () => CutoverOptions$, () => TrafficSplitOptions$, () => RetentionOptions$], 2
|
|
2801
|
+
];
|
|
2726
2802
|
export var UpdateDataSourceRequest$ = [3, n0, _UDSR,
|
|
2727
2803
|
0,
|
|
2728
2804
|
[_DN, _N, _DST, _D, _S],
|
|
@@ -2790,7 +2866,7 @@ export var UpdateScheduledActionRequest$ = [3, n0, _USAR,
|
|
|
2790
2866
|
];
|
|
2791
2867
|
export var UpdateScheduledActionResponse$ = [3, n0, _USARp,
|
|
2792
2868
|
0,
|
|
2793
|
-
[
|
|
2869
|
+
[_SAc],
|
|
2794
2870
|
[() => ScheduledAction$]
|
|
2795
2871
|
];
|
|
2796
2872
|
export var UpdateVpcEndpointRequest$ = [3, n0, _UVER,
|
|
@@ -2805,13 +2881,13 @@ export var UpdateVpcEndpointResponse$ = [3, n0, _UVERp,
|
|
|
2805
2881
|
];
|
|
2806
2882
|
export var UpgradeDomainRequest$ = [3, n0, _UDR,
|
|
2807
2883
|
0,
|
|
2808
|
-
[_DN, _TVar, _PCO, _AO],
|
|
2809
|
-
[0, 0, 2, 128 | 0], 2
|
|
2884
|
+
[_DN, _TVar, _PCO, _AO, _DSO],
|
|
2885
|
+
[0, 0, 2, 128 | 0, () => DeploymentStrategyOverrideOptions$], 2
|
|
2810
2886
|
];
|
|
2811
2887
|
export var UpgradeDomainResponse$ = [3, n0, _UDRp,
|
|
2812
2888
|
0,
|
|
2813
|
-
[_UI, _DN, _TVar, _PCO, _AO, _CPD],
|
|
2814
|
-
[0, 0, 0, 2, 128 | 0, () => ChangeProgressDetails$]
|
|
2889
|
+
[_UI, _DN, _TVar, _PCO, _AO, _DSO, _CPD],
|
|
2890
|
+
[0, 0, 0, 2, 128 | 0, () => DeploymentStrategyOverrideOptions$, () => ChangeProgressDetails$]
|
|
2815
2891
|
];
|
|
2816
2892
|
export var UpgradeHistory$ = [3, n0, _UHp,
|
|
2817
2893
|
0,
|
|
@@ -3096,6 +3172,11 @@ export var DirectQueryDataSourceType$ = [4, n0, _DQDST,
|
|
|
3096
3172
|
[_CWL, _SLe, _Prom],
|
|
3097
3173
|
[() => CloudWatchDirectQueryDataSource$, () => SecurityLakeDirectQueryDataSource$, () => PrometheusDirectQueryDataSource$]
|
|
3098
3174
|
];
|
|
3175
|
+
export var RetentionOptions$ = [4, n0, _RO,
|
|
3176
|
+
0,
|
|
3177
|
+
[_RIH, _RAe],
|
|
3178
|
+
[1, 0]
|
|
3179
|
+
];
|
|
3099
3180
|
export var AcceptInboundConnection$ = [9, n0, _AICc,
|
|
3100
3181
|
{ [_h]: ["PUT", "/2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept", 200] }, () => AcceptInboundConnectionRequest$, () => AcceptInboundConnectionResponse$
|
|
3101
3182
|
];
|
|
@@ -3375,6 +3456,9 @@ export var SwitchoverReplication$ = [9, n0, _SRw,
|
|
|
3375
3456
|
export var UpdateApplication$ = [9, n0, _UApd,
|
|
3376
3457
|
{ [_h]: ["PUT", "/2021-01-01/opensearch/application/{id}", 200] }, () => UpdateApplicationRequest$, () => UpdateApplicationResponse$
|
|
3377
3458
|
];
|
|
3459
|
+
export var UpdateClone$ = [9, n0, _UCp,
|
|
3460
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/domain/{DomainName}/clone", 200] }, () => UpdateCloneRequest$, () => UpdateCloneResponse$
|
|
3461
|
+
];
|
|
3378
3462
|
export var UpdateDataSource$ = [9, n0, _UDS,
|
|
3379
3463
|
{ [_h]: ["PUT", "/2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}", 200] }, () => UpdateDataSourceRequest$, () => UpdateDataSourceResponse$
|
|
3380
3464
|
];
|
|
@@ -92,6 +92,7 @@ import { type StartMigrationCommandInput, type StartMigrationCommandOutput } fro
|
|
|
92
92
|
import { type StartServiceSoftwareUpdateCommandInput, type StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
93
93
|
import { type SwitchoverReplicationCommandInput, type SwitchoverReplicationCommandOutput } from "./commands/SwitchoverReplicationCommand";
|
|
94
94
|
import { type UpdateApplicationCommandInput, type UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
95
|
+
import { type UpdateCloneCommandInput, type UpdateCloneCommandOutput } from "./commands/UpdateCloneCommand";
|
|
95
96
|
import { type UpdateDataSourceCommandInput, type UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
96
97
|
import { type UpdateDirectQueryDataSourceCommandInput, type UpdateDirectQueryDataSourceCommandOutput } from "./commands/UpdateDirectQueryDataSourceCommand";
|
|
97
98
|
import { type UpdateDomainConfigCommandInput, type UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
@@ -679,6 +680,12 @@ export interface OpenSearch {
|
|
|
679
680
|
updateApplication(args: UpdateApplicationCommandInput, options?: OpenSearchRequestOptions): Promise<UpdateApplicationCommandOutput>;
|
|
680
681
|
updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
681
682
|
updateApplication(args: UpdateApplicationCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void;
|
|
683
|
+
/**
|
|
684
|
+
* @see {@link UpdateCloneCommand}
|
|
685
|
+
*/
|
|
686
|
+
updateClone(args: UpdateCloneCommandInput, options?: OpenSearchRequestOptions): Promise<UpdateCloneCommandOutput>;
|
|
687
|
+
updateClone(args: UpdateCloneCommandInput, cb: (err: any, data?: UpdateCloneCommandOutput) => void): void;
|
|
688
|
+
updateClone(args: UpdateCloneCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: UpdateCloneCommandOutput) => void): void;
|
|
682
689
|
/**
|
|
683
690
|
* @see {@link UpdateDataSourceCommand}
|
|
684
691
|
*/
|
|
@@ -99,6 +99,7 @@ import type { StartMigrationCommandInput, StartMigrationCommandOutput } from "./
|
|
|
99
99
|
import type { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
100
100
|
import type { SwitchoverReplicationCommandInput, SwitchoverReplicationCommandOutput } from "./commands/SwitchoverReplicationCommand";
|
|
101
101
|
import type { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
102
|
+
import type { UpdateCloneCommandInput, UpdateCloneCommandOutput } from "./commands/UpdateCloneCommand";
|
|
102
103
|
import type { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
103
104
|
import type { UpdateDirectQueryDataSourceCommandInput, UpdateDirectQueryDataSourceCommandOutput } from "./commands/UpdateDirectQueryDataSourceCommand";
|
|
104
105
|
import type { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
@@ -114,11 +115,11 @@ export { __Client };
|
|
|
114
115
|
/**
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
117
|
-
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddReplicationPeerCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AttachDataSourceCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CompareDomainConfigurationCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DeregisterCapabilityCommandInput | DescribeDataSourceAttachmentCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainReplicationCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DetachDataSourceCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | FailoverReplicationCommandInput | GetApplicationCommandInput | GetCapabilityCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetMigrationCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | InsightFeedbackCommandInput | ListApplicationsCommandInput | ListDataSourceAttachmentsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListMigrationsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveReplicationPeerCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | RollbackServiceSoftwareUpdateCommandInput | StartDomainMaintenanceCommandInput | StartMigrationCommandInput | StartServiceSoftwareUpdateCommandInput | SwitchoverReplicationCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
118
|
+
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddReplicationPeerCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AttachDataSourceCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CompareDomainConfigurationCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DeregisterCapabilityCommandInput | DescribeDataSourceAttachmentCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainReplicationCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DetachDataSourceCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | FailoverReplicationCommandInput | GetApplicationCommandInput | GetCapabilityCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetMigrationCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | InsightFeedbackCommandInput | ListApplicationsCommandInput | ListDataSourceAttachmentsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListMigrationsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveReplicationPeerCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | RollbackServiceSoftwareUpdateCommandInput | StartDomainMaintenanceCommandInput | StartMigrationCommandInput | StartServiceSoftwareUpdateCommandInput | SwitchoverReplicationCommandInput | UpdateApplicationCommandInput | UpdateCloneCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
118
119
|
/**
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
121
|
-
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddReplicationPeerCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AttachDataSourceCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CompareDomainConfigurationCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DeregisterCapabilityCommandOutput | DescribeDataSourceAttachmentCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainReplicationCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DetachDataSourceCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | FailoverReplicationCommandOutput | GetApplicationCommandOutput | GetCapabilityCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetMigrationCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | InsightFeedbackCommandOutput | ListApplicationsCommandOutput | ListDataSourceAttachmentsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListMigrationsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveReplicationPeerCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | RollbackServiceSoftwareUpdateCommandOutput | StartDomainMaintenanceCommandOutput | StartMigrationCommandOutput | StartServiceSoftwareUpdateCommandOutput | SwitchoverReplicationCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
122
|
+
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddReplicationPeerCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AttachDataSourceCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CompareDomainConfigurationCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DeregisterCapabilityCommandOutput | DescribeDataSourceAttachmentCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainReplicationCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DetachDataSourceCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | FailoverReplicationCommandOutput | GetApplicationCommandOutput | GetCapabilityCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetMigrationCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | InsightFeedbackCommandOutput | ListApplicationsCommandOutput | ListDataSourceAttachmentsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListMigrationsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveReplicationPeerCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | RollbackServiceSoftwareUpdateCommandOutput | StartDomainMaintenanceCommandOutput | StartMigrationCommandOutput | StartServiceSoftwareUpdateCommandOutput | SwitchoverReplicationCommandOutput | UpdateApplicationCommandOutput | UpdateCloneCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
122
123
|
/**
|
|
123
124
|
* @public
|
|
124
125
|
*/
|
|
@@ -63,6 +63,17 @@ declare const DescribeDomainChangeProgressCommand_base: {
|
|
|
63
63
|
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
64
64
|
* // ConfigChangeStatus: "Pending" || "Initializing" || "Validating" || "ValidationFailed" || "ApplyingChanges" || "Completed" || "PendingUserInput" || "Cancelled",
|
|
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
|
* // ValidationFailures: [ // ValidationFailures
|
|
67
78
|
* // { // ValidationFailure
|
|
68
79
|
* // Code: "STRING_VALUE",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListInsightsRequest
|
|
2
|
+
import type { ListInsightsRequest } from "../models/models_0";
|
|
3
|
+
import type { ListInsightsResponse } from "../models/models_1";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListInstanceTypeDetailsRequest } from "../models/
|
|
3
|
-
import type { ListInstanceTypeDetailsResponse } from "../models/models_1";
|
|
2
|
+
import type { ListInstanceTypeDetailsRequest, ListInstanceTypeDetailsResponse } from "../models/models_1";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateCloneRequest, UpdateCloneResponse } from "../models/models_1";
|
|
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("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateCloneCommandInput): import("@smithy/core/client").CommandImpl<UpdateCloneCommandInput, UpdateCloneCommandOutput, import("..").OpenSearchClientResolvedConfig, 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 { OpenSearchClient, UpdateCloneCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
32
|
+
* // const { OpenSearchClient, UpdateCloneCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
33
|
+
* // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
|
|
34
|
+
* const config = {}; // type is OpenSearchClientConfig
|
|
35
|
+
* const client = new OpenSearchClient(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 OpenSearchClientResolvedConfig | config} for OpenSearchClient'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 an unsupported operation.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalException} (server fault)
|
|
91
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link OpenSearchServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from OpenSearch 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
|
+
}
|
|
@@ -41,6 +41,15 @@ declare const UpgradeDomainCommand_base: {
|
|
|
41
41
|
* AdvancedOptions: { // AdvancedOptions
|
|
42
42
|
* "<keys>": "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
|
+
* DeploymentStrategyOptions: { // DeploymentStrategyOverrideOptions
|
|
45
|
+
* DeploymentStrategy: "ClonedBlueGreen", // required
|
|
46
|
+
* ClonedBlueGreenOptions: { // ClonedBlueGreenOptions
|
|
47
|
+
* RetentionOptions: { // RetentionOptions Union: only one key present
|
|
48
|
+
* RetentionInHours: Number("int"),
|
|
49
|
+
* RetentionAction: "RollbackToPrimaryCluster" || "DeletePrimaryCluster",
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
44
53
|
* };
|
|
45
54
|
* const command = new UpgradeDomainCommand(input);
|
|
46
55
|
* const response = await client.send(command);
|
|
@@ -52,6 +61,15 @@ declare const UpgradeDomainCommand_base: {
|
|
|
52
61
|
* // AdvancedOptions: { // AdvancedOptions
|
|
53
62
|
* // "<keys>": "STRING_VALUE",
|
|
54
63
|
* // },
|
|
64
|
+
* // DeploymentStrategyOptions: { // DeploymentStrategyOverrideOptions
|
|
65
|
+
* // DeploymentStrategy: "ClonedBlueGreen", // required
|
|
66
|
+
* // ClonedBlueGreenOptions: { // ClonedBlueGreenOptions
|
|
67
|
+
* // RetentionOptions: { // RetentionOptions Union: only one key present
|
|
68
|
+
* // RetentionInHours: Number("int"),
|
|
69
|
+
* // RetentionAction: "RollbackToPrimaryCluster" || "DeletePrimaryCluster",
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
55
73
|
* // ChangeProgressDetails: { // ChangeProgressDetails
|
|
56
74
|
* // ChangeId: "STRING_VALUE",
|
|
57
75
|
* // Message: "STRING_VALUE",
|
|
@@ -91,6 +91,7 @@ export * from "./StartMigrationCommand";
|
|
|
91
91
|
export * from "./StartServiceSoftwareUpdateCommand";
|
|
92
92
|
export * from "./SwitchoverReplicationCommand";
|
|
93
93
|
export * from "./UpdateApplicationCommand";
|
|
94
|
+
export * from "./UpdateCloneCommand";
|
|
94
95
|
export * from "./UpdateDataSourceCommand";
|
|
95
96
|
export * from "./UpdateDirectQueryDataSourceCommand";
|
|
96
97
|
export * from "./UpdateDomainConfigCommand";
|
|
@@ -773,6 +773,18 @@ export declare const AutoTuneType: {
|
|
|
773
773
|
* @public
|
|
774
774
|
*/
|
|
775
775
|
export type AutoTuneType = (typeof AutoTuneType)[keyof typeof AutoTuneType];
|
|
776
|
+
/**
|
|
777
|
+
* @public
|
|
778
|
+
* @enum
|
|
779
|
+
*/
|
|
780
|
+
export declare const ClonedBlueGreenScheduledActionType: {
|
|
781
|
+
readonly AUTOMATIC_CUTOVER_TO_PRIMARY: "AutomaticCutoverToPrimaryCluster";
|
|
782
|
+
readonly DELETE_PRIMARY_CLUSTER: "DeletePrimaryCluster";
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* @public
|
|
786
|
+
*/
|
|
787
|
+
export type ClonedBlueGreenScheduledActionType = (typeof ClonedBlueGreenScheduledActionType)[keyof typeof ClonedBlueGreenScheduledActionType];
|
|
776
788
|
/**
|
|
777
789
|
* @public
|
|
778
790
|
* @enum
|
|
@@ -1183,6 +1195,67 @@ export declare const ScheduleAt: {
|
|
|
1183
1195
|
* @public
|
|
1184
1196
|
*/
|
|
1185
1197
|
export type ScheduleAt = (typeof ScheduleAt)[keyof typeof ScheduleAt];
|
|
1198
|
+
/**
|
|
1199
|
+
* @public
|
|
1200
|
+
* @enum
|
|
1201
|
+
*/
|
|
1202
|
+
export declare const CutoverTarget: {
|
|
1203
|
+
readonly CLONED_CLUSTER: "ClonedCluster";
|
|
1204
|
+
readonly PRIMARY_CLUSTER: "PrimaryCluster";
|
|
1205
|
+
};
|
|
1206
|
+
/**
|
|
1207
|
+
* @public
|
|
1208
|
+
*/
|
|
1209
|
+
export type CutoverTarget = (typeof CutoverTarget)[keyof typeof CutoverTarget];
|
|
1210
|
+
/**
|
|
1211
|
+
* @public
|
|
1212
|
+
* @enum
|
|
1213
|
+
*/
|
|
1214
|
+
export declare const RetentionAction: {
|
|
1215
|
+
readonly DELETE_PRIMARY_CLUSTER: "DeletePrimaryCluster";
|
|
1216
|
+
readonly ROLLBACK_TO_PRIMARY_CLUSTER: "RollbackToPrimaryCluster";
|
|
1217
|
+
};
|
|
1218
|
+
/**
|
|
1219
|
+
* @public
|
|
1220
|
+
*/
|
|
1221
|
+
export type RetentionAction = (typeof RetentionAction)[keyof typeof RetentionAction];
|
|
1222
|
+
/**
|
|
1223
|
+
* @public
|
|
1224
|
+
* @enum
|
|
1225
|
+
*/
|
|
1226
|
+
export declare const TrafficStrategy: {
|
|
1227
|
+
readonly SHIFT_READ_TRAFFIC_PERCENT: "ShiftReadTrafficPercent";
|
|
1228
|
+
};
|
|
1229
|
+
/**
|
|
1230
|
+
* @public
|
|
1231
|
+
*/
|
|
1232
|
+
export type TrafficStrategy = (typeof TrafficStrategy)[keyof typeof TrafficStrategy];
|
|
1233
|
+
/**
|
|
1234
|
+
* @public
|
|
1235
|
+
* @enum
|
|
1236
|
+
*/
|
|
1237
|
+
export declare const CutoverStatus: {
|
|
1238
|
+
readonly COMPLETED: "Completed";
|
|
1239
|
+
readonly FAILED: "Failed";
|
|
1240
|
+
readonly IN_PROGRESS: "InProgress";
|
|
1241
|
+
};
|
|
1242
|
+
/**
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
export type CutoverStatus = (typeof CutoverStatus)[keyof typeof CutoverStatus];
|
|
1246
|
+
/**
|
|
1247
|
+
* @public
|
|
1248
|
+
* @enum
|
|
1249
|
+
*/
|
|
1250
|
+
export declare const TrafficSplitStatus: {
|
|
1251
|
+
readonly COMPLETED: "Completed";
|
|
1252
|
+
readonly FAILED: "Failed";
|
|
1253
|
+
readonly IN_PROGRESS: "InProgress";
|
|
1254
|
+
};
|
|
1255
|
+
/**
|
|
1256
|
+
* @public
|
|
1257
|
+
*/
|
|
1258
|
+
export type TrafficSplitStatus = (typeof TrafficSplitStatus)[keyof typeof TrafficSplitStatus];
|
|
1186
1259
|
/**
|
|
1187
1260
|
* @public
|
|
1188
1261
|
* @enum
|
|
@@ -1208,3 +1281,14 @@ export declare const PackageScopeOperationEnum: {
|
|
|
1208
1281
|
* @public
|
|
1209
1282
|
*/
|
|
1210
1283
|
export type PackageScopeOperationEnum = (typeof PackageScopeOperationEnum)[keyof typeof PackageScopeOperationEnum];
|
|
1284
|
+
/**
|
|
1285
|
+
* @public
|
|
1286
|
+
* @enum
|
|
1287
|
+
*/
|
|
1288
|
+
export declare const DeploymentStrategyOverride: {
|
|
1289
|
+
readonly CLONED_BLUE_GREEN: "ClonedBlueGreen";
|
|
1290
|
+
};
|
|
1291
|
+
/**
|
|
1292
|
+
* @public
|
|
1293
|
+
*/
|
|
1294
|
+
export type DeploymentStrategyOverride = (typeof DeploymentStrategyOverride)[keyof typeof DeploymentStrategyOverride];
|