@aws-sdk/client-opensearch 3.431.0 → 3.433.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/OpenSearch.js +6 -0
- package/dist-cjs/commands/GetDomainMaintenanceStatusCommand.js +51 -0
- package/dist-cjs/commands/ListDomainMaintenancesCommand.js +51 -0
- package/dist-cjs/commands/StartDomainMaintenanceCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +14 -2
- package/dist-cjs/pagination/ListDomainMaintenancesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +238 -3
- package/dist-es/OpenSearch.js +6 -0
- package/dist-es/commands/GetDomainMaintenanceStatusCommand.js +47 -0
- package/dist-es/commands/ListDomainMaintenancesCommand.js +47 -0
- package/dist-es/commands/StartDomainMaintenanceCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/pagination/ListDomainMaintenancesPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +229 -0
- package/dist-types/OpenSearch.d.ts +21 -0
- package/dist-types/OpenSearchClient.d.ts +5 -2
- package/dist-types/commands/GetDomainMaintenanceStatusCommand.d.ts +94 -0
- package/dist-types/commands/ListDomainMaintenancesCommand.d.ts +104 -0
- package/dist-types/commands/StartDomainMaintenanceCommand.d.ts +91 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +219 -6
- package/dist-types/pagination/ListDomainMaintenancesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +51 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetDomainMaintenanceStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDomainMaintenancesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartDomainMaintenanceCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -4
- package/dist-types/ts3.4/pagination/ListDomainMaintenancesPaginator.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 +36 -0
- package/package.json +31 -31
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { StartDomainMaintenanceRequest, StartDomainMaintenanceResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartDomainMaintenanceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartDomainMaintenanceCommandInput extends StartDomainMaintenanceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartDomainMaintenanceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartDomainMaintenanceCommandOutput extends StartDomainMaintenanceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Starts the node maintenance (Node restart, Node reboot, Opensearch/Elasticsearch process restart,
|
|
27
|
+
* Dashboard/kibana restart) on the data node.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { OpenSearchClient, StartDomainMaintenanceCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
32
|
+
* // const { OpenSearchClient, StartDomainMaintenanceCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
33
|
+
* const client = new OpenSearchClient(config);
|
|
34
|
+
* const input = { // StartDomainMaintenanceRequest
|
|
35
|
+
* DomainName: "STRING_VALUE", // required
|
|
36
|
+
* Action: "REBOOT_NODE" || "RESTART_SEARCH_PROCESS" || "RESTART_DASHBOARD", // required
|
|
37
|
+
* NodeId: "STRING_VALUE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new StartDomainMaintenanceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // StartDomainMaintenanceResponse
|
|
42
|
+
* // MaintenanceId: "STRING_VALUE",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param StartDomainMaintenanceCommandInput - {@link StartDomainMaintenanceCommandInput}
|
|
48
|
+
* @returns {@link StartDomainMaintenanceCommandOutput}
|
|
49
|
+
* @see {@link StartDomainMaintenanceCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link StartDomainMaintenanceCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link BaseException} (client fault)
|
|
54
|
+
* <p>An error occurred while processing the request.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
57
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalException} (server fault)
|
|
60
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link OpenSearchServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare class StartDomainMaintenanceCommand extends $Command<StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput, OpenSearchClientResolvedConfig> {
|
|
73
|
+
readonly input: StartDomainMaintenanceCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: StartDomainMaintenanceCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -29,9 +29,11 @@ export * from "./DescribeReservedInstancesCommand";
|
|
|
29
29
|
export * from "./DescribeVpcEndpointsCommand";
|
|
30
30
|
export * from "./DissociatePackageCommand";
|
|
31
31
|
export * from "./GetCompatibleVersionsCommand";
|
|
32
|
+
export * from "./GetDomainMaintenanceStatusCommand";
|
|
32
33
|
export * from "./GetPackageVersionHistoryCommand";
|
|
33
34
|
export * from "./GetUpgradeHistoryCommand";
|
|
34
35
|
export * from "./GetUpgradeStatusCommand";
|
|
36
|
+
export * from "./ListDomainMaintenancesCommand";
|
|
35
37
|
export * from "./ListDomainNamesCommand";
|
|
36
38
|
export * from "./ListDomainsForPackageCommand";
|
|
37
39
|
export * from "./ListInstanceTypeDetailsCommand";
|
|
@@ -46,6 +48,7 @@ export * from "./PurchaseReservedInstanceOfferingCommand";
|
|
|
46
48
|
export * from "./RejectInboundConnectionCommand";
|
|
47
49
|
export * from "./RemoveTagsCommand";
|
|
48
50
|
export * from "./RevokeVpcEndpointAccessCommand";
|
|
51
|
+
export * from "./StartDomainMaintenanceCommand";
|
|
49
52
|
export * from "./StartServiceSoftwareUpdateCommand";
|
|
50
53
|
export * from "./UpdateDomainConfigCommand";
|
|
51
54
|
export * from "./UpdatePackageCommand";
|
|
@@ -1207,8 +1207,8 @@ export interface ClusterConfig {
|
|
|
1207
1207
|
InstanceType?: OpenSearchPartitionInstanceType;
|
|
1208
1208
|
/**
|
|
1209
1209
|
* @public
|
|
1210
|
-
* <p>Number of
|
|
1211
|
-
*
|
|
1210
|
+
* <p>Number of data nodes in the cluster. This number must be greater than 1, otherwise you
|
|
1211
|
+
* receive a validation exception.</p>
|
|
1212
1212
|
*/
|
|
1213
1213
|
InstanceCount?: number;
|
|
1214
1214
|
/**
|
|
@@ -1673,7 +1673,7 @@ export interface CreateDomainRequest {
|
|
|
1673
1673
|
* @public
|
|
1674
1674
|
* <p>Key-value pairs to configure log publishing.</p>
|
|
1675
1675
|
*/
|
|
1676
|
-
LogPublishingOptions?: Record<LogType, LogPublishingOption
|
|
1676
|
+
LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>>;
|
|
1677
1677
|
/**
|
|
1678
1678
|
* @public
|
|
1679
1679
|
* <p>Additional options for the domain endpoint, such as whether to require HTTPS for all
|
|
@@ -1913,7 +1913,7 @@ export interface DomainStatus {
|
|
|
1913
1913
|
* @public
|
|
1914
1914
|
* <p>Log publishing options for the domain.</p>
|
|
1915
1915
|
*/
|
|
1916
|
-
LogPublishingOptions?: Record<LogType, LogPublishingOption
|
|
1916
|
+
LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>>;
|
|
1917
1917
|
/**
|
|
1918
1918
|
* @public
|
|
1919
1919
|
* <p>The current status of the domain's service software.</p>
|
|
@@ -3102,7 +3102,7 @@ export interface LogPublishingOptionsStatus {
|
|
|
3102
3102
|
* @public
|
|
3103
3103
|
* <p>The log publishing options configured for the domain.</p>
|
|
3104
3104
|
*/
|
|
3105
|
-
Options?: Record<LogType, LogPublishingOption
|
|
3105
|
+
Options?: Partial<Record<LogType, LogPublishingOption>>;
|
|
3106
3106
|
/**
|
|
3107
3107
|
* @public
|
|
3108
3108
|
* <p>The status of the log publishing options for the domain.</p>
|
|
@@ -4509,6 +4509,87 @@ export interface GetCompatibleVersionsResponse {
|
|
|
4509
4509
|
*/
|
|
4510
4510
|
CompatibleVersions?: CompatibleVersionsMap[];
|
|
4511
4511
|
}
|
|
4512
|
+
/**
|
|
4513
|
+
* @public
|
|
4514
|
+
* <p>Container for the parameters to the <code>GetDomainMaintenanceStatus</code>
|
|
4515
|
+
* operation.</p>
|
|
4516
|
+
*/
|
|
4517
|
+
export interface GetDomainMaintenanceStatusRequest {
|
|
4518
|
+
/**
|
|
4519
|
+
* @public
|
|
4520
|
+
* <p>The name of the domain.</p>
|
|
4521
|
+
*/
|
|
4522
|
+
DomainName: string | undefined;
|
|
4523
|
+
/**
|
|
4524
|
+
* @public
|
|
4525
|
+
* <p>The request id of the maintenance action.</p>
|
|
4526
|
+
*/
|
|
4527
|
+
MaintenanceId: string | undefined;
|
|
4528
|
+
}
|
|
4529
|
+
/**
|
|
4530
|
+
* @public
|
|
4531
|
+
* @enum
|
|
4532
|
+
*/
|
|
4533
|
+
export declare const MaintenanceType: {
|
|
4534
|
+
readonly REBOOT_NODE: "REBOOT_NODE";
|
|
4535
|
+
readonly RESTART_DASHBOARD: "RESTART_DASHBOARD";
|
|
4536
|
+
readonly RESTART_SEARCH_PROCESS: "RESTART_SEARCH_PROCESS";
|
|
4537
|
+
};
|
|
4538
|
+
/**
|
|
4539
|
+
* @public
|
|
4540
|
+
*/
|
|
4541
|
+
export type MaintenanceType = (typeof MaintenanceType)[keyof typeof MaintenanceType];
|
|
4542
|
+
/**
|
|
4543
|
+
* @public
|
|
4544
|
+
* @enum
|
|
4545
|
+
*/
|
|
4546
|
+
export declare const MaintenanceStatus: {
|
|
4547
|
+
readonly COMPLETED: "COMPLETED";
|
|
4548
|
+
readonly FAILED: "FAILED";
|
|
4549
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
4550
|
+
readonly PENDING: "PENDING";
|
|
4551
|
+
readonly TIMED_OUT: "TIMED_OUT";
|
|
4552
|
+
};
|
|
4553
|
+
/**
|
|
4554
|
+
* @public
|
|
4555
|
+
*/
|
|
4556
|
+
export type MaintenanceStatus = (typeof MaintenanceStatus)[keyof typeof MaintenanceStatus];
|
|
4557
|
+
/**
|
|
4558
|
+
* @public
|
|
4559
|
+
* <p>The result of a <code>GetDomainMaintenanceStatus</code> request. Contains information about the requested action. </p>
|
|
4560
|
+
*/
|
|
4561
|
+
export interface GetDomainMaintenanceStatusResponse {
|
|
4562
|
+
/**
|
|
4563
|
+
* @public
|
|
4564
|
+
* <p>Contains status of the maintenance action.</p>
|
|
4565
|
+
*/
|
|
4566
|
+
Status?: MaintenanceStatus;
|
|
4567
|
+
/**
|
|
4568
|
+
* @public
|
|
4569
|
+
* <p>Contains status message of the maintenance action.</p>
|
|
4570
|
+
*/
|
|
4571
|
+
StatusMessage?: string;
|
|
4572
|
+
/**
|
|
4573
|
+
* @public
|
|
4574
|
+
* <p>Contains node id of maintenance action.</p>
|
|
4575
|
+
*/
|
|
4576
|
+
NodeId?: string;
|
|
4577
|
+
/**
|
|
4578
|
+
* @public
|
|
4579
|
+
* <p>Contains action name.</p>
|
|
4580
|
+
*/
|
|
4581
|
+
Action?: MaintenanceType;
|
|
4582
|
+
/**
|
|
4583
|
+
* @public
|
|
4584
|
+
* <p>Contains time at which action created.</p>
|
|
4585
|
+
*/
|
|
4586
|
+
CreatedAt?: Date;
|
|
4587
|
+
/**
|
|
4588
|
+
* @public
|
|
4589
|
+
* <p>Contains time at which action updated.</p>
|
|
4590
|
+
*/
|
|
4591
|
+
UpdatedAt?: Date;
|
|
4592
|
+
}
|
|
4512
4593
|
/**
|
|
4513
4594
|
* @public
|
|
4514
4595
|
* <p>Container for the request parameters to the <code>GetPackageVersionHistory</code> operation.</p>
|
|
@@ -4778,6 +4859,105 @@ export interface GetUpgradeStatusResponse {
|
|
|
4778
4859
|
*/
|
|
4779
4860
|
UpgradeName?: string;
|
|
4780
4861
|
}
|
|
4862
|
+
/**
|
|
4863
|
+
* @public
|
|
4864
|
+
* <p>Container for the parameters to the <code>ListDomainMaintenances</code>
|
|
4865
|
+
* operation.</p>
|
|
4866
|
+
*/
|
|
4867
|
+
export interface ListDomainMaintenancesRequest {
|
|
4868
|
+
/**
|
|
4869
|
+
* @public
|
|
4870
|
+
* <p>The name of the domain.</p>
|
|
4871
|
+
*/
|
|
4872
|
+
DomainName: string | undefined;
|
|
4873
|
+
/**
|
|
4874
|
+
* @public
|
|
4875
|
+
* <p>The name of the action.</p>
|
|
4876
|
+
*/
|
|
4877
|
+
Action?: MaintenanceType;
|
|
4878
|
+
/**
|
|
4879
|
+
* @public
|
|
4880
|
+
* <p>The status of the action.</p>
|
|
4881
|
+
*/
|
|
4882
|
+
Status?: MaintenanceStatus;
|
|
4883
|
+
/**
|
|
4884
|
+
* @public
|
|
4885
|
+
* <p>An optional parameter that specifies the maximum number of results to return. You can use
|
|
4886
|
+
* <code>nextToken</code> to get the next page of results.</p>
|
|
4887
|
+
*/
|
|
4888
|
+
MaxResults?: number;
|
|
4889
|
+
/**
|
|
4890
|
+
* @public
|
|
4891
|
+
* <p>If your initial <code>ListDomainMaintenances</code> operation returns a
|
|
4892
|
+
* <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent
|
|
4893
|
+
* <code>ListDomainMaintenances</code> operations, which returns results in the next page.</p>
|
|
4894
|
+
*/
|
|
4895
|
+
NextToken?: string;
|
|
4896
|
+
}
|
|
4897
|
+
/**
|
|
4898
|
+
* @public
|
|
4899
|
+
* <p>Container for the domain maintenance details.</p>
|
|
4900
|
+
*/
|
|
4901
|
+
export interface DomainMaintenanceDetails {
|
|
4902
|
+
/**
|
|
4903
|
+
* @public
|
|
4904
|
+
* <p>Id of the requested action.</p>
|
|
4905
|
+
*/
|
|
4906
|
+
MaintenanceId?: string;
|
|
4907
|
+
/**
|
|
4908
|
+
* @public
|
|
4909
|
+
* <p>The name of the domain.</p>
|
|
4910
|
+
*/
|
|
4911
|
+
DomainName?: string;
|
|
4912
|
+
/**
|
|
4913
|
+
* @public
|
|
4914
|
+
* <p>The name of the action.</p>
|
|
4915
|
+
*/
|
|
4916
|
+
Action?: MaintenanceType;
|
|
4917
|
+
/**
|
|
4918
|
+
* @public
|
|
4919
|
+
* <p>Id of the data node.</p>
|
|
4920
|
+
*/
|
|
4921
|
+
NodeId?: string;
|
|
4922
|
+
/**
|
|
4923
|
+
* @public
|
|
4924
|
+
* <p>The status of the action.</p>
|
|
4925
|
+
*/
|
|
4926
|
+
Status?: MaintenanceStatus;
|
|
4927
|
+
/**
|
|
4928
|
+
* @public
|
|
4929
|
+
* <p>The status message of the action.</p>
|
|
4930
|
+
*/
|
|
4931
|
+
StatusMessage?: string;
|
|
4932
|
+
/**
|
|
4933
|
+
* @public
|
|
4934
|
+
* <p>Contains time at which action created.</p>
|
|
4935
|
+
*/
|
|
4936
|
+
CreatedAt?: Date;
|
|
4937
|
+
/**
|
|
4938
|
+
* @public
|
|
4939
|
+
* <p>Contains time at which action updated.</p>
|
|
4940
|
+
*/
|
|
4941
|
+
UpdatedAt?: Date;
|
|
4942
|
+
}
|
|
4943
|
+
/**
|
|
4944
|
+
* @public
|
|
4945
|
+
* <p>The result of a <code>ListDomainMaintenances</code> request. Contains information about the requested actions. </p>
|
|
4946
|
+
*/
|
|
4947
|
+
export interface ListDomainMaintenancesResponse {
|
|
4948
|
+
/**
|
|
4949
|
+
* @public
|
|
4950
|
+
* <p>List of the submitted maintenance actions.</p>
|
|
4951
|
+
*/
|
|
4952
|
+
DomainMaintenances?: DomainMaintenanceDetails[];
|
|
4953
|
+
/**
|
|
4954
|
+
* @public
|
|
4955
|
+
* <p>When <code>nextToken</code> is returned, there are more results available. The value of
|
|
4956
|
+
* <code>nextToken</code> is a unique pagination token for each page. Make the call again using the
|
|
4957
|
+
* returned token to retrieve the next page.</p>
|
|
4958
|
+
*/
|
|
4959
|
+
NextToken?: string;
|
|
4960
|
+
}
|
|
4781
4961
|
/**
|
|
4782
4962
|
* @public
|
|
4783
4963
|
* @enum
|
|
@@ -5383,6 +5563,39 @@ export interface RevokeVpcEndpointAccessRequest {
|
|
|
5383
5563
|
*/
|
|
5384
5564
|
export interface RevokeVpcEndpointAccessResponse {
|
|
5385
5565
|
}
|
|
5566
|
+
/**
|
|
5567
|
+
* @public
|
|
5568
|
+
* <p>Container for the parameters to the <code>StartDomainMaintenance</code>
|
|
5569
|
+
* operation.</p>
|
|
5570
|
+
*/
|
|
5571
|
+
export interface StartDomainMaintenanceRequest {
|
|
5572
|
+
/**
|
|
5573
|
+
* @public
|
|
5574
|
+
* <p>The name of the domain.</p>
|
|
5575
|
+
*/
|
|
5576
|
+
DomainName: string | undefined;
|
|
5577
|
+
/**
|
|
5578
|
+
* @public
|
|
5579
|
+
* <p>The name of the action.</p>
|
|
5580
|
+
*/
|
|
5581
|
+
Action: MaintenanceType | undefined;
|
|
5582
|
+
/**
|
|
5583
|
+
* @public
|
|
5584
|
+
* <p>Id of the data node.</p>
|
|
5585
|
+
*/
|
|
5586
|
+
NodeId?: string;
|
|
5587
|
+
}
|
|
5588
|
+
/**
|
|
5589
|
+
* @public
|
|
5590
|
+
* <p>The result of a <code>StartDomainMaintenance</code> request. Contains information about the requested action. </p>
|
|
5591
|
+
*/
|
|
5592
|
+
export interface StartDomainMaintenanceResponse {
|
|
5593
|
+
/**
|
|
5594
|
+
* @public
|
|
5595
|
+
* <p>Contains request id of requested action.</p>
|
|
5596
|
+
*/
|
|
5597
|
+
MaintenanceId?: string;
|
|
5598
|
+
}
|
|
5386
5599
|
/**
|
|
5387
5600
|
* @public
|
|
5388
5601
|
* @enum
|
|
@@ -5541,7 +5754,7 @@ export interface UpdateDomainConfigRequest {
|
|
|
5541
5754
|
* @public
|
|
5542
5755
|
* <p>Options to publish OpenSearch logs to Amazon CloudWatch Logs.</p>
|
|
5543
5756
|
*/
|
|
5544
|
-
LogPublishingOptions?: Record<LogType, LogPublishingOption
|
|
5757
|
+
LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>>;
|
|
5545
5758
|
/**
|
|
5546
5759
|
* @public
|
|
5547
5760
|
* <p>Encryption at rest options for the domain.</p>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "../commands/ListDomainMaintenancesCommand";
|
|
3
|
+
import { OpenSearchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListDomainMaintenances(config: OpenSearchPaginationConfiguration, input: ListDomainMaintenancesCommandInput, ...additionalArguments: any): Paginator<ListDomainMaintenancesCommandOutput>;
|
|
@@ -7,6 +7,7 @@ export * from "./DescribeReservedInstancesPaginator";
|
|
|
7
7
|
export * from "./GetPackageVersionHistoryPaginator";
|
|
8
8
|
export * from "./GetUpgradeHistoryPaginator";
|
|
9
9
|
export * from "./Interfaces";
|
|
10
|
+
export * from "./ListDomainMaintenancesPaginator";
|
|
10
11
|
export * from "./ListDomainsForPackagePaginator";
|
|
11
12
|
export * from "./ListInstanceTypeDetailsPaginator";
|
|
12
13
|
export * from "./ListPackagesForDomainPaginator";
|
|
@@ -31,9 +31,11 @@ import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommand
|
|
|
31
31
|
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "../commands/DescribeVpcEndpointsCommand";
|
|
32
32
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "../commands/DissociatePackageCommand";
|
|
33
33
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "../commands/GetCompatibleVersionsCommand";
|
|
34
|
+
import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "../commands/GetDomainMaintenanceStatusCommand";
|
|
34
35
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "../commands/GetPackageVersionHistoryCommand";
|
|
35
36
|
import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "../commands/GetUpgradeHistoryCommand";
|
|
36
37
|
import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "../commands/GetUpgradeStatusCommand";
|
|
38
|
+
import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "../commands/ListDomainMaintenancesCommand";
|
|
37
39
|
import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "../commands/ListDomainNamesCommand";
|
|
38
40
|
import { ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput } from "../commands/ListDomainsForPackageCommand";
|
|
39
41
|
import { ListInstanceTypeDetailsCommandInput, ListInstanceTypeDetailsCommandOutput } from "../commands/ListInstanceTypeDetailsCommand";
|
|
@@ -48,6 +50,7 @@ import { PurchaseReservedInstanceOfferingCommandInput, PurchaseReservedInstanceO
|
|
|
48
50
|
import { RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput } from "../commands/RejectInboundConnectionCommand";
|
|
49
51
|
import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "../commands/RemoveTagsCommand";
|
|
50
52
|
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "../commands/RevokeVpcEndpointAccessCommand";
|
|
53
|
+
import { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput } from "../commands/StartDomainMaintenanceCommand";
|
|
51
54
|
import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "../commands/StartServiceSoftwareUpdateCommand";
|
|
52
55
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "../commands/UpdateDomainConfigCommand";
|
|
53
56
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "../commands/UpdatePackageCommand";
|
|
@@ -178,6 +181,10 @@ export declare const se_DissociatePackageCommand: (input: DissociatePackageComma
|
|
|
178
181
|
* serializeAws_restJson1GetCompatibleVersionsCommand
|
|
179
182
|
*/
|
|
180
183
|
export declare const se_GetCompatibleVersionsCommand: (input: GetCompatibleVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
184
|
+
/**
|
|
185
|
+
* serializeAws_restJson1GetDomainMaintenanceStatusCommand
|
|
186
|
+
*/
|
|
187
|
+
export declare const se_GetDomainMaintenanceStatusCommand: (input: GetDomainMaintenanceStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
181
188
|
/**
|
|
182
189
|
* serializeAws_restJson1GetPackageVersionHistoryCommand
|
|
183
190
|
*/
|
|
@@ -190,6 +197,10 @@ export declare const se_GetUpgradeHistoryCommand: (input: GetUpgradeHistoryComma
|
|
|
190
197
|
* serializeAws_restJson1GetUpgradeStatusCommand
|
|
191
198
|
*/
|
|
192
199
|
export declare const se_GetUpgradeStatusCommand: (input: GetUpgradeStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
200
|
+
/**
|
|
201
|
+
* serializeAws_restJson1ListDomainMaintenancesCommand
|
|
202
|
+
*/
|
|
203
|
+
export declare const se_ListDomainMaintenancesCommand: (input: ListDomainMaintenancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
193
204
|
/**
|
|
194
205
|
* serializeAws_restJson1ListDomainNamesCommand
|
|
195
206
|
*/
|
|
@@ -246,6 +257,10 @@ export declare const se_RemoveTagsCommand: (input: RemoveTagsCommandInput, conte
|
|
|
246
257
|
* serializeAws_restJson1RevokeVpcEndpointAccessCommand
|
|
247
258
|
*/
|
|
248
259
|
export declare const se_RevokeVpcEndpointAccessCommand: (input: RevokeVpcEndpointAccessCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
260
|
+
/**
|
|
261
|
+
* serializeAws_restJson1StartDomainMaintenanceCommand
|
|
262
|
+
*/
|
|
263
|
+
export declare const se_StartDomainMaintenanceCommand: (input: StartDomainMaintenanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
249
264
|
/**
|
|
250
265
|
* serializeAws_restJson1StartServiceSoftwareUpdateCommand
|
|
251
266
|
*/
|
|
@@ -394,6 +409,10 @@ export declare const de_DissociatePackageCommand: (output: __HttpResponse, conte
|
|
|
394
409
|
* deserializeAws_restJson1GetCompatibleVersionsCommand
|
|
395
410
|
*/
|
|
396
411
|
export declare const de_GetCompatibleVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCompatibleVersionsCommandOutput>;
|
|
412
|
+
/**
|
|
413
|
+
* deserializeAws_restJson1GetDomainMaintenanceStatusCommand
|
|
414
|
+
*/
|
|
415
|
+
export declare const de_GetDomainMaintenanceStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDomainMaintenanceStatusCommandOutput>;
|
|
397
416
|
/**
|
|
398
417
|
* deserializeAws_restJson1GetPackageVersionHistoryCommand
|
|
399
418
|
*/
|
|
@@ -406,6 +425,10 @@ export declare const de_GetUpgradeHistoryCommand: (output: __HttpResponse, conte
|
|
|
406
425
|
* deserializeAws_restJson1GetUpgradeStatusCommand
|
|
407
426
|
*/
|
|
408
427
|
export declare const de_GetUpgradeStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUpgradeStatusCommandOutput>;
|
|
428
|
+
/**
|
|
429
|
+
* deserializeAws_restJson1ListDomainMaintenancesCommand
|
|
430
|
+
*/
|
|
431
|
+
export declare const de_ListDomainMaintenancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDomainMaintenancesCommandOutput>;
|
|
409
432
|
/**
|
|
410
433
|
* deserializeAws_restJson1ListDomainNamesCommand
|
|
411
434
|
*/
|
|
@@ -462,6 +485,10 @@ export declare const de_RemoveTagsCommand: (output: __HttpResponse, context: __S
|
|
|
462
485
|
* deserializeAws_restJson1RevokeVpcEndpointAccessCommand
|
|
463
486
|
*/
|
|
464
487
|
export declare const de_RevokeVpcEndpointAccessCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RevokeVpcEndpointAccessCommandOutput>;
|
|
488
|
+
/**
|
|
489
|
+
* deserializeAws_restJson1StartDomainMaintenanceCommand
|
|
490
|
+
*/
|
|
491
|
+
export declare const de_StartDomainMaintenanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartDomainMaintenanceCommandOutput>;
|
|
465
492
|
/**
|
|
466
493
|
* deserializeAws_restJson1StartServiceSoftwareUpdateCommand
|
|
467
494
|
*/
|
|
@@ -123,6 +123,10 @@ import {
|
|
|
123
123
|
GetCompatibleVersionsCommandInput,
|
|
124
124
|
GetCompatibleVersionsCommandOutput,
|
|
125
125
|
} from "./commands/GetCompatibleVersionsCommand";
|
|
126
|
+
import {
|
|
127
|
+
GetDomainMaintenanceStatusCommandInput,
|
|
128
|
+
GetDomainMaintenanceStatusCommandOutput,
|
|
129
|
+
} from "./commands/GetDomainMaintenanceStatusCommand";
|
|
126
130
|
import {
|
|
127
131
|
GetPackageVersionHistoryCommandInput,
|
|
128
132
|
GetPackageVersionHistoryCommandOutput,
|
|
@@ -135,6 +139,10 @@ import {
|
|
|
135
139
|
GetUpgradeStatusCommandInput,
|
|
136
140
|
GetUpgradeStatusCommandOutput,
|
|
137
141
|
} from "./commands/GetUpgradeStatusCommand";
|
|
142
|
+
import {
|
|
143
|
+
ListDomainMaintenancesCommandInput,
|
|
144
|
+
ListDomainMaintenancesCommandOutput,
|
|
145
|
+
} from "./commands/ListDomainMaintenancesCommand";
|
|
138
146
|
import {
|
|
139
147
|
ListDomainNamesCommandInput,
|
|
140
148
|
ListDomainNamesCommandOutput,
|
|
@@ -191,6 +199,10 @@ import {
|
|
|
191
199
|
RevokeVpcEndpointAccessCommandInput,
|
|
192
200
|
RevokeVpcEndpointAccessCommandOutput,
|
|
193
201
|
} from "./commands/RevokeVpcEndpointAccessCommand";
|
|
202
|
+
import {
|
|
203
|
+
StartDomainMaintenanceCommandInput,
|
|
204
|
+
StartDomainMaintenanceCommandOutput,
|
|
205
|
+
} from "./commands/StartDomainMaintenanceCommand";
|
|
194
206
|
import {
|
|
195
207
|
StartServiceSoftwareUpdateCommandInput,
|
|
196
208
|
StartServiceSoftwareUpdateCommandOutput,
|
|
@@ -626,6 +638,19 @@ export interface OpenSearch {
|
|
|
626
638
|
options: __HttpHandlerOptions,
|
|
627
639
|
cb: (err: any, data?: GetCompatibleVersionsCommandOutput) => void
|
|
628
640
|
): void;
|
|
641
|
+
getDomainMaintenanceStatus(
|
|
642
|
+
args: GetDomainMaintenanceStatusCommandInput,
|
|
643
|
+
options?: __HttpHandlerOptions
|
|
644
|
+
): Promise<GetDomainMaintenanceStatusCommandOutput>;
|
|
645
|
+
getDomainMaintenanceStatus(
|
|
646
|
+
args: GetDomainMaintenanceStatusCommandInput,
|
|
647
|
+
cb: (err: any, data?: GetDomainMaintenanceStatusCommandOutput) => void
|
|
648
|
+
): void;
|
|
649
|
+
getDomainMaintenanceStatus(
|
|
650
|
+
args: GetDomainMaintenanceStatusCommandInput,
|
|
651
|
+
options: __HttpHandlerOptions,
|
|
652
|
+
cb: (err: any, data?: GetDomainMaintenanceStatusCommandOutput) => void
|
|
653
|
+
): void;
|
|
629
654
|
getPackageVersionHistory(
|
|
630
655
|
args: GetPackageVersionHistoryCommandInput,
|
|
631
656
|
options?: __HttpHandlerOptions
|
|
@@ -665,6 +690,19 @@ export interface OpenSearch {
|
|
|
665
690
|
options: __HttpHandlerOptions,
|
|
666
691
|
cb: (err: any, data?: GetUpgradeStatusCommandOutput) => void
|
|
667
692
|
): void;
|
|
693
|
+
listDomainMaintenances(
|
|
694
|
+
args: ListDomainMaintenancesCommandInput,
|
|
695
|
+
options?: __HttpHandlerOptions
|
|
696
|
+
): Promise<ListDomainMaintenancesCommandOutput>;
|
|
697
|
+
listDomainMaintenances(
|
|
698
|
+
args: ListDomainMaintenancesCommandInput,
|
|
699
|
+
cb: (err: any, data?: ListDomainMaintenancesCommandOutput) => void
|
|
700
|
+
): void;
|
|
701
|
+
listDomainMaintenances(
|
|
702
|
+
args: ListDomainMaintenancesCommandInput,
|
|
703
|
+
options: __HttpHandlerOptions,
|
|
704
|
+
cb: (err: any, data?: ListDomainMaintenancesCommandOutput) => void
|
|
705
|
+
): void;
|
|
668
706
|
listDomainNames(
|
|
669
707
|
args: ListDomainNamesCommandInput,
|
|
670
708
|
options?: __HttpHandlerOptions
|
|
@@ -847,6 +885,19 @@ export interface OpenSearch {
|
|
|
847
885
|
options: __HttpHandlerOptions,
|
|
848
886
|
cb: (err: any, data?: RevokeVpcEndpointAccessCommandOutput) => void
|
|
849
887
|
): void;
|
|
888
|
+
startDomainMaintenance(
|
|
889
|
+
args: StartDomainMaintenanceCommandInput,
|
|
890
|
+
options?: __HttpHandlerOptions
|
|
891
|
+
): Promise<StartDomainMaintenanceCommandOutput>;
|
|
892
|
+
startDomainMaintenance(
|
|
893
|
+
args: StartDomainMaintenanceCommandInput,
|
|
894
|
+
cb: (err: any, data?: StartDomainMaintenanceCommandOutput) => void
|
|
895
|
+
): void;
|
|
896
|
+
startDomainMaintenance(
|
|
897
|
+
args: StartDomainMaintenanceCommandInput,
|
|
898
|
+
options: __HttpHandlerOptions,
|
|
899
|
+
cb: (err: any, data?: StartDomainMaintenanceCommandOutput) => void
|
|
900
|
+
): void;
|
|
850
901
|
startServiceSoftwareUpdate(
|
|
851
902
|
args: StartServiceSoftwareUpdateCommandInput,
|
|
852
903
|
options?: __HttpHandlerOptions
|
|
@@ -169,6 +169,10 @@ import {
|
|
|
169
169
|
GetCompatibleVersionsCommandInput,
|
|
170
170
|
GetCompatibleVersionsCommandOutput,
|
|
171
171
|
} from "./commands/GetCompatibleVersionsCommand";
|
|
172
|
+
import {
|
|
173
|
+
GetDomainMaintenanceStatusCommandInput,
|
|
174
|
+
GetDomainMaintenanceStatusCommandOutput,
|
|
175
|
+
} from "./commands/GetDomainMaintenanceStatusCommand";
|
|
172
176
|
import {
|
|
173
177
|
GetPackageVersionHistoryCommandInput,
|
|
174
178
|
GetPackageVersionHistoryCommandOutput,
|
|
@@ -181,6 +185,10 @@ import {
|
|
|
181
185
|
GetUpgradeStatusCommandInput,
|
|
182
186
|
GetUpgradeStatusCommandOutput,
|
|
183
187
|
} from "./commands/GetUpgradeStatusCommand";
|
|
188
|
+
import {
|
|
189
|
+
ListDomainMaintenancesCommandInput,
|
|
190
|
+
ListDomainMaintenancesCommandOutput,
|
|
191
|
+
} from "./commands/ListDomainMaintenancesCommand";
|
|
184
192
|
import {
|
|
185
193
|
ListDomainNamesCommandInput,
|
|
186
194
|
ListDomainNamesCommandOutput,
|
|
@@ -237,6 +245,10 @@ import {
|
|
|
237
245
|
RevokeVpcEndpointAccessCommandInput,
|
|
238
246
|
RevokeVpcEndpointAccessCommandOutput,
|
|
239
247
|
} from "./commands/RevokeVpcEndpointAccessCommand";
|
|
248
|
+
import {
|
|
249
|
+
StartDomainMaintenanceCommandInput,
|
|
250
|
+
StartDomainMaintenanceCommandOutput,
|
|
251
|
+
} from "./commands/StartDomainMaintenanceCommand";
|
|
240
252
|
import {
|
|
241
253
|
StartServiceSoftwareUpdateCommandInput,
|
|
242
254
|
StartServiceSoftwareUpdateCommandOutput,
|
|
@@ -300,9 +312,11 @@ export type ServiceInputTypes =
|
|
|
300
312
|
| DescribeVpcEndpointsCommandInput
|
|
301
313
|
| DissociatePackageCommandInput
|
|
302
314
|
| GetCompatibleVersionsCommandInput
|
|
315
|
+
| GetDomainMaintenanceStatusCommandInput
|
|
303
316
|
| GetPackageVersionHistoryCommandInput
|
|
304
317
|
| GetUpgradeHistoryCommandInput
|
|
305
318
|
| GetUpgradeStatusCommandInput
|
|
319
|
+
| ListDomainMaintenancesCommandInput
|
|
306
320
|
| ListDomainNamesCommandInput
|
|
307
321
|
| ListDomainsForPackageCommandInput
|
|
308
322
|
| ListInstanceTypeDetailsCommandInput
|
|
@@ -317,6 +331,7 @@ export type ServiceInputTypes =
|
|
|
317
331
|
| RejectInboundConnectionCommandInput
|
|
318
332
|
| RemoveTagsCommandInput
|
|
319
333
|
| RevokeVpcEndpointAccessCommandInput
|
|
334
|
+
| StartDomainMaintenanceCommandInput
|
|
320
335
|
| StartServiceSoftwareUpdateCommandInput
|
|
321
336
|
| UpdateDomainConfigCommandInput
|
|
322
337
|
| UpdatePackageCommandInput
|
|
@@ -355,9 +370,11 @@ export type ServiceOutputTypes =
|
|
|
355
370
|
| DescribeVpcEndpointsCommandOutput
|
|
356
371
|
| DissociatePackageCommandOutput
|
|
357
372
|
| GetCompatibleVersionsCommandOutput
|
|
373
|
+
| GetDomainMaintenanceStatusCommandOutput
|
|
358
374
|
| GetPackageVersionHistoryCommandOutput
|
|
359
375
|
| GetUpgradeHistoryCommandOutput
|
|
360
376
|
| GetUpgradeStatusCommandOutput
|
|
377
|
+
| ListDomainMaintenancesCommandOutput
|
|
361
378
|
| ListDomainNamesCommandOutput
|
|
362
379
|
| ListDomainsForPackageCommandOutput
|
|
363
380
|
| ListInstanceTypeDetailsCommandOutput
|
|
@@ -372,6 +389,7 @@ export type ServiceOutputTypes =
|
|
|
372
389
|
| RejectInboundConnectionCommandOutput
|
|
373
390
|
| RemoveTagsCommandOutput
|
|
374
391
|
| RevokeVpcEndpointAccessCommandOutput
|
|
392
|
+
| StartDomainMaintenanceCommandOutput
|
|
375
393
|
| StartServiceSoftwareUpdateCommandOutput
|
|
376
394
|
| UpdateDomainConfigCommandOutput
|
|
377
395
|
| UpdatePackageCommandOutput
|