@aws-sdk/client-opensearch 3.699.0 → 3.709.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +240 -5
  3. package/dist-es/OpenSearch.js +10 -0
  4. package/dist-es/commands/AddDirectQueryDataSourceCommand.js +22 -0
  5. package/dist-es/commands/DeleteDirectQueryDataSourceCommand.js +22 -0
  6. package/dist-es/commands/GetDirectQueryDataSourceCommand.js +22 -0
  7. package/dist-es/commands/ListDirectQueryDataSourcesCommand.js +22 -0
  8. package/dist-es/commands/UpdateDirectQueryDataSourceCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +10 -4
  11. package/dist-es/models/models_1.js +4 -0
  12. package/dist-es/protocols/Aws_restJson1.js +134 -0
  13. package/dist-types/OpenSearch.d.ts +36 -0
  14. package/dist-types/OpenSearchClient.d.ts +7 -2
  15. package/dist-types/commands/AddDirectQueryDataSourceCommand.d.ts +110 -0
  16. package/dist-types/commands/AddTagsCommand.d.ts +4 -4
  17. package/dist-types/commands/DeleteDirectQueryDataSourceCommand.d.ts +87 -0
  18. package/dist-types/commands/GetDirectQueryDataSourceCommand.d.ts +102 -0
  19. package/dist-types/commands/ListDirectQueryDataSourcesCommand.d.ts +113 -0
  20. package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
  22. package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsCommand.d.ts +4 -3
  24. package/dist-types/commands/RemoveTagsCommand.d.ts +2 -2
  25. package/dist-types/commands/UpdateDirectQueryDataSourceCommand.d.ts +101 -0
  26. package/dist-types/commands/index.d.ts +5 -0
  27. package/dist-types/models/models_0.d.ts +307 -298
  28. package/dist-types/models/models_1.d.ts +331 -4
  29. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  30. package/dist-types/ts3.4/OpenSearch.d.ts +86 -0
  31. package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
  32. package/dist-types/ts3.4/commands/AddDirectQueryDataSourceCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/DeleteDirectQueryDataSourceCommand.d.ts +47 -0
  34. package/dist-types/ts3.4/commands/GetDirectQueryDataSourceCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/ListDirectQueryDataSourcesCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdateDirectQueryDataSourceCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +74 -65
  43. package/dist-types/ts3.4/models/models_1.d.ts +77 -1
  44. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  45. package/package.json +35 -35
@@ -1,6 +1,284 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ActionType, AdvancedSecurityOptionsInput, AIMLOptionsInput, AppConfig, AuthorizedPrincipal, AutoTuneOptions, AWSServicePrincipal, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceStatus, DataSourceType, DomainConfig, DomainEndpointOptions, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IdentityCenterOptionsInput, InboundConnection, IPAddressType, LogPublishingOption, LogType, MaintenanceType, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ScheduledAction, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, VpcEndpoint, VpcEndpointSummary, VPCOptions } from "./models_0";
2
+ import { ActionSeverity, ActionStatus, ActionType, AdvancedSecurityOptionsInput, AIMLOptionsInput, AppConfig, AuthorizedPrincipal, AutoTuneOptions, AWSServicePrincipal, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceStatus, DataSourceType, DirectQueryDataSourceType, DomainConfig, DomainEndpointOptions, DomainPackageDetails, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IdentityCenterOptionsInput, InboundConnection, IPAddressType, LogPublishingOption, LogType, MaintenanceType, NodeToNodeEncryptionOptions, OffPeakWindowOptions, OpenSearchPartitionInstanceType, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, Tag, VpcEndpoint, VpcEndpointSummary, VPCOptions } from "./models_0";
3
3
  import { OpenSearchServiceException as __BaseException } from "./OpenSearchServiceException";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface ListInstanceTypeDetailsRequest {
8
+ /**
9
+ * <p>The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y.
10
+ * Defaults to the latest version of OpenSearch.</p>
11
+ * @public
12
+ */
13
+ EngineVersion: string | undefined;
14
+ /**
15
+ * <p>The name of the domain.</p>
16
+ * @public
17
+ */
18
+ DomainName?: string | undefined;
19
+ /**
20
+ * <p>An optional parameter that specifies the maximum number of results to return. You can use
21
+ * <code>nextToken</code> to get the next page of results.</p>
22
+ * @public
23
+ */
24
+ MaxResults?: number | undefined;
25
+ /**
26
+ * <p>If your initial <code>ListInstanceTypeDetails</code> operation returns a
27
+ * <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent
28
+ * <code>ListInstanceTypeDetails</code> operations, which returns results in the next page.</p>
29
+ * @public
30
+ */
31
+ NextToken?: string | undefined;
32
+ /**
33
+ * <p>An optional parameter that specifies the Availability Zones for the domain.</p>
34
+ * @public
35
+ */
36
+ RetrieveAZs?: boolean | undefined;
37
+ /**
38
+ * <p>An optional parameter that lists information for a given instance type.</p>
39
+ * @public
40
+ */
41
+ InstanceType?: string | undefined;
42
+ }
43
+ /**
44
+ * <p>Lists all instance types and available features for a given OpenSearch or Elasticsearch
45
+ * version.</p>
46
+ * @public
47
+ */
48
+ export interface InstanceTypeDetails {
49
+ /**
50
+ * <p>The instance type.</p>
51
+ * @public
52
+ */
53
+ InstanceType?: OpenSearchPartitionInstanceType | undefined;
54
+ /**
55
+ * <p>Whether encryption at rest and node-to-node encryption are supported for the instance
56
+ * type.</p>
57
+ * @public
58
+ */
59
+ EncryptionEnabled?: boolean | undefined;
60
+ /**
61
+ * <p>Whether Amazon Cognito access is supported for the instance type.</p>
62
+ * @public
63
+ */
64
+ CognitoEnabled?: boolean | undefined;
65
+ /**
66
+ * <p>Whether logging is supported for the instance type.</p>
67
+ * @public
68
+ */
69
+ AppLogsEnabled?: boolean | undefined;
70
+ /**
71
+ * <p>Whether fine-grained access control is supported for the instance type.</p>
72
+ * @public
73
+ */
74
+ AdvancedSecurityEnabled?: boolean | undefined;
75
+ /**
76
+ * <p>Whether UltraWarm is supported for the instance type.</p>
77
+ * @public
78
+ */
79
+ WarmEnabled?: boolean | undefined;
80
+ /**
81
+ * <p>Whether the instance acts as a data node, a dedicated master node, or an UltraWarm
82
+ * node.</p>
83
+ * @public
84
+ */
85
+ InstanceRole?: string[] | undefined;
86
+ /**
87
+ * <p>The supported Availability Zones for the instance type.</p>
88
+ * @public
89
+ */
90
+ AvailabilityZones?: string[] | undefined;
91
+ }
92
+ /**
93
+ * @public
94
+ */
95
+ export interface ListInstanceTypeDetailsResponse {
96
+ /**
97
+ * <p>Lists all supported instance types and features for the given OpenSearch or Elasticsearch
98
+ * version.</p>
99
+ * @public
100
+ */
101
+ InstanceTypeDetails?: InstanceTypeDetails[] | undefined;
102
+ /**
103
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of
104
+ * <code>nextToken</code> is a unique pagination token for each page. Send the request again using the
105
+ * returned token to retrieve the next page.</p>
106
+ * @public
107
+ */
108
+ NextToken?: string | undefined;
109
+ }
110
+ /**
111
+ * <p>Container for the request parameters to the <code>ListPackagesForDomain</code> operation.</p>
112
+ * @public
113
+ */
114
+ export interface ListPackagesForDomainRequest {
115
+ /**
116
+ * <p>The name of the domain for which you want to list associated packages.</p>
117
+ * @public
118
+ */
119
+ DomainName: string | undefined;
120
+ /**
121
+ * <p>An optional parameter that specifies the maximum number of results to return. You can use
122
+ * <code>nextToken</code> to get the next page of results.</p>
123
+ * @public
124
+ */
125
+ MaxResults?: number | undefined;
126
+ /**
127
+ * <p>If your initial <code>ListPackagesForDomain</code> operation returns a
128
+ * <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent
129
+ * <code>ListPackagesForDomain</code> operations, which returns results in the next page.</p>
130
+ * @public
131
+ */
132
+ NextToken?: string | undefined;
133
+ }
134
+ /**
135
+ * <p>Container for the response parameters to the <code>ListPackagesForDomain</code> operation.</p>
136
+ * @public
137
+ */
138
+ export interface ListPackagesForDomainResponse {
139
+ /**
140
+ * <p>List of all packages associated with a domain.</p>
141
+ * @public
142
+ */
143
+ DomainPackageDetailsList?: DomainPackageDetails[] | undefined;
144
+ /**
145
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of
146
+ * <code>nextToken</code> is a unique pagination token for each page. Send the request again using the
147
+ * returned token to retrieve the next page.</p>
148
+ * @public
149
+ */
150
+ NextToken?: string | undefined;
151
+ }
152
+ /**
153
+ * @public
154
+ */
155
+ export interface ListScheduledActionsRequest {
156
+ /**
157
+ * <p>The name of the domain.</p>
158
+ * @public
159
+ */
160
+ DomainName: string | undefined;
161
+ /**
162
+ * <p>An optional parameter that specifies the maximum number of results to return. You can use
163
+ * <code>nextToken</code> to get the next page of results.</p>
164
+ * @public
165
+ */
166
+ MaxResults?: number | undefined;
167
+ /**
168
+ * <p>If your initial <code>ListScheduledActions</code> operation returns a <code>nextToken</code>, you
169
+ * can include the returned <code>nextToken</code> in subsequent <code>ListScheduledActions</code>
170
+ * operations, which returns results in the next page.</p>
171
+ * @public
172
+ */
173
+ NextToken?: string | undefined;
174
+ }
175
+ /**
176
+ * @public
177
+ * @enum
178
+ */
179
+ export declare const ScheduledBy: {
180
+ readonly CUSTOMER: "CUSTOMER";
181
+ readonly SYSTEM: "SYSTEM";
182
+ };
183
+ /**
184
+ * @public
185
+ */
186
+ export type ScheduledBy = (typeof ScheduledBy)[keyof typeof ScheduledBy];
187
+ /**
188
+ * <p>Information about a scheduled configuration change for an OpenSearch Service domain. This
189
+ * actions can be a <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html">service software
190
+ * update</a> or a <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/auto-tune.html#auto-tune-types">blue/green
191
+ * Auto-Tune enhancement</a>.</p>
192
+ * @public
193
+ */
194
+ export interface ScheduledAction {
195
+ /**
196
+ * <p>The unique identifier of the scheduled action.</p>
197
+ * @public
198
+ */
199
+ Id: string | undefined;
200
+ /**
201
+ * <p>The type of action that will be taken on the domain.</p>
202
+ * @public
203
+ */
204
+ Type: ActionType | undefined;
205
+ /**
206
+ * <p>The severity of the action.</p>
207
+ * @public
208
+ */
209
+ Severity: ActionSeverity | undefined;
210
+ /**
211
+ * <p>The time when the change is scheduled to happen.</p>
212
+ * @public
213
+ */
214
+ ScheduledTime: number | undefined;
215
+ /**
216
+ * <p>A description of the action to be taken.</p>
217
+ * @public
218
+ */
219
+ Description?: string | undefined;
220
+ /**
221
+ * <p>Whether the action was scheduled manually (<code>CUSTOMER</code>, or by OpenSearch Service automatically (<code>SYSTEM</code>).</p>
222
+ * @public
223
+ */
224
+ ScheduledBy?: ScheduledBy | undefined;
225
+ /**
226
+ * <p>The current status of the scheduled action.</p>
227
+ * @public
228
+ */
229
+ Status?: ActionStatus | undefined;
230
+ /**
231
+ * <p>Whether the action is required or optional.</p>
232
+ * @public
233
+ */
234
+ Mandatory?: boolean | undefined;
235
+ /**
236
+ * <p>Whether or not the scheduled action is cancellable.</p>
237
+ * @public
238
+ */
239
+ Cancellable?: boolean | undefined;
240
+ }
241
+ /**
242
+ * @public
243
+ */
244
+ export interface ListScheduledActionsResponse {
245
+ /**
246
+ * <p>A list of actions that are scheduled for the domain.</p>
247
+ * @public
248
+ */
249
+ ScheduledActions?: ScheduledAction[] | undefined;
250
+ /**
251
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value of
252
+ * <code>nextToken</code> is a unique pagination token for each page. Send the request again using the
253
+ * returned token to retrieve the next page.</p>
254
+ * @public
255
+ */
256
+ NextToken?: string | undefined;
257
+ }
258
+ /**
259
+ * <p>Container for the parameters to the <code>ListTags</code> operation.</p>
260
+ * @public
261
+ */
262
+ export interface ListTagsRequest {
263
+ /**
264
+ * <p>Amazon Resource Name (ARN) for the domain, data source, or application to view tags
265
+ * for.</p>
266
+ * @public
267
+ */
268
+ ARN: string | undefined;
269
+ }
270
+ /**
271
+ * <p>The results of a <code>ListTags</code> operation.</p>
272
+ * @public
273
+ */
274
+ export interface ListTagsResponse {
275
+ /**
276
+ * <p>List of resource tags associated with the specified domain, data source, or
277
+ * application.</p>
278
+ * @public
279
+ */
280
+ TagList?: Tag[] | undefined;
281
+ }
4
282
  /**
5
283
  * <p>Container for the request parameters to the <code>ListVersions</code> operation.</p>
6
284
  * @public
@@ -204,13 +482,13 @@ export interface RejectInboundConnectionResponse {
204
482
  */
205
483
  export interface RemoveTagsRequest {
206
484
  /**
207
- * <p>The Amazon Resource Name (ARN) of the domain from which you want to delete the specified
208
- * tags.</p>
485
+ * <p>The Amazon Resource Name (ARN) of the domain, data source, or application from which you
486
+ * want to delete the specified tags.</p>
209
487
  * @public
210
488
  */
211
489
  ARN: string | undefined;
212
490
  /**
213
- * <p>The list of tag keys to remove from the domain.</p>
491
+ * <p>The list of tag keys to remove from the domain, data source, or application.</p>
214
492
  * @public
215
493
  */
216
494
  TagKeys: string[] | undefined;
@@ -451,6 +729,55 @@ export interface UpdateDataSourceResponse {
451
729
  */
452
730
  Message?: string | undefined;
453
731
  }
732
+ /**
733
+ * @public
734
+ */
735
+ export interface UpdateDirectQueryDataSourceRequest {
736
+ /**
737
+ * <p>
738
+ * A unique, user-defined label to identify the data
739
+ * source within your OpenSearch Service environment.
740
+ * </p>
741
+ * @public
742
+ */
743
+ DataSourceName: string | undefined;
744
+ /**
745
+ * <p>
746
+ * The supported Amazon Web Services service that you want to use as the source for
747
+ * direct queries in OpenSearch Service.
748
+ * </p>
749
+ * @public
750
+ */
751
+ DataSourceType: DirectQueryDataSourceType | undefined;
752
+ /**
753
+ * <p>
754
+ * An optional text field for providing additional context and
755
+ * details about the data source.
756
+ * </p>
757
+ * @public
758
+ */
759
+ Description?: string | undefined;
760
+ /**
761
+ * <p>
762
+ * A list of Amazon Resource Names (ARNs) for the OpenSearch
763
+ * collections that are associated with the direct query data source.
764
+ * </p>
765
+ * @public
766
+ */
767
+ OpenSearchArns: string[] | undefined;
768
+ }
769
+ /**
770
+ * @public
771
+ */
772
+ export interface UpdateDirectQueryDataSourceResponse {
773
+ /**
774
+ * <p>
775
+ * The unique, system-generated identifier that represents the data source.
776
+ * </p>
777
+ * @public
778
+ */
779
+ DataSourceArn?: string | undefined;
780
+ }
454
781
  /**
455
782
  * @public
456
783
  * @enum
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput } from "../commands/AcceptInboundConnectionCommand";
4
4
  import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "../commands/AddDataSourceCommand";
5
+ import { AddDirectQueryDataSourceCommandInput, AddDirectQueryDataSourceCommandOutput } from "../commands/AddDirectQueryDataSourceCommand";
5
6
  import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
6
7
  import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "../commands/AssociatePackageCommand";
7
8
  import { AssociatePackagesCommandInput, AssociatePackagesCommandOutput } from "../commands/AssociatePackagesCommand";
@@ -15,6 +16,7 @@ import { CreatePackageCommandInput, CreatePackageCommandOutput } from "../comman
15
16
  import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "../commands/CreateVpcEndpointCommand";
16
17
  import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "../commands/DeleteApplicationCommand";
17
18
  import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "../commands/DeleteDataSourceCommand";
19
+ import { DeleteDirectQueryDataSourceCommandInput, DeleteDirectQueryDataSourceCommandOutput } from "../commands/DeleteDirectQueryDataSourceCommand";
18
20
  import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "../commands/DeleteDomainCommand";
19
21
  import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutput } from "../commands/DeleteInboundConnectionCommand";
20
22
  import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "../commands/DeleteOutboundConnectionCommand";
@@ -40,12 +42,14 @@ import { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from
40
42
  import { GetApplicationCommandInput, GetApplicationCommandOutput } from "../commands/GetApplicationCommand";
41
43
  import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "../commands/GetCompatibleVersionsCommand";
42
44
  import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "../commands/GetDataSourceCommand";
45
+ import { GetDirectQueryDataSourceCommandInput, GetDirectQueryDataSourceCommandOutput } from "../commands/GetDirectQueryDataSourceCommand";
43
46
  import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "../commands/GetDomainMaintenanceStatusCommand";
44
47
  import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "../commands/GetPackageVersionHistoryCommand";
45
48
  import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "../commands/GetUpgradeHistoryCommand";
46
49
  import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "../commands/GetUpgradeStatusCommand";
47
50
  import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
48
51
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "../commands/ListDataSourcesCommand";
52
+ import { ListDirectQueryDataSourcesCommandInput, ListDirectQueryDataSourcesCommandOutput } from "../commands/ListDirectQueryDataSourcesCommand";
49
53
  import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "../commands/ListDomainMaintenancesCommand";
50
54
  import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "../commands/ListDomainNamesCommand";
51
55
  import { ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput } from "../commands/ListDomainsForPackageCommand";
@@ -65,6 +69,7 @@ import { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput
65
69
  import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "../commands/StartServiceSoftwareUpdateCommand";
66
70
  import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "../commands/UpdateApplicationCommand";
67
71
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "../commands/UpdateDataSourceCommand";
72
+ import { UpdateDirectQueryDataSourceCommandInput, UpdateDirectQueryDataSourceCommandOutput } from "../commands/UpdateDirectQueryDataSourceCommand";
68
73
  import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "../commands/UpdateDomainConfigCommand";
69
74
  import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "../commands/UpdatePackageCommand";
70
75
  import { UpdatePackageScopeCommandInput, UpdatePackageScopeCommandOutput } from "../commands/UpdatePackageScopeCommand";
@@ -79,6 +84,10 @@ export declare const se_AcceptInboundConnectionCommand: (input: AcceptInboundCon
79
84
  * serializeAws_restJson1AddDataSourceCommand
80
85
  */
81
86
  export declare const se_AddDataSourceCommand: (input: AddDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
87
+ /**
88
+ * serializeAws_restJson1AddDirectQueryDataSourceCommand
89
+ */
90
+ export declare const se_AddDirectQueryDataSourceCommand: (input: AddDirectQueryDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
91
  /**
83
92
  * serializeAws_restJson1AddTagsCommand
84
93
  */
@@ -131,6 +140,10 @@ export declare const se_DeleteApplicationCommand: (input: DeleteApplicationComma
131
140
  * serializeAws_restJson1DeleteDataSourceCommand
132
141
  */
133
142
  export declare const se_DeleteDataSourceCommand: (input: DeleteDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
+ /**
144
+ * serializeAws_restJson1DeleteDirectQueryDataSourceCommand
145
+ */
146
+ export declare const se_DeleteDirectQueryDataSourceCommand: (input: DeleteDirectQueryDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
134
147
  /**
135
148
  * serializeAws_restJson1DeleteDomainCommand
136
149
  */
@@ -231,6 +244,10 @@ export declare const se_GetCompatibleVersionsCommand: (input: GetCompatibleVersi
231
244
  * serializeAws_restJson1GetDataSourceCommand
232
245
  */
233
246
  export declare const se_GetDataSourceCommand: (input: GetDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
247
+ /**
248
+ * serializeAws_restJson1GetDirectQueryDataSourceCommand
249
+ */
250
+ export declare const se_GetDirectQueryDataSourceCommand: (input: GetDirectQueryDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
234
251
  /**
235
252
  * serializeAws_restJson1GetDomainMaintenanceStatusCommand
236
253
  */
@@ -255,6 +272,10 @@ export declare const se_ListApplicationsCommand: (input: ListApplicationsCommand
255
272
  * serializeAws_restJson1ListDataSourcesCommand
256
273
  */
257
274
  export declare const se_ListDataSourcesCommand: (input: ListDataSourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
275
+ /**
276
+ * serializeAws_restJson1ListDirectQueryDataSourcesCommand
277
+ */
278
+ export declare const se_ListDirectQueryDataSourcesCommand: (input: ListDirectQueryDataSourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
258
279
  /**
259
280
  * serializeAws_restJson1ListDomainMaintenancesCommand
260
281
  */
@@ -331,6 +352,10 @@ export declare const se_UpdateApplicationCommand: (input: UpdateApplicationComma
331
352
  * serializeAws_restJson1UpdateDataSourceCommand
332
353
  */
333
354
  export declare const se_UpdateDataSourceCommand: (input: UpdateDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
355
+ /**
356
+ * serializeAws_restJson1UpdateDirectQueryDataSourceCommand
357
+ */
358
+ export declare const se_UpdateDirectQueryDataSourceCommand: (input: UpdateDirectQueryDataSourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
334
359
  /**
335
360
  * serializeAws_restJson1UpdateDomainConfigCommand
336
361
  */
@@ -363,6 +388,10 @@ export declare const de_AcceptInboundConnectionCommand: (output: __HttpResponse,
363
388
  * deserializeAws_restJson1AddDataSourceCommand
364
389
  */
365
390
  export declare const de_AddDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddDataSourceCommandOutput>;
391
+ /**
392
+ * deserializeAws_restJson1AddDirectQueryDataSourceCommand
393
+ */
394
+ export declare const de_AddDirectQueryDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddDirectQueryDataSourceCommandOutput>;
366
395
  /**
367
396
  * deserializeAws_restJson1AddTagsCommand
368
397
  */
@@ -415,6 +444,10 @@ export declare const de_DeleteApplicationCommand: (output: __HttpResponse, conte
415
444
  * deserializeAws_restJson1DeleteDataSourceCommand
416
445
  */
417
446
  export declare const de_DeleteDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDataSourceCommandOutput>;
447
+ /**
448
+ * deserializeAws_restJson1DeleteDirectQueryDataSourceCommand
449
+ */
450
+ export declare const de_DeleteDirectQueryDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteDirectQueryDataSourceCommandOutput>;
418
451
  /**
419
452
  * deserializeAws_restJson1DeleteDomainCommand
420
453
  */
@@ -515,6 +548,10 @@ export declare const de_GetCompatibleVersionsCommand: (output: __HttpResponse, c
515
548
  * deserializeAws_restJson1GetDataSourceCommand
516
549
  */
517
550
  export declare const de_GetDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataSourceCommandOutput>;
551
+ /**
552
+ * deserializeAws_restJson1GetDirectQueryDataSourceCommand
553
+ */
554
+ export declare const de_GetDirectQueryDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDirectQueryDataSourceCommandOutput>;
518
555
  /**
519
556
  * deserializeAws_restJson1GetDomainMaintenanceStatusCommand
520
557
  */
@@ -539,6 +576,10 @@ export declare const de_ListApplicationsCommand: (output: __HttpResponse, contex
539
576
  * deserializeAws_restJson1ListDataSourcesCommand
540
577
  */
541
578
  export declare const de_ListDataSourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDataSourcesCommandOutput>;
579
+ /**
580
+ * deserializeAws_restJson1ListDirectQueryDataSourcesCommand
581
+ */
582
+ export declare const de_ListDirectQueryDataSourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDirectQueryDataSourcesCommandOutput>;
542
583
  /**
543
584
  * deserializeAws_restJson1ListDomainMaintenancesCommand
544
585
  */
@@ -615,6 +656,10 @@ export declare const de_UpdateApplicationCommand: (output: __HttpResponse, conte
615
656
  * deserializeAws_restJson1UpdateDataSourceCommand
616
657
  */
617
658
  export declare const de_UpdateDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDataSourceCommandOutput>;
659
+ /**
660
+ * deserializeAws_restJson1UpdateDirectQueryDataSourceCommand
661
+ */
662
+ export declare const de_UpdateDirectQueryDataSourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateDirectQueryDataSourceCommandOutput>;
618
663
  /**
619
664
  * deserializeAws_restJson1UpdateDomainConfigCommand
620
665
  */
@@ -7,6 +7,10 @@ import {
7
7
  AddDataSourceCommandInput,
8
8
  AddDataSourceCommandOutput,
9
9
  } from "./commands/AddDataSourceCommand";
10
+ import {
11
+ AddDirectQueryDataSourceCommandInput,
12
+ AddDirectQueryDataSourceCommandOutput,
13
+ } from "./commands/AddDirectQueryDataSourceCommand";
10
14
  import {
11
15
  AddTagsCommandInput,
12
16
  AddTagsCommandOutput,
@@ -59,6 +63,10 @@ import {
59
63
  DeleteDataSourceCommandInput,
60
64
  DeleteDataSourceCommandOutput,
61
65
  } from "./commands/DeleteDataSourceCommand";
66
+ import {
67
+ DeleteDirectQueryDataSourceCommandInput,
68
+ DeleteDirectQueryDataSourceCommandOutput,
69
+ } from "./commands/DeleteDirectQueryDataSourceCommand";
62
70
  import {
63
71
  DeleteDomainCommandInput,
64
72
  DeleteDomainCommandOutput,
@@ -159,6 +167,10 @@ import {
159
167
  GetDataSourceCommandInput,
160
168
  GetDataSourceCommandOutput,
161
169
  } from "./commands/GetDataSourceCommand";
170
+ import {
171
+ GetDirectQueryDataSourceCommandInput,
172
+ GetDirectQueryDataSourceCommandOutput,
173
+ } from "./commands/GetDirectQueryDataSourceCommand";
162
174
  import {
163
175
  GetDomainMaintenanceStatusCommandInput,
164
176
  GetDomainMaintenanceStatusCommandOutput,
@@ -183,6 +195,10 @@ import {
183
195
  ListDataSourcesCommandInput,
184
196
  ListDataSourcesCommandOutput,
185
197
  } from "./commands/ListDataSourcesCommand";
198
+ import {
199
+ ListDirectQueryDataSourcesCommandInput,
200
+ ListDirectQueryDataSourcesCommandOutput,
201
+ } from "./commands/ListDirectQueryDataSourcesCommand";
186
202
  import {
187
203
  ListDomainMaintenancesCommandInput,
188
204
  ListDomainMaintenancesCommandOutput,
@@ -259,6 +275,10 @@ import {
259
275
  UpdateDataSourceCommandInput,
260
276
  UpdateDataSourceCommandOutput,
261
277
  } from "./commands/UpdateDataSourceCommand";
278
+ import {
279
+ UpdateDirectQueryDataSourceCommandInput,
280
+ UpdateDirectQueryDataSourceCommandOutput,
281
+ } from "./commands/UpdateDirectQueryDataSourceCommand";
262
282
  import {
263
283
  UpdateDomainConfigCommandInput,
264
284
  UpdateDomainConfigCommandOutput,
@@ -311,6 +331,19 @@ export interface OpenSearch {
311
331
  options: __HttpHandlerOptions,
312
332
  cb: (err: any, data?: AddDataSourceCommandOutput) => void
313
333
  ): void;
334
+ addDirectQueryDataSource(
335
+ args: AddDirectQueryDataSourceCommandInput,
336
+ options?: __HttpHandlerOptions
337
+ ): Promise<AddDirectQueryDataSourceCommandOutput>;
338
+ addDirectQueryDataSource(
339
+ args: AddDirectQueryDataSourceCommandInput,
340
+ cb: (err: any, data?: AddDirectQueryDataSourceCommandOutput) => void
341
+ ): void;
342
+ addDirectQueryDataSource(
343
+ args: AddDirectQueryDataSourceCommandInput,
344
+ options: __HttpHandlerOptions,
345
+ cb: (err: any, data?: AddDirectQueryDataSourceCommandOutput) => void
346
+ ): void;
314
347
  addTags(
315
348
  args: AddTagsCommandInput,
316
349
  options?: __HttpHandlerOptions
@@ -480,6 +513,19 @@ export interface OpenSearch {
480
513
  options: __HttpHandlerOptions,
481
514
  cb: (err: any, data?: DeleteDataSourceCommandOutput) => void
482
515
  ): void;
516
+ deleteDirectQueryDataSource(
517
+ args: DeleteDirectQueryDataSourceCommandInput,
518
+ options?: __HttpHandlerOptions
519
+ ): Promise<DeleteDirectQueryDataSourceCommandOutput>;
520
+ deleteDirectQueryDataSource(
521
+ args: DeleteDirectQueryDataSourceCommandInput,
522
+ cb: (err: any, data?: DeleteDirectQueryDataSourceCommandOutput) => void
523
+ ): void;
524
+ deleteDirectQueryDataSource(
525
+ args: DeleteDirectQueryDataSourceCommandInput,
526
+ options: __HttpHandlerOptions,
527
+ cb: (err: any, data?: DeleteDirectQueryDataSourceCommandOutput) => void
528
+ ): void;
483
529
  deleteDomain(
484
530
  args: DeleteDomainCommandInput,
485
531
  options?: __HttpHandlerOptions
@@ -817,6 +863,19 @@ export interface OpenSearch {
817
863
  options: __HttpHandlerOptions,
818
864
  cb: (err: any, data?: GetDataSourceCommandOutput) => void
819
865
  ): void;
866
+ getDirectQueryDataSource(
867
+ args: GetDirectQueryDataSourceCommandInput,
868
+ options?: __HttpHandlerOptions
869
+ ): Promise<GetDirectQueryDataSourceCommandOutput>;
870
+ getDirectQueryDataSource(
871
+ args: GetDirectQueryDataSourceCommandInput,
872
+ cb: (err: any, data?: GetDirectQueryDataSourceCommandOutput) => void
873
+ ): void;
874
+ getDirectQueryDataSource(
875
+ args: GetDirectQueryDataSourceCommandInput,
876
+ options: __HttpHandlerOptions,
877
+ cb: (err: any, data?: GetDirectQueryDataSourceCommandOutput) => void
878
+ ): void;
820
879
  getDomainMaintenanceStatus(
821
880
  args: GetDomainMaintenanceStatusCommandInput,
822
881
  options?: __HttpHandlerOptions
@@ -896,6 +955,20 @@ export interface OpenSearch {
896
955
  options: __HttpHandlerOptions,
897
956
  cb: (err: any, data?: ListDataSourcesCommandOutput) => void
898
957
  ): void;
958
+ listDirectQueryDataSources(): Promise<ListDirectQueryDataSourcesCommandOutput>;
959
+ listDirectQueryDataSources(
960
+ args: ListDirectQueryDataSourcesCommandInput,
961
+ options?: __HttpHandlerOptions
962
+ ): Promise<ListDirectQueryDataSourcesCommandOutput>;
963
+ listDirectQueryDataSources(
964
+ args: ListDirectQueryDataSourcesCommandInput,
965
+ cb: (err: any, data?: ListDirectQueryDataSourcesCommandOutput) => void
966
+ ): void;
967
+ listDirectQueryDataSources(
968
+ args: ListDirectQueryDataSourcesCommandInput,
969
+ options: __HttpHandlerOptions,
970
+ cb: (err: any, data?: ListDirectQueryDataSourcesCommandOutput) => void
971
+ ): void;
899
972
  listDomainMaintenances(
900
973
  args: ListDomainMaintenancesCommandInput,
901
974
  options?: __HttpHandlerOptions
@@ -1146,6 +1219,19 @@ export interface OpenSearch {
1146
1219
  options: __HttpHandlerOptions,
1147
1220
  cb: (err: any, data?: UpdateDataSourceCommandOutput) => void
1148
1221
  ): void;
1222
+ updateDirectQueryDataSource(
1223
+ args: UpdateDirectQueryDataSourceCommandInput,
1224
+ options?: __HttpHandlerOptions
1225
+ ): Promise<UpdateDirectQueryDataSourceCommandOutput>;
1226
+ updateDirectQueryDataSource(
1227
+ args: UpdateDirectQueryDataSourceCommandInput,
1228
+ cb: (err: any, data?: UpdateDirectQueryDataSourceCommandOutput) => void
1229
+ ): void;
1230
+ updateDirectQueryDataSource(
1231
+ args: UpdateDirectQueryDataSourceCommandInput,
1232
+ options: __HttpHandlerOptions,
1233
+ cb: (err: any, data?: UpdateDirectQueryDataSourceCommandOutput) => void
1234
+ ): void;
1149
1235
  updateDomainConfig(
1150
1236
  args: UpdateDomainConfigCommandInput,
1151
1237
  options?: __HttpHandlerOptions