@aws-sdk/client-opensearch 3.276.0 → 3.278.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist-cjs/OpenSearch.js +30 -0
  2. package/dist-cjs/commands/ListScheduledActionsCommand.js +46 -0
  3. package/dist-cjs/commands/UpdateScheduledActionCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/endpoint/ruleset.js +3 -3
  6. package/dist-cjs/models/models_0.js +95 -5
  7. package/dist-cjs/pagination/ListScheduledActionsPaginator.js +36 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_restJson1.js +295 -2
  10. package/dist-es/OpenSearch.js +30 -0
  11. package/dist-es/commands/ListScheduledActionsCommand.js +42 -0
  12. package/dist-es/commands/UpdateScheduledActionCommand.js +42 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/endpoint/ruleset.js +3 -3
  15. package/dist-es/models/models_0.js +78 -0
  16. package/dist-es/pagination/ListScheduledActionsPaginator.js +32 -0
  17. package/dist-es/pagination/index.js +1 -0
  18. package/dist-es/protocols/Aws_restJson1.js +289 -1
  19. package/dist-types/OpenSearch.d.ts +20 -0
  20. package/dist-types/OpenSearchClient.d.ts +4 -2
  21. package/dist-types/commands/ListScheduledActionsCommand.d.ts +40 -0
  22. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +40 -0
  23. package/dist-types/commands/index.d.ts +2 -0
  24. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  25. package/dist-types/models/models_0.d.ts +389 -15
  26. package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +4 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  29. package/dist-types/ts3.4/OpenSearch.d.ts +34 -0
  30. package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -0
  31. package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +41 -0
  32. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +41 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  34. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  35. package/dist-types/ts3.4/models/models_0.d.ts +133 -0
  36. package/dist-types/ts3.4/pagination/ListScheduledActionsPaginator.d.ts +11 -0
  37. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  39. package/package.json +4 -4
@@ -140,7 +140,7 @@ export interface AcceptInboundConnectionResponse {
140
140
  Connection?: InboundConnection;
141
141
  }
142
142
  /**
143
- * <p>An error occured because the client wanted to access an unsupported operation.</p>
143
+ * <p>An error occured because the client wanted to access a not supported operation.</p>
144
144
  */
145
145
  export declare class DisabledOperationException extends __BaseException {
146
146
  readonly name: "DisabledOperationException";
@@ -162,7 +162,7 @@ export declare class LimitExceededException extends __BaseException {
162
162
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
163
163
  }
164
164
  /**
165
- * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
165
+ * <p>An exception for accessing or deleting a resource that does not exist..</p>
166
166
  */
167
167
  export declare class ResourceNotFoundException extends __BaseException {
168
168
  readonly name: "ResourceNotFoundException";
@@ -228,6 +228,24 @@ export interface AccessPoliciesStatus {
228
228
  */
229
229
  Status: OptionStatus | undefined;
230
230
  }
231
+ export declare enum ActionSeverity {
232
+ HIGH = "HIGH",
233
+ LOW = "LOW",
234
+ MEDIUM = "MEDIUM"
235
+ }
236
+ export declare enum ActionStatus {
237
+ COMPLETED = "COMPLETED",
238
+ ELIGIBLE = "ELIGIBLE",
239
+ FAILED = "FAILED",
240
+ IN_PROGRESS = "IN_PROGRESS",
241
+ NOT_ELIGIBLE = "NOT_ELIGIBLE",
242
+ PENDING_UPDATE = "PENDING_UPDATE"
243
+ }
244
+ export declare enum ActionType {
245
+ JVM_HEAP_SIZE_TUNING = "JVM_HEAP_SIZE_TUNING",
246
+ JVM_YOUNG_GEN_TUNING = "JVM_YOUNG_GEN_TUNING",
247
+ SERVICE_SOFTWARE_UPDATE = "SERVICE_SOFTWARE_UPDATE"
248
+ }
231
249
  /**
232
250
  * <p> List of limits that are specific to a given instance type.</p>
233
251
  */
@@ -308,7 +326,7 @@ export declare class InternalException extends __BaseException {
308
326
  constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
309
327
  }
310
328
  /**
311
- * <p>An exception for missing or invalid input fields.</p>
329
+ * <p>An exception for accessing or deleting a resource that doesn't exist.</p>
312
330
  */
313
331
  export declare class ValidationException extends __BaseException {
314
332
  readonly name: "ValidationException";
@@ -616,7 +634,7 @@ export interface AssociatePackageResponse {
616
634
  DomainPackageDetails?: DomainPackageDetails;
617
635
  }
618
636
  /**
619
- * <p>An error occurred because the client attempts to remove a resource that's currently in use.</p>
637
+ * <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
620
638
  */
621
639
  export declare class ConflictException extends __BaseException {
622
640
  readonly name: "ConflictException";
@@ -753,7 +771,12 @@ export interface Duration {
753
771
  Unit?: TimeUnit | string;
754
772
  }
755
773
  /**
756
- * <p>The Auto-Tune maintenance schedule.
774
+ * <note>
775
+ * <p>This object is deprecated. Use the domain's <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html">off-peak window</a> to
776
+ * schedule Auto-Tune optimizations. For migration instructions, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html#off-peak-migrate">Migrating from Auto-Tune
777
+ * maintenance windows</a>.</p>
778
+ * </note>
779
+ * <p>The Auto-Tune maintenance schedule.
757
780
  * For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html">Auto-Tune for Amazon OpenSearch
758
781
  * Service</a>.</p>
759
782
  */
@@ -775,7 +798,8 @@ export interface AutoTuneMaintenanceSchedule {
775
798
  }
776
799
  /**
777
800
  * <p>Options for configuring Auto-Tune. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html">Auto-Tune for Amazon OpenSearch
778
- * Service</a>.</p>
801
+ * Service</a>
802
+ * </p>
779
803
  */
780
804
  export interface AutoTuneOptionsInput {
781
805
  /**
@@ -783,13 +807,13 @@ export interface AutoTuneOptionsInput {
783
807
  */
784
808
  DesiredState?: AutoTuneDesiredState | string;
785
809
  /**
786
- * <p>A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance
787
- * schedules are overwrite, not append. If your request includes no schedules, the request deletes
788
- * all existing schedules. To preserve existing schedules, make a call to
789
- * <code>DescribeDomainConfig</code> first and use the <code>MaintenanceSchedules</code> portion of
790
- * the response as the basis for this section.</p>
810
+ * <p>A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html">off-peak windows</a>.</p>
791
811
  */
792
812
  MaintenanceSchedules?: AutoTuneMaintenanceSchedule[];
813
+ /**
814
+ * <p>Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.</p>
815
+ */
816
+ UseOffPeakWindow?: boolean;
793
817
  }
794
818
  /**
795
819
  * <p>Container for the parameters required to enable cold storage for an OpenSearch Service
@@ -1121,6 +1145,54 @@ export interface NodeToNodeEncryptionOptions {
1121
1145
  */
1122
1146
  Enabled?: boolean;
1123
1147
  }
1148
+ /**
1149
+ * <p>The desired start time for an <a href="https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_OffPeakWindow.html">off-peak maintenance
1150
+ * window</a>.</p>
1151
+ */
1152
+ export interface WindowStartTime {
1153
+ /**
1154
+ * <p>The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. For example, <code>17</code> refers to
1155
+ * 5:00 P.M. UTC.</p>
1156
+ */
1157
+ Hours: number | undefined;
1158
+ /**
1159
+ * <p>The start minute of the window, in UTC.</p>
1160
+ */
1161
+ Minutes: number | undefined;
1162
+ }
1163
+ /**
1164
+ * <p>A custom 10-hour, low-traffic window during which OpenSearch Service can perform mandatory
1165
+ * configuration changes on the domain. These actions can include scheduled service software updates
1166
+ * and blue/green Auto-Tune enhancements. OpenSearch Service will schedule these
1167
+ * actions during the window that you specify.</p>
1168
+ * <p>If you don't specify a window start time, it defaults to 10:00 P.M. local time.</p>
1169
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html">Defining off-peak maintenance
1170
+ * windows for Amazon OpenSearch Service</a>.</p>
1171
+ */
1172
+ export interface OffPeakWindow {
1173
+ /**
1174
+ * <p>A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window
1175
+ * length will always be 10 hours, so you can't specify an end time. For example, if you specify
1176
+ * 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.</p>
1177
+ */
1178
+ WindowStartTime?: WindowStartTime;
1179
+ }
1180
+ /**
1181
+ * <p>Options for a domain's <a href="https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_OffPeakWindow.html">off-peak window</a>,
1182
+ * during which OpenSearch Service can perform mandatory configuration changes on the domain.</p>
1183
+ */
1184
+ export interface OffPeakWindowOptions {
1185
+ /**
1186
+ * <p>Whether to enable an off-peak window.</p>
1187
+ * <p>This option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain.
1188
+ * All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.</p>
1189
+ */
1190
+ Enabled?: boolean;
1191
+ /**
1192
+ * <p>Off-peak window settings for the domain.</p>
1193
+ */
1194
+ OffPeakWindow?: OffPeakWindow;
1195
+ }
1124
1196
  /**
1125
1197
  * <p>The time, in UTC format, when OpenSearch Service takes a daily automated snapshot of the
1126
1198
  * specified domain. Default is <code>0</code> hours.</p>
@@ -1132,6 +1204,15 @@ export interface SnapshotOptions {
1132
1204
  */
1133
1205
  AutomatedSnapshotStartHour?: number;
1134
1206
  }
1207
+ /**
1208
+ * <p>Options for configuring service software updates for a domain.</p>
1209
+ */
1210
+ export interface SoftwareUpdateOptions {
1211
+ /**
1212
+ * <p>Whether automatic service software updates are enabled for the domain.</p>
1213
+ */
1214
+ AutoSoftwareUpdateEnabled?: boolean;
1215
+ }
1135
1216
  /**
1136
1217
  * <p>Options to specify the subnets and security groups for an Amazon OpenSearch Service VPC
1137
1218
  * endpoint. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html">Launching your Amazon OpenSearch Service
@@ -1258,6 +1339,17 @@ export interface CreateDomainRequest {
1258
1339
  * <p>Options for Auto-Tune.</p>
1259
1340
  */
1260
1341
  AutoTuneOptions?: AutoTuneOptionsInput;
1342
+ /**
1343
+ * <p>Specifies a daily 10-hour time block during which OpenSearch Service can perform
1344
+ * configuration changes on the domain, including service software updates and Auto-Tune
1345
+ * enhancements that require a blue/green deployment. If no options are specified, the default start
1346
+ * time of 10:00 P.M. local time (for the Region that the domain is created in) is used.</p>
1347
+ */
1348
+ OffPeakWindowOptions?: OffPeakWindowOptions;
1349
+ /**
1350
+ * <p>Software update options for the domain.</p>
1351
+ */
1352
+ SoftwareUpdateOptions?: SoftwareUpdateOptions;
1261
1353
  }
1262
1354
  export declare enum AutoTuneState {
1263
1355
  DISABLED = "DISABLED",
@@ -1282,6 +1374,11 @@ export interface AutoTuneOptionsOutput {
1282
1374
  * <p>Any errors that occurred while enabling or disabling Auto-Tune.</p>
1283
1375
  */
1284
1376
  ErrorMessage?: string;
1377
+ /**
1378
+ * <p>Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather
1379
+ * than a maintenance schedule.</p>
1380
+ */
1381
+ UseOffPeakWindow?: boolean;
1285
1382
  }
1286
1383
  /**
1287
1384
  * <p>Container for information about a configuration change happening on a domain.</p>
@@ -1439,6 +1536,15 @@ export interface DomainStatus {
1439
1536
  * <p>Information about a configuration change happening on the domain.</p>
1440
1537
  */
1441
1538
  ChangeProgressDetails?: ChangeProgressDetails;
1539
+ /**
1540
+ * <p>Options that specify a custom 10-hour window during which OpenSearch Service can perform
1541
+ * configuration changes on the domain.</p>
1542
+ */
1543
+ OffPeakWindowOptions?: OffPeakWindowOptions;
1544
+ /**
1545
+ * <p>Service software update options for the domain.</p>
1546
+ */
1547
+ SoftwareUpdateOptions?: SoftwareUpdateOptions;
1442
1548
  }
1443
1549
  /**
1444
1550
  * <p>The result of a <code>CreateDomain</code> operation. Contains the status of the newly
@@ -2134,9 +2240,16 @@ export interface AutoTuneOptions {
2134
2240
  */
2135
2241
  RollbackOnDisable?: RollbackOnDisable | string;
2136
2242
  /**
2137
- * <p>A list of maintenance schedules during which Auto-Tune can deploy changes.</p>
2243
+ * <p>DEPRECATED. Use <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html">off-peak window</a>
2244
+ * instead.</p>
2245
+ * <p>A list of maintenance schedules during which Auto-Tune can deploy changes.</p>
2138
2246
  */
2139
2247
  MaintenanceSchedules?: AutoTuneMaintenanceSchedule[];
2248
+ /**
2249
+ * <p>Whether to use the domain's <a href="https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_OffPeakWindow.html">off-peak window</a> to
2250
+ * deploy configuration changes on the domain rather than a maintenance schedule.</p>
2251
+ */
2252
+ UseOffPeakWindow?: boolean;
2140
2253
  }
2141
2254
  /**
2142
2255
  * <p>The current status of Auto-Tune for the domain. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html">Auto-Tune for
@@ -2286,6 +2399,20 @@ export interface NodeToNodeEncryptionOptionsStatus {
2286
2399
  */
2287
2400
  Status: OptionStatus | undefined;
2288
2401
  }
2402
+ /**
2403
+ * <p>The status of <a href="https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_OffPeakWindow.html">off-peak window</a>
2404
+ * options for a domain.</p>
2405
+ */
2406
+ export interface OffPeakWindowOptionsStatus {
2407
+ /**
2408
+ * <p>The domain's off-peak window configuration.</p>
2409
+ */
2410
+ Options?: OffPeakWindowOptions;
2411
+ /**
2412
+ * <p>The current status of off-peak window options.</p>
2413
+ */
2414
+ Status?: OptionStatus;
2415
+ }
2289
2416
  /**
2290
2417
  * <p>Container for information about a daily automated snapshot for an OpenSearch Service
2291
2418
  * domain.</p>
@@ -2300,6 +2427,19 @@ export interface SnapshotOptionsStatus {
2300
2427
  */
2301
2428
  Status: OptionStatus | undefined;
2302
2429
  }
2430
+ /**
2431
+ * <p>The status of the service software options for a domain.</p>
2432
+ */
2433
+ export interface SoftwareUpdateOptionsStatus {
2434
+ /**
2435
+ * <p>The service software update options for a domain.</p>
2436
+ */
2437
+ Options?: SoftwareUpdateOptions;
2438
+ /**
2439
+ * <p>The status of service software update options, including creation date and last updated date.</p>
2440
+ */
2441
+ Status?: OptionStatus;
2442
+ }
2303
2443
  /**
2304
2444
  * <p>Status of the VPC options for a specified domain.</p>
2305
2445
  */
@@ -2326,7 +2466,7 @@ export interface DomainConfig {
2326
2466
  */
2327
2467
  ClusterConfig?: ClusterConfigStatus;
2328
2468
  /**
2329
- * <p>Container for EBS options configured for an OpenSearch Service domain.</p>
2469
+ * <p>Container for EBS options configured for the domain.</p>
2330
2470
  */
2331
2471
  EBSOptions?: EBSOptionsStatus;
2332
2472
  /**
@@ -2380,6 +2520,14 @@ export interface DomainConfig {
2380
2520
  * <p>Container for information about the progress of an existing configuration change.</p>
2381
2521
  */
2382
2522
  ChangeProgressDetails?: ChangeProgressDetails;
2523
+ /**
2524
+ * <p>Container for off-peak window options for the domain.</p>
2525
+ */
2526
+ OffPeakWindowOptions?: OffPeakWindowOptionsStatus;
2527
+ /**
2528
+ * <p>Software update options for the domain.</p>
2529
+ */
2530
+ SoftwareUpdateOptions?: SoftwareUpdateOptionsStatus;
2383
2531
  }
2384
2532
  /**
2385
2533
  * <p>Contains the configuration information of the requested domain.</p>
@@ -3483,6 +3631,83 @@ export interface ListPackagesForDomainResponse {
3483
3631
  */
3484
3632
  NextToken?: string;
3485
3633
  }
3634
+ export interface ListScheduledActionsRequest {
3635
+ /**
3636
+ * <p>The name of the domain.</p>
3637
+ */
3638
+ DomainName: string | undefined;
3639
+ /**
3640
+ * <p>An optional parameter that specifies the maximum number of results to return. You can use
3641
+ * <code>nextToken</code> to get the next page of results.</p>
3642
+ */
3643
+ MaxResults?: number;
3644
+ /**
3645
+ * <p>If your initial <code>ListScheduledActions</code> operation returns a <code>nextToken</code>, you
3646
+ * can include the returned <code>nextToken</code> in subsequent <code>ListScheduledActions</code>
3647
+ * operations, which returns results in the next page.</p>
3648
+ */
3649
+ NextToken?: string;
3650
+ }
3651
+ export declare enum ScheduledBy {
3652
+ CUSTOMER = "CUSTOMER",
3653
+ SYSTEM = "SYSTEM"
3654
+ }
3655
+ /**
3656
+ * <p>Information about a scheduled configuration change for an OpenSearch Service domain. This
3657
+ * actions can be a <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html">service software
3658
+ * update</a> or a <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html#auto-tune-types">blue/green
3659
+ * Auto-Tune enhancement</a>.</p>
3660
+ */
3661
+ export interface ScheduledAction {
3662
+ /**
3663
+ * <p>The unique identifier of the scheduled action.</p>
3664
+ */
3665
+ Id: string | undefined;
3666
+ /**
3667
+ * <p>The type of action that will be taken on the domain.</p>
3668
+ */
3669
+ Type: ActionType | string | undefined;
3670
+ /**
3671
+ * <p>The severity of the action.</p>
3672
+ */
3673
+ Severity: ActionSeverity | string | undefined;
3674
+ /**
3675
+ * <p>The time when the change is scheduled to happen.</p>
3676
+ */
3677
+ ScheduledTime: number | undefined;
3678
+ /**
3679
+ * <p>A description of the action to be taken.</p>
3680
+ */
3681
+ Description?: string;
3682
+ /**
3683
+ * <p>Whether the action was scheduled manually (<code>CUSTOMER</code>, or by OpenSearch Service automatically (<code>SYSTEM</code>).</p>
3684
+ */
3685
+ ScheduledBy?: ScheduledBy | string;
3686
+ /**
3687
+ * <p>The current status of the scheduled action.</p>
3688
+ */
3689
+ Status?: ActionStatus | string;
3690
+ /**
3691
+ * <p>Whether the action is required or optional.</p>
3692
+ */
3693
+ Mandatory?: boolean;
3694
+ /**
3695
+ * <p>Whether or not the scheduled action is cancellable.</p>
3696
+ */
3697
+ Cancellable?: boolean;
3698
+ }
3699
+ export interface ListScheduledActionsResponse {
3700
+ /**
3701
+ * <p>A list of actions that are scheduled for the domain.</p>
3702
+ */
3703
+ ScheduledActions?: ScheduledAction[];
3704
+ /**
3705
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of
3706
+ * <code>nextToken</code> is a unique pagination token for each page. Make the call again using the
3707
+ * returned token to retrieve the next page.</p>
3708
+ */
3709
+ NextToken?: string;
3710
+ }
3486
3711
  /**
3487
3712
  * <p>Container for the parameters to the <code>ListTags</code> operation.</p>
3488
3713
  */
@@ -3678,6 +3903,11 @@ export interface RevokeVpcEndpointAccessRequest {
3678
3903
  }
3679
3904
  export interface RevokeVpcEndpointAccessResponse {
3680
3905
  }
3906
+ export declare enum ScheduleAt {
3907
+ NOW = "NOW",
3908
+ OFF_PEAK_WINDOW = "OFF_PEAK_WINDOW",
3909
+ TIMESTAMP = "TIMESTAMP"
3910
+ }
3681
3911
  /**
3682
3912
  * <p>Container for the request parameters to the <code>StartServiceSoftwareUpdate</code>
3683
3913
  * operation.</p>
@@ -3687,6 +3917,35 @@ export interface StartServiceSoftwareUpdateRequest {
3687
3917
  * <p>The name of the domain that you want to update to the latest service software.</p>
3688
3918
  */
3689
3919
  DomainName: string | undefined;
3920
+ /**
3921
+ * <p>When to start the service software update.</p>
3922
+ * <ul>
3923
+ * <li>
3924
+ * <p>
3925
+ * <code>NOW</code> - Immediately schedules the update to happen in the current hour if
3926
+ * there's capacity available.</p>
3927
+ * </li>
3928
+ * <li>
3929
+ * <p>
3930
+ * <code>TIMESTAMP</code> - Lets you specify a custom date and time to apply the update. If
3931
+ * you specify this value, you must also provide a value for <code>DesiredStartTime</code>.</p>
3932
+ * </li>
3933
+ * <li>
3934
+ * <p>
3935
+ * <code>OFF_PEAK_WINDOW</code> - Marks the update to be picked up during an upcoming
3936
+ * off-peak window. There's no guarantee that the update will happen during the next immediate
3937
+ * window. Depending on capacity, it might happen in subsequent days.</p>
3938
+ * </li>
3939
+ * </ul>
3940
+ * <p>Default: <code>NOW</code> if you don't specify a value for <code>DesiredStartTime</code>,
3941
+ * and <code>TIMESTAMP</code> if you do.</p>
3942
+ */
3943
+ ScheduleAt?: ScheduleAt | string;
3944
+ /**
3945
+ * <p>The Epoch timestamp when you want the service software update to start. You only need to
3946
+ * specify this parameter if you set <code>ScheduleAt</code> to <code>TIMESTAMP</code>.</p>
3947
+ */
3948
+ DesiredStartTime?: number;
3690
3949
  }
3691
3950
  /**
3692
3951
  * <p>Represents the output of a <code>StartServiceSoftwareUpdate</code> operation. Contains the
@@ -3775,7 +4034,7 @@ export interface UpdateDomainConfigRequest {
3775
4034
  */
3776
4035
  AccessPolicies?: string;
3777
4036
  /**
3778
- * <p>Options to publish OpenSearch lots to Amazon CloudWatch Logs.</p>
4037
+ * <p>Options to publish OpenSearch logs to Amazon CloudWatch Logs.</p>
3779
4038
  */
3780
4039
  LogPublishingOptions?: Record<string, LogPublishingOption>;
3781
4040
  /**
@@ -3788,7 +4047,7 @@ export interface UpdateDomainConfigRequest {
3788
4047
  */
3789
4048
  DomainEndpointOptions?: DomainEndpointOptions;
3790
4049
  /**
3791
- * <p>Node-To-Node Encryption options for the domain.</p>
4050
+ * <p>Node-to-node encryption options for the domain.</p>
3792
4051
  */
3793
4052
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
3794
4053
  /**
@@ -3821,6 +4080,14 @@ export interface UpdateDomainConfigRequest {
3821
4080
  * </ul>
3822
4081
  */
3823
4082
  DryRunMode?: DryRunMode | string;
4083
+ /**
4084
+ * <p>Off-peak window options for the domain.</p>
4085
+ */
4086
+ OffPeakWindowOptions?: OffPeakWindowOptions;
4087
+ /**
4088
+ * <p>Service software update options for the domain.</p>
4089
+ */
4090
+ SoftwareUpdateOptions?: SoftwareUpdateOptions;
3824
4091
  }
3825
4092
  /**
3826
4093
  * <p>The results of an <code>UpdateDomain</code> request. Contains the status of the domain being
@@ -3871,6 +4138,69 @@ export interface UpdatePackageResponse {
3871
4138
  */
3872
4139
  PackageDetails?: PackageDetails;
3873
4140
  }
4141
+ /**
4142
+ * <p>An exception for attempting to schedule a domain action during an unavailable time slot.</p>
4143
+ */
4144
+ export declare class SlotNotAvailableException extends __BaseException {
4145
+ readonly name: "SlotNotAvailableException";
4146
+ readonly $fault: "client";
4147
+ /**
4148
+ * <p>Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.</p>
4149
+ */
4150
+ SlotSuggestions?: number[];
4151
+ /**
4152
+ * @internal
4153
+ */
4154
+ constructor(opts: __ExceptionOptionType<SlotNotAvailableException, __BaseException>);
4155
+ }
4156
+ export interface UpdateScheduledActionRequest {
4157
+ /**
4158
+ * <p>The name of the domain to reschedule an action for.</p>
4159
+ */
4160
+ DomainName: string | undefined;
4161
+ /**
4162
+ * <p>The unique identifier of the action to reschedule. To retrieve this ID, send a <a href="https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_ListScheduledActions.html">ListScheduledActions</a> request.</p>
4163
+ */
4164
+ ActionID: string | undefined;
4165
+ /**
4166
+ * <p>The type of action to reschedule. Can be one of <code>SERVICE_SOFTWARE_UPDATE</code>,
4167
+ * <code>JVM_HEAP_SIZE_TUNING</code>, or <code>JVM_YOUNG_GEN_TUNING</code>. To retrieve this value, send a <a href="https://docs.aws.amazon.com/opensearch-service/latest/APIReference/API_ListScheduledActions.html">ListScheduledActions</a> request.</p>
4168
+ */
4169
+ ActionType: ActionType | string | undefined;
4170
+ /**
4171
+ * <p>When to schedule the action.</p>
4172
+ * <ul>
4173
+ * <li>
4174
+ * <p>
4175
+ * <code>NOW</code> - Immediately schedules the update to happen in the current hour if
4176
+ * there's capacity available.</p>
4177
+ * </li>
4178
+ * <li>
4179
+ * <p>
4180
+ * <code>TIMESTAMP</code> - Lets you specify a custom date and time to apply the update. If
4181
+ * you specify this value, you must also provide a value for <code>DesiredStartTime</code>.</p>
4182
+ * </li>
4183
+ * <li>
4184
+ * <p>
4185
+ * <code>OFF_PEAK_WINDOW</code> - Marks the action to be picked up during an upcoming
4186
+ * off-peak window. There's no guarantee that the change will be implemented during the next
4187
+ * immediate window. Depending on capacity, it might happen in subsequent days.</p>
4188
+ * </li>
4189
+ * </ul>
4190
+ */
4191
+ ScheduleAt: ScheduleAt | string | undefined;
4192
+ /**
4193
+ * <p>The time to implement the change, in Coordinated Universal Time (UTC). Only specify this
4194
+ * parameter if you set <code>ScheduleAt</code> to <code>TIMESTAMP</code>.</p>
4195
+ */
4196
+ DesiredStartTime?: number;
4197
+ }
4198
+ export interface UpdateScheduledActionResponse {
4199
+ /**
4200
+ * <p>Information about the rescheduled action.</p>
4201
+ */
4202
+ ScheduledAction?: ScheduledAction;
4203
+ }
3874
4204
  export interface UpdateVpcEndpointRequest {
3875
4205
  /**
3876
4206
  * <p>The unique identifier of the endpoint.</p>
@@ -4106,10 +4436,26 @@ export declare const LogPublishingOptionFilterSensitiveLog: (obj: LogPublishingO
4106
4436
  * @internal
4107
4437
  */
4108
4438
  export declare const NodeToNodeEncryptionOptionsFilterSensitiveLog: (obj: NodeToNodeEncryptionOptions) => any;
4439
+ /**
4440
+ * @internal
4441
+ */
4442
+ export declare const WindowStartTimeFilterSensitiveLog: (obj: WindowStartTime) => any;
4443
+ /**
4444
+ * @internal
4445
+ */
4446
+ export declare const OffPeakWindowFilterSensitiveLog: (obj: OffPeakWindow) => any;
4447
+ /**
4448
+ * @internal
4449
+ */
4450
+ export declare const OffPeakWindowOptionsFilterSensitiveLog: (obj: OffPeakWindowOptions) => any;
4109
4451
  /**
4110
4452
  * @internal
4111
4453
  */
4112
4454
  export declare const SnapshotOptionsFilterSensitiveLog: (obj: SnapshotOptions) => any;
4455
+ /**
4456
+ * @internal
4457
+ */
4458
+ export declare const SoftwareUpdateOptionsFilterSensitiveLog: (obj: SoftwareUpdateOptions) => any;
4113
4459
  /**
4114
4460
  * @internal
4115
4461
  */
@@ -4322,10 +4668,18 @@ export declare const LogPublishingOptionsStatusFilterSensitiveLog: (obj: LogPubl
4322
4668
  * @internal
4323
4669
  */
4324
4670
  export declare const NodeToNodeEncryptionOptionsStatusFilterSensitiveLog: (obj: NodeToNodeEncryptionOptionsStatus) => any;
4671
+ /**
4672
+ * @internal
4673
+ */
4674
+ export declare const OffPeakWindowOptionsStatusFilterSensitiveLog: (obj: OffPeakWindowOptionsStatus) => any;
4325
4675
  /**
4326
4676
  * @internal
4327
4677
  */
4328
4678
  export declare const SnapshotOptionsStatusFilterSensitiveLog: (obj: SnapshotOptionsStatus) => any;
4679
+ /**
4680
+ * @internal
4681
+ */
4682
+ export declare const SoftwareUpdateOptionsStatusFilterSensitiveLog: (obj: SoftwareUpdateOptionsStatus) => any;
4329
4683
  /**
4330
4684
  * @internal
4331
4685
  */
@@ -4562,6 +4916,18 @@ export declare const ListPackagesForDomainRequestFilterSensitiveLog: (obj: ListP
4562
4916
  * @internal
4563
4917
  */
4564
4918
  export declare const ListPackagesForDomainResponseFilterSensitiveLog: (obj: ListPackagesForDomainResponse) => any;
4919
+ /**
4920
+ * @internal
4921
+ */
4922
+ export declare const ListScheduledActionsRequestFilterSensitiveLog: (obj: ListScheduledActionsRequest) => any;
4923
+ /**
4924
+ * @internal
4925
+ */
4926
+ export declare const ScheduledActionFilterSensitiveLog: (obj: ScheduledAction) => any;
4927
+ /**
4928
+ * @internal
4929
+ */
4930
+ export declare const ListScheduledActionsResponseFilterSensitiveLog: (obj: ListScheduledActionsResponse) => any;
4565
4931
  /**
4566
4932
  * @internal
4567
4933
  */
@@ -4654,6 +5020,14 @@ export declare const UpdatePackageRequestFilterSensitiveLog: (obj: UpdatePackage
4654
5020
  * @internal
4655
5021
  */
4656
5022
  export declare const UpdatePackageResponseFilterSensitiveLog: (obj: UpdatePackageResponse) => any;
5023
+ /**
5024
+ * @internal
5025
+ */
5026
+ export declare const UpdateScheduledActionRequestFilterSensitiveLog: (obj: UpdateScheduledActionRequest) => any;
5027
+ /**
5028
+ * @internal
5029
+ */
5030
+ export declare const UpdateScheduledActionResponseFilterSensitiveLog: (obj: UpdateScheduledActionResponse) => any;
4657
5031
  /**
4658
5032
  * @internal
4659
5033
  */
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput } from "../commands/ListScheduledActionsCommand";
3
+ import { OpenSearchPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListScheduledActions(config: OpenSearchPaginationConfiguration, input: ListScheduledActionsCommandInput, ...additionalArguments: any): Paginator<ListScheduledActionsCommandOutput>;
@@ -10,4 +10,5 @@ export * from "./Interfaces";
10
10
  export * from "./ListDomainsForPackagePaginator";
11
11
  export * from "./ListInstanceTypeDetailsPaginator";
12
12
  export * from "./ListPackagesForDomainPaginator";
13
+ export * from "./ListScheduledActionsPaginator";
13
14
  export * from "./ListVersionsPaginator";
@@ -36,6 +36,7 @@ import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "../co
36
36
  import { ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput } from "../commands/ListDomainsForPackageCommand";
37
37
  import { ListInstanceTypeDetailsCommandInput, ListInstanceTypeDetailsCommandOutput } from "../commands/ListInstanceTypeDetailsCommand";
38
38
  import { ListPackagesForDomainCommandInput, ListPackagesForDomainCommandOutput } from "../commands/ListPackagesForDomainCommand";
39
+ import { ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput } from "../commands/ListScheduledActionsCommand";
39
40
  import { ListTagsCommandInput, ListTagsCommandOutput } from "../commands/ListTagsCommand";
40
41
  import { ListVersionsCommandInput, ListVersionsCommandOutput } from "../commands/ListVersionsCommand";
41
42
  import { ListVpcEndpointAccessCommandInput, ListVpcEndpointAccessCommandOutput } from "../commands/ListVpcEndpointAccessCommand";
@@ -48,6 +49,7 @@ import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutp
48
49
  import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "../commands/StartServiceSoftwareUpdateCommand";
49
50
  import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "../commands/UpdateDomainConfigCommand";
50
51
  import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "../commands/UpdatePackageCommand";
52
+ import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "../commands/UpdateScheduledActionCommand";
51
53
  import { UpdateVpcEndpointCommandInput, UpdateVpcEndpointCommandOutput } from "../commands/UpdateVpcEndpointCommand";
52
54
  import { UpgradeDomainCommandInput, UpgradeDomainCommandOutput } from "../commands/UpgradeDomainCommand";
53
55
  export declare const serializeAws_restJson1AcceptInboundConnectionCommand: (input: AcceptInboundConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -86,6 +88,7 @@ export declare const serializeAws_restJson1ListDomainNamesCommand: (input: ListD
86
88
  export declare const serializeAws_restJson1ListDomainsForPackageCommand: (input: ListDomainsForPackageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
89
  export declare const serializeAws_restJson1ListInstanceTypeDetailsCommand: (input: ListInstanceTypeDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
88
90
  export declare const serializeAws_restJson1ListPackagesForDomainCommand: (input: ListPackagesForDomainCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
+ export declare const serializeAws_restJson1ListScheduledActionsCommand: (input: ListScheduledActionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
92
  export declare const serializeAws_restJson1ListTagsCommand: (input: ListTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
90
93
  export declare const serializeAws_restJson1ListVersionsCommand: (input: ListVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
94
  export declare const serializeAws_restJson1ListVpcEndpointAccessCommand: (input: ListVpcEndpointAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -98,6 +101,7 @@ export declare const serializeAws_restJson1RevokeVpcEndpointAccessCommand: (inpu
98
101
  export declare const serializeAws_restJson1StartServiceSoftwareUpdateCommand: (input: StartServiceSoftwareUpdateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
99
102
  export declare const serializeAws_restJson1UpdateDomainConfigCommand: (input: UpdateDomainConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
103
  export declare const serializeAws_restJson1UpdatePackageCommand: (input: UpdatePackageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
+ export declare const serializeAws_restJson1UpdateScheduledActionCommand: (input: UpdateScheduledActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
101
105
  export declare const serializeAws_restJson1UpdateVpcEndpointCommand: (input: UpdateVpcEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
102
106
  export declare const serializeAws_restJson1UpgradeDomainCommand: (input: UpgradeDomainCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
103
107
  export declare const deserializeAws_restJson1AcceptInboundConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AcceptInboundConnectionCommandOutput>;
@@ -136,6 +140,7 @@ export declare const deserializeAws_restJson1ListDomainNamesCommand: (output: __
136
140
  export declare const deserializeAws_restJson1ListDomainsForPackageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDomainsForPackageCommandOutput>;
137
141
  export declare const deserializeAws_restJson1ListInstanceTypeDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListInstanceTypeDetailsCommandOutput>;
138
142
  export declare const deserializeAws_restJson1ListPackagesForDomainCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPackagesForDomainCommandOutput>;
143
+ export declare const deserializeAws_restJson1ListScheduledActionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListScheduledActionsCommandOutput>;
139
144
  export declare const deserializeAws_restJson1ListTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsCommandOutput>;
140
145
  export declare const deserializeAws_restJson1ListVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListVersionsCommandOutput>;
141
146
  export declare const deserializeAws_restJson1ListVpcEndpointAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListVpcEndpointAccessCommandOutput>;
@@ -148,5 +153,6 @@ export declare const deserializeAws_restJson1RevokeVpcEndpointAccessCommand: (ou
148
153
  export declare const deserializeAws_restJson1StartServiceSoftwareUpdateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartServiceSoftwareUpdateCommandOutput>;
149
154
  export declare const deserializeAws_restJson1UpdateDomainConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDomainConfigCommandOutput>;
150
155
  export declare const deserializeAws_restJson1UpdatePackageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePackageCommandOutput>;
156
+ export declare const deserializeAws_restJson1UpdateScheduledActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateScheduledActionCommandOutput>;
151
157
  export declare const deserializeAws_restJson1UpdateVpcEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateVpcEndpointCommandOutput>;
152
158
  export declare const deserializeAws_restJson1UpgradeDomainCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpgradeDomainCommandOutput>;