@aws-sdk/client-opensearch 3.682.0 → 3.686.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 +47 -7
- package/dist-cjs/index.js +344 -29
- package/dist-es/OpenSearch.js +10 -0
- package/dist-es/commands/CreateApplicationCommand.js +22 -0
- package/dist-es/commands/DeleteApplicationCommand.js +22 -0
- package/dist-es/commands/GetApplicationCommand.js +22 -0
- package/dist-es/commands/ListApplicationsCommand.js +22 -0
- package/dist-es/commands/UpdateApplicationCommand.js +22 -0
- package/dist-es/commands/UpdateDomainConfigCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +23 -28
- package/dist-es/models/models_1.js +30 -1
- package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +191 -3
- package/dist-types/OpenSearch.d.ts +36 -0
- package/dist-types/OpenSearchClient.d.ts +7 -2
- package/dist-types/commands/AuthorizeVpcEndpointAccessCommand.d.ts +2 -1
- package/dist-types/commands/CreateApplicationCommand.d.ts +140 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +14 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +90 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +8 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +8 -0
- package/dist-types/commands/DescribeDomainConfigCommand.d.ts +11 -0
- package/dist-types/commands/DescribeDomainsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeDryRunProgressCommand.d.ts +8 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +113 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +104 -0
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +2 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +3 -2
- package/dist-types/commands/StartDomainMaintenanceCommand.d.ts +1 -1
- package/dist-types/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +126 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainConfigCommand.d.ts +18 -1
- package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +538 -565
- package/dist-types/models/models_1.d.ts +603 -1
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +86 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDomainMaintenanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateVpcEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +129 -114
- package/dist-types/ts3.4/models/models_1.d.ts +169 -1
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.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 +60 -0
- package/package.json +38 -36
|
@@ -1,4 +1,602 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ActionType, AdvancedSecurityOptionsInput, AIMLOptionsInput, AppConfig, AutoTuneOptions, AWSServicePrincipal, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceStatus, DataSourceType, DomainConfig, DomainEndpointOptions, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IdentityCenterOptionsInput, InboundConnection, IPAddressType, LogPublishingOption, LogType, MaintenanceType, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageDetails, PackageSource, ScheduledAction, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, VpcEndpoint, VPCOptions } from "./models_0";
|
|
3
|
+
import { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Represents the output of a <code>RejectInboundConnection</code> operation.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface RejectInboundConnectionResponse {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Contains details about the rejected inbound connection.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
Connection?: InboundConnection;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>Container for the request parameters to the <code>RemoveTags</code> operation.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export interface RemoveTagsRequest {
|
|
20
|
+
/**
|
|
21
|
+
* <p>The Amazon Resource Name (ARN) of the domain from which you want to delete the specified
|
|
22
|
+
* tags.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
ARN: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The list of tag keys to remove from the domain.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
TagKeys: string[] | undefined;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface RevokeVpcEndpointAccessRequest {
|
|
36
|
+
/**
|
|
37
|
+
* <p>The name of the OpenSearch Service domain.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
DomainName: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The account ID to revoke access from.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
Account?: string;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The service SP to revoke access from.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
Service?: AWSServicePrincipal;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export interface RevokeVpcEndpointAccessResponse {
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* <p>Container for the parameters to the <code>StartDomainMaintenance</code>
|
|
59
|
+
* operation.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export interface StartDomainMaintenanceRequest {
|
|
63
|
+
/**
|
|
64
|
+
* <p>The name of the domain.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
DomainName: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The name of the action.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
Action: MaintenanceType | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The ID of the data node.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
NodeId?: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* <p>The result of a <code>StartDomainMaintenance</code> request that information about the requested action. </p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export interface StartDomainMaintenanceResponse {
|
|
84
|
+
/**
|
|
85
|
+
* <p>The request ID of requested action.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
MaintenanceId?: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
* @enum
|
|
93
|
+
*/
|
|
94
|
+
export declare const ScheduleAt: {
|
|
95
|
+
readonly NOW: "NOW";
|
|
96
|
+
readonly OFF_PEAK_WINDOW: "OFF_PEAK_WINDOW";
|
|
97
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export type ScheduleAt = (typeof ScheduleAt)[keyof typeof ScheduleAt];
|
|
103
|
+
/**
|
|
104
|
+
* <p>Container for the request parameters to the <code>StartServiceSoftwareUpdate</code>
|
|
105
|
+
* operation.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export interface StartServiceSoftwareUpdateRequest {
|
|
109
|
+
/**
|
|
110
|
+
* <p>The name of the domain that you want to update to the latest service software.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
DomainName: string | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>When to start the service software update.</p>
|
|
116
|
+
* <ul>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>
|
|
119
|
+
* <code>NOW</code> - Immediately schedules the update to happen in the current hour if
|
|
120
|
+
* there's capacity available.</p>
|
|
121
|
+
* </li>
|
|
122
|
+
* <li>
|
|
123
|
+
* <p>
|
|
124
|
+
* <code>TIMESTAMP</code> - Lets you specify a custom date and time to apply the update. If
|
|
125
|
+
* you specify this value, you must also provide a value for <code>DesiredStartTime</code>.</p>
|
|
126
|
+
* </li>
|
|
127
|
+
* <li>
|
|
128
|
+
* <p>
|
|
129
|
+
* <code>OFF_PEAK_WINDOW</code> - Marks the update to be picked up during an upcoming
|
|
130
|
+
* off-peak window. There's no guarantee that the update will happen during the next immediate
|
|
131
|
+
* window. Depending on capacity, it might happen in subsequent days.</p>
|
|
132
|
+
* </li>
|
|
133
|
+
* </ul>
|
|
134
|
+
* <p>Default: <code>NOW</code> if you don't specify a value for <code>DesiredStartTime</code>,
|
|
135
|
+
* and <code>TIMESTAMP</code> if you do.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
ScheduleAt?: ScheduleAt;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The Epoch timestamp when you want the service software update to start. You only need to
|
|
141
|
+
* specify this parameter if you set <code>ScheduleAt</code> to <code>TIMESTAMP</code>.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
DesiredStartTime?: number;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* <p>Represents the output of a <code>StartServiceSoftwareUpdate</code> operation. Contains the
|
|
148
|
+
* status of the update.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export interface StartServiceSoftwareUpdateResponse {
|
|
152
|
+
/**
|
|
153
|
+
* <p>The current status of the OpenSearch Service software update.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
ServiceSoftwareOptions?: ServiceSoftwareOptions;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export interface UpdateApplicationRequest {
|
|
162
|
+
/**
|
|
163
|
+
* <p>Unique identifier of the OpenSearch Application to be updated.</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
id: string | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* <p>Data sources to be associated with the OpenSearch Application.</p>
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
dataSources?: DataSource[];
|
|
172
|
+
/**
|
|
173
|
+
* <p>Configurations to be changed for the OpenSearch Application.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
appConfigs?: AppConfig[];
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
export interface UpdateApplicationResponse {
|
|
182
|
+
/**
|
|
183
|
+
* <p>Unique identifier of the updated OpenSearch Application.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
id?: string;
|
|
187
|
+
/**
|
|
188
|
+
* <p>Name of the updated OpenSearch Application.</p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
name?: string;
|
|
192
|
+
/**
|
|
193
|
+
* <p>The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities
|
|
194
|
+
* </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.
|
|
195
|
+
* </p>
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
arn?: string;
|
|
199
|
+
/**
|
|
200
|
+
* <p>Data sources associated with the updated OpenSearch Application.</p>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
dataSources?: DataSource[];
|
|
204
|
+
/**
|
|
205
|
+
* <p>IAM Identity Center settings for the updated OpenSearch Application.</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
iamIdentityCenterOptions?: IamIdentityCenterOptions;
|
|
209
|
+
/**
|
|
210
|
+
* <p>Configurations for the updated OpenSearch Application.</p>
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
appConfigs?: AppConfig[];
|
|
214
|
+
/**
|
|
215
|
+
* <p>Timestamp at which the OpenSearch Application was created.</p>
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
createdAt?: Date;
|
|
219
|
+
/**
|
|
220
|
+
* <p>Timestamp at which the OpenSearch Application was last updated.</p>
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
lastUpdatedAt?: Date;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* <p>Container for the parameters to the <code>UpdateDataSource</code>
|
|
227
|
+
* operation.</p>
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
230
|
+
export interface UpdateDataSourceRequest {
|
|
231
|
+
/**
|
|
232
|
+
* <p>The name of the domain.</p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
DomainName: string | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* <p>The name of the data source to modify.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
Name: string | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* <p>The type of data source.</p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
DataSourceType: DataSourceType | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* <p>A new description of the data source.</p>
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
Description?: string;
|
|
251
|
+
/**
|
|
252
|
+
* <p>The status of the data source update.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
Status?: DataSourceStatus;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* <p>The result of an <code>UpdateDataSource</code> operation.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
export interface UpdateDataSourceResponse {
|
|
262
|
+
/**
|
|
263
|
+
* <p>A message associated with the updated data source.</p>
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
Message?: string;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* @enum
|
|
271
|
+
*/
|
|
272
|
+
export declare const DryRunMode: {
|
|
273
|
+
readonly Basic: "Basic";
|
|
274
|
+
readonly Verbose: "Verbose";
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
export type DryRunMode = (typeof DryRunMode)[keyof typeof DryRunMode];
|
|
280
|
+
/**
|
|
281
|
+
* <p>Container for the request parameters to the <code>UpdateDomain</code> operation.</p>
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export interface UpdateDomainConfigRequest {
|
|
285
|
+
/**
|
|
286
|
+
* <p>The name of the domain that you're updating.</p>
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
DomainName: string | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* <p>Changes that you want to make to the cluster configuration, such as the instance type and
|
|
292
|
+
* number of EC2 instances.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
ClusterConfig?: ClusterConfig;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The type and size of the EBS volume to attach to instances in the domain.</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
EBSOptions?: EBSOptions;
|
|
301
|
+
/**
|
|
302
|
+
* <p>Option to set the time, in UTC format, for the daily automated snapshot. Default value is <code>0</code> hours.
|
|
303
|
+
* </p>
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
SnapshotOptions?: SnapshotOptions;
|
|
307
|
+
/**
|
|
308
|
+
* <p>Options to specify the subnets and security groups for a VPC endpoint. For more information,
|
|
309
|
+
* see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/vpc.html">Launching
|
|
310
|
+
* your Amazon OpenSearch Service domains using a VPC</a>.</p>
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
VPCOptions?: VPCOptions;
|
|
314
|
+
/**
|
|
315
|
+
* <p>Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.</p>
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
CognitoOptions?: CognitoOptions;
|
|
319
|
+
/**
|
|
320
|
+
* <p>Key-value pairs to specify advanced configuration options. The following key-value pairs are
|
|
321
|
+
* supported:</p>
|
|
322
|
+
* <ul>
|
|
323
|
+
* <li>
|
|
324
|
+
* <p>
|
|
325
|
+
* <code>"rest.action.multi.allow_explicit_index": "true" | "false"</code> - Note the use of
|
|
326
|
+
* a string rather than a boolean. Specifies whether explicit references to indexes are allowed
|
|
327
|
+
* inside the body of HTTP requests. If you want to configure access policies for domain
|
|
328
|
+
* sub-resources, such as specific indexes and domain APIs, you must disable this property.
|
|
329
|
+
* Default is true.</p>
|
|
330
|
+
* </li>
|
|
331
|
+
* <li>
|
|
332
|
+
* <p>
|
|
333
|
+
* <code>"indices.fielddata.cache.size": "80" </code> - Note the use of a string rather than
|
|
334
|
+
* a boolean. Specifies the percentage of heap space allocated to field data. Default is
|
|
335
|
+
* unbounded.</p>
|
|
336
|
+
* </li>
|
|
337
|
+
* <li>
|
|
338
|
+
* <p>
|
|
339
|
+
* <code>"indices.query.bool.max_clause_count": "1024"</code> - Note the use of a string
|
|
340
|
+
* rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean
|
|
341
|
+
* query. Default is 1,024. Queries with more than the permitted number of clauses result in a
|
|
342
|
+
* <code>TooManyClauses</code> error.</p>
|
|
343
|
+
* </li>
|
|
344
|
+
* </ul>
|
|
345
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options">Advanced cluster parameters</a>.</p>
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
AdvancedOptions?: Record<string, string>;
|
|
349
|
+
/**
|
|
350
|
+
* <p>Identity and Access Management (IAM) access policy as a JSON-formatted string.</p>
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
AccessPolicies?: string;
|
|
354
|
+
/**
|
|
355
|
+
* <p>Specify either dual stack or IPv4 as your IP address type. Dual stack allows you to share domain resources across
|
|
356
|
+
* IPv4 and IPv6 address types, and is the recommended option.
|
|
357
|
+
* If your IP address type is currently set to dual stack, you can't change it.
|
|
358
|
+
* </p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
IPAddressType?: IPAddressType;
|
|
362
|
+
/**
|
|
363
|
+
* <p>Options to publish OpenSearch logs to Amazon CloudWatch Logs.</p>
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
LogPublishingOptions?: Partial<Record<LogType, LogPublishingOption>>;
|
|
367
|
+
/**
|
|
368
|
+
* <p>Encryption at rest options for the domain.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
EncryptionAtRestOptions?: EncryptionAtRestOptions;
|
|
372
|
+
/**
|
|
373
|
+
* <p>Additional options for the domain endpoint, such as whether to require HTTPS for all
|
|
374
|
+
* traffic.</p>
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
DomainEndpointOptions?: DomainEndpointOptions;
|
|
378
|
+
/**
|
|
379
|
+
* <p>Node-to-node encryption options for the domain.</p>
|
|
380
|
+
* @public
|
|
381
|
+
*/
|
|
382
|
+
NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
|
|
383
|
+
/**
|
|
384
|
+
* <p>Options for fine-grained access control.</p>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
|
|
388
|
+
/**
|
|
389
|
+
* <p>Container for IAM Identity Center Options settings.</p>
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
IdentityCenterOptions?: IdentityCenterOptionsInput;
|
|
393
|
+
/**
|
|
394
|
+
* <p>Options for Auto-Tune.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
AutoTuneOptions?: AutoTuneOptions;
|
|
398
|
+
/**
|
|
399
|
+
* <p>This flag, when set to True, specifies whether the <code>UpdateDomain</code> request should
|
|
400
|
+
* return the results of a dry run analysis without actually applying the change. A dry run
|
|
401
|
+
* determines what type of deployment the update will cause.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
DryRun?: boolean;
|
|
405
|
+
/**
|
|
406
|
+
* <p>The type of dry run to perform.</p>
|
|
407
|
+
* <ul>
|
|
408
|
+
* <li>
|
|
409
|
+
* <p>
|
|
410
|
+
* <code>Basic</code> only returns the type of deployment (blue/green or dynamic) that the update
|
|
411
|
+
* will cause.</p>
|
|
412
|
+
* </li>
|
|
413
|
+
* <li>
|
|
414
|
+
* <p>
|
|
415
|
+
* <code>Verbose</code> runs an additional check to validate the changes you're making. For
|
|
416
|
+
* more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check">Validating a domain update</a>.</p>
|
|
417
|
+
* </li>
|
|
418
|
+
* </ul>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
DryRunMode?: DryRunMode;
|
|
422
|
+
/**
|
|
423
|
+
* <p>Off-peak window options for the domain.</p>
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
OffPeakWindowOptions?: OffPeakWindowOptions;
|
|
427
|
+
/**
|
|
428
|
+
* <p>Service software update options for the domain.</p>
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
SoftwareUpdateOptions?: SoftwareUpdateOptions;
|
|
432
|
+
/**
|
|
433
|
+
* <p>Options for all machine learning features for the specified domain.</p>
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
AIMLOptions?: AIMLOptionsInput;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* <p>The results of an <code>UpdateDomain</code> request. Contains the status of the domain being
|
|
440
|
+
* updated.</p>
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
export interface UpdateDomainConfigResponse {
|
|
444
|
+
/**
|
|
445
|
+
* <p>The status of the updated domain.</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
DomainConfig: DomainConfig | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* <p>Results of the dry run performed in the update domain request.</p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
DryRunResults?: DryRunResults;
|
|
454
|
+
/**
|
|
455
|
+
* <p>The status of the dry run being performed on the domain, if any.</p>
|
|
456
|
+
* @public
|
|
457
|
+
*/
|
|
458
|
+
DryRunProgressStatus?: DryRunProgressStatus;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* <p>Container for request parameters to the <code>UpdatePackage</code> operation.</p>
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
export interface UpdatePackageRequest {
|
|
465
|
+
/**
|
|
466
|
+
* <p>The unique identifier for the package.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
PackageID: string | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* <p>Amazon S3 bucket and key for the package.</p>
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
PackageSource: PackageSource | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* <p>A new description of the package.</p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
PackageDescription?: string;
|
|
480
|
+
/**
|
|
481
|
+
* <p>Commit message for the updated file, which is shown as part of
|
|
482
|
+
* <code>GetPackageVersionHistoryResponse</code>.</p>
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
CommitMessage?: string;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* <p>Container for the response returned by the <code>UpdatePackage</code> operation.</p>
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
export interface UpdatePackageResponse {
|
|
492
|
+
/**
|
|
493
|
+
* <p>Information about a package.</p>
|
|
494
|
+
* @public
|
|
495
|
+
*/
|
|
496
|
+
PackageDetails?: PackageDetails;
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* <p>An exception for attempting to schedule a domain action during an unavailable time slot.</p>
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
export declare class SlotNotAvailableException extends __BaseException {
|
|
503
|
+
readonly name: "SlotNotAvailableException";
|
|
504
|
+
readonly $fault: "client";
|
|
505
|
+
/**
|
|
506
|
+
* <p>Alternate time slots during which OpenSearch Service has available capacity to schedule a domain action.</p>
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
SlotSuggestions?: number[];
|
|
510
|
+
/**
|
|
511
|
+
* @internal
|
|
512
|
+
*/
|
|
513
|
+
constructor(opts: __ExceptionOptionType<SlotNotAvailableException, __BaseException>);
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
export interface UpdateScheduledActionRequest {
|
|
519
|
+
/**
|
|
520
|
+
* <p>The name of the domain to reschedule an action for.</p>
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
DomainName: string | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* <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>
|
|
526
|
+
* @public
|
|
527
|
+
*/
|
|
528
|
+
ActionID: string | undefined;
|
|
529
|
+
/**
|
|
530
|
+
* <p>The type of action to reschedule. Can be one of <code>SERVICE_SOFTWARE_UPDATE</code>,
|
|
531
|
+
* <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>
|
|
532
|
+
* @public
|
|
533
|
+
*/
|
|
534
|
+
ActionType: ActionType | undefined;
|
|
535
|
+
/**
|
|
536
|
+
* <p>When to schedule the action.</p>
|
|
537
|
+
* <ul>
|
|
538
|
+
* <li>
|
|
539
|
+
* <p>
|
|
540
|
+
* <code>NOW</code> - Immediately schedules the update to happen in the current hour if
|
|
541
|
+
* there's capacity available.</p>
|
|
542
|
+
* </li>
|
|
543
|
+
* <li>
|
|
544
|
+
* <p>
|
|
545
|
+
* <code>TIMESTAMP</code> - Lets you specify a custom date and time to apply the update. If
|
|
546
|
+
* you specify this value, you must also provide a value for <code>DesiredStartTime</code>.</p>
|
|
547
|
+
* </li>
|
|
548
|
+
* <li>
|
|
549
|
+
* <p>
|
|
550
|
+
* <code>OFF_PEAK_WINDOW</code> - Marks the action to be picked up during an upcoming
|
|
551
|
+
* off-peak window. There's no guarantee that the change will be implemented during the next
|
|
552
|
+
* immediate window. Depending on capacity, it might happen in subsequent days.</p>
|
|
553
|
+
* </li>
|
|
554
|
+
* </ul>
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
ScheduleAt: ScheduleAt | undefined;
|
|
558
|
+
/**
|
|
559
|
+
* <p>The time to implement the change, in Coordinated Universal Time (UTC). Only specify this
|
|
560
|
+
* parameter if you set <code>ScheduleAt</code> to <code>TIMESTAMP</code>.</p>
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
DesiredStartTime?: number;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* @public
|
|
567
|
+
*/
|
|
568
|
+
export interface UpdateScheduledActionResponse {
|
|
569
|
+
/**
|
|
570
|
+
* <p>Information about the rescheduled action.</p>
|
|
571
|
+
* @public
|
|
572
|
+
*/
|
|
573
|
+
ScheduledAction?: ScheduledAction;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
export interface UpdateVpcEndpointRequest {
|
|
579
|
+
/**
|
|
580
|
+
* <p>The unique identifier of the endpoint.</p>
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
583
|
+
VpcEndpointId: string | undefined;
|
|
584
|
+
/**
|
|
585
|
+
* <p>The security groups and/or subnets to add, remove, or modify.</p>
|
|
586
|
+
* @public
|
|
587
|
+
*/
|
|
588
|
+
VpcOptions: VPCOptions | undefined;
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* @public
|
|
592
|
+
*/
|
|
593
|
+
export interface UpdateVpcEndpointResponse {
|
|
594
|
+
/**
|
|
595
|
+
* <p>The endpoint to be updated.</p>
|
|
596
|
+
* @public
|
|
597
|
+
*/
|
|
598
|
+
VpcEndpoint: VpcEndpoint | undefined;
|
|
599
|
+
}
|
|
2
600
|
/**
|
|
3
601
|
* <p>Container for the request parameters to the <code>UpgradeDomain</code> operation.</p>
|
|
4
602
|
* @public
|
|
@@ -66,3 +664,7 @@ export interface UpgradeDomainResponse {
|
|
|
66
664
|
*/
|
|
67
665
|
ChangeProgressDetails?: ChangeProgressDetails;
|
|
68
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* @internal
|
|
669
|
+
*/
|
|
670
|
+
export declare const UpdateDomainConfigRequestFilterSensitiveLog: (obj: UpdateDomainConfigRequest) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
|
|
3
|
+
import { OpenSearchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListApplications: (config: OpenSearchPaginationConfiguration, input: ListApplicationsCommandInput, ...rest: any[]) => Paginator<ListApplicationsCommandOutput>;
|
|
@@ -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 "./ListApplicationsPaginator";
|
|
10
11
|
export * from "./ListDomainMaintenancesPaginator";
|
|
11
12
|
export * from "./ListDomainsForPackagePaginator";
|
|
12
13
|
export * from "./ListInstanceTypeDetailsPaginator";
|