@aws-sdk/client-opensearch 3.1071.0 → 3.1073.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 +28 -0
- package/dist-cjs/index.js +63 -1
- package/dist-cjs/schemas/schemas_0.js +101 -6
- package/dist-es/OpenSearch.js +8 -0
- package/dist-es/commands/AttachDataSourceCommand.js +16 -0
- package/dist-es/commands/DescribeDataSourceAttachmentCommand.js +16 -0
- package/dist-es/commands/DetachDataSourceCommand.js +16 -0
- package/dist-es/commands/ListDataSourceAttachmentsCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +91 -6
- package/dist-types/OpenSearch.d.ts +28 -0
- package/dist-types/OpenSearchClient.d.ts +6 -2
- package/dist-types/commands/AttachDataSourceCommand.d.ts +105 -0
- package/dist-types/commands/DescribeDataSourceAttachmentCommand.d.ts +96 -0
- package/dist-types/commands/DetachDataSourceCommand.d.ts +97 -0
- package/dist-types/commands/ListDataSourceAttachmentsCommand.d.ts +100 -0
- package/dist-types/commands/RegisterCapabilityCommand.d.ts +2 -1
- package/dist-types/commands/RejectInboundConnectionCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/commands/RevokeVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/RollbackServiceSoftwareUpdateCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +233 -180
- package/dist-types/models/models_1.d.ts +181 -2
- package/dist-types/schemas/schemas_0.d.ts +14 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +68 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/AttachDataSourceCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/DescribeDataSourceAttachmentCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DetachDataSourceCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListDataSourceAttachmentsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/RegisterCapabilityCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RejectInboundConnectionCommand.d.ts +1 -1
- 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/RollbackServiceSoftwareUpdateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +53 -52
- package/dist-types/ts3.4/models/models_1.d.ts +57 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
- package/package.json +1 -1
|
@@ -13,6 +13,9 @@ const _ADQDSRd = "AddDirectQueryDataSourceResponse";
|
|
|
13
13
|
const _ADS = "AddDataSource";
|
|
14
14
|
const _ADSR = "AddDataSourceRequest";
|
|
15
15
|
const _ADSRd = "AddDataSourceResponse";
|
|
16
|
+
const _ADSRt = "AttachDataSourceRequest";
|
|
17
|
+
const _ADSRtt = "AttachDataSourceResponse";
|
|
18
|
+
const _ADSt = "AttachDataSource";
|
|
16
19
|
const _AIC = "AIConfig";
|
|
17
20
|
const _AICR = "AcceptInboundConnectionRequest";
|
|
18
21
|
const _AICRc = "AcceptInboundConnectionResponse";
|
|
@@ -207,8 +210,14 @@ const _DDResc = "DescribeDomainResponse";
|
|
|
207
210
|
const _DDRescr = "DescribeDomainsRequest";
|
|
208
211
|
const _DDRescri = "DescribeDomainsResponse";
|
|
209
212
|
const _DDS = "DeleteDataSource";
|
|
213
|
+
const _DDSA = "DescribeDataSourceAttachment";
|
|
214
|
+
const _DDSAR = "DescribeDataSourceAttachmentRequest";
|
|
215
|
+
const _DDSARe = "DescribeDataSourceAttachmentResponse";
|
|
210
216
|
const _DDSR = "DeleteDataSourceRequest";
|
|
211
217
|
const _DDSRe = "DeleteDataSourceResponse";
|
|
218
|
+
const _DDSRet = "DetachDataSourceRequest";
|
|
219
|
+
const _DDSReta = "DetachDataSourceResponse";
|
|
220
|
+
const _DDSe = "DetachDataSource";
|
|
212
221
|
const _DDe = "DescribeDomain";
|
|
213
222
|
const _DDes = "DescribeDomains";
|
|
214
223
|
const _DEO = "DomainEndpointOptions";
|
|
@@ -292,6 +301,8 @@ const _DRS = "DryRunStatus";
|
|
|
292
301
|
const _DS = "DesiredState";
|
|
293
302
|
const _DSA = "DataSourceArn";
|
|
294
303
|
const _DSAP = "DataSourceAccessPolicy";
|
|
304
|
+
const _DSAS = "DataSourceAttachmentSummary";
|
|
305
|
+
const _DSASL = "DataSourceAttachmentSummaryList";
|
|
295
306
|
const _DSD = "DataSourceDetails";
|
|
296
307
|
const _DSL = "DomainStatusList";
|
|
297
308
|
const _DSLa = "DataSourceList";
|
|
@@ -455,6 +466,9 @@ const _LDQDSR = "ListDirectQueryDataSourcesRequest";
|
|
|
455
466
|
const _LDQDSRi = "ListDirectQueryDataSourcesResponse";
|
|
456
467
|
const _LDRC = "LoadDryRunConfig";
|
|
457
468
|
const _LDS = "ListDataSources";
|
|
469
|
+
const _LDSA = "ListDataSourceAttachments";
|
|
470
|
+
const _LDSAR = "ListDataSourceAttachmentsRequest";
|
|
471
|
+
const _LDSARi = "ListDataSourceAttachmentsResponse";
|
|
458
472
|
const _LDSR = "ListDataSourcesRequest";
|
|
459
473
|
const _LDSRi = "ListDataSourcesResponse";
|
|
460
474
|
const _LEE = "LimitExceededException";
|
|
@@ -785,6 +799,7 @@ const _Ve = "Versions";
|
|
|
785
799
|
const _Ver = "Version";
|
|
786
800
|
const _WA = "WorkspaceArn";
|
|
787
801
|
const _WC = "WarmCount";
|
|
802
|
+
const _WCI = "WorkspaceConfigurationInput";
|
|
788
803
|
const _WE = "WarmEnabled";
|
|
789
804
|
const _WNC = "WarmNodeCount";
|
|
790
805
|
const _WST = "WindowStartTime";
|
|
@@ -796,8 +811,10 @@ const _a = "arn";
|
|
|
796
811
|
const _aA = "applicationArn";
|
|
797
812
|
const _aC = "appConfigs";
|
|
798
813
|
const _aCi = "aiConfig";
|
|
799
|
-
const _aI = "
|
|
814
|
+
const _aI = "attachmentId";
|
|
815
|
+
const _aIp = "applicationId";
|
|
800
816
|
const _ac = "action";
|
|
817
|
+
const _at = "attachments";
|
|
801
818
|
const _c = "client";
|
|
802
819
|
const _cA = "createdAt";
|
|
803
820
|
const _cC = "capabilityConfig";
|
|
@@ -846,6 +863,9 @@ const _st = "status";
|
|
|
846
863
|
const _sta = "statuses";
|
|
847
864
|
const _tL = "tagList";
|
|
848
865
|
const _v = "value";
|
|
866
|
+
const _wC = "workspaceConfiguration";
|
|
867
|
+
const _wI = "workspaceId";
|
|
868
|
+
const _wT = "workspaceType";
|
|
849
869
|
const _xN = "xmlName";
|
|
850
870
|
const n0 = "com.amazonaws.opensearch";
|
|
851
871
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
@@ -1066,6 +1086,16 @@ export var AssociatePackagesResponse$ = [3, n0, _APRsso,
|
|
|
1066
1086
|
[_DPDL],
|
|
1067
1087
|
[() => DomainPackageDetailsList]
|
|
1068
1088
|
];
|
|
1089
|
+
export var AttachDataSourceRequest$ = [3, n0, _ADSRt,
|
|
1090
|
+
0,
|
|
1091
|
+
[_i, _dSA, _wI, _wC, _cT],
|
|
1092
|
+
[[0, 1], 0, 0, () => WorkspaceConfigurationInput$, 0], 2
|
|
1093
|
+
];
|
|
1094
|
+
export var AttachDataSourceResponse$ = [3, n0, _ADSRtt,
|
|
1095
|
+
0,
|
|
1096
|
+
[_aI, _i, _a, _dSA, _st],
|
|
1097
|
+
[0, 0, 0, 0, 0]
|
|
1098
|
+
];
|
|
1069
1099
|
export var AuthorizedPrincipal$ = [3, n0, _AP,
|
|
1070
1100
|
0,
|
|
1071
1101
|
[_PT, _Pr, _SO],
|
|
@@ -1301,6 +1331,11 @@ export var DataSource$ = [3, n0, _DSa,
|
|
|
1301
1331
|
[_dSA, _dSD, _iRFDSA],
|
|
1302
1332
|
[0, 0, 0]
|
|
1303
1333
|
];
|
|
1334
|
+
export var DataSourceAttachmentSummary$ = [3, n0, _DSAS,
|
|
1335
|
+
0,
|
|
1336
|
+
[_aI, _dSA, _st],
|
|
1337
|
+
[0, 0, 0]
|
|
1338
|
+
];
|
|
1304
1339
|
export var DataSourceDetails$ = [3, n0, _DSD,
|
|
1305
1340
|
0,
|
|
1306
1341
|
[_DST, _N, _D, _S],
|
|
@@ -1403,7 +1438,7 @@ export var DeploymentStrategyOptionsStatus$ = [3, n0, _DSOS,
|
|
|
1403
1438
|
];
|
|
1404
1439
|
export var DeregisterCapabilityRequest$ = [3, n0, _DCR,
|
|
1405
1440
|
0,
|
|
1406
|
-
[
|
|
1441
|
+
[_aIp, _cN],
|
|
1407
1442
|
[[0, 1], [0, 1]], 2
|
|
1408
1443
|
];
|
|
1409
1444
|
export var DeregisterCapabilityResponse$ = [3, n0, _DCRe,
|
|
@@ -1411,6 +1446,16 @@ export var DeregisterCapabilityResponse$ = [3, n0, _DCRe,
|
|
|
1411
1446
|
[_st],
|
|
1412
1447
|
[0]
|
|
1413
1448
|
];
|
|
1449
|
+
export var DescribeDataSourceAttachmentRequest$ = [3, n0, _DDSAR,
|
|
1450
|
+
0,
|
|
1451
|
+
[_i, _dSA],
|
|
1452
|
+
[[0, 1], 0], 2
|
|
1453
|
+
];
|
|
1454
|
+
export var DescribeDataSourceAttachmentResponse$ = [3, n0, _DDSARe,
|
|
1455
|
+
0,
|
|
1456
|
+
[_aI, _i, _a, _dSA, _st],
|
|
1457
|
+
[0, 0, 0, 0, 0]
|
|
1458
|
+
];
|
|
1414
1459
|
export var DescribeDomainAutoTunesRequest$ = [3, n0, _DDATR,
|
|
1415
1460
|
0,
|
|
1416
1461
|
[_DN, _MR, _NT],
|
|
@@ -1576,6 +1621,16 @@ export var DescribeVpcEndpointsResponse$ = [3, n0, _DVEResc,
|
|
|
1576
1621
|
[_VEpc, _VEE],
|
|
1577
1622
|
[() => VpcEndpoints, () => VpcEndpointErrorList], 2
|
|
1578
1623
|
];
|
|
1624
|
+
export var DetachDataSourceRequest$ = [3, n0, _DDSRet,
|
|
1625
|
+
0,
|
|
1626
|
+
[_i, _dSA],
|
|
1627
|
+
[[0, 1], 0], 2
|
|
1628
|
+
];
|
|
1629
|
+
export var DetachDataSourceResponse$ = [3, n0, _DDSReta,
|
|
1630
|
+
0,
|
|
1631
|
+
[_i, _a, _dSA],
|
|
1632
|
+
[0, 0, 0]
|
|
1633
|
+
];
|
|
1579
1634
|
export var DirectQueryDataSource$ = [3, n0, _DQDS,
|
|
1580
1635
|
0,
|
|
1581
1636
|
[_DSN, _DST, _D, _OSA, _DSA, _TL],
|
|
@@ -1708,12 +1763,12 @@ export var GetApplicationResponse$ = [3, n0, _GARe,
|
|
|
1708
1763
|
];
|
|
1709
1764
|
export var GetCapabilityRequest$ = [3, n0, _GCR,
|
|
1710
1765
|
0,
|
|
1711
|
-
[
|
|
1766
|
+
[_aIp, _cN],
|
|
1712
1767
|
[[0, 1], [0, 1]], 2
|
|
1713
1768
|
];
|
|
1714
1769
|
export var GetCapabilityResponse$ = [3, n0, _GCRe,
|
|
1715
1770
|
0,
|
|
1716
|
-
[_cN,
|
|
1771
|
+
[_cN, _aIp, _st, _cC, _f],
|
|
1717
1772
|
[0, 0, 0, () => CapabilityExtendedResponseConfig$, () => CapabilityFailures]
|
|
1718
1773
|
];
|
|
1719
1774
|
export var GetCompatibleVersionsRequest$ = [3, n0, _GCVR,
|
|
@@ -1921,6 +1976,16 @@ export var ListApplicationsResponse$ = [3, n0, _LARi,
|
|
|
1921
1976
|
[_ASp, _nT],
|
|
1922
1977
|
[() => ApplicationSummaries, 0]
|
|
1923
1978
|
];
|
|
1979
|
+
export var ListDataSourceAttachmentsRequest$ = [3, n0, _LDSAR,
|
|
1980
|
+
0,
|
|
1981
|
+
[_i, _nT, _mR],
|
|
1982
|
+
[[0, 1], 0, 1], 1
|
|
1983
|
+
];
|
|
1984
|
+
export var ListDataSourceAttachmentsResponse$ = [3, n0, _LDSARi,
|
|
1985
|
+
0,
|
|
1986
|
+
[_at, _nT],
|
|
1987
|
+
[() => DataSourceAttachmentSummaryList, 0]
|
|
1988
|
+
];
|
|
1924
1989
|
export var ListDataSourcesRequest$ = [3, n0, _LDSR,
|
|
1925
1990
|
0,
|
|
1926
1991
|
[_DN],
|
|
@@ -2218,12 +2283,12 @@ export var RecurringCharge$ = [3, n0, _RC,
|
|
|
2218
2283
|
];
|
|
2219
2284
|
export var RegisterCapabilityRequest$ = [3, n0, _RCR,
|
|
2220
2285
|
0,
|
|
2221
|
-
[
|
|
2286
|
+
[_aIp, _cN, _cC],
|
|
2222
2287
|
[[0, 1], 0, () => CapabilityBaseRequestConfig$], 3
|
|
2223
2288
|
];
|
|
2224
2289
|
export var RegisterCapabilityResponse$ = [3, n0, _RCRe,
|
|
2225
2290
|
0,
|
|
2226
|
-
[_cN,
|
|
2291
|
+
[_cN, _aIp, _st, _cC],
|
|
2227
2292
|
[0, 0, 0, () => CapabilityBaseResponseConfig$]
|
|
2228
2293
|
];
|
|
2229
2294
|
export var RejectInboundConnectionRequest$ = [3, n0, _RICR,
|
|
@@ -2541,6 +2606,11 @@ export var WindowStartTime$ = [3, n0, _WST,
|
|
|
2541
2606
|
[_H, _Mi],
|
|
2542
2607
|
[1, 1], 2
|
|
2543
2608
|
];
|
|
2609
|
+
export var WorkspaceConfigurationInput$ = [3, n0, _WCI,
|
|
2610
|
+
0,
|
|
2611
|
+
[_n, _wT],
|
|
2612
|
+
[0, 0], 2
|
|
2613
|
+
];
|
|
2544
2614
|
export var ZoneAwarenessConfig$ = [3, n0, _ZAC,
|
|
2545
2615
|
0,
|
|
2546
2616
|
[_AZC],
|
|
@@ -2582,6 +2652,9 @@ var ChangeProgressStageList = [1, n0, _CPSL,
|
|
|
2582
2652
|
var CompatibleVersionsList = [1, n0, _CVL,
|
|
2583
2653
|
0, () => CompatibleVersionsMap$
|
|
2584
2654
|
];
|
|
2655
|
+
var DataSourceAttachmentSummaryList = [1, n0, _DSASL,
|
|
2656
|
+
0, () => DataSourceAttachmentSummary$
|
|
2657
|
+
];
|
|
2585
2658
|
var DataSourceList = [1, n0, _DSLa,
|
|
2586
2659
|
0, () => DataSourceDetails$
|
|
2587
2660
|
];
|
|
@@ -2753,6 +2826,9 @@ export var AssociatePackage$ = [9, n0, _APs,
|
|
|
2753
2826
|
export var AssociatePackages$ = [9, n0, _APss,
|
|
2754
2827
|
{ [_h]: ["POST", "/2021-01-01/packages/associateMultiple", 200] }, () => AssociatePackagesRequest$, () => AssociatePackagesResponse$
|
|
2755
2828
|
];
|
|
2829
|
+
export var AttachDataSource$ = [9, n0, _ADSt,
|
|
2830
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/application/{id}/attachDataSource", 200] }, () => AttachDataSourceRequest$, () => AttachDataSourceResponse$
|
|
2831
|
+
];
|
|
2756
2832
|
export var AuthorizeVpcEndpointAccess$ = [9, n0, _AVEA,
|
|
2757
2833
|
{ [_h]: ["POST", "/2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess", 200] }, () => AuthorizeVpcEndpointAccessRequest$, () => AuthorizeVpcEndpointAccessResponse$
|
|
2758
2834
|
];
|
|
@@ -2810,6 +2886,9 @@ export var DeleteVpcEndpoint$ = [9, n0, _DVE,
|
|
|
2810
2886
|
export var DeregisterCapability$ = [9, n0, _DCe,
|
|
2811
2887
|
{ [_h]: ["DELETE", "/2021-01-01/opensearch/application/{applicationId}/capability/deregister/{capabilityName}", 200] }, () => DeregisterCapabilityRequest$, () => DeregisterCapabilityResponse$
|
|
2812
2888
|
];
|
|
2889
|
+
export var DescribeDataSourceAttachment$ = [9, n0, _DDSA,
|
|
2890
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/application/{id}/describeDataSourceAttachment", 200] }, () => DescribeDataSourceAttachmentRequest$, () => DescribeDataSourceAttachmentResponse$
|
|
2891
|
+
];
|
|
2813
2892
|
export var DescribeDomain$ = [9, n0, _DDe,
|
|
2814
2893
|
{ [_h]: ["GET", "/2021-01-01/opensearch/domain/{DomainName}", 200] }, () => DescribeDomainRequest$, () => DescribeDomainResponse$
|
|
2815
2894
|
];
|
|
@@ -2858,6 +2937,9 @@ export var DescribeReservedInstances$ = [9, n0, _DRIe,
|
|
|
2858
2937
|
export var DescribeVpcEndpoints$ = [9, n0, _DVEe,
|
|
2859
2938
|
{ [_h]: ["POST", "/2021-01-01/opensearch/vpcEndpoints/describe", 200] }, () => DescribeVpcEndpointsRequest$, () => DescribeVpcEndpointsResponse$
|
|
2860
2939
|
];
|
|
2940
|
+
export var DetachDataSource$ = [9, n0, _DDSe,
|
|
2941
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/application/{id}/detachDataSource", 200] }, () => DetachDataSourceRequest$, () => DetachDataSourceResponse$
|
|
2942
|
+
];
|
|
2861
2943
|
export var DissociatePackage$ = [9, n0, _DPi,
|
|
2862
2944
|
{ [_h]: ["POST", "/2021-01-01/packages/dissociate/{PackageID}/{DomainName}", 200] }, () => DissociatePackageRequest$, () => DissociatePackageResponse$
|
|
2863
2945
|
];
|
|
@@ -2900,6 +2982,9 @@ export var GetUpgradeStatus$ = [9, n0, _GUS,
|
|
|
2900
2982
|
export var ListApplications$ = [9, n0, _LA,
|
|
2901
2983
|
{ [_h]: ["GET", "/2021-01-01/opensearch/list-applications", 200] }, () => ListApplicationsRequest$, () => ListApplicationsResponse$
|
|
2902
2984
|
];
|
|
2985
|
+
export var ListDataSourceAttachments$ = [9, n0, _LDSA,
|
|
2986
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/application/{id}/listDataSourceAttachments", 200] }, () => ListDataSourceAttachmentsRequest$, () => ListDataSourceAttachmentsResponse$
|
|
2987
|
+
];
|
|
2903
2988
|
export var ListDataSources$ = [9, n0, _LDS,
|
|
2904
2989
|
{ [_h]: ["GET", "/2021-01-01/opensearch/domain/{DomainName}/dataSource", 200] }, () => ListDataSourcesRequest$, () => ListDataSourcesResponse$
|
|
2905
2990
|
];
|
|
@@ -5,6 +5,7 @@ import { type AddDirectQueryDataSourceCommandInput, type AddDirectQueryDataSourc
|
|
|
5
5
|
import { type AddTagsCommandInput, type AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
6
6
|
import { type AssociatePackageCommandInput, type AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
7
7
|
import { type AssociatePackagesCommandInput, type AssociatePackagesCommandOutput } from "./commands/AssociatePackagesCommand";
|
|
8
|
+
import { type AttachDataSourceCommandInput, type AttachDataSourceCommandOutput } from "./commands/AttachDataSourceCommand";
|
|
8
9
|
import { type AuthorizeVpcEndpointAccessCommandInput, type AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
9
10
|
import { type CancelDomainConfigChangeCommandInput, type CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
10
11
|
import { type CancelServiceSoftwareUpdateCommandInput, type CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
@@ -24,6 +25,7 @@ import { type DeleteOutboundConnectionCommandInput, type DeleteOutboundConnectio
|
|
|
24
25
|
import { type DeletePackageCommandInput, type DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
25
26
|
import { type DeleteVpcEndpointCommandInput, type DeleteVpcEndpointCommandOutput } from "./commands/DeleteVpcEndpointCommand";
|
|
26
27
|
import { type DeregisterCapabilityCommandInput, type DeregisterCapabilityCommandOutput } from "./commands/DeregisterCapabilityCommand";
|
|
28
|
+
import { type DescribeDataSourceAttachmentCommandInput, type DescribeDataSourceAttachmentCommandOutput } from "./commands/DescribeDataSourceAttachmentCommand";
|
|
27
29
|
import { type DescribeDomainAutoTunesCommandInput, type DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
|
|
28
30
|
import { type DescribeDomainChangeProgressCommandInput, type DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
29
31
|
import { type DescribeDomainCommandInput, type DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
@@ -40,6 +42,7 @@ import { type DescribePackagesCommandInput, type DescribePackagesCommandOutput }
|
|
|
40
42
|
import { type DescribeReservedInstanceOfferingsCommandInput, type DescribeReservedInstanceOfferingsCommandOutput } from "./commands/DescribeReservedInstanceOfferingsCommand";
|
|
41
43
|
import { type DescribeReservedInstancesCommandInput, type DescribeReservedInstancesCommandOutput } from "./commands/DescribeReservedInstancesCommand";
|
|
42
44
|
import { type DescribeVpcEndpointsCommandInput, type DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
45
|
+
import { type DetachDataSourceCommandInput, type DetachDataSourceCommandOutput } from "./commands/DetachDataSourceCommand";
|
|
43
46
|
import { type DissociatePackageCommandInput, type DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
44
47
|
import { type DissociatePackagesCommandInput, type DissociatePackagesCommandOutput } from "./commands/DissociatePackagesCommand";
|
|
45
48
|
import { type GetApplicationCommandInput, type GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
@@ -54,6 +57,7 @@ import { type GetPackageVersionHistoryCommandInput, type GetPackageVersionHistor
|
|
|
54
57
|
import { type GetUpgradeHistoryCommandInput, type GetUpgradeHistoryCommandOutput } from "./commands/GetUpgradeHistoryCommand";
|
|
55
58
|
import { type GetUpgradeStatusCommandInput, type GetUpgradeStatusCommandOutput } from "./commands/GetUpgradeStatusCommand";
|
|
56
59
|
import { type ListApplicationsCommandInput, type ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
60
|
+
import { type ListDataSourceAttachmentsCommandInput, type ListDataSourceAttachmentsCommandOutput } from "./commands/ListDataSourceAttachmentsCommand";
|
|
57
61
|
import { type ListDataSourcesCommandInput, type ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
58
62
|
import { type ListDirectQueryDataSourcesCommandInput, type ListDirectQueryDataSourcesCommandOutput } from "./commands/ListDirectQueryDataSourcesCommand";
|
|
59
63
|
import { type ListDomainMaintenancesCommandInput, type ListDomainMaintenancesCommandOutput } from "./commands/ListDomainMaintenancesCommand";
|
|
@@ -125,6 +129,12 @@ export interface OpenSearch {
|
|
|
125
129
|
associatePackages(args: AssociatePackagesCommandInput, options?: __HttpHandlerOptions): Promise<AssociatePackagesCommandOutput>;
|
|
126
130
|
associatePackages(args: AssociatePackagesCommandInput, cb: (err: any, data?: AssociatePackagesCommandOutput) => void): void;
|
|
127
131
|
associatePackages(args: AssociatePackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePackagesCommandOutput) => void): void;
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link AttachDataSourceCommand}
|
|
134
|
+
*/
|
|
135
|
+
attachDataSource(args: AttachDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<AttachDataSourceCommandOutput>;
|
|
136
|
+
attachDataSource(args: AttachDataSourceCommandInput, cb: (err: any, data?: AttachDataSourceCommandOutput) => void): void;
|
|
137
|
+
attachDataSource(args: AttachDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachDataSourceCommandOutput) => void): void;
|
|
128
138
|
/**
|
|
129
139
|
* @see {@link AuthorizeVpcEndpointAccessCommand}
|
|
130
140
|
*/
|
|
@@ -239,6 +249,12 @@ export interface OpenSearch {
|
|
|
239
249
|
deregisterCapability(args: DeregisterCapabilityCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterCapabilityCommandOutput>;
|
|
240
250
|
deregisterCapability(args: DeregisterCapabilityCommandInput, cb: (err: any, data?: DeregisterCapabilityCommandOutput) => void): void;
|
|
241
251
|
deregisterCapability(args: DeregisterCapabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterCapabilityCommandOutput) => void): void;
|
|
252
|
+
/**
|
|
253
|
+
* @see {@link DescribeDataSourceAttachmentCommand}
|
|
254
|
+
*/
|
|
255
|
+
describeDataSourceAttachment(args: DescribeDataSourceAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDataSourceAttachmentCommandOutput>;
|
|
256
|
+
describeDataSourceAttachment(args: DescribeDataSourceAttachmentCommandInput, cb: (err: any, data?: DescribeDataSourceAttachmentCommandOutput) => void): void;
|
|
257
|
+
describeDataSourceAttachment(args: DescribeDataSourceAttachmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDataSourceAttachmentCommandOutput) => void): void;
|
|
242
258
|
/**
|
|
243
259
|
* @see {@link DescribeDomainCommand}
|
|
244
260
|
*/
|
|
@@ -340,6 +356,12 @@ export interface OpenSearch {
|
|
|
340
356
|
describeVpcEndpoints(args: DescribeVpcEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcEndpointsCommandOutput>;
|
|
341
357
|
describeVpcEndpoints(args: DescribeVpcEndpointsCommandInput, cb: (err: any, data?: DescribeVpcEndpointsCommandOutput) => void): void;
|
|
342
358
|
describeVpcEndpoints(args: DescribeVpcEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcEndpointsCommandOutput) => void): void;
|
|
359
|
+
/**
|
|
360
|
+
* @see {@link DetachDataSourceCommand}
|
|
361
|
+
*/
|
|
362
|
+
detachDataSource(args: DetachDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DetachDataSourceCommandOutput>;
|
|
363
|
+
detachDataSource(args: DetachDataSourceCommandInput, cb: (err: any, data?: DetachDataSourceCommandOutput) => void): void;
|
|
364
|
+
detachDataSource(args: DetachDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachDataSourceCommandOutput) => void): void;
|
|
343
365
|
/**
|
|
344
366
|
* @see {@link DissociatePackageCommand}
|
|
345
367
|
*/
|
|
@@ -427,6 +449,12 @@ export interface OpenSearch {
|
|
|
427
449
|
listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
|
|
428
450
|
listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
429
451
|
listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
452
|
+
/**
|
|
453
|
+
* @see {@link ListDataSourceAttachmentsCommand}
|
|
454
|
+
*/
|
|
455
|
+
listDataSourceAttachments(args: ListDataSourceAttachmentsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourceAttachmentsCommandOutput>;
|
|
456
|
+
listDataSourceAttachments(args: ListDataSourceAttachmentsCommandInput, cb: (err: any, data?: ListDataSourceAttachmentsCommandOutput) => void): void;
|
|
457
|
+
listDataSourceAttachments(args: ListDataSourceAttachmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourceAttachmentsCommandOutput) => void): void;
|
|
430
458
|
/**
|
|
431
459
|
* @see {@link ListDataSourcesCommand}
|
|
432
460
|
*/
|
|
@@ -12,6 +12,7 @@ import type { AddDirectQueryDataSourceCommandInput, AddDirectQueryDataSourceComm
|
|
|
12
12
|
import type { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
13
13
|
import type { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
14
14
|
import type { AssociatePackagesCommandInput, AssociatePackagesCommandOutput } from "./commands/AssociatePackagesCommand";
|
|
15
|
+
import type { AttachDataSourceCommandInput, AttachDataSourceCommandOutput } from "./commands/AttachDataSourceCommand";
|
|
15
16
|
import type { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
16
17
|
import type { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
17
18
|
import type { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
@@ -31,6 +32,7 @@ import type { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionComm
|
|
|
31
32
|
import type { DeletePackageCommandInput, DeletePackageCommandOutput } from "./commands/DeletePackageCommand";
|
|
32
33
|
import type { DeleteVpcEndpointCommandInput, DeleteVpcEndpointCommandOutput } from "./commands/DeleteVpcEndpointCommand";
|
|
33
34
|
import type { DeregisterCapabilityCommandInput, DeregisterCapabilityCommandOutput } from "./commands/DeregisterCapabilityCommand";
|
|
35
|
+
import type { DescribeDataSourceAttachmentCommandInput, DescribeDataSourceAttachmentCommandOutput } from "./commands/DescribeDataSourceAttachmentCommand";
|
|
34
36
|
import type { DescribeDomainAutoTunesCommandInput, DescribeDomainAutoTunesCommandOutput } from "./commands/DescribeDomainAutoTunesCommand";
|
|
35
37
|
import type { DescribeDomainChangeProgressCommandInput, DescribeDomainChangeProgressCommandOutput } from "./commands/DescribeDomainChangeProgressCommand";
|
|
36
38
|
import type { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./commands/DescribeDomainCommand";
|
|
@@ -47,6 +49,7 @@ import type { DescribePackagesCommandInput, DescribePackagesCommandOutput } from
|
|
|
47
49
|
import type { DescribeReservedInstanceOfferingsCommandInput, DescribeReservedInstanceOfferingsCommandOutput } from "./commands/DescribeReservedInstanceOfferingsCommand";
|
|
48
50
|
import type { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommandOutput } from "./commands/DescribeReservedInstancesCommand";
|
|
49
51
|
import type { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
52
|
+
import type { DetachDataSourceCommandInput, DetachDataSourceCommandOutput } from "./commands/DetachDataSourceCommand";
|
|
50
53
|
import type { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
51
54
|
import type { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from "./commands/DissociatePackagesCommand";
|
|
52
55
|
import type { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
@@ -61,6 +64,7 @@ import type { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryComm
|
|
|
61
64
|
import type { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "./commands/GetUpgradeHistoryCommand";
|
|
62
65
|
import type { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "./commands/GetUpgradeStatusCommand";
|
|
63
66
|
import type { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
67
|
+
import type { ListDataSourceAttachmentsCommandInput, ListDataSourceAttachmentsCommandOutput } from "./commands/ListDataSourceAttachmentsCommand";
|
|
64
68
|
import type { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
65
69
|
import type { ListDirectQueryDataSourcesCommandInput, ListDirectQueryDataSourcesCommandOutput } from "./commands/ListDirectQueryDataSourcesCommand";
|
|
66
70
|
import type { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "./commands/ListDomainMaintenancesCommand";
|
|
@@ -100,11 +104,11 @@ export { __Client };
|
|
|
100
104
|
/**
|
|
101
105
|
* @public
|
|
102
106
|
*/
|
|
103
|
-
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DeregisterCapabilityCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCapabilityCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | RollbackServiceSoftwareUpdateCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
107
|
+
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AttachDataSourceCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DeregisterCapabilityCommandInput | DescribeDataSourceAttachmentCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DetachDataSourceCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | GetApplicationCommandInput | GetCapabilityCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListApplicationsCommandInput | ListDataSourceAttachmentsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | RollbackServiceSoftwareUpdateCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
104
108
|
/**
|
|
105
109
|
* @public
|
|
106
110
|
*/
|
|
107
|
-
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DeregisterCapabilityCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCapabilityCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | RollbackServiceSoftwareUpdateCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
111
|
+
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AttachDataSourceCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DeregisterCapabilityCommandOutput | DescribeDataSourceAttachmentCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DetachDataSourceCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | GetApplicationCommandOutput | GetCapabilityCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListApplicationsCommandOutput | ListDataSourceAttachmentsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | RollbackServiceSoftwareUpdateCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
108
112
|
/**
|
|
109
113
|
* @public
|
|
110
114
|
*/
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AttachDataSourceRequest, AttachDataSourceResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AttachDataSourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AttachDataSourceCommandInput extends AttachDataSourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AttachDataSourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AttachDataSourceCommandOutput extends AttachDataSourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AttachDataSourceCommand_base: {
|
|
25
|
+
new (input: AttachDataSourceCommandInput): import("@smithy/core/client").CommandImpl<AttachDataSourceCommandInput, AttachDataSourceCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AttachDataSourceCommandInput): import("@smithy/core/client").CommandImpl<AttachDataSourceCommandInput, AttachDataSourceCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Attaches a data source to an OpenSearch application. The data source can be an Amazon OpenSearch Service domain or an Amazon OpenSearch Serverless collection. If both the application and data source are in the <code>ACTIVE</code> state, the attachment completes immediately and returns a status of <code>ATTACHED</code>. If either resource is not yet active, the operation stores the request and returns a status of <code>PENDING</code>. A background process then completes the attachment when both resources become active. Pending attachments that are not completed within 24 hours are marked as <code>FAILED</code>. This operation is idempotent. If a data source is already attached or pending for the same application, the existing attachment is returned.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OpenSearchClient, AttachDataSourceCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
37
|
+
* // const { OpenSearchClient, AttachDataSourceCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
38
|
+
* // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
|
|
39
|
+
* const config = {}; // type is OpenSearchClientConfig
|
|
40
|
+
* const client = new OpenSearchClient(config);
|
|
41
|
+
* const input = { // AttachDataSourceRequest
|
|
42
|
+
* id: "STRING_VALUE", // required
|
|
43
|
+
* dataSourceArn: "STRING_VALUE", // required
|
|
44
|
+
* workspaceId: "STRING_VALUE",
|
|
45
|
+
* workspaceConfiguration: { // WorkspaceConfigurationInput
|
|
46
|
+
* name: "STRING_VALUE", // required
|
|
47
|
+
* workspaceType: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* clientToken: "STRING_VALUE",
|
|
50
|
+
* };
|
|
51
|
+
* const command = new AttachDataSourceCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // AttachDataSourceResponse
|
|
54
|
+
* // attachmentId: "STRING_VALUE",
|
|
55
|
+
* // id: "STRING_VALUE",
|
|
56
|
+
* // arn: "STRING_VALUE",
|
|
57
|
+
* // dataSourceArn: "STRING_VALUE",
|
|
58
|
+
* // status: "PENDING" || "ATTACHED" || "FAILED",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param AttachDataSourceCommandInput - {@link AttachDataSourceCommandInput}
|
|
64
|
+
* @returns {@link AttachDataSourceCommandOutput}
|
|
65
|
+
* @see {@link AttachDataSourceCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link AttachDataSourceCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>An error occurred because you don't have permissions to access the resource.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConflictException} (client fault)
|
|
73
|
+
* <p>An error occurred because the client attempts to remove a resource that is currently in use.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
76
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalException} (server fault)
|
|
79
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link OpenSearchServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class AttachDataSourceCommand extends AttachDataSourceCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: AttachDataSourceRequest;
|
|
98
|
+
output: AttachDataSourceResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: AttachDataSourceCommandInput;
|
|
102
|
+
output: AttachDataSourceCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DescribeDataSourceAttachmentRequest, DescribeDataSourceAttachmentResponse } from "../models/models_0";
|
|
4
|
+
import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeDataSourceAttachmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeDataSourceAttachmentCommandInput extends DescribeDataSourceAttachmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeDataSourceAttachmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeDataSourceAttachmentCommandOutput extends DescribeDataSourceAttachmentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeDataSourceAttachmentCommand_base: {
|
|
25
|
+
new (input: DescribeDataSourceAttachmentCommandInput): import("@smithy/core/client").CommandImpl<DescribeDataSourceAttachmentCommandInput, DescribeDataSourceAttachmentCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeDataSourceAttachmentCommandInput): import("@smithy/core/client").CommandImpl<DescribeDataSourceAttachmentCommandInput, DescribeDataSourceAttachmentCommandOutput, OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Returns the current status and details of a specific data source attachment for an OpenSearch application. Throws a <code>ResourceNotFoundException</code> if no attachment record exists for the specified application and data source combination.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OpenSearchClient, DescribeDataSourceAttachmentCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
37
|
+
* // const { OpenSearchClient, DescribeDataSourceAttachmentCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
38
|
+
* // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
|
|
39
|
+
* const config = {}; // type is OpenSearchClientConfig
|
|
40
|
+
* const client = new OpenSearchClient(config);
|
|
41
|
+
* const input = { // DescribeDataSourceAttachmentRequest
|
|
42
|
+
* id: "STRING_VALUE", // required
|
|
43
|
+
* dataSourceArn: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DescribeDataSourceAttachmentCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DescribeDataSourceAttachmentResponse
|
|
48
|
+
* // attachmentId: "STRING_VALUE",
|
|
49
|
+
* // id: "STRING_VALUE",
|
|
50
|
+
* // arn: "STRING_VALUE",
|
|
51
|
+
* // dataSourceArn: "STRING_VALUE",
|
|
52
|
+
* // status: "PENDING" || "ATTACHED" || "FAILED",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param DescribeDataSourceAttachmentCommandInput - {@link DescribeDataSourceAttachmentCommandInput}
|
|
58
|
+
* @returns {@link DescribeDataSourceAttachmentCommandOutput}
|
|
59
|
+
* @see {@link DescribeDataSourceAttachmentCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link DescribeDataSourceAttachmentCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>An error occurred because you don't have permissions to access the resource.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
67
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalException} (server fault)
|
|
70
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link OpenSearchServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class DescribeDataSourceAttachmentCommand extends DescribeDataSourceAttachmentCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: DescribeDataSourceAttachmentRequest;
|
|
89
|
+
output: DescribeDataSourceAttachmentResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: DescribeDataSourceAttachmentCommandInput;
|
|
93
|
+
output: DescribeDataSourceAttachmentCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|