@aws-sdk/client-opensearch 3.427.0 → 3.429.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.
@@ -22,7 +22,7 @@ export declare const InboundConnectionStatusCode: {
22
22
  export type InboundConnectionStatusCode =
23
23
  (typeof InboundConnectionStatusCode)[keyof typeof InboundConnectionStatusCode];
24
24
  export interface InboundConnectionStatus {
25
- StatusCode?: InboundConnectionStatusCode | string;
25
+ StatusCode?: InboundConnectionStatusCode;
26
26
  Message?: string;
27
27
  }
28
28
  export interface AWSDomainInformation {
@@ -38,7 +38,7 @@ export interface InboundConnection {
38
38
  RemoteDomainInfo?: DomainInformationContainer;
39
39
  ConnectionId?: string;
40
40
  ConnectionStatus?: InboundConnectionStatus;
41
- ConnectionMode?: ConnectionMode | string;
41
+ ConnectionMode?: ConnectionMode;
42
42
  }
43
43
  export interface AcceptInboundConnectionResponse {
44
44
  Connection?: InboundConnection;
@@ -81,7 +81,7 @@ export interface OptionStatus {
81
81
  CreationDate: Date | undefined;
82
82
  UpdateDate: Date | undefined;
83
83
  UpdateVersion?: number;
84
- State: OptionState | string | undefined;
84
+ State: OptionState | undefined;
85
85
  PendingDeletion?: boolean;
86
86
  }
87
87
  export interface AccessPoliciesStatus {
@@ -205,15 +205,16 @@ export interface ErrorDetails {
205
205
  }
206
206
  export declare const PackageType: {
207
207
  readonly TXT_DICTIONARY: "TXT-DICTIONARY";
208
+ readonly ZIP_PLUGIN: "ZIP-PLUGIN";
208
209
  };
209
210
  export type PackageType = (typeof PackageType)[keyof typeof PackageType];
210
211
  export interface DomainPackageDetails {
211
212
  PackageID?: string;
212
213
  PackageName?: string;
213
- PackageType?: PackageType | string;
214
+ PackageType?: PackageType;
214
215
  LastUpdated?: Date;
215
216
  DomainName?: string;
216
- DomainPackageStatus?: DomainPackageStatus | string;
217
+ DomainPackageStatus?: DomainPackageStatus;
217
218
  PackageVersion?: string;
218
219
  ReferencePath?: string;
219
220
  ErrorDetails?: ErrorDetails;
@@ -236,7 +237,7 @@ export declare const PrincipalType: {
236
237
  };
237
238
  export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
238
239
  export interface AuthorizedPrincipal {
239
- PrincipalType?: PrincipalType | string;
240
+ PrincipalType?: PrincipalType;
240
241
  Principal?: string;
241
242
  }
242
243
  export interface AuthorizeVpcEndpointAccessResponse {
@@ -259,7 +260,7 @@ export interface ServiceSoftwareOptions {
259
260
  NewVersion?: string;
260
261
  UpdateAvailable?: boolean;
261
262
  Cancellable?: boolean;
262
- UpdateStatus?: DeploymentStatus | string;
263
+ UpdateStatus?: DeploymentStatus;
263
264
  Description?: string;
264
265
  AutomatedUpdateDate?: Date;
265
266
  OptionalDeployment?: boolean;
@@ -279,7 +280,7 @@ export declare const TimeUnit: {
279
280
  export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
280
281
  export interface Duration {
281
282
  Value?: number;
282
- Unit?: TimeUnit | string;
283
+ Unit?: TimeUnit;
283
284
  }
284
285
  export interface AutoTuneMaintenanceSchedule {
285
286
  StartAt?: Date;
@@ -287,7 +288,7 @@ export interface AutoTuneMaintenanceSchedule {
287
288
  CronExpressionForRecurrence?: string;
288
289
  }
289
290
  export interface AutoTuneOptionsInput {
290
- DesiredState?: AutoTuneDesiredState | string;
291
+ DesiredState?: AutoTuneDesiredState;
291
292
  MaintenanceSchedules?: AutoTuneMaintenanceSchedule[];
292
293
  UseOffPeakWindow?: boolean;
293
294
  }
@@ -404,15 +405,15 @@ export interface ZoneAwarenessConfig {
404
405
  AvailabilityZoneCount?: number;
405
406
  }
406
407
  export interface ClusterConfig {
407
- InstanceType?: OpenSearchPartitionInstanceType | string;
408
+ InstanceType?: OpenSearchPartitionInstanceType;
408
409
  InstanceCount?: number;
409
410
  DedicatedMasterEnabled?: boolean;
410
411
  ZoneAwarenessEnabled?: boolean;
411
412
  ZoneAwarenessConfig?: ZoneAwarenessConfig;
412
- DedicatedMasterType?: OpenSearchPartitionInstanceType | string;
413
+ DedicatedMasterType?: OpenSearchPartitionInstanceType;
413
414
  DedicatedMasterCount?: number;
414
415
  WarmEnabled?: boolean;
415
- WarmType?: OpenSearchWarmPartitionInstanceType | string;
416
+ WarmType?: OpenSearchWarmPartitionInstanceType;
416
417
  WarmCount?: number;
417
418
  ColdStorageOptions?: ColdStorageOptions;
418
419
  MultiAZWithStandbyEnabled?: boolean;
@@ -431,7 +432,7 @@ export type TLSSecurityPolicy =
431
432
  (typeof TLSSecurityPolicy)[keyof typeof TLSSecurityPolicy];
432
433
  export interface DomainEndpointOptions {
433
434
  EnforceHTTPS?: boolean;
434
- TLSSecurityPolicy?: TLSSecurityPolicy | string;
435
+ TLSSecurityPolicy?: TLSSecurityPolicy;
435
436
  CustomEndpointEnabled?: boolean;
436
437
  CustomEndpoint?: string;
437
438
  CustomEndpointCertificateArn?: string;
@@ -445,7 +446,7 @@ export declare const VolumeType: {
445
446
  export type VolumeType = (typeof VolumeType)[keyof typeof VolumeType];
446
447
  export interface EBSOptions {
447
448
  EBSEnabled?: boolean;
448
- VolumeType?: VolumeType | string;
449
+ VolumeType?: VolumeType;
449
450
  VolumeSize?: number;
450
451
  Iops?: number;
451
452
  Throughput?: number;
@@ -501,7 +502,7 @@ export interface CreateDomainRequest {
501
502
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
502
503
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
503
504
  AdvancedOptions?: Record<string, string>;
504
- LogPublishingOptions?: Record<string, LogPublishingOption>;
505
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
505
506
  DomainEndpointOptions?: DomainEndpointOptions;
506
507
  AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
507
508
  TagList?: Tag[];
@@ -522,7 +523,7 @@ export declare const AutoTuneState: {
522
523
  };
523
524
  export type AutoTuneState = (typeof AutoTuneState)[keyof typeof AutoTuneState];
524
525
  export interface AutoTuneOptionsOutput {
525
- State?: AutoTuneState | string;
526
+ State?: AutoTuneState;
526
527
  ErrorMessage?: string;
527
528
  UseOffPeakWindow?: boolean;
528
529
  }
@@ -556,7 +557,7 @@ export interface DomainStatus {
556
557
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
557
558
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
558
559
  AdvancedOptions?: Record<string, string>;
559
- LogPublishingOptions?: Record<string, LogPublishingOption>;
560
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
560
561
  ServiceSoftwareOptions?: ServiceSoftwareOptions;
561
562
  DomainEndpointOptions?: DomainEndpointOptions;
562
563
  AdvancedSecurityOptions?: AdvancedSecurityOptions;
@@ -589,7 +590,7 @@ export declare const SkipUnavailableStatus: {
589
590
  export type SkipUnavailableStatus =
590
591
  (typeof SkipUnavailableStatus)[keyof typeof SkipUnavailableStatus];
591
592
  export interface CrossClusterSearchConnectionProperties {
592
- SkipUnavailable?: SkipUnavailableStatus | string;
593
+ SkipUnavailable?: SkipUnavailableStatus;
593
594
  }
594
595
  export interface ConnectionProperties {
595
596
  Endpoint?: string;
@@ -599,7 +600,7 @@ export interface CreateOutboundConnectionRequest {
599
600
  LocalDomainInfo: DomainInformationContainer | undefined;
600
601
  RemoteDomainInfo: DomainInformationContainer | undefined;
601
602
  ConnectionAlias: string | undefined;
602
- ConnectionMode?: ConnectionMode | string;
603
+ ConnectionMode?: ConnectionMode;
603
604
  ConnectionProperties?: ConnectionProperties;
604
605
  }
605
606
  export declare const OutboundConnectionStatusCode: {
@@ -617,7 +618,7 @@ export declare const OutboundConnectionStatusCode: {
617
618
  export type OutboundConnectionStatusCode =
618
619
  (typeof OutboundConnectionStatusCode)[keyof typeof OutboundConnectionStatusCode];
619
620
  export interface OutboundConnectionStatus {
620
- StatusCode?: OutboundConnectionStatusCode | string;
621
+ StatusCode?: OutboundConnectionStatusCode;
621
622
  Message?: string;
622
623
  }
623
624
  export interface CreateOutboundConnectionResponse {
@@ -626,7 +627,7 @@ export interface CreateOutboundConnectionResponse {
626
627
  ConnectionAlias?: string;
627
628
  ConnectionStatus?: OutboundConnectionStatus;
628
629
  ConnectionId?: string;
629
- ConnectionMode?: ConnectionMode | string;
630
+ ConnectionMode?: ConnectionMode;
630
631
  ConnectionProperties?: ConnectionProperties;
631
632
  }
632
633
  export interface PackageSource {
@@ -635,10 +636,17 @@ export interface PackageSource {
635
636
  }
636
637
  export interface CreatePackageRequest {
637
638
  PackageName: string | undefined;
638
- PackageType: PackageType | string | undefined;
639
+ PackageType: PackageType | undefined;
639
640
  PackageDescription?: string;
640
641
  PackageSource: PackageSource | undefined;
641
642
  }
643
+ export interface PluginProperties {
644
+ Name?: string;
645
+ Description?: string;
646
+ Version?: string;
647
+ ClassName?: string;
648
+ UncompressedSizeInBytes?: number;
649
+ }
642
650
  export declare const PackageStatus: {
643
651
  readonly AVAILABLE: "AVAILABLE";
644
652
  readonly COPYING: "COPYING";
@@ -653,13 +661,15 @@ export type PackageStatus = (typeof PackageStatus)[keyof typeof PackageStatus];
653
661
  export interface PackageDetails {
654
662
  PackageID?: string;
655
663
  PackageName?: string;
656
- PackageType?: PackageType | string;
664
+ PackageType?: PackageType;
657
665
  PackageDescription?: string;
658
- PackageStatus?: PackageStatus | string;
666
+ PackageStatus?: PackageStatus;
659
667
  CreatedAt?: Date;
660
668
  LastUpdatedAt?: Date;
661
669
  AvailablePackageVersion?: string;
662
670
  ErrorDetails?: ErrorDetails;
671
+ EngineVersion?: string;
672
+ AvailablePluginProperties?: PluginProperties;
663
673
  }
664
674
  export interface CreatePackageResponse {
665
675
  PackageDetails?: PackageDetails;
@@ -685,7 +695,7 @@ export interface VpcEndpoint {
685
695
  VpcEndpointOwner?: string;
686
696
  DomainArn?: string;
687
697
  VpcOptions?: VPCDerivedInfo;
688
- Status?: VpcEndpointStatus | string;
698
+ Status?: VpcEndpointStatus;
689
699
  Endpoint?: string;
690
700
  }
691
701
  export interface CreateVpcEndpointResponse {
@@ -712,7 +722,7 @@ export interface OutboundConnection {
712
722
  ConnectionId?: string;
713
723
  ConnectionAlias?: string;
714
724
  ConnectionStatus?: OutboundConnectionStatus;
715
- ConnectionMode?: ConnectionMode | string;
725
+ ConnectionMode?: ConnectionMode;
716
726
  ConnectionProperties?: ConnectionProperties;
717
727
  }
718
728
  export interface DeleteOutboundConnectionResponse {
@@ -731,7 +741,7 @@ export interface VpcEndpointSummary {
731
741
  VpcEndpointId?: string;
732
742
  VpcEndpointOwner?: string;
733
743
  DomainArn?: string;
734
- Status?: VpcEndpointStatus | string;
744
+ Status?: VpcEndpointStatus;
735
745
  }
736
746
  export interface DeleteVpcEndpointResponse {
737
747
  VpcEndpointSummary: VpcEndpointSummary | undefined;
@@ -762,9 +772,9 @@ export type ScheduledAutoTuneSeverityType =
762
772
  (typeof ScheduledAutoTuneSeverityType)[keyof typeof ScheduledAutoTuneSeverityType];
763
773
  export interface ScheduledAutoTuneDetails {
764
774
  Date?: Date;
765
- ActionType?: ScheduledAutoTuneActionType | string;
775
+ ActionType?: ScheduledAutoTuneActionType;
766
776
  Action?: string;
767
- Severity?: ScheduledAutoTuneSeverityType | string;
777
+ Severity?: ScheduledAutoTuneSeverityType;
768
778
  }
769
779
  export interface AutoTuneDetails {
770
780
  ScheduledAutoTuneDetails?: ScheduledAutoTuneDetails;
@@ -774,7 +784,7 @@ export declare const AutoTuneType: {
774
784
  };
775
785
  export type AutoTuneType = (typeof AutoTuneType)[keyof typeof AutoTuneType];
776
786
  export interface AutoTune {
777
- AutoTuneType?: AutoTuneType | string;
787
+ AutoTuneType?: AutoTuneType;
778
788
  AutoTuneDetails?: AutoTuneDetails;
779
789
  }
780
790
  export interface DescribeDomainAutoTunesResponse {
@@ -802,7 +812,7 @@ export type OverallChangeStatus =
802
812
  export interface ChangeProgressStatusDetails {
803
813
  ChangeId?: string;
804
814
  StartTime?: Date;
805
- Status?: OverallChangeStatus | string;
815
+ Status?: OverallChangeStatus;
806
816
  PendingProperties?: string[];
807
817
  CompletedProperties?: string[];
808
818
  TotalNumberOfStages?: number;
@@ -821,8 +831,8 @@ export declare const RollbackOnDisable: {
821
831
  export type RollbackOnDisable =
822
832
  (typeof RollbackOnDisable)[keyof typeof RollbackOnDisable];
823
833
  export interface AutoTuneOptions {
824
- DesiredState?: AutoTuneDesiredState | string;
825
- RollbackOnDisable?: RollbackOnDisable | string;
834
+ DesiredState?: AutoTuneDesiredState;
835
+ RollbackOnDisable?: RollbackOnDisable;
826
836
  MaintenanceSchedules?: AutoTuneMaintenanceSchedule[];
827
837
  UseOffPeakWindow?: boolean;
828
838
  }
@@ -830,7 +840,7 @@ export interface AutoTuneStatus {
830
840
  CreationDate: Date | undefined;
831
841
  UpdateDate: Date | undefined;
832
842
  UpdateVersion?: number;
833
- State: AutoTuneState | string | undefined;
843
+ State: AutoTuneState | undefined;
834
844
  ErrorMessage?: string;
835
845
  PendingDeletion?: boolean;
836
846
  }
@@ -863,7 +873,7 @@ export interface VersionStatus {
863
873
  Status: OptionStatus | undefined;
864
874
  }
865
875
  export interface LogPublishingOptionsStatus {
866
- Options?: Record<string, LogPublishingOption>;
876
+ Options?: Record<LogType, LogPublishingOption>;
867
877
  Status?: OptionStatus;
868
878
  }
869
879
  export interface NodeToNodeEncryptionOptionsStatus {
@@ -932,7 +942,7 @@ export declare const ZoneStatus: {
932
942
  export type ZoneStatus = (typeof ZoneStatus)[keyof typeof ZoneStatus];
933
943
  export interface AvailabilityZoneInfo {
934
944
  AvailabilityZoneName?: string;
935
- ZoneStatus?: ZoneStatus | string;
945
+ ZoneStatus?: ZoneStatus;
936
946
  ConfiguredDataNodeCount?: string;
937
947
  AvailableDataNodeCount?: string;
938
948
  TotalShards?: string;
@@ -948,7 +958,7 @@ export declare const MasterNodeStatus: {
948
958
  export type MasterNodeStatus =
949
959
  (typeof MasterNodeStatus)[keyof typeof MasterNodeStatus];
950
960
  export interface DescribeDomainHealthResponse {
951
- DomainState?: DomainState | string;
961
+ DomainState?: DomainState;
952
962
  AvailabilityZoneCount?: string;
953
963
  ActiveAvailabilityZoneCount?: string;
954
964
  StandByAvailabilityZoneCount?: string;
@@ -956,8 +966,8 @@ export interface DescribeDomainHealthResponse {
956
966
  DedicatedMaster?: boolean;
957
967
  MasterEligibleNodeCount?: string;
958
968
  WarmNodeCount?: string;
959
- MasterNode?: MasterNodeStatus | string;
960
- ClusterHealth?: DomainHealth | string;
969
+ MasterNode?: MasterNodeStatus;
970
+ ClusterHealth?: DomainHealth;
961
971
  TotalShards?: string;
962
972
  TotalUnAssignedShards?: string;
963
973
  EnvironmentInformation?: EnvironmentInfo[];
@@ -986,12 +996,12 @@ export declare const NodeType: {
986
996
  export type NodeType = (typeof NodeType)[keyof typeof NodeType];
987
997
  export interface DomainNodesStatus {
988
998
  NodeId?: string;
989
- NodeType?: NodeType | string;
999
+ NodeType?: NodeType;
990
1000
  AvailabilityZone?: string;
991
- InstanceType?: OpenSearchPartitionInstanceType | string;
992
- NodeStatus?: NodeStatus | string;
1001
+ InstanceType?: OpenSearchPartitionInstanceType;
1002
+ NodeStatus?: NodeStatus;
993
1003
  StorageType?: string;
994
- StorageVolumeType?: VolumeType | string;
1004
+ StorageVolumeType?: VolumeType;
995
1005
  StorageSize?: string;
996
1006
  }
997
1007
  export interface DescribeDomainNodesResponse {
@@ -1053,7 +1063,7 @@ export declare class InvalidPaginationTokenException extends __BaseException {
1053
1063
  }
1054
1064
  export interface DescribeInstanceTypeLimitsRequest {
1055
1065
  DomainName?: string;
1056
- InstanceType: OpenSearchPartitionInstanceType | string | undefined;
1066
+ InstanceType: OpenSearchPartitionInstanceType | undefined;
1057
1067
  EngineVersion: string | undefined;
1058
1068
  }
1059
1069
  export interface InstanceCountLimits {
@@ -1090,14 +1100,16 @@ export interface DescribeOutboundConnectionsResponse {
1090
1100
  NextToken?: string;
1091
1101
  }
1092
1102
  export declare const DescribePackagesFilterName: {
1103
+ readonly EngineVersion: "EngineVersion";
1093
1104
  readonly PackageID: "PackageID";
1094
1105
  readonly PackageName: "PackageName";
1095
1106
  readonly PackageStatus: "PackageStatus";
1107
+ readonly PackageType: "PackageType";
1096
1108
  };
1097
1109
  export type DescribePackagesFilterName =
1098
1110
  (typeof DescribePackagesFilterName)[keyof typeof DescribePackagesFilterName];
1099
1111
  export interface DescribePackagesFilter {
1100
- Name?: DescribePackagesFilterName | string;
1112
+ Name?: DescribePackagesFilterName;
1101
1113
  Value?: string[];
1102
1114
  }
1103
1115
  export interface DescribePackagesRequest {
@@ -1127,12 +1139,12 @@ export interface RecurringCharge {
1127
1139
  }
1128
1140
  export interface ReservedInstanceOffering {
1129
1141
  ReservedInstanceOfferingId?: string;
1130
- InstanceType?: OpenSearchPartitionInstanceType | string;
1142
+ InstanceType?: OpenSearchPartitionInstanceType;
1131
1143
  Duration?: number;
1132
1144
  FixedPrice?: number;
1133
1145
  UsagePrice?: number;
1134
1146
  CurrencyCode?: string;
1135
- PaymentOption?: ReservedInstancePaymentOption | string;
1147
+ PaymentOption?: ReservedInstancePaymentOption;
1136
1148
  RecurringCharges?: RecurringCharge[];
1137
1149
  }
1138
1150
  export interface DescribeReservedInstanceOfferingsResponse {
@@ -1149,7 +1161,7 @@ export interface ReservedInstance {
1149
1161
  ReservedInstanceId?: string;
1150
1162
  BillingSubscriptionId?: number;
1151
1163
  ReservedInstanceOfferingId?: string;
1152
- InstanceType?: OpenSearchPartitionInstanceType | string;
1164
+ InstanceType?: OpenSearchPartitionInstanceType;
1153
1165
  StartTime?: Date;
1154
1166
  Duration?: number;
1155
1167
  FixedPrice?: number;
@@ -1157,7 +1169,7 @@ export interface ReservedInstance {
1157
1169
  CurrencyCode?: string;
1158
1170
  InstanceCount?: number;
1159
1171
  State?: string;
1160
- PaymentOption?: ReservedInstancePaymentOption | string;
1172
+ PaymentOption?: ReservedInstancePaymentOption;
1161
1173
  RecurringCharges?: RecurringCharge[];
1162
1174
  }
1163
1175
  export interface DescribeReservedInstancesResponse {
@@ -1175,7 +1187,7 @@ export type VpcEndpointErrorCode =
1175
1187
  (typeof VpcEndpointErrorCode)[keyof typeof VpcEndpointErrorCode];
1176
1188
  export interface VpcEndpointError {
1177
1189
  VpcEndpointId?: string;
1178
- ErrorCode?: VpcEndpointErrorCode | string;
1190
+ ErrorCode?: VpcEndpointErrorCode;
1179
1191
  ErrorMessage?: string;
1180
1192
  }
1181
1193
  export interface DescribeVpcEndpointsResponse {
@@ -1208,6 +1220,7 @@ export interface PackageVersionHistory {
1208
1220
  PackageVersion?: string;
1209
1221
  CommitMessage?: string;
1210
1222
  CreatedAt?: Date;
1223
+ PluginProperties?: PluginProperties;
1211
1224
  }
1212
1225
  export interface GetPackageVersionHistoryResponse {
1213
1226
  PackageID?: string;
@@ -1233,15 +1246,15 @@ export declare const UpgradeStatus: {
1233
1246
  };
1234
1247
  export type UpgradeStatus = (typeof UpgradeStatus)[keyof typeof UpgradeStatus];
1235
1248
  export interface UpgradeStepItem {
1236
- UpgradeStep?: UpgradeStep | string;
1237
- UpgradeStepStatus?: UpgradeStatus | string;
1249
+ UpgradeStep?: UpgradeStep;
1250
+ UpgradeStepStatus?: UpgradeStatus;
1238
1251
  Issues?: string[];
1239
1252
  ProgressPercent?: number;
1240
1253
  }
1241
1254
  export interface UpgradeHistory {
1242
1255
  UpgradeName?: string;
1243
1256
  StartTimestamp?: Date;
1244
- UpgradeStatus?: UpgradeStatus | string;
1257
+ UpgradeStatus?: UpgradeStatus;
1245
1258
  StepsList?: UpgradeStepItem[];
1246
1259
  }
1247
1260
  export interface GetUpgradeHistoryResponse {
@@ -1252,8 +1265,8 @@ export interface GetUpgradeStatusRequest {
1252
1265
  DomainName: string | undefined;
1253
1266
  }
1254
1267
  export interface GetUpgradeStatusResponse {
1255
- UpgradeStep?: UpgradeStep | string;
1256
- StepStatus?: UpgradeStatus | string;
1268
+ UpgradeStep?: UpgradeStep;
1269
+ StepStatus?: UpgradeStatus;
1257
1270
  UpgradeName?: string;
1258
1271
  }
1259
1272
  export declare const EngineType: {
@@ -1262,11 +1275,11 @@ export declare const EngineType: {
1262
1275
  };
1263
1276
  export type EngineType = (typeof EngineType)[keyof typeof EngineType];
1264
1277
  export interface ListDomainNamesRequest {
1265
- EngineType?: EngineType | string;
1278
+ EngineType?: EngineType;
1266
1279
  }
1267
1280
  export interface DomainInfo {
1268
1281
  DomainName?: string;
1269
- EngineType?: EngineType | string;
1282
+ EngineType?: EngineType;
1270
1283
  }
1271
1284
  export interface ListDomainNamesResponse {
1272
1285
  DomainNames?: DomainInfo[];
@@ -1289,7 +1302,7 @@ export interface ListInstanceTypeDetailsRequest {
1289
1302
  InstanceType?: string;
1290
1303
  }
1291
1304
  export interface InstanceTypeDetails {
1292
- InstanceType?: OpenSearchPartitionInstanceType | string;
1305
+ InstanceType?: OpenSearchPartitionInstanceType;
1293
1306
  EncryptionEnabled?: boolean;
1294
1307
  CognitoEnabled?: boolean;
1295
1308
  AppLogsEnabled?: boolean;
@@ -1323,12 +1336,12 @@ export declare const ScheduledBy: {
1323
1336
  export type ScheduledBy = (typeof ScheduledBy)[keyof typeof ScheduledBy];
1324
1337
  export interface ScheduledAction {
1325
1338
  Id: string | undefined;
1326
- Type: ActionType | string | undefined;
1327
- Severity: ActionSeverity | string | undefined;
1339
+ Type: ActionType | undefined;
1340
+ Severity: ActionSeverity | undefined;
1328
1341
  ScheduledTime: number | undefined;
1329
1342
  Description?: string;
1330
- ScheduledBy?: ScheduledBy | string;
1331
- Status?: ActionStatus | string;
1343
+ ScheduledBy?: ScheduledBy;
1344
+ Status?: ActionStatus;
1332
1345
  Mandatory?: boolean;
1333
1346
  Cancellable?: boolean;
1334
1347
  }
@@ -1405,7 +1418,7 @@ export declare const ScheduleAt: {
1405
1418
  export type ScheduleAt = (typeof ScheduleAt)[keyof typeof ScheduleAt];
1406
1419
  export interface StartServiceSoftwareUpdateRequest {
1407
1420
  DomainName: string | undefined;
1408
- ScheduleAt?: ScheduleAt | string;
1421
+ ScheduleAt?: ScheduleAt;
1409
1422
  DesiredStartTime?: number;
1410
1423
  }
1411
1424
  export interface StartServiceSoftwareUpdateResponse {
@@ -1425,14 +1438,14 @@ export interface UpdateDomainConfigRequest {
1425
1438
  CognitoOptions?: CognitoOptions;
1426
1439
  AdvancedOptions?: Record<string, string>;
1427
1440
  AccessPolicies?: string;
1428
- LogPublishingOptions?: Record<string, LogPublishingOption>;
1441
+ LogPublishingOptions?: Record<LogType, LogPublishingOption>;
1429
1442
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
1430
1443
  DomainEndpointOptions?: DomainEndpointOptions;
1431
1444
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
1432
1445
  AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
1433
1446
  AutoTuneOptions?: AutoTuneOptions;
1434
1447
  DryRun?: boolean;
1435
- DryRunMode?: DryRunMode | string;
1448
+ DryRunMode?: DryRunMode;
1436
1449
  OffPeakWindowOptions?: OffPeakWindowOptions;
1437
1450
  SoftwareUpdateOptions?: SoftwareUpdateOptions;
1438
1451
  }
@@ -1461,8 +1474,8 @@ export declare class SlotNotAvailableException extends __BaseException {
1461
1474
  export interface UpdateScheduledActionRequest {
1462
1475
  DomainName: string | undefined;
1463
1476
  ActionID: string | undefined;
1464
- ActionType: ActionType | string | undefined;
1465
- ScheduleAt: ScheduleAt | string | undefined;
1477
+ ActionType: ActionType | undefined;
1478
+ ScheduleAt: ScheduleAt | undefined;
1466
1479
  DesiredStartTime?: number;
1467
1480
  }
1468
1481
  export interface UpdateScheduledActionResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
3
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
4
- "version": "3.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },