@aws-sdk/client-opensearch 3.1072.0 → 3.1074.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 (44) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +63 -1
  3. package/dist-cjs/schemas/schemas_0.js +101 -6
  4. package/dist-es/OpenSearch.js +8 -0
  5. package/dist-es/commands/AttachDataSourceCommand.js +16 -0
  6. package/dist-es/commands/DescribeDataSourceAttachmentCommand.js +16 -0
  7. package/dist-es/commands/DetachDataSourceCommand.js +16 -0
  8. package/dist-es/commands/ListDataSourceAttachmentsCommand.js +16 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/enums.js +5 -0
  11. package/dist-es/schemas/schemas_0.js +91 -6
  12. package/dist-types/OpenSearch.d.ts +28 -0
  13. package/dist-types/OpenSearchClient.d.ts +6 -2
  14. package/dist-types/commands/AttachDataSourceCommand.d.ts +105 -0
  15. package/dist-types/commands/DescribeDataSourceAttachmentCommand.d.ts +96 -0
  16. package/dist-types/commands/DetachDataSourceCommand.d.ts +97 -0
  17. package/dist-types/commands/ListDataSourceAttachmentsCommand.d.ts +100 -0
  18. package/dist-types/commands/RegisterCapabilityCommand.d.ts +2 -1
  19. package/dist-types/commands/RejectInboundConnectionCommand.d.ts +1 -1
  20. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  21. package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
  22. package/dist-types/commands/RollbackServiceSoftwareUpdateCommand.d.ts +1 -1
  23. package/dist-types/commands/index.d.ts +4 -0
  24. package/dist-types/models/enums.d.ts +13 -0
  25. package/dist-types/models/models_0.d.ts +233 -180
  26. package/dist-types/models/models_1.d.ts +181 -2
  27. package/dist-types/schemas/schemas_0.d.ts +14 -0
  28. package/dist-types/ts3.4/OpenSearch.d.ts +68 -0
  29. package/dist-types/ts3.4/OpenSearchClient.d.ts +24 -0
  30. package/dist-types/ts3.4/commands/AttachDataSourceCommand.d.ts +52 -0
  31. package/dist-types/ts3.4/commands/DescribeDataSourceAttachmentCommand.d.ts +53 -0
  32. package/dist-types/ts3.4/commands/DetachDataSourceCommand.d.ts +52 -0
  33. package/dist-types/ts3.4/commands/ListDataSourceAttachmentsCommand.d.ts +53 -0
  34. package/dist-types/ts3.4/commands/RegisterCapabilityCommand.d.ts +2 -4
  35. package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/RollbackServiceSoftwareUpdateCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  40. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  41. package/dist-types/ts3.4/models/models_0.d.ts +53 -52
  42. package/dist-types/ts3.4/models/models_1.d.ts +57 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
  44. package/package.json +3 -3
@@ -45,6 +45,8 @@ export declare var AssociatePackageRequest$: StaticStructureSchema;
45
45
  export declare var AssociatePackageResponse$: StaticStructureSchema;
46
46
  export declare var AssociatePackagesRequest$: StaticStructureSchema;
47
47
  export declare var AssociatePackagesResponse$: StaticStructureSchema;
48
+ export declare var AttachDataSourceRequest$: StaticStructureSchema;
49
+ export declare var AttachDataSourceResponse$: StaticStructureSchema;
48
50
  export declare var AuthorizedPrincipal$: StaticStructureSchema;
49
51
  export declare var AuthorizeVpcEndpointAccessRequest$: StaticStructureSchema;
50
52
  export declare var AuthorizeVpcEndpointAccessResponse$: StaticStructureSchema;
@@ -92,6 +94,7 @@ export declare var CreateVpcEndpointRequest$: StaticStructureSchema;
92
94
  export declare var CreateVpcEndpointResponse$: StaticStructureSchema;
93
95
  export declare var CrossClusterSearchConnectionProperties$: StaticStructureSchema;
94
96
  export declare var DataSource$: StaticStructureSchema;
97
+ export declare var DataSourceAttachmentSummary$: StaticStructureSchema;
95
98
  export declare var DataSourceDetails$: StaticStructureSchema;
96
99
  export declare var DeleteApplicationRequest$: StaticStructureSchema;
97
100
  export declare var DeleteApplicationResponse$: StaticStructureSchema;
@@ -114,6 +117,8 @@ export declare var DeploymentStrategyOptions$: StaticStructureSchema;
114
117
  export declare var DeploymentStrategyOptionsStatus$: StaticStructureSchema;
115
118
  export declare var DeregisterCapabilityRequest$: StaticStructureSchema;
116
119
  export declare var DeregisterCapabilityResponse$: StaticStructureSchema;
120
+ export declare var DescribeDataSourceAttachmentRequest$: StaticStructureSchema;
121
+ export declare var DescribeDataSourceAttachmentResponse$: StaticStructureSchema;
117
122
  export declare var DescribeDomainAutoTunesRequest$: StaticStructureSchema;
118
123
  export declare var DescribeDomainAutoTunesResponse$: StaticStructureSchema;
119
124
  export declare var DescribeDomainChangeProgressRequest$: StaticStructureSchema;
@@ -147,6 +152,8 @@ export declare var DescribeReservedInstancesRequest$: StaticStructureSchema;
147
152
  export declare var DescribeReservedInstancesResponse$: StaticStructureSchema;
148
153
  export declare var DescribeVpcEndpointsRequest$: StaticStructureSchema;
149
154
  export declare var DescribeVpcEndpointsResponse$: StaticStructureSchema;
155
+ export declare var DetachDataSourceRequest$: StaticStructureSchema;
156
+ export declare var DetachDataSourceResponse$: StaticStructureSchema;
150
157
  export declare var DirectQueryDataSource$: StaticStructureSchema;
151
158
  export declare var DissociatePackageRequest$: StaticStructureSchema;
152
159
  export declare var DissociatePackageResponse$: StaticStructureSchema;
@@ -216,6 +223,8 @@ export declare var KeyStoreAccessOption$: StaticStructureSchema;
216
223
  export declare var Limits$: StaticStructureSchema;
217
224
  export declare var ListApplicationsRequest$: StaticStructureSchema;
218
225
  export declare var ListApplicationsResponse$: StaticStructureSchema;
226
+ export declare var ListDataSourceAttachmentsRequest$: StaticStructureSchema;
227
+ export declare var ListDataSourceAttachmentsResponse$: StaticStructureSchema;
219
228
  export declare var ListDataSourcesRequest$: StaticStructureSchema;
220
229
  export declare var ListDataSourcesResponse$: StaticStructureSchema;
221
230
  export declare var ListDirectQueryDataSourcesRequest$: StaticStructureSchema;
@@ -340,6 +349,7 @@ export declare var VpcEndpointError$: StaticStructureSchema;
340
349
  export declare var VpcEndpointSummary$: StaticStructureSchema;
341
350
  export declare var VPCOptions$: StaticStructureSchema;
342
351
  export declare var WindowStartTime$: StaticStructureSchema;
352
+ export declare var WorkspaceConfigurationInput$: StaticStructureSchema;
343
353
  export declare var ZoneAwarenessConfig$: StaticStructureSchema;
344
354
  export declare var CapabilityBaseRequestConfig$: StaticUnionSchema;
345
355
  export declare var CapabilityBaseResponseConfig$: StaticUnionSchema;
@@ -352,6 +362,7 @@ export declare var AddDirectQueryDataSource$: StaticOperationSchema;
352
362
  export declare var AddTags$: StaticOperationSchema;
353
363
  export declare var AssociatePackage$: StaticOperationSchema;
354
364
  export declare var AssociatePackages$: StaticOperationSchema;
365
+ export declare var AttachDataSource$: StaticOperationSchema;
355
366
  export declare var AuthorizeVpcEndpointAccess$: StaticOperationSchema;
356
367
  export declare var CancelDomainConfigChange$: StaticOperationSchema;
357
368
  export declare var CancelServiceSoftwareUpdate$: StaticOperationSchema;
@@ -371,6 +382,7 @@ export declare var DeleteOutboundConnection$: StaticOperationSchema;
371
382
  export declare var DeletePackage$: StaticOperationSchema;
372
383
  export declare var DeleteVpcEndpoint$: StaticOperationSchema;
373
384
  export declare var DeregisterCapability$: StaticOperationSchema;
385
+ export declare var DescribeDataSourceAttachment$: StaticOperationSchema;
374
386
  export declare var DescribeDomain$: StaticOperationSchema;
375
387
  export declare var DescribeDomainAutoTunes$: StaticOperationSchema;
376
388
  export declare var DescribeDomainChangeProgress$: StaticOperationSchema;
@@ -387,6 +399,7 @@ export declare var DescribePackages$: StaticOperationSchema;
387
399
  export declare var DescribeReservedInstanceOfferings$: StaticOperationSchema;
388
400
  export declare var DescribeReservedInstances$: StaticOperationSchema;
389
401
  export declare var DescribeVpcEndpoints$: StaticOperationSchema;
402
+ export declare var DetachDataSource$: StaticOperationSchema;
390
403
  export declare var DissociatePackage$: StaticOperationSchema;
391
404
  export declare var DissociatePackages$: StaticOperationSchema;
392
405
  export declare var GetApplication$: StaticOperationSchema;
@@ -401,6 +414,7 @@ export declare var GetPackageVersionHistory$: StaticOperationSchema;
401
414
  export declare var GetUpgradeHistory$: StaticOperationSchema;
402
415
  export declare var GetUpgradeStatus$: StaticOperationSchema;
403
416
  export declare var ListApplications$: StaticOperationSchema;
417
+ export declare var ListDataSourceAttachments$: StaticOperationSchema;
404
418
  export declare var ListDataSources$: StaticOperationSchema;
405
419
  export declare var ListDirectQueryDataSources$: StaticOperationSchema;
406
420
  export declare var ListDomainMaintenances$: StaticOperationSchema;
@@ -27,6 +27,10 @@ import {
27
27
  AssociatePackagesCommandInput,
28
28
  AssociatePackagesCommandOutput,
29
29
  } from "./commands/AssociatePackagesCommand";
30
+ import {
31
+ AttachDataSourceCommandInput,
32
+ AttachDataSourceCommandOutput,
33
+ } from "./commands/AttachDataSourceCommand";
30
34
  import {
31
35
  AuthorizeVpcEndpointAccessCommandInput,
32
36
  AuthorizeVpcEndpointAccessCommandOutput,
@@ -103,6 +107,10 @@ import {
103
107
  DeregisterCapabilityCommandInput,
104
108
  DeregisterCapabilityCommandOutput,
105
109
  } from "./commands/DeregisterCapabilityCommand";
110
+ import {
111
+ DescribeDataSourceAttachmentCommandInput,
112
+ DescribeDataSourceAttachmentCommandOutput,
113
+ } from "./commands/DescribeDataSourceAttachmentCommand";
106
114
  import {
107
115
  DescribeDomainAutoTunesCommandInput,
108
116
  DescribeDomainAutoTunesCommandOutput,
@@ -167,6 +175,10 @@ import {
167
175
  DescribeVpcEndpointsCommandInput,
168
176
  DescribeVpcEndpointsCommandOutput,
169
177
  } from "./commands/DescribeVpcEndpointsCommand";
178
+ import {
179
+ DetachDataSourceCommandInput,
180
+ DetachDataSourceCommandOutput,
181
+ } from "./commands/DetachDataSourceCommand";
170
182
  import {
171
183
  DissociatePackageCommandInput,
172
184
  DissociatePackageCommandOutput,
@@ -223,6 +235,10 @@ import {
223
235
  ListApplicationsCommandInput,
224
236
  ListApplicationsCommandOutput,
225
237
  } from "./commands/ListApplicationsCommand";
238
+ import {
239
+ ListDataSourceAttachmentsCommandInput,
240
+ ListDataSourceAttachmentsCommandOutput,
241
+ } from "./commands/ListDataSourceAttachmentsCommand";
226
242
  import {
227
243
  ListDataSourcesCommandInput,
228
244
  ListDataSourcesCommandOutput,
@@ -435,6 +451,19 @@ export interface OpenSearch {
435
451
  options: __HttpHandlerOptions,
436
452
  cb: (err: any, data?: AssociatePackagesCommandOutput) => void
437
453
  ): void;
454
+ attachDataSource(
455
+ args: AttachDataSourceCommandInput,
456
+ options?: __HttpHandlerOptions
457
+ ): Promise<AttachDataSourceCommandOutput>;
458
+ attachDataSource(
459
+ args: AttachDataSourceCommandInput,
460
+ cb: (err: any, data?: AttachDataSourceCommandOutput) => void
461
+ ): void;
462
+ attachDataSource(
463
+ args: AttachDataSourceCommandInput,
464
+ options: __HttpHandlerOptions,
465
+ cb: (err: any, data?: AttachDataSourceCommandOutput) => void
466
+ ): void;
438
467
  authorizeVpcEndpointAccess(
439
468
  args: AuthorizeVpcEndpointAccessCommandInput,
440
469
  options?: __HttpHandlerOptions
@@ -682,6 +711,19 @@ export interface OpenSearch {
682
711
  options: __HttpHandlerOptions,
683
712
  cb: (err: any, data?: DeregisterCapabilityCommandOutput) => void
684
713
  ): void;
714
+ describeDataSourceAttachment(
715
+ args: DescribeDataSourceAttachmentCommandInput,
716
+ options?: __HttpHandlerOptions
717
+ ): Promise<DescribeDataSourceAttachmentCommandOutput>;
718
+ describeDataSourceAttachment(
719
+ args: DescribeDataSourceAttachmentCommandInput,
720
+ cb: (err: any, data?: DescribeDataSourceAttachmentCommandOutput) => void
721
+ ): void;
722
+ describeDataSourceAttachment(
723
+ args: DescribeDataSourceAttachmentCommandInput,
724
+ options: __HttpHandlerOptions,
725
+ cb: (err: any, data?: DescribeDataSourceAttachmentCommandOutput) => void
726
+ ): void;
685
727
  describeDomain(
686
728
  args: DescribeDomainCommandInput,
687
729
  options?: __HttpHandlerOptions
@@ -901,6 +943,19 @@ export interface OpenSearch {
901
943
  options: __HttpHandlerOptions,
902
944
  cb: (err: any, data?: DescribeVpcEndpointsCommandOutput) => void
903
945
  ): void;
946
+ detachDataSource(
947
+ args: DetachDataSourceCommandInput,
948
+ options?: __HttpHandlerOptions
949
+ ): Promise<DetachDataSourceCommandOutput>;
950
+ detachDataSource(
951
+ args: DetachDataSourceCommandInput,
952
+ cb: (err: any, data?: DetachDataSourceCommandOutput) => void
953
+ ): void;
954
+ detachDataSource(
955
+ args: DetachDataSourceCommandInput,
956
+ options: __HttpHandlerOptions,
957
+ cb: (err: any, data?: DetachDataSourceCommandOutput) => void
958
+ ): void;
904
959
  dissociatePackage(
905
960
  args: DissociatePackageCommandInput,
906
961
  options?: __HttpHandlerOptions
@@ -1086,6 +1141,19 @@ export interface OpenSearch {
1086
1141
  options: __HttpHandlerOptions,
1087
1142
  cb: (err: any, data?: ListApplicationsCommandOutput) => void
1088
1143
  ): void;
1144
+ listDataSourceAttachments(
1145
+ args: ListDataSourceAttachmentsCommandInput,
1146
+ options?: __HttpHandlerOptions
1147
+ ): Promise<ListDataSourceAttachmentsCommandOutput>;
1148
+ listDataSourceAttachments(
1149
+ args: ListDataSourceAttachmentsCommandInput,
1150
+ cb: (err: any, data?: ListDataSourceAttachmentsCommandOutput) => void
1151
+ ): void;
1152
+ listDataSourceAttachments(
1153
+ args: ListDataSourceAttachmentsCommandInput,
1154
+ options: __HttpHandlerOptions,
1155
+ cb: (err: any, data?: ListDataSourceAttachmentsCommandOutput) => void
1156
+ ): void;
1089
1157
  listDataSources(
1090
1158
  args: ListDataSourcesCommandInput,
1091
1159
  options?: __HttpHandlerOptions
@@ -60,6 +60,10 @@ import {
60
60
  AssociatePackagesCommandInput,
61
61
  AssociatePackagesCommandOutput,
62
62
  } from "./commands/AssociatePackagesCommand";
63
+ import {
64
+ AttachDataSourceCommandInput,
65
+ AttachDataSourceCommandOutput,
66
+ } from "./commands/AttachDataSourceCommand";
63
67
  import {
64
68
  AuthorizeVpcEndpointAccessCommandInput,
65
69
  AuthorizeVpcEndpointAccessCommandOutput,
@@ -136,6 +140,10 @@ import {
136
140
  DeregisterCapabilityCommandInput,
137
141
  DeregisterCapabilityCommandOutput,
138
142
  } from "./commands/DeregisterCapabilityCommand";
143
+ import {
144
+ DescribeDataSourceAttachmentCommandInput,
145
+ DescribeDataSourceAttachmentCommandOutput,
146
+ } from "./commands/DescribeDataSourceAttachmentCommand";
139
147
  import {
140
148
  DescribeDomainAutoTunesCommandInput,
141
149
  DescribeDomainAutoTunesCommandOutput,
@@ -200,6 +208,10 @@ import {
200
208
  DescribeVpcEndpointsCommandInput,
201
209
  DescribeVpcEndpointsCommandOutput,
202
210
  } from "./commands/DescribeVpcEndpointsCommand";
211
+ import {
212
+ DetachDataSourceCommandInput,
213
+ DetachDataSourceCommandOutput,
214
+ } from "./commands/DetachDataSourceCommand";
203
215
  import {
204
216
  DissociatePackageCommandInput,
205
217
  DissociatePackageCommandOutput,
@@ -256,6 +268,10 @@ import {
256
268
  ListApplicationsCommandInput,
257
269
  ListApplicationsCommandOutput,
258
270
  } from "./commands/ListApplicationsCommand";
271
+ import {
272
+ ListDataSourceAttachmentsCommandInput,
273
+ ListDataSourceAttachmentsCommandOutput,
274
+ } from "./commands/ListDataSourceAttachmentsCommand";
259
275
  import {
260
276
  ListDataSourcesCommandInput,
261
277
  ListDataSourcesCommandOutput,
@@ -402,6 +418,7 @@ export type ServiceInputTypes =
402
418
  | AddTagsCommandInput
403
419
  | AssociatePackageCommandInput
404
420
  | AssociatePackagesCommandInput
421
+ | AttachDataSourceCommandInput
405
422
  | AuthorizeVpcEndpointAccessCommandInput
406
423
  | CancelDomainConfigChangeCommandInput
407
424
  | CancelServiceSoftwareUpdateCommandInput
@@ -421,6 +438,7 @@ export type ServiceInputTypes =
421
438
  | DeletePackageCommandInput
422
439
  | DeleteVpcEndpointCommandInput
423
440
  | DeregisterCapabilityCommandInput
441
+ | DescribeDataSourceAttachmentCommandInput
424
442
  | DescribeDomainAutoTunesCommandInput
425
443
  | DescribeDomainChangeProgressCommandInput
426
444
  | DescribeDomainCommandInput
@@ -437,6 +455,7 @@ export type ServiceInputTypes =
437
455
  | DescribeReservedInstanceOfferingsCommandInput
438
456
  | DescribeReservedInstancesCommandInput
439
457
  | DescribeVpcEndpointsCommandInput
458
+ | DetachDataSourceCommandInput
440
459
  | DissociatePackageCommandInput
441
460
  | DissociatePackagesCommandInput
442
461
  | GetApplicationCommandInput
@@ -451,6 +470,7 @@ export type ServiceInputTypes =
451
470
  | GetUpgradeHistoryCommandInput
452
471
  | GetUpgradeStatusCommandInput
453
472
  | ListApplicationsCommandInput
473
+ | ListDataSourceAttachmentsCommandInput
454
474
  | ListDataSourcesCommandInput
455
475
  | ListDirectQueryDataSourcesCommandInput
456
476
  | ListDomainMaintenancesCommandInput
@@ -491,6 +511,7 @@ export type ServiceOutputTypes =
491
511
  | AddTagsCommandOutput
492
512
  | AssociatePackageCommandOutput
493
513
  | AssociatePackagesCommandOutput
514
+ | AttachDataSourceCommandOutput
494
515
  | AuthorizeVpcEndpointAccessCommandOutput
495
516
  | CancelDomainConfigChangeCommandOutput
496
517
  | CancelServiceSoftwareUpdateCommandOutput
@@ -510,6 +531,7 @@ export type ServiceOutputTypes =
510
531
  | DeletePackageCommandOutput
511
532
  | DeleteVpcEndpointCommandOutput
512
533
  | DeregisterCapabilityCommandOutput
534
+ | DescribeDataSourceAttachmentCommandOutput
513
535
  | DescribeDomainAutoTunesCommandOutput
514
536
  | DescribeDomainChangeProgressCommandOutput
515
537
  | DescribeDomainCommandOutput
@@ -526,6 +548,7 @@ export type ServiceOutputTypes =
526
548
  | DescribeReservedInstanceOfferingsCommandOutput
527
549
  | DescribeReservedInstancesCommandOutput
528
550
  | DescribeVpcEndpointsCommandOutput
551
+ | DetachDataSourceCommandOutput
529
552
  | DissociatePackageCommandOutput
530
553
  | DissociatePackagesCommandOutput
531
554
  | GetApplicationCommandOutput
@@ -540,6 +563,7 @@ export type ServiceOutputTypes =
540
563
  | GetUpgradeHistoryCommandOutput
541
564
  | GetUpgradeStatusCommandOutput
542
565
  | ListApplicationsCommandOutput
566
+ | ListDataSourceAttachmentsCommandOutput
543
567
  | ListDataSourcesCommandOutput
544
568
  | ListDirectQueryDataSourcesCommandOutput
545
569
  | ListDomainMaintenancesCommandOutput
@@ -0,0 +1,52 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ AttachDataSourceRequest,
5
+ AttachDataSourceResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ OpenSearchClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OpenSearchClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AttachDataSourceCommandInput extends AttachDataSourceRequest {}
15
+ export interface AttachDataSourceCommandOutput
16
+ extends AttachDataSourceResponse,
17
+ __MetadataBearer {}
18
+ declare const AttachDataSourceCommand_base: {
19
+ new (
20
+ input: AttachDataSourceCommandInput
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ AttachDataSourceCommandInput,
23
+ AttachDataSourceCommandOutput,
24
+ OpenSearchClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: AttachDataSourceCommandInput
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ AttachDataSourceCommandInput,
32
+ AttachDataSourceCommandOutput,
33
+ OpenSearchClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
40
+ };
41
+ export declare class AttachDataSourceCommand extends AttachDataSourceCommand_base {
42
+ protected static __types: {
43
+ api: {
44
+ input: AttachDataSourceRequest;
45
+ output: AttachDataSourceResponse;
46
+ };
47
+ sdk: {
48
+ input: AttachDataSourceCommandInput;
49
+ output: AttachDataSourceCommandOutput;
50
+ };
51
+ };
52
+ }
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DescribeDataSourceAttachmentRequest,
5
+ DescribeDataSourceAttachmentResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ OpenSearchClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OpenSearchClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeDataSourceAttachmentCommandInput
15
+ extends DescribeDataSourceAttachmentRequest {}
16
+ export interface DescribeDataSourceAttachmentCommandOutput
17
+ extends DescribeDataSourceAttachmentResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeDataSourceAttachmentCommand_base: {
20
+ new (
21
+ input: DescribeDataSourceAttachmentCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DescribeDataSourceAttachmentCommandInput,
24
+ DescribeDataSourceAttachmentCommandOutput,
25
+ OpenSearchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DescribeDataSourceAttachmentCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ DescribeDataSourceAttachmentCommandInput,
33
+ DescribeDataSourceAttachmentCommandOutput,
34
+ OpenSearchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class DescribeDataSourceAttachmentCommand extends DescribeDataSourceAttachmentCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: DescribeDataSourceAttachmentRequest;
46
+ output: DescribeDataSourceAttachmentResponse;
47
+ };
48
+ sdk: {
49
+ input: DescribeDataSourceAttachmentCommandInput;
50
+ output: DescribeDataSourceAttachmentCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -0,0 +1,52 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DetachDataSourceRequest,
5
+ DetachDataSourceResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ OpenSearchClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OpenSearchClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DetachDataSourceCommandInput extends DetachDataSourceRequest {}
15
+ export interface DetachDataSourceCommandOutput
16
+ extends DetachDataSourceResponse,
17
+ __MetadataBearer {}
18
+ declare const DetachDataSourceCommand_base: {
19
+ new (
20
+ input: DetachDataSourceCommandInput
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ DetachDataSourceCommandInput,
23
+ DetachDataSourceCommandOutput,
24
+ OpenSearchClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: DetachDataSourceCommandInput
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ DetachDataSourceCommandInput,
32
+ DetachDataSourceCommandOutput,
33
+ OpenSearchClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): {
38
+ [x: string]: unknown;
39
+ };
40
+ };
41
+ export declare class DetachDataSourceCommand extends DetachDataSourceCommand_base {
42
+ protected static __types: {
43
+ api: {
44
+ input: DetachDataSourceRequest;
45
+ output: DetachDataSourceResponse;
46
+ };
47
+ sdk: {
48
+ input: DetachDataSourceCommandInput;
49
+ output: DetachDataSourceCommandOutput;
50
+ };
51
+ };
52
+ }
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListDataSourceAttachmentsRequest,
5
+ ListDataSourceAttachmentsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ OpenSearchClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../OpenSearchClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListDataSourceAttachmentsCommandInput
15
+ extends ListDataSourceAttachmentsRequest {}
16
+ export interface ListDataSourceAttachmentsCommandOutput
17
+ extends ListDataSourceAttachmentsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListDataSourceAttachmentsCommand_base: {
20
+ new (
21
+ input: ListDataSourceAttachmentsCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListDataSourceAttachmentsCommandInput,
24
+ ListDataSourceAttachmentsCommandOutput,
25
+ OpenSearchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListDataSourceAttachmentsCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ ListDataSourceAttachmentsCommandInput,
33
+ ListDataSourceAttachmentsCommandOutput,
34
+ OpenSearchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class ListDataSourceAttachmentsCommand extends ListDataSourceAttachmentsCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: ListDataSourceAttachmentsRequest;
46
+ output: ListDataSourceAttachmentsResponse;
47
+ };
48
+ sdk: {
49
+ input: ListDataSourceAttachmentsCommandInput;
50
+ output: ListDataSourceAttachmentsCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -1,9 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import {
4
- RegisterCapabilityRequest,
5
- RegisterCapabilityResponse,
6
- } from "../models/models_0";
3
+ import { RegisterCapabilityRequest } from "../models/models_0";
4
+ import { RegisterCapabilityResponse } from "../models/models_1";
7
5
  import {
8
6
  OpenSearchClientResolvedConfig,
9
7
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  RejectInboundConnectionRequest,
5
5
  RejectInboundConnectionResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RemoveTagsRequest } from "../models/models_0";
3
+ import { RemoveTagsRequest } from "../models/models_1";
4
4
  import {
5
5
  OpenSearchClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  RevokeVpcEndpointAccessRequest,
5
5
  RevokeVpcEndpointAccessResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  RollbackServiceSoftwareUpdateRequest,
5
5
  RollbackServiceSoftwareUpdateResponse,
6
- } from "../models/models_0";
6
+ } from "../models/models_1";
7
7
  import {
8
8
  OpenSearchClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -4,6 +4,7 @@ export * from "./AddDirectQueryDataSourceCommand";
4
4
  export * from "./AddTagsCommand";
5
5
  export * from "./AssociatePackageCommand";
6
6
  export * from "./AssociatePackagesCommand";
7
+ export * from "./AttachDataSourceCommand";
7
8
  export * from "./AuthorizeVpcEndpointAccessCommand";
8
9
  export * from "./CancelDomainConfigChangeCommand";
9
10
  export * from "./CancelServiceSoftwareUpdateCommand";
@@ -23,6 +24,7 @@ export * from "./DeleteOutboundConnectionCommand";
23
24
  export * from "./DeletePackageCommand";
24
25
  export * from "./DeleteVpcEndpointCommand";
25
26
  export * from "./DeregisterCapabilityCommand";
27
+ export * from "./DescribeDataSourceAttachmentCommand";
26
28
  export * from "./DescribeDomainAutoTunesCommand";
27
29
  export * from "./DescribeDomainChangeProgressCommand";
28
30
  export * from "./DescribeDomainCommand";
@@ -39,6 +41,7 @@ export * from "./DescribePackagesCommand";
39
41
  export * from "./DescribeReservedInstanceOfferingsCommand";
40
42
  export * from "./DescribeReservedInstancesCommand";
41
43
  export * from "./DescribeVpcEndpointsCommand";
44
+ export * from "./DetachDataSourceCommand";
42
45
  export * from "./DissociatePackageCommand";
43
46
  export * from "./DissociatePackagesCommand";
44
47
  export * from "./GetApplicationCommand";
@@ -53,6 +56,7 @@ export * from "./GetPackageVersionHistoryCommand";
53
56
  export * from "./GetUpgradeHistoryCommand";
54
57
  export * from "./GetUpgradeStatusCommand";
55
58
  export * from "./ListApplicationsCommand";
59
+ export * from "./ListDataSourceAttachmentsCommand";
56
60
  export * from "./ListDataSourcesCommand";
57
61
  export * from "./ListDirectQueryDataSourcesCommand";
58
62
  export * from "./ListDomainMaintenancesCommand";
@@ -77,6 +77,13 @@ export declare const PackageType: {
77
77
  readonly ZIP_PLUGIN: "ZIP-PLUGIN";
78
78
  };
79
79
  export type PackageType = (typeof PackageType)[keyof typeof PackageType];
80
+ export declare const DataSourceAttachmentStatus: {
81
+ readonly ATTACHED: "ATTACHED";
82
+ readonly FAILED: "FAILED";
83
+ readonly PENDING: "PENDING";
84
+ };
85
+ export type DataSourceAttachmentStatus =
86
+ (typeof DataSourceAttachmentStatus)[keyof typeof DataSourceAttachmentStatus];
80
87
  export declare const AWSServicePrincipal: {
81
88
  readonly application_opensearchservice_amazonaws_com: "application.opensearchservice.amazonaws.com";
82
89
  };