@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.
- package/dist-cjs/OpenSearch.js +30 -0
- package/dist-cjs/commands/ListScheduledActionsCommand.js +46 -0
- package/dist-cjs/commands/UpdateScheduledActionCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +95 -5
- package/dist-cjs/pagination/ListScheduledActionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +295 -2
- package/dist-es/OpenSearch.js +30 -0
- package/dist-es/commands/ListScheduledActionsCommand.js +42 -0
- package/dist-es/commands/UpdateScheduledActionCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +78 -0
- package/dist-es/pagination/ListScheduledActionsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +289 -1
- package/dist-types/OpenSearch.d.ts +20 -0
- package/dist-types/OpenSearchClient.d.ts +4 -2
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +40 -0
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +389 -15
- package/dist-types/pagination/ListScheduledActionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +34 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +133 -0
- package/dist-types/ts3.4/pagination/ListScheduledActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +4 -4
|
@@ -143,6 +143,10 @@ import {
|
|
|
143
143
|
ListPackagesForDomainCommandInput,
|
|
144
144
|
ListPackagesForDomainCommandOutput,
|
|
145
145
|
} from "./commands/ListPackagesForDomainCommand";
|
|
146
|
+
import {
|
|
147
|
+
ListScheduledActionsCommandInput,
|
|
148
|
+
ListScheduledActionsCommandOutput,
|
|
149
|
+
} from "./commands/ListScheduledActionsCommand";
|
|
146
150
|
import {
|
|
147
151
|
ListTagsCommandInput,
|
|
148
152
|
ListTagsCommandOutput,
|
|
@@ -191,6 +195,10 @@ import {
|
|
|
191
195
|
UpdatePackageCommandInput,
|
|
192
196
|
UpdatePackageCommandOutput,
|
|
193
197
|
} from "./commands/UpdatePackageCommand";
|
|
198
|
+
import {
|
|
199
|
+
UpdateScheduledActionCommandInput,
|
|
200
|
+
UpdateScheduledActionCommandOutput,
|
|
201
|
+
} from "./commands/UpdateScheduledActionCommand";
|
|
194
202
|
import {
|
|
195
203
|
UpdateVpcEndpointCommandInput,
|
|
196
204
|
UpdateVpcEndpointCommandOutput,
|
|
@@ -675,6 +683,19 @@ export declare class OpenSearch extends OpenSearchClient {
|
|
|
675
683
|
options: __HttpHandlerOptions,
|
|
676
684
|
cb: (err: any, data?: ListPackagesForDomainCommandOutput) => void
|
|
677
685
|
): void;
|
|
686
|
+
listScheduledActions(
|
|
687
|
+
args: ListScheduledActionsCommandInput,
|
|
688
|
+
options?: __HttpHandlerOptions
|
|
689
|
+
): Promise<ListScheduledActionsCommandOutput>;
|
|
690
|
+
listScheduledActions(
|
|
691
|
+
args: ListScheduledActionsCommandInput,
|
|
692
|
+
cb: (err: any, data?: ListScheduledActionsCommandOutput) => void
|
|
693
|
+
): void;
|
|
694
|
+
listScheduledActions(
|
|
695
|
+
args: ListScheduledActionsCommandInput,
|
|
696
|
+
options: __HttpHandlerOptions,
|
|
697
|
+
cb: (err: any, data?: ListScheduledActionsCommandOutput) => void
|
|
698
|
+
): void;
|
|
678
699
|
listTags(
|
|
679
700
|
args: ListTagsCommandInput,
|
|
680
701
|
options?: __HttpHandlerOptions
|
|
@@ -831,6 +852,19 @@ export declare class OpenSearch extends OpenSearchClient {
|
|
|
831
852
|
options: __HttpHandlerOptions,
|
|
832
853
|
cb: (err: any, data?: UpdatePackageCommandOutput) => void
|
|
833
854
|
): void;
|
|
855
|
+
updateScheduledAction(
|
|
856
|
+
args: UpdateScheduledActionCommandInput,
|
|
857
|
+
options?: __HttpHandlerOptions
|
|
858
|
+
): Promise<UpdateScheduledActionCommandOutput>;
|
|
859
|
+
updateScheduledAction(
|
|
860
|
+
args: UpdateScheduledActionCommandInput,
|
|
861
|
+
cb: (err: any, data?: UpdateScheduledActionCommandOutput) => void
|
|
862
|
+
): void;
|
|
863
|
+
updateScheduledAction(
|
|
864
|
+
args: UpdateScheduledActionCommandInput,
|
|
865
|
+
options: __HttpHandlerOptions,
|
|
866
|
+
cb: (err: any, data?: UpdateScheduledActionCommandOutput) => void
|
|
867
|
+
): void;
|
|
834
868
|
updateVpcEndpoint(
|
|
835
869
|
args: UpdateVpcEndpointCommandInput,
|
|
836
870
|
options?: __HttpHandlerOptions
|
|
@@ -188,6 +188,10 @@ import {
|
|
|
188
188
|
ListPackagesForDomainCommandInput,
|
|
189
189
|
ListPackagesForDomainCommandOutput,
|
|
190
190
|
} from "./commands/ListPackagesForDomainCommand";
|
|
191
|
+
import {
|
|
192
|
+
ListScheduledActionsCommandInput,
|
|
193
|
+
ListScheduledActionsCommandOutput,
|
|
194
|
+
} from "./commands/ListScheduledActionsCommand";
|
|
191
195
|
import {
|
|
192
196
|
ListTagsCommandInput,
|
|
193
197
|
ListTagsCommandOutput,
|
|
@@ -236,6 +240,10 @@ import {
|
|
|
236
240
|
UpdatePackageCommandInput,
|
|
237
241
|
UpdatePackageCommandOutput,
|
|
238
242
|
} from "./commands/UpdatePackageCommand";
|
|
243
|
+
import {
|
|
244
|
+
UpdateScheduledActionCommandInput,
|
|
245
|
+
UpdateScheduledActionCommandOutput,
|
|
246
|
+
} from "./commands/UpdateScheduledActionCommand";
|
|
239
247
|
import {
|
|
240
248
|
UpdateVpcEndpointCommandInput,
|
|
241
249
|
UpdateVpcEndpointCommandOutput,
|
|
@@ -286,6 +294,7 @@ export declare type ServiceInputTypes =
|
|
|
286
294
|
| ListDomainsForPackageCommandInput
|
|
287
295
|
| ListInstanceTypeDetailsCommandInput
|
|
288
296
|
| ListPackagesForDomainCommandInput
|
|
297
|
+
| ListScheduledActionsCommandInput
|
|
289
298
|
| ListTagsCommandInput
|
|
290
299
|
| ListVersionsCommandInput
|
|
291
300
|
| ListVpcEndpointAccessCommandInput
|
|
@@ -298,6 +307,7 @@ export declare type ServiceInputTypes =
|
|
|
298
307
|
| StartServiceSoftwareUpdateCommandInput
|
|
299
308
|
| UpdateDomainConfigCommandInput
|
|
300
309
|
| UpdatePackageCommandInput
|
|
310
|
+
| UpdateScheduledActionCommandInput
|
|
301
311
|
| UpdateVpcEndpointCommandInput
|
|
302
312
|
| UpgradeDomainCommandInput;
|
|
303
313
|
export declare type ServiceOutputTypes =
|
|
@@ -337,6 +347,7 @@ export declare type ServiceOutputTypes =
|
|
|
337
347
|
| ListDomainsForPackageCommandOutput
|
|
338
348
|
| ListInstanceTypeDetailsCommandOutput
|
|
339
349
|
| ListPackagesForDomainCommandOutput
|
|
350
|
+
| ListScheduledActionsCommandOutput
|
|
340
351
|
| ListTagsCommandOutput
|
|
341
352
|
| ListVersionsCommandOutput
|
|
342
353
|
| ListVpcEndpointAccessCommandOutput
|
|
@@ -349,6 +360,7 @@ export declare type ServiceOutputTypes =
|
|
|
349
360
|
| StartServiceSoftwareUpdateCommandOutput
|
|
350
361
|
| UpdateDomainConfigCommandOutput
|
|
351
362
|
| UpdatePackageCommandOutput
|
|
363
|
+
| UpdateScheduledActionCommandOutput
|
|
352
364
|
| UpdateVpcEndpointCommandOutput
|
|
353
365
|
| UpgradeDomainCommandOutput;
|
|
354
366
|
export interface ClientDefaults
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ListScheduledActionsRequest,
|
|
11
|
+
ListScheduledActionsResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
OpenSearchClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../OpenSearchClient";
|
|
18
|
+
export interface ListScheduledActionsCommandInput
|
|
19
|
+
extends ListScheduledActionsRequest {}
|
|
20
|
+
export interface ListScheduledActionsCommandOutput
|
|
21
|
+
extends ListScheduledActionsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListScheduledActionsCommand extends $Command<
|
|
24
|
+
ListScheduledActionsCommandInput,
|
|
25
|
+
ListScheduledActionsCommandOutput,
|
|
26
|
+
OpenSearchClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListScheduledActionsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListScheduledActionsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: OpenSearchClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ListScheduledActionsCommandInput,
|
|
37
|
+
ListScheduledActionsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
UpdateScheduledActionRequest,
|
|
11
|
+
UpdateScheduledActionResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
OpenSearchClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../OpenSearchClient";
|
|
18
|
+
export interface UpdateScheduledActionCommandInput
|
|
19
|
+
extends UpdateScheduledActionRequest {}
|
|
20
|
+
export interface UpdateScheduledActionCommandOutput
|
|
21
|
+
extends UpdateScheduledActionResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateScheduledActionCommand extends $Command<
|
|
24
|
+
UpdateScheduledActionCommandInput,
|
|
25
|
+
UpdateScheduledActionCommandOutput,
|
|
26
|
+
OpenSearchClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateScheduledActionCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateScheduledActionCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: OpenSearchClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateScheduledActionCommandInput,
|
|
37
|
+
UpdateScheduledActionCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -34,6 +34,7 @@ export * from "./ListDomainNamesCommand";
|
|
|
34
34
|
export * from "./ListDomainsForPackageCommand";
|
|
35
35
|
export * from "./ListInstanceTypeDetailsCommand";
|
|
36
36
|
export * from "./ListPackagesForDomainCommand";
|
|
37
|
+
export * from "./ListScheduledActionsCommand";
|
|
37
38
|
export * from "./ListTagsCommand";
|
|
38
39
|
export * from "./ListVersionsCommand";
|
|
39
40
|
export * from "./ListVpcEndpointAccessCommand";
|
|
@@ -46,5 +47,6 @@ export * from "./RevokeVpcEndpointAccessCommand";
|
|
|
46
47
|
export * from "./StartServiceSoftwareUpdateCommand";
|
|
47
48
|
export * from "./UpdateDomainConfigCommand";
|
|
48
49
|
export * from "./UpdatePackageCommand";
|
|
50
|
+
export * from "./UpdateScheduledActionCommand";
|
|
49
51
|
export * from "./UpdateVpcEndpointCommand";
|
|
50
52
|
export * from "./UpgradeDomainCommand";
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -83,6 +83,24 @@ export interface AccessPoliciesStatus {
|
|
|
83
83
|
Options: string | undefined;
|
|
84
84
|
Status: OptionStatus | undefined;
|
|
85
85
|
}
|
|
86
|
+
export declare enum ActionSeverity {
|
|
87
|
+
HIGH = "HIGH",
|
|
88
|
+
LOW = "LOW",
|
|
89
|
+
MEDIUM = "MEDIUM",
|
|
90
|
+
}
|
|
91
|
+
export declare enum ActionStatus {
|
|
92
|
+
COMPLETED = "COMPLETED",
|
|
93
|
+
ELIGIBLE = "ELIGIBLE",
|
|
94
|
+
FAILED = "FAILED",
|
|
95
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
96
|
+
NOT_ELIGIBLE = "NOT_ELIGIBLE",
|
|
97
|
+
PENDING_UPDATE = "PENDING_UPDATE",
|
|
98
|
+
}
|
|
99
|
+
export declare enum ActionType {
|
|
100
|
+
JVM_HEAP_SIZE_TUNING = "JVM_HEAP_SIZE_TUNING",
|
|
101
|
+
JVM_YOUNG_GEN_TUNING = "JVM_YOUNG_GEN_TUNING",
|
|
102
|
+
SERVICE_SOFTWARE_UPDATE = "SERVICE_SOFTWARE_UPDATE",
|
|
103
|
+
}
|
|
86
104
|
export interface AdditionalLimit {
|
|
87
105
|
LimitName?: string;
|
|
88
106
|
LimitValues?: string[];
|
|
@@ -253,6 +271,7 @@ export interface AutoTuneMaintenanceSchedule {
|
|
|
253
271
|
export interface AutoTuneOptionsInput {
|
|
254
272
|
DesiredState?: AutoTuneDesiredState | string;
|
|
255
273
|
MaintenanceSchedules?: AutoTuneMaintenanceSchedule[];
|
|
274
|
+
UseOffPeakWindow?: boolean;
|
|
256
275
|
}
|
|
257
276
|
export interface ColdStorageOptions {
|
|
258
277
|
Enabled: boolean | undefined;
|
|
@@ -422,9 +441,23 @@ export interface LogPublishingOption {
|
|
|
422
441
|
export interface NodeToNodeEncryptionOptions {
|
|
423
442
|
Enabled?: boolean;
|
|
424
443
|
}
|
|
444
|
+
export interface WindowStartTime {
|
|
445
|
+
Hours: number | undefined;
|
|
446
|
+
Minutes: number | undefined;
|
|
447
|
+
}
|
|
448
|
+
export interface OffPeakWindow {
|
|
449
|
+
WindowStartTime?: WindowStartTime;
|
|
450
|
+
}
|
|
451
|
+
export interface OffPeakWindowOptions {
|
|
452
|
+
Enabled?: boolean;
|
|
453
|
+
OffPeakWindow?: OffPeakWindow;
|
|
454
|
+
}
|
|
425
455
|
export interface SnapshotOptions {
|
|
426
456
|
AutomatedSnapshotStartHour?: number;
|
|
427
457
|
}
|
|
458
|
+
export interface SoftwareUpdateOptions {
|
|
459
|
+
AutoSoftwareUpdateEnabled?: boolean;
|
|
460
|
+
}
|
|
428
461
|
export interface VPCOptions {
|
|
429
462
|
SubnetIds?: string[];
|
|
430
463
|
SecurityGroupIds?: string[];
|
|
@@ -446,6 +479,8 @@ export interface CreateDomainRequest {
|
|
|
446
479
|
AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
|
|
447
480
|
TagList?: Tag[];
|
|
448
481
|
AutoTuneOptions?: AutoTuneOptionsInput;
|
|
482
|
+
OffPeakWindowOptions?: OffPeakWindowOptions;
|
|
483
|
+
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
449
484
|
}
|
|
450
485
|
export declare enum AutoTuneState {
|
|
451
486
|
DISABLED = "DISABLED",
|
|
@@ -461,6 +496,7 @@ export declare enum AutoTuneState {
|
|
|
461
496
|
export interface AutoTuneOptionsOutput {
|
|
462
497
|
State?: AutoTuneState | string;
|
|
463
498
|
ErrorMessage?: string;
|
|
499
|
+
UseOffPeakWindow?: boolean;
|
|
464
500
|
}
|
|
465
501
|
export interface ChangeProgressDetails {
|
|
466
502
|
ChangeId?: string;
|
|
@@ -498,6 +534,8 @@ export interface DomainStatus {
|
|
|
498
534
|
AdvancedSecurityOptions?: AdvancedSecurityOptions;
|
|
499
535
|
AutoTuneOptions?: AutoTuneOptionsOutput;
|
|
500
536
|
ChangeProgressDetails?: ChangeProgressDetails;
|
|
537
|
+
OffPeakWindowOptions?: OffPeakWindowOptions;
|
|
538
|
+
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
501
539
|
}
|
|
502
540
|
export interface CreateDomainResponse {
|
|
503
541
|
DomainStatus?: DomainStatus;
|
|
@@ -733,6 +771,7 @@ export interface AutoTuneOptions {
|
|
|
733
771
|
DesiredState?: AutoTuneDesiredState | string;
|
|
734
772
|
RollbackOnDisable?: RollbackOnDisable | string;
|
|
735
773
|
MaintenanceSchedules?: AutoTuneMaintenanceSchedule[];
|
|
774
|
+
UseOffPeakWindow?: boolean;
|
|
736
775
|
}
|
|
737
776
|
export interface AutoTuneStatus {
|
|
738
777
|
CreationDate: Date | undefined;
|
|
@@ -778,10 +817,18 @@ export interface NodeToNodeEncryptionOptionsStatus {
|
|
|
778
817
|
Options: NodeToNodeEncryptionOptions | undefined;
|
|
779
818
|
Status: OptionStatus | undefined;
|
|
780
819
|
}
|
|
820
|
+
export interface OffPeakWindowOptionsStatus {
|
|
821
|
+
Options?: OffPeakWindowOptions;
|
|
822
|
+
Status?: OptionStatus;
|
|
823
|
+
}
|
|
781
824
|
export interface SnapshotOptionsStatus {
|
|
782
825
|
Options: SnapshotOptions | undefined;
|
|
783
826
|
Status: OptionStatus | undefined;
|
|
784
827
|
}
|
|
828
|
+
export interface SoftwareUpdateOptionsStatus {
|
|
829
|
+
Options?: SoftwareUpdateOptions;
|
|
830
|
+
Status?: OptionStatus;
|
|
831
|
+
}
|
|
785
832
|
export interface VPCDerivedInfoStatus {
|
|
786
833
|
Options: VPCDerivedInfo | undefined;
|
|
787
834
|
Status: OptionStatus | undefined;
|
|
@@ -802,6 +849,8 @@ export interface DomainConfig {
|
|
|
802
849
|
AdvancedSecurityOptions?: AdvancedSecurityOptionsStatus;
|
|
803
850
|
AutoTuneOptions?: AutoTuneOptionsStatus;
|
|
804
851
|
ChangeProgressDetails?: ChangeProgressDetails;
|
|
852
|
+
OffPeakWindowOptions?: OffPeakWindowOptionsStatus;
|
|
853
|
+
SoftwareUpdateOptions?: SoftwareUpdateOptionsStatus;
|
|
805
854
|
}
|
|
806
855
|
export interface DescribeDomainConfigResponse {
|
|
807
856
|
DomainConfig: DomainConfig | undefined;
|
|
@@ -1108,6 +1157,30 @@ export interface ListPackagesForDomainResponse {
|
|
|
1108
1157
|
DomainPackageDetailsList?: DomainPackageDetails[];
|
|
1109
1158
|
NextToken?: string;
|
|
1110
1159
|
}
|
|
1160
|
+
export interface ListScheduledActionsRequest {
|
|
1161
|
+
DomainName: string | undefined;
|
|
1162
|
+
MaxResults?: number;
|
|
1163
|
+
NextToken?: string;
|
|
1164
|
+
}
|
|
1165
|
+
export declare enum ScheduledBy {
|
|
1166
|
+
CUSTOMER = "CUSTOMER",
|
|
1167
|
+
SYSTEM = "SYSTEM",
|
|
1168
|
+
}
|
|
1169
|
+
export interface ScheduledAction {
|
|
1170
|
+
Id: string | undefined;
|
|
1171
|
+
Type: ActionType | string | undefined;
|
|
1172
|
+
Severity: ActionSeverity | string | undefined;
|
|
1173
|
+
ScheduledTime: number | undefined;
|
|
1174
|
+
Description?: string;
|
|
1175
|
+
ScheduledBy?: ScheduledBy | string;
|
|
1176
|
+
Status?: ActionStatus | string;
|
|
1177
|
+
Mandatory?: boolean;
|
|
1178
|
+
Cancellable?: boolean;
|
|
1179
|
+
}
|
|
1180
|
+
export interface ListScheduledActionsResponse {
|
|
1181
|
+
ScheduledActions?: ScheduledAction[];
|
|
1182
|
+
NextToken?: string;
|
|
1183
|
+
}
|
|
1111
1184
|
export interface ListTagsRequest {
|
|
1112
1185
|
ARN: string | undefined;
|
|
1113
1186
|
}
|
|
@@ -1169,8 +1242,15 @@ export interface RevokeVpcEndpointAccessRequest {
|
|
|
1169
1242
|
Account: string | undefined;
|
|
1170
1243
|
}
|
|
1171
1244
|
export interface RevokeVpcEndpointAccessResponse {}
|
|
1245
|
+
export declare enum ScheduleAt {
|
|
1246
|
+
NOW = "NOW",
|
|
1247
|
+
OFF_PEAK_WINDOW = "OFF_PEAK_WINDOW",
|
|
1248
|
+
TIMESTAMP = "TIMESTAMP",
|
|
1249
|
+
}
|
|
1172
1250
|
export interface StartServiceSoftwareUpdateRequest {
|
|
1173
1251
|
DomainName: string | undefined;
|
|
1252
|
+
ScheduleAt?: ScheduleAt | string;
|
|
1253
|
+
DesiredStartTime?: number;
|
|
1174
1254
|
}
|
|
1175
1255
|
export interface StartServiceSoftwareUpdateResponse {
|
|
1176
1256
|
ServiceSoftwareOptions?: ServiceSoftwareOptions;
|
|
@@ -1196,6 +1276,8 @@ export interface UpdateDomainConfigRequest {
|
|
|
1196
1276
|
AutoTuneOptions?: AutoTuneOptions;
|
|
1197
1277
|
DryRun?: boolean;
|
|
1198
1278
|
DryRunMode?: DryRunMode | string;
|
|
1279
|
+
OffPeakWindowOptions?: OffPeakWindowOptions;
|
|
1280
|
+
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
1199
1281
|
}
|
|
1200
1282
|
export interface UpdateDomainConfigResponse {
|
|
1201
1283
|
DomainConfig: DomainConfig | undefined;
|
|
@@ -1211,6 +1293,24 @@ export interface UpdatePackageRequest {
|
|
|
1211
1293
|
export interface UpdatePackageResponse {
|
|
1212
1294
|
PackageDetails?: PackageDetails;
|
|
1213
1295
|
}
|
|
1296
|
+
export declare class SlotNotAvailableException extends __BaseException {
|
|
1297
|
+
readonly name: "SlotNotAvailableException";
|
|
1298
|
+
readonly $fault: "client";
|
|
1299
|
+
SlotSuggestions?: number[];
|
|
1300
|
+
constructor(
|
|
1301
|
+
opts: __ExceptionOptionType<SlotNotAvailableException, __BaseException>
|
|
1302
|
+
);
|
|
1303
|
+
}
|
|
1304
|
+
export interface UpdateScheduledActionRequest {
|
|
1305
|
+
DomainName: string | undefined;
|
|
1306
|
+
ActionID: string | undefined;
|
|
1307
|
+
ActionType: ActionType | string | undefined;
|
|
1308
|
+
ScheduleAt: ScheduleAt | string | undefined;
|
|
1309
|
+
DesiredStartTime?: number;
|
|
1310
|
+
}
|
|
1311
|
+
export interface UpdateScheduledActionResponse {
|
|
1312
|
+
ScheduledAction?: ScheduledAction;
|
|
1313
|
+
}
|
|
1214
1314
|
export interface UpdateVpcEndpointRequest {
|
|
1215
1315
|
VpcEndpointId: string | undefined;
|
|
1216
1316
|
VpcOptions: VPCOptions | undefined;
|
|
@@ -1343,9 +1443,21 @@ export declare const LogPublishingOptionFilterSensitiveLog: (
|
|
|
1343
1443
|
export declare const NodeToNodeEncryptionOptionsFilterSensitiveLog: (
|
|
1344
1444
|
obj: NodeToNodeEncryptionOptions
|
|
1345
1445
|
) => any;
|
|
1446
|
+
export declare const WindowStartTimeFilterSensitiveLog: (
|
|
1447
|
+
obj: WindowStartTime
|
|
1448
|
+
) => any;
|
|
1449
|
+
export declare const OffPeakWindowFilterSensitiveLog: (
|
|
1450
|
+
obj: OffPeakWindow
|
|
1451
|
+
) => any;
|
|
1452
|
+
export declare const OffPeakWindowOptionsFilterSensitiveLog: (
|
|
1453
|
+
obj: OffPeakWindowOptions
|
|
1454
|
+
) => any;
|
|
1346
1455
|
export declare const SnapshotOptionsFilterSensitiveLog: (
|
|
1347
1456
|
obj: SnapshotOptions
|
|
1348
1457
|
) => any;
|
|
1458
|
+
export declare const SoftwareUpdateOptionsFilterSensitiveLog: (
|
|
1459
|
+
obj: SoftwareUpdateOptions
|
|
1460
|
+
) => any;
|
|
1349
1461
|
export declare const VPCOptionsFilterSensitiveLog: (obj: VPCOptions) => any;
|
|
1350
1462
|
export declare const CreateDomainRequestFilterSensitiveLog: (
|
|
1351
1463
|
obj: CreateDomainRequest
|
|
@@ -1497,9 +1609,15 @@ export declare const LogPublishingOptionsStatusFilterSensitiveLog: (
|
|
|
1497
1609
|
export declare const NodeToNodeEncryptionOptionsStatusFilterSensitiveLog: (
|
|
1498
1610
|
obj: NodeToNodeEncryptionOptionsStatus
|
|
1499
1611
|
) => any;
|
|
1612
|
+
export declare const OffPeakWindowOptionsStatusFilterSensitiveLog: (
|
|
1613
|
+
obj: OffPeakWindowOptionsStatus
|
|
1614
|
+
) => any;
|
|
1500
1615
|
export declare const SnapshotOptionsStatusFilterSensitiveLog: (
|
|
1501
1616
|
obj: SnapshotOptionsStatus
|
|
1502
1617
|
) => any;
|
|
1618
|
+
export declare const SoftwareUpdateOptionsStatusFilterSensitiveLog: (
|
|
1619
|
+
obj: SoftwareUpdateOptionsStatus
|
|
1620
|
+
) => any;
|
|
1503
1621
|
export declare const VPCDerivedInfoStatusFilterSensitiveLog: (
|
|
1504
1622
|
obj: VPCDerivedInfoStatus
|
|
1505
1623
|
) => any;
|
|
@@ -1667,6 +1785,15 @@ export declare const ListPackagesForDomainRequestFilterSensitiveLog: (
|
|
|
1667
1785
|
export declare const ListPackagesForDomainResponseFilterSensitiveLog: (
|
|
1668
1786
|
obj: ListPackagesForDomainResponse
|
|
1669
1787
|
) => any;
|
|
1788
|
+
export declare const ListScheduledActionsRequestFilterSensitiveLog: (
|
|
1789
|
+
obj: ListScheduledActionsRequest
|
|
1790
|
+
) => any;
|
|
1791
|
+
export declare const ScheduledActionFilterSensitiveLog: (
|
|
1792
|
+
obj: ScheduledAction
|
|
1793
|
+
) => any;
|
|
1794
|
+
export declare const ListScheduledActionsResponseFilterSensitiveLog: (
|
|
1795
|
+
obj: ListScheduledActionsResponse
|
|
1796
|
+
) => any;
|
|
1670
1797
|
export declare const ListTagsRequestFilterSensitiveLog: (
|
|
1671
1798
|
obj: ListTagsRequest
|
|
1672
1799
|
) => any;
|
|
@@ -1736,6 +1863,12 @@ export declare const UpdatePackageRequestFilterSensitiveLog: (
|
|
|
1736
1863
|
export declare const UpdatePackageResponseFilterSensitiveLog: (
|
|
1737
1864
|
obj: UpdatePackageResponse
|
|
1738
1865
|
) => any;
|
|
1866
|
+
export declare const UpdateScheduledActionRequestFilterSensitiveLog: (
|
|
1867
|
+
obj: UpdateScheduledActionRequest
|
|
1868
|
+
) => any;
|
|
1869
|
+
export declare const UpdateScheduledActionResponseFilterSensitiveLog: (
|
|
1870
|
+
obj: UpdateScheduledActionResponse
|
|
1871
|
+
) => any;
|
|
1739
1872
|
export declare const UpdateVpcEndpointRequestFilterSensitiveLog: (
|
|
1740
1873
|
obj: UpdateVpcEndpointRequest
|
|
1741
1874
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListScheduledActionsCommandInput,
|
|
4
|
+
ListScheduledActionsCommandOutput,
|
|
5
|
+
} from "../commands/ListScheduledActionsCommand";
|
|
6
|
+
import { OpenSearchPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListScheduledActions(
|
|
8
|
+
config: OpenSearchPaginationConfiguration,
|
|
9
|
+
input: ListScheduledActionsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): 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";
|
|
@@ -147,6 +147,10 @@ import {
|
|
|
147
147
|
ListPackagesForDomainCommandInput,
|
|
148
148
|
ListPackagesForDomainCommandOutput,
|
|
149
149
|
} from "../commands/ListPackagesForDomainCommand";
|
|
150
|
+
import {
|
|
151
|
+
ListScheduledActionsCommandInput,
|
|
152
|
+
ListScheduledActionsCommandOutput,
|
|
153
|
+
} from "../commands/ListScheduledActionsCommand";
|
|
150
154
|
import {
|
|
151
155
|
ListTagsCommandInput,
|
|
152
156
|
ListTagsCommandOutput,
|
|
@@ -195,6 +199,10 @@ import {
|
|
|
195
199
|
UpdatePackageCommandInput,
|
|
196
200
|
UpdatePackageCommandOutput,
|
|
197
201
|
} from "../commands/UpdatePackageCommand";
|
|
202
|
+
import {
|
|
203
|
+
UpdateScheduledActionCommandInput,
|
|
204
|
+
UpdateScheduledActionCommandOutput,
|
|
205
|
+
} from "../commands/UpdateScheduledActionCommand";
|
|
198
206
|
import {
|
|
199
207
|
UpdateVpcEndpointCommandInput,
|
|
200
208
|
UpdateVpcEndpointCommandOutput,
|
|
@@ -347,6 +355,10 @@ export declare const serializeAws_restJson1ListPackagesForDomainCommand: (
|
|
|
347
355
|
input: ListPackagesForDomainCommandInput,
|
|
348
356
|
context: __SerdeContext
|
|
349
357
|
) => Promise<__HttpRequest>;
|
|
358
|
+
export declare const serializeAws_restJson1ListScheduledActionsCommand: (
|
|
359
|
+
input: ListScheduledActionsCommandInput,
|
|
360
|
+
context: __SerdeContext
|
|
361
|
+
) => Promise<__HttpRequest>;
|
|
350
362
|
export declare const serializeAws_restJson1ListTagsCommand: (
|
|
351
363
|
input: ListTagsCommandInput,
|
|
352
364
|
context: __SerdeContext
|
|
@@ -395,6 +407,10 @@ export declare const serializeAws_restJson1UpdatePackageCommand: (
|
|
|
395
407
|
input: UpdatePackageCommandInput,
|
|
396
408
|
context: __SerdeContext
|
|
397
409
|
) => Promise<__HttpRequest>;
|
|
410
|
+
export declare const serializeAws_restJson1UpdateScheduledActionCommand: (
|
|
411
|
+
input: UpdateScheduledActionCommandInput,
|
|
412
|
+
context: __SerdeContext
|
|
413
|
+
) => Promise<__HttpRequest>;
|
|
398
414
|
export declare const serializeAws_restJson1UpdateVpcEndpointCommand: (
|
|
399
415
|
input: UpdateVpcEndpointCommandInput,
|
|
400
416
|
context: __SerdeContext
|
|
@@ -547,6 +563,10 @@ export declare const deserializeAws_restJson1ListPackagesForDomainCommand: (
|
|
|
547
563
|
output: __HttpResponse,
|
|
548
564
|
context: __SerdeContext
|
|
549
565
|
) => Promise<ListPackagesForDomainCommandOutput>;
|
|
566
|
+
export declare const deserializeAws_restJson1ListScheduledActionsCommand: (
|
|
567
|
+
output: __HttpResponse,
|
|
568
|
+
context: __SerdeContext
|
|
569
|
+
) => Promise<ListScheduledActionsCommandOutput>;
|
|
550
570
|
export declare const deserializeAws_restJson1ListTagsCommand: (
|
|
551
571
|
output: __HttpResponse,
|
|
552
572
|
context: __SerdeContext
|
|
@@ -595,6 +615,10 @@ export declare const deserializeAws_restJson1UpdatePackageCommand: (
|
|
|
595
615
|
output: __HttpResponse,
|
|
596
616
|
context: __SerdeContext
|
|
597
617
|
) => Promise<UpdatePackageCommandOutput>;
|
|
618
|
+
export declare const deserializeAws_restJson1UpdateScheduledActionCommand: (
|
|
619
|
+
output: __HttpResponse,
|
|
620
|
+
context: __SerdeContext
|
|
621
|
+
) => Promise<UpdateScheduledActionCommandOutput>;
|
|
598
622
|
export declare const deserializeAws_restJson1UpdateVpcEndpointCommand: (
|
|
599
623
|
output: __HttpResponse,
|
|
600
624
|
context: __SerdeContext
|
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.
|
|
4
|
+
"version": "3.278.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",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.278.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.272.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.278.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.272.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.272.0",
|
|
30
30
|
"@aws-sdk/middleware-endpoint": "3.272.0",
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.278.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.272.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.272.0",
|
|
34
34
|
"@aws-sdk/middleware-retry": "3.272.0",
|