@aws-sdk/client-opensearch 3.1072.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
package/README.md
CHANGED
|
@@ -227,6 +227,13 @@ AssociatePackages
|
|
|
227
227
|
</details>
|
|
228
228
|
<details>
|
|
229
229
|
<summary>
|
|
230
|
+
AttachDataSource
|
|
231
|
+
</summary>
|
|
232
|
+
|
|
233
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/AttachDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AttachDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/AttachDataSourceCommandOutput/)
|
|
234
|
+
</details>
|
|
235
|
+
<details>
|
|
236
|
+
<summary>
|
|
230
237
|
AuthorizeVpcEndpointAccess
|
|
231
238
|
</summary>
|
|
232
239
|
|
|
@@ -360,6 +367,13 @@ DeregisterCapability
|
|
|
360
367
|
</details>
|
|
361
368
|
<details>
|
|
362
369
|
<summary>
|
|
370
|
+
DescribeDataSourceAttachment
|
|
371
|
+
</summary>
|
|
372
|
+
|
|
373
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/DescribeDataSourceAttachmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DescribeDataSourceAttachmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DescribeDataSourceAttachmentCommandOutput/)
|
|
374
|
+
</details>
|
|
375
|
+
<details>
|
|
376
|
+
<summary>
|
|
363
377
|
DescribeDomain
|
|
364
378
|
</summary>
|
|
365
379
|
|
|
@@ -472,6 +486,13 @@ DescribeVpcEndpoints
|
|
|
472
486
|
</details>
|
|
473
487
|
<details>
|
|
474
488
|
<summary>
|
|
489
|
+
DetachDataSource
|
|
490
|
+
</summary>
|
|
491
|
+
|
|
492
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/DetachDataSourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DetachDataSourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/DetachDataSourceCommandOutput/)
|
|
493
|
+
</details>
|
|
494
|
+
<details>
|
|
495
|
+
<summary>
|
|
475
496
|
DissociatePackage
|
|
476
497
|
</summary>
|
|
477
498
|
|
|
@@ -570,6 +591,13 @@ ListApplications
|
|
|
570
591
|
</details>
|
|
571
592
|
<details>
|
|
572
593
|
<summary>
|
|
594
|
+
ListDataSourceAttachments
|
|
595
|
+
</summary>
|
|
596
|
+
|
|
597
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/opensearch/command/ListDataSourceAttachmentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/ListDataSourceAttachmentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-opensearch/Interface/ListDataSourceAttachmentsCommandOutput/)
|
|
598
|
+
</details>
|
|
599
|
+
<details>
|
|
600
|
+
<summary>
|
|
573
601
|
ListDataSources
|
|
574
602
|
</summary>
|
|
575
603
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
|
11
11
|
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
12
|
const { resolveHttpAuthSchemeConfig, defaultOpenSearchHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
13
|
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
-
const { AcceptInboundConnection$, AddDataSource$, AddDirectQueryDataSource$, AddTags$, AssociatePackage$, AssociatePackages$, AuthorizeVpcEndpointAccess$, CancelDomainConfigChange$, CancelServiceSoftwareUpdate$, CreateApplication$, CreateDomain$, CreateIndex$, CreateOutboundConnection$, CreatePackage$, CreateVpcEndpoint$, DeleteApplication$, DeleteDataSource$, DeleteDirectQueryDataSource$, DeleteDomain$, DeleteInboundConnection$, DeleteIndex$, DeleteOutboundConnection$, DeletePackage$, DeleteVpcEndpoint$, DeregisterCapability$, DescribeDomainAutoTunes$, DescribeDomainChangeProgress$, DescribeDomain$, DescribeDomainConfig$, DescribeDomainHealth$, DescribeDomainNodes$, DescribeDomains$, DescribeDryRunProgress$, DescribeInboundConnections$, DescribeInsightDetails$, DescribeInstanceTypeLimits$, DescribeOutboundConnections$, DescribePackages$, DescribeReservedInstanceOfferings$, DescribeReservedInstances$, DescribeVpcEndpoints$, DissociatePackage$, DissociatePackages$, GetApplication$, GetCapability$, GetCompatibleVersions$, GetDataSource$, GetDefaultApplicationSetting$, GetDirectQueryDataSource$, GetDomainMaintenanceStatus$, GetIndex$, GetPackageVersionHistory$, GetUpgradeHistory$, GetUpgradeStatus$, ListApplications$, ListDataSources$, ListDirectQueryDataSources$, ListDomainMaintenances$, ListDomainNames$, ListDomainsForPackage$, ListInsights$, ListInstanceTypeDetails$, ListPackagesForDomain$, ListScheduledActions$, ListTags$, ListVersions$, ListVpcEndpointAccess$, ListVpcEndpoints$, ListVpcEndpointsForDomain$, PurchaseReservedInstanceOffering$, PutDefaultApplicationSetting$, RegisterCapability$, RejectInboundConnection$, RemoveTags$, RevokeVpcEndpointAccess$, RollbackServiceSoftwareUpdate$, StartDomainMaintenance$, StartServiceSoftwareUpdate$, UpdateApplication$, UpdateDataSource$, UpdateDirectQueryDataSource$, UpdateDomainConfig$, UpdateIndex$, UpdatePackage$, UpdatePackageScope$, UpdateScheduledAction$, UpdateVpcEndpoint$, UpgradeDomain$ } = require("./schemas/schemas_0");
|
|
14
|
+
const { AcceptInboundConnection$, AddDataSource$, AddDirectQueryDataSource$, AddTags$, AssociatePackage$, AssociatePackages$, AttachDataSource$, AuthorizeVpcEndpointAccess$, CancelDomainConfigChange$, CancelServiceSoftwareUpdate$, CreateApplication$, CreateDomain$, CreateIndex$, CreateOutboundConnection$, CreatePackage$, CreateVpcEndpoint$, DeleteApplication$, DeleteDataSource$, DeleteDirectQueryDataSource$, DeleteDomain$, DeleteInboundConnection$, DeleteIndex$, DeleteOutboundConnection$, DeletePackage$, DeleteVpcEndpoint$, DeregisterCapability$, DescribeDataSourceAttachment$, DescribeDomainAutoTunes$, DescribeDomainChangeProgress$, DescribeDomain$, DescribeDomainConfig$, DescribeDomainHealth$, DescribeDomainNodes$, DescribeDomains$, DescribeDryRunProgress$, DescribeInboundConnections$, DescribeInsightDetails$, DescribeInstanceTypeLimits$, DescribeOutboundConnections$, DescribePackages$, DescribeReservedInstanceOfferings$, DescribeReservedInstances$, DescribeVpcEndpoints$, DetachDataSource$, DissociatePackage$, DissociatePackages$, GetApplication$, GetCapability$, GetCompatibleVersions$, GetDataSource$, GetDefaultApplicationSetting$, GetDirectQueryDataSource$, GetDomainMaintenanceStatus$, GetIndex$, GetPackageVersionHistory$, GetUpgradeHistory$, GetUpgradeStatus$, ListApplications$, ListDataSourceAttachments$, ListDataSources$, ListDirectQueryDataSources$, ListDomainMaintenances$, ListDomainNames$, ListDomainsForPackage$, ListInsights$, ListInstanceTypeDetails$, ListPackagesForDomain$, ListScheduledActions$, ListTags$, ListVersions$, ListVpcEndpointAccess$, ListVpcEndpoints$, ListVpcEndpointsForDomain$, PurchaseReservedInstanceOffering$, PutDefaultApplicationSetting$, RegisterCapability$, RejectInboundConnection$, RemoveTags$, RevokeVpcEndpointAccess$, RollbackServiceSoftwareUpdate$, StartDomainMaintenance$, StartServiceSoftwareUpdate$, UpdateApplication$, UpdateDataSource$, UpdateDirectQueryDataSource$, UpdateDomainConfig$, UpdateIndex$, UpdatePackage$, UpdatePackageScope$, UpdateScheduledAction$, UpdateVpcEndpoint$, UpgradeDomain$ } = require("./schemas/schemas_0");
|
|
15
15
|
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
16
|
__exportStar(require("./models/errors"), exports);
|
|
17
17
|
const { OpenSearchServiceException } = require("./models/OpenSearchServiceException");
|
|
@@ -183,6 +183,18 @@ class AssociatePackagesCommand extends Command
|
|
|
183
183
|
.build() {
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
+
class AttachDataSourceCommand extends Command
|
|
187
|
+
.classBuilder()
|
|
188
|
+
.ep(commonParams)
|
|
189
|
+
.m(function (Command, cs, config, o) {
|
|
190
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
191
|
+
})
|
|
192
|
+
.s("AmazonOpenSearchService", "AttachDataSource", {})
|
|
193
|
+
.n("OpenSearchClient", "AttachDataSourceCommand")
|
|
194
|
+
.sc(AttachDataSource$)
|
|
195
|
+
.build() {
|
|
196
|
+
}
|
|
197
|
+
|
|
186
198
|
class AuthorizeVpcEndpointAccessCommand extends Command
|
|
187
199
|
.classBuilder()
|
|
188
200
|
.ep(commonParams)
|
|
@@ -411,6 +423,18 @@ class DeregisterCapabilityCommand extends Command
|
|
|
411
423
|
.build() {
|
|
412
424
|
}
|
|
413
425
|
|
|
426
|
+
class DescribeDataSourceAttachmentCommand extends Command
|
|
427
|
+
.classBuilder()
|
|
428
|
+
.ep(commonParams)
|
|
429
|
+
.m(function (Command, cs, config, o) {
|
|
430
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
431
|
+
})
|
|
432
|
+
.s("AmazonOpenSearchService", "DescribeDataSourceAttachment", {})
|
|
433
|
+
.n("OpenSearchClient", "DescribeDataSourceAttachmentCommand")
|
|
434
|
+
.sc(DescribeDataSourceAttachment$)
|
|
435
|
+
.build() {
|
|
436
|
+
}
|
|
437
|
+
|
|
414
438
|
class DescribeDomainAutoTunesCommand extends Command
|
|
415
439
|
.classBuilder()
|
|
416
440
|
.ep(commonParams)
|
|
@@ -603,6 +627,18 @@ class DescribeVpcEndpointsCommand extends Command
|
|
|
603
627
|
.build() {
|
|
604
628
|
}
|
|
605
629
|
|
|
630
|
+
class DetachDataSourceCommand extends Command
|
|
631
|
+
.classBuilder()
|
|
632
|
+
.ep(commonParams)
|
|
633
|
+
.m(function (Command, cs, config, o) {
|
|
634
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
635
|
+
})
|
|
636
|
+
.s("AmazonOpenSearchService", "DetachDataSource", {})
|
|
637
|
+
.n("OpenSearchClient", "DetachDataSourceCommand")
|
|
638
|
+
.sc(DetachDataSource$)
|
|
639
|
+
.build() {
|
|
640
|
+
}
|
|
641
|
+
|
|
606
642
|
class DissociatePackageCommand extends Command
|
|
607
643
|
.classBuilder()
|
|
608
644
|
.ep(commonParams)
|
|
@@ -771,6 +807,18 @@ class ListApplicationsCommand extends Command
|
|
|
771
807
|
.build() {
|
|
772
808
|
}
|
|
773
809
|
|
|
810
|
+
class ListDataSourceAttachmentsCommand extends Command
|
|
811
|
+
.classBuilder()
|
|
812
|
+
.ep(commonParams)
|
|
813
|
+
.m(function (Command, cs, config, o) {
|
|
814
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
815
|
+
})
|
|
816
|
+
.s("AmazonOpenSearchService", "ListDataSourceAttachments", {})
|
|
817
|
+
.n("OpenSearchClient", "ListDataSourceAttachmentsCommand")
|
|
818
|
+
.sc(ListDataSourceAttachments$)
|
|
819
|
+
.build() {
|
|
820
|
+
}
|
|
821
|
+
|
|
774
822
|
class ListDataSourcesCommand extends Command
|
|
775
823
|
.classBuilder()
|
|
776
824
|
.ep(commonParams)
|
|
@@ -1204,6 +1252,7 @@ const commands = {
|
|
|
1204
1252
|
AddTagsCommand,
|
|
1205
1253
|
AssociatePackageCommand,
|
|
1206
1254
|
AssociatePackagesCommand,
|
|
1255
|
+
AttachDataSourceCommand,
|
|
1207
1256
|
AuthorizeVpcEndpointAccessCommand,
|
|
1208
1257
|
CancelDomainConfigChangeCommand,
|
|
1209
1258
|
CancelServiceSoftwareUpdateCommand,
|
|
@@ -1223,6 +1272,7 @@ const commands = {
|
|
|
1223
1272
|
DeletePackageCommand,
|
|
1224
1273
|
DeleteVpcEndpointCommand,
|
|
1225
1274
|
DeregisterCapabilityCommand,
|
|
1275
|
+
DescribeDataSourceAttachmentCommand,
|
|
1226
1276
|
DescribeDomainCommand,
|
|
1227
1277
|
DescribeDomainAutoTunesCommand,
|
|
1228
1278
|
DescribeDomainChangeProgressCommand,
|
|
@@ -1239,6 +1289,7 @@ const commands = {
|
|
|
1239
1289
|
DescribeReservedInstanceOfferingsCommand,
|
|
1240
1290
|
DescribeReservedInstancesCommand,
|
|
1241
1291
|
DescribeVpcEndpointsCommand,
|
|
1292
|
+
DetachDataSourceCommand,
|
|
1242
1293
|
DissociatePackageCommand,
|
|
1243
1294
|
DissociatePackagesCommand,
|
|
1244
1295
|
GetApplicationCommand,
|
|
@@ -1253,6 +1304,7 @@ const commands = {
|
|
|
1253
1304
|
GetUpgradeHistoryCommand,
|
|
1254
1305
|
GetUpgradeStatusCommand,
|
|
1255
1306
|
ListApplicationsCommand,
|
|
1307
|
+
ListDataSourceAttachmentsCommand,
|
|
1256
1308
|
ListDataSourcesCommand,
|
|
1257
1309
|
ListDirectQueryDataSourcesCommand,
|
|
1258
1310
|
ListDomainMaintenancesCommand,
|
|
@@ -1371,6 +1423,11 @@ const PackageType = {
|
|
|
1371
1423
|
TXT_DICTIONARY: "TXT-DICTIONARY",
|
|
1372
1424
|
ZIP_PLUGIN: "ZIP-PLUGIN",
|
|
1373
1425
|
};
|
|
1426
|
+
const DataSourceAttachmentStatus = {
|
|
1427
|
+
ATTACHED: "ATTACHED",
|
|
1428
|
+
FAILED: "FAILED",
|
|
1429
|
+
PENDING: "PENDING",
|
|
1430
|
+
};
|
|
1374
1431
|
const AWSServicePrincipal = {
|
|
1375
1432
|
application_opensearchservice_amazonaws_com: "application.opensearchservice.amazonaws.com",
|
|
1376
1433
|
};
|
|
@@ -1811,6 +1868,7 @@ exports.AppConfigType = AppConfigType;
|
|
|
1811
1868
|
exports.ApplicationStatus = ApplicationStatus;
|
|
1812
1869
|
exports.AssociatePackageCommand = AssociatePackageCommand;
|
|
1813
1870
|
exports.AssociatePackagesCommand = AssociatePackagesCommand;
|
|
1871
|
+
exports.AttachDataSourceCommand = AttachDataSourceCommand;
|
|
1814
1872
|
exports.AuthorizeVpcEndpointAccessCommand = AuthorizeVpcEndpointAccessCommand;
|
|
1815
1873
|
exports.AutoTuneDesiredState = AutoTuneDesiredState;
|
|
1816
1874
|
exports.AutoTuneState = AutoTuneState;
|
|
@@ -1827,6 +1885,7 @@ exports.CreateIndexCommand = CreateIndexCommand;
|
|
|
1827
1885
|
exports.CreateOutboundConnectionCommand = CreateOutboundConnectionCommand;
|
|
1828
1886
|
exports.CreatePackageCommand = CreatePackageCommand;
|
|
1829
1887
|
exports.CreateVpcEndpointCommand = CreateVpcEndpointCommand;
|
|
1888
|
+
exports.DataSourceAttachmentStatus = DataSourceAttachmentStatus;
|
|
1830
1889
|
exports.DataSourceStatus = DataSourceStatus;
|
|
1831
1890
|
exports.DeleteApplicationCommand = DeleteApplicationCommand;
|
|
1832
1891
|
exports.DeleteDataSourceCommand = DeleteDataSourceCommand;
|
|
@@ -1840,6 +1899,7 @@ exports.DeleteVpcEndpointCommand = DeleteVpcEndpointCommand;
|
|
|
1840
1899
|
exports.DeploymentStatus = DeploymentStatus;
|
|
1841
1900
|
exports.DeploymentStrategy = DeploymentStrategy;
|
|
1842
1901
|
exports.DeregisterCapabilityCommand = DeregisterCapabilityCommand;
|
|
1902
|
+
exports.DescribeDataSourceAttachmentCommand = DescribeDataSourceAttachmentCommand;
|
|
1843
1903
|
exports.DescribeDomainAutoTunesCommand = DescribeDomainAutoTunesCommand;
|
|
1844
1904
|
exports.DescribeDomainChangeProgressCommand = DescribeDomainChangeProgressCommand;
|
|
1845
1905
|
exports.DescribeDomainCommand = DescribeDomainCommand;
|
|
@@ -1857,6 +1917,7 @@ exports.DescribePackagesFilterName = DescribePackagesFilterName;
|
|
|
1857
1917
|
exports.DescribeReservedInstanceOfferingsCommand = DescribeReservedInstanceOfferingsCommand;
|
|
1858
1918
|
exports.DescribeReservedInstancesCommand = DescribeReservedInstancesCommand;
|
|
1859
1919
|
exports.DescribeVpcEndpointsCommand = DescribeVpcEndpointsCommand;
|
|
1920
|
+
exports.DetachDataSourceCommand = DetachDataSourceCommand;
|
|
1860
1921
|
exports.DissociatePackageCommand = DissociatePackageCommand;
|
|
1861
1922
|
exports.DissociatePackagesCommand = DissociatePackagesCommand;
|
|
1862
1923
|
exports.DomainHealth = DomainHealth;
|
|
@@ -1887,6 +1948,7 @@ exports.InsightSortOrder = InsightSortOrder;
|
|
|
1887
1948
|
exports.InsightStatus = InsightStatus;
|
|
1888
1949
|
exports.InsightType = InsightType;
|
|
1889
1950
|
exports.ListApplicationsCommand = ListApplicationsCommand;
|
|
1951
|
+
exports.ListDataSourceAttachmentsCommand = ListDataSourceAttachmentsCommand;
|
|
1890
1952
|
exports.ListDataSourcesCommand = ListDataSourcesCommand;
|
|
1891
1953
|
exports.ListDirectQueryDataSourcesCommand = ListDirectQueryDataSourcesCommand;
|
|
1892
1954
|
exports.ListDomainMaintenancesCommand = ListDomainMaintenancesCommand;
|
|
@@ -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
|
const { TypeRegistry } = require("@smithy/core/schema");
|
|
@@ -1105,6 +1125,18 @@ const AssociatePackagesResponse$ = [3, n0, _APRsso,
|
|
|
1105
1125
|
[() => DomainPackageDetailsList]
|
|
1106
1126
|
];
|
|
1107
1127
|
exports.AssociatePackagesResponse$ = AssociatePackagesResponse$;
|
|
1128
|
+
const AttachDataSourceRequest$ = [3, n0, _ADSRt,
|
|
1129
|
+
0,
|
|
1130
|
+
[_i, _dSA, _wI, _wC, _cT],
|
|
1131
|
+
[[0, 1], 0, 0, () => WorkspaceConfigurationInput$, 0], 2
|
|
1132
|
+
];
|
|
1133
|
+
exports.AttachDataSourceRequest$ = AttachDataSourceRequest$;
|
|
1134
|
+
const AttachDataSourceResponse$ = [3, n0, _ADSRtt,
|
|
1135
|
+
0,
|
|
1136
|
+
[_aI, _i, _a, _dSA, _st],
|
|
1137
|
+
[0, 0, 0, 0, 0]
|
|
1138
|
+
];
|
|
1139
|
+
exports.AttachDataSourceResponse$ = AttachDataSourceResponse$;
|
|
1108
1140
|
const AuthorizedPrincipal$ = [3, n0, _AP,
|
|
1109
1141
|
0,
|
|
1110
1142
|
[_PT, _Pr, _SO],
|
|
@@ -1387,6 +1419,12 @@ const DataSource$ = [3, n0, _DSa,
|
|
|
1387
1419
|
[0, 0, 0]
|
|
1388
1420
|
];
|
|
1389
1421
|
exports.DataSource$ = DataSource$;
|
|
1422
|
+
const DataSourceAttachmentSummary$ = [3, n0, _DSAS,
|
|
1423
|
+
0,
|
|
1424
|
+
[_aI, _dSA, _st],
|
|
1425
|
+
[0, 0, 0]
|
|
1426
|
+
];
|
|
1427
|
+
exports.DataSourceAttachmentSummary$ = DataSourceAttachmentSummary$;
|
|
1390
1428
|
const DataSourceDetails$ = [3, n0, _DSD,
|
|
1391
1429
|
0,
|
|
1392
1430
|
[_DST, _N, _D, _S],
|
|
@@ -1509,7 +1547,7 @@ const DeploymentStrategyOptionsStatus$ = [3, n0, _DSOS,
|
|
|
1509
1547
|
exports.DeploymentStrategyOptionsStatus$ = DeploymentStrategyOptionsStatus$;
|
|
1510
1548
|
const DeregisterCapabilityRequest$ = [3, n0, _DCR,
|
|
1511
1549
|
0,
|
|
1512
|
-
[
|
|
1550
|
+
[_aIp, _cN],
|
|
1513
1551
|
[[0, 1], [0, 1]], 2
|
|
1514
1552
|
];
|
|
1515
1553
|
exports.DeregisterCapabilityRequest$ = DeregisterCapabilityRequest$;
|
|
@@ -1519,6 +1557,18 @@ const DeregisterCapabilityResponse$ = [3, n0, _DCRe,
|
|
|
1519
1557
|
[0]
|
|
1520
1558
|
];
|
|
1521
1559
|
exports.DeregisterCapabilityResponse$ = DeregisterCapabilityResponse$;
|
|
1560
|
+
const DescribeDataSourceAttachmentRequest$ = [3, n0, _DDSAR,
|
|
1561
|
+
0,
|
|
1562
|
+
[_i, _dSA],
|
|
1563
|
+
[[0, 1], 0], 2
|
|
1564
|
+
];
|
|
1565
|
+
exports.DescribeDataSourceAttachmentRequest$ = DescribeDataSourceAttachmentRequest$;
|
|
1566
|
+
const DescribeDataSourceAttachmentResponse$ = [3, n0, _DDSARe,
|
|
1567
|
+
0,
|
|
1568
|
+
[_aI, _i, _a, _dSA, _st],
|
|
1569
|
+
[0, 0, 0, 0, 0]
|
|
1570
|
+
];
|
|
1571
|
+
exports.DescribeDataSourceAttachmentResponse$ = DescribeDataSourceAttachmentResponse$;
|
|
1522
1572
|
const DescribeDomainAutoTunesRequest$ = [3, n0, _DDATR,
|
|
1523
1573
|
0,
|
|
1524
1574
|
[_DN, _MR, _NT],
|
|
@@ -1717,6 +1767,18 @@ const DescribeVpcEndpointsResponse$ = [3, n0, _DVEResc,
|
|
|
1717
1767
|
[() => VpcEndpoints, () => VpcEndpointErrorList], 2
|
|
1718
1768
|
];
|
|
1719
1769
|
exports.DescribeVpcEndpointsResponse$ = DescribeVpcEndpointsResponse$;
|
|
1770
|
+
const DetachDataSourceRequest$ = [3, n0, _DDSRet,
|
|
1771
|
+
0,
|
|
1772
|
+
[_i, _dSA],
|
|
1773
|
+
[[0, 1], 0], 2
|
|
1774
|
+
];
|
|
1775
|
+
exports.DetachDataSourceRequest$ = DetachDataSourceRequest$;
|
|
1776
|
+
const DetachDataSourceResponse$ = [3, n0, _DDSReta,
|
|
1777
|
+
0,
|
|
1778
|
+
[_i, _a, _dSA],
|
|
1779
|
+
[0, 0, 0]
|
|
1780
|
+
];
|
|
1781
|
+
exports.DetachDataSourceResponse$ = DetachDataSourceResponse$;
|
|
1720
1782
|
const DirectQueryDataSource$ = [3, n0, _DQDS,
|
|
1721
1783
|
0,
|
|
1722
1784
|
[_DSN, _DST, _D, _OSA, _DSA, _TL],
|
|
@@ -1875,13 +1937,13 @@ const GetApplicationResponse$ = [3, n0, _GARe,
|
|
|
1875
1937
|
exports.GetApplicationResponse$ = GetApplicationResponse$;
|
|
1876
1938
|
const GetCapabilityRequest$ = [3, n0, _GCR,
|
|
1877
1939
|
0,
|
|
1878
|
-
[
|
|
1940
|
+
[_aIp, _cN],
|
|
1879
1941
|
[[0, 1], [0, 1]], 2
|
|
1880
1942
|
];
|
|
1881
1943
|
exports.GetCapabilityRequest$ = GetCapabilityRequest$;
|
|
1882
1944
|
const GetCapabilityResponse$ = [3, n0, _GCRe,
|
|
1883
1945
|
0,
|
|
1884
|
-
[_cN,
|
|
1946
|
+
[_cN, _aIp, _st, _cC, _f],
|
|
1885
1947
|
[0, 0, 0, () => CapabilityExtendedResponseConfig$, () => CapabilityFailures]
|
|
1886
1948
|
];
|
|
1887
1949
|
exports.GetCapabilityResponse$ = GetCapabilityResponse$;
|
|
@@ -2131,6 +2193,18 @@ const ListApplicationsResponse$ = [3, n0, _LARi,
|
|
|
2131
2193
|
[() => ApplicationSummaries, 0]
|
|
2132
2194
|
];
|
|
2133
2195
|
exports.ListApplicationsResponse$ = ListApplicationsResponse$;
|
|
2196
|
+
const ListDataSourceAttachmentsRequest$ = [3, n0, _LDSAR,
|
|
2197
|
+
0,
|
|
2198
|
+
[_i, _nT, _mR],
|
|
2199
|
+
[[0, 1], 0, 1], 1
|
|
2200
|
+
];
|
|
2201
|
+
exports.ListDataSourceAttachmentsRequest$ = ListDataSourceAttachmentsRequest$;
|
|
2202
|
+
const ListDataSourceAttachmentsResponse$ = [3, n0, _LDSARi,
|
|
2203
|
+
0,
|
|
2204
|
+
[_at, _nT],
|
|
2205
|
+
[() => DataSourceAttachmentSummaryList, 0]
|
|
2206
|
+
];
|
|
2207
|
+
exports.ListDataSourceAttachmentsResponse$ = ListDataSourceAttachmentsResponse$;
|
|
2134
2208
|
const ListDataSourcesRequest$ = [3, n0, _LDSR,
|
|
2135
2209
|
0,
|
|
2136
2210
|
[_DN],
|
|
@@ -2487,13 +2561,13 @@ const RecurringCharge$ = [3, n0, _RC,
|
|
|
2487
2561
|
exports.RecurringCharge$ = RecurringCharge$;
|
|
2488
2562
|
const RegisterCapabilityRequest$ = [3, n0, _RCR,
|
|
2489
2563
|
0,
|
|
2490
|
-
[
|
|
2564
|
+
[_aIp, _cN, _cC],
|
|
2491
2565
|
[[0, 1], 0, () => CapabilityBaseRequestConfig$], 3
|
|
2492
2566
|
];
|
|
2493
2567
|
exports.RegisterCapabilityRequest$ = RegisterCapabilityRequest$;
|
|
2494
2568
|
const RegisterCapabilityResponse$ = [3, n0, _RCRe,
|
|
2495
2569
|
0,
|
|
2496
|
-
[_cN,
|
|
2570
|
+
[_cN, _aIp, _st, _cC],
|
|
2497
2571
|
[0, 0, 0, () => CapabilityBaseResponseConfig$]
|
|
2498
2572
|
];
|
|
2499
2573
|
exports.RegisterCapabilityResponse$ = RegisterCapabilityResponse$;
|
|
@@ -2875,6 +2949,12 @@ const WindowStartTime$ = [3, n0, _WST,
|
|
|
2875
2949
|
[1, 1], 2
|
|
2876
2950
|
];
|
|
2877
2951
|
exports.WindowStartTime$ = WindowStartTime$;
|
|
2952
|
+
const WorkspaceConfigurationInput$ = [3, n0, _WCI,
|
|
2953
|
+
0,
|
|
2954
|
+
[_n, _wT],
|
|
2955
|
+
[0, 0], 2
|
|
2956
|
+
];
|
|
2957
|
+
exports.WorkspaceConfigurationInput$ = WorkspaceConfigurationInput$;
|
|
2878
2958
|
const ZoneAwarenessConfig$ = [3, n0, _ZAC,
|
|
2879
2959
|
0,
|
|
2880
2960
|
[_AZC],
|
|
@@ -2917,6 +2997,9 @@ var ChangeProgressStageList = [1, n0, _CPSL,
|
|
|
2917
2997
|
var CompatibleVersionsList = [1, n0, _CVL,
|
|
2918
2998
|
0, () => CompatibleVersionsMap$
|
|
2919
2999
|
];
|
|
3000
|
+
var DataSourceAttachmentSummaryList = [1, n0, _DSASL,
|
|
3001
|
+
0, () => DataSourceAttachmentSummary$
|
|
3002
|
+
];
|
|
2920
3003
|
var DataSourceList = [1, n0, _DSLa,
|
|
2921
3004
|
0, () => DataSourceDetails$
|
|
2922
3005
|
];
|
|
@@ -3093,6 +3176,9 @@ exports.AssociatePackage$ = [9, n0, _APs,
|
|
|
3093
3176
|
exports.AssociatePackages$ = [9, n0, _APss,
|
|
3094
3177
|
{ [_h]: ["POST", "/2021-01-01/packages/associateMultiple", 200] }, () => AssociatePackagesRequest$, () => AssociatePackagesResponse$
|
|
3095
3178
|
];
|
|
3179
|
+
exports.AttachDataSource$ = [9, n0, _ADSt,
|
|
3180
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/application/{id}/attachDataSource", 200] }, () => AttachDataSourceRequest$, () => AttachDataSourceResponse$
|
|
3181
|
+
];
|
|
3096
3182
|
exports.AuthorizeVpcEndpointAccess$ = [9, n0, _AVEA,
|
|
3097
3183
|
{ [_h]: ["POST", "/2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess", 200] }, () => AuthorizeVpcEndpointAccessRequest$, () => AuthorizeVpcEndpointAccessResponse$
|
|
3098
3184
|
];
|
|
@@ -3150,6 +3236,9 @@ exports.DeleteVpcEndpoint$ = [9, n0, _DVE,
|
|
|
3150
3236
|
exports.DeregisterCapability$ = [9, n0, _DCe,
|
|
3151
3237
|
{ [_h]: ["DELETE", "/2021-01-01/opensearch/application/{applicationId}/capability/deregister/{capabilityName}", 200] }, () => DeregisterCapabilityRequest$, () => DeregisterCapabilityResponse$
|
|
3152
3238
|
];
|
|
3239
|
+
exports.DescribeDataSourceAttachment$ = [9, n0, _DDSA,
|
|
3240
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/application/{id}/describeDataSourceAttachment", 200] }, () => DescribeDataSourceAttachmentRequest$, () => DescribeDataSourceAttachmentResponse$
|
|
3241
|
+
];
|
|
3153
3242
|
exports.DescribeDomain$ = [9, n0, _DDe,
|
|
3154
3243
|
{ [_h]: ["GET", "/2021-01-01/opensearch/domain/{DomainName}", 200] }, () => DescribeDomainRequest$, () => DescribeDomainResponse$
|
|
3155
3244
|
];
|
|
@@ -3198,6 +3287,9 @@ exports.DescribeReservedInstances$ = [9, n0, _DRIe,
|
|
|
3198
3287
|
exports.DescribeVpcEndpoints$ = [9, n0, _DVEe,
|
|
3199
3288
|
{ [_h]: ["POST", "/2021-01-01/opensearch/vpcEndpoints/describe", 200] }, () => DescribeVpcEndpointsRequest$, () => DescribeVpcEndpointsResponse$
|
|
3200
3289
|
];
|
|
3290
|
+
exports.DetachDataSource$ = [9, n0, _DDSe,
|
|
3291
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/application/{id}/detachDataSource", 200] }, () => DetachDataSourceRequest$, () => DetachDataSourceResponse$
|
|
3292
|
+
];
|
|
3201
3293
|
exports.DissociatePackage$ = [9, n0, _DPi,
|
|
3202
3294
|
{ [_h]: ["POST", "/2021-01-01/packages/dissociate/{PackageID}/{DomainName}", 200] }, () => DissociatePackageRequest$, () => DissociatePackageResponse$
|
|
3203
3295
|
];
|
|
@@ -3240,6 +3332,9 @@ exports.GetUpgradeStatus$ = [9, n0, _GUS,
|
|
|
3240
3332
|
exports.ListApplications$ = [9, n0, _LA,
|
|
3241
3333
|
{ [_h]: ["GET", "/2021-01-01/opensearch/list-applications", 200] }, () => ListApplicationsRequest$, () => ListApplicationsResponse$
|
|
3242
3334
|
];
|
|
3335
|
+
exports.ListDataSourceAttachments$ = [9, n0, _LDSA,
|
|
3336
|
+
{ [_h]: ["POST", "/2021-01-01/opensearch/application/{id}/listDataSourceAttachments", 200] }, () => ListDataSourceAttachmentsRequest$, () => ListDataSourceAttachmentsResponse$
|
|
3337
|
+
];
|
|
3243
3338
|
exports.ListDataSources$ = [9, n0, _LDS,
|
|
3244
3339
|
{ [_h]: ["GET", "/2021-01-01/opensearch/domain/{DomainName}/dataSource", 200] }, () => ListDataSourcesRequest$, () => ListDataSourcesResponse$
|
|
3245
3340
|
];
|
package/dist-es/OpenSearch.js
CHANGED
|
@@ -5,6 +5,7 @@ import { AddDirectQueryDataSourceCommand, } from "./commands/AddDirectQueryDataS
|
|
|
5
5
|
import { AddTagsCommand } from "./commands/AddTagsCommand";
|
|
6
6
|
import { AssociatePackageCommand, } from "./commands/AssociatePackageCommand";
|
|
7
7
|
import { AssociatePackagesCommand, } from "./commands/AssociatePackagesCommand";
|
|
8
|
+
import { AttachDataSourceCommand, } from "./commands/AttachDataSourceCommand";
|
|
8
9
|
import { AuthorizeVpcEndpointAccessCommand, } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
9
10
|
import { CancelDomainConfigChangeCommand, } from "./commands/CancelDomainConfigChangeCommand";
|
|
10
11
|
import { CancelServiceSoftwareUpdateCommand, } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
@@ -24,6 +25,7 @@ import { DeleteOutboundConnectionCommand, } from "./commands/DeleteOutboundConne
|
|
|
24
25
|
import { DeletePackageCommand, } from "./commands/DeletePackageCommand";
|
|
25
26
|
import { DeleteVpcEndpointCommand, } from "./commands/DeleteVpcEndpointCommand";
|
|
26
27
|
import { DeregisterCapabilityCommand, } from "./commands/DeregisterCapabilityCommand";
|
|
28
|
+
import { DescribeDataSourceAttachmentCommand, } from "./commands/DescribeDataSourceAttachmentCommand";
|
|
27
29
|
import { DescribeDomainAutoTunesCommand, } from "./commands/DescribeDomainAutoTunesCommand";
|
|
28
30
|
import { DescribeDomainChangeProgressCommand, } from "./commands/DescribeDomainChangeProgressCommand";
|
|
29
31
|
import { DescribeDomainCommand, } from "./commands/DescribeDomainCommand";
|
|
@@ -40,6 +42,7 @@ import { DescribePackagesCommand, } from "./commands/DescribePackagesCommand";
|
|
|
40
42
|
import { DescribeReservedInstanceOfferingsCommand, } from "./commands/DescribeReservedInstanceOfferingsCommand";
|
|
41
43
|
import { DescribeReservedInstancesCommand, } from "./commands/DescribeReservedInstancesCommand";
|
|
42
44
|
import { DescribeVpcEndpointsCommand, } from "./commands/DescribeVpcEndpointsCommand";
|
|
45
|
+
import { DetachDataSourceCommand, } from "./commands/DetachDataSourceCommand";
|
|
43
46
|
import { DissociatePackageCommand, } from "./commands/DissociatePackageCommand";
|
|
44
47
|
import { DissociatePackagesCommand, } from "./commands/DissociatePackagesCommand";
|
|
45
48
|
import { GetApplicationCommand, } from "./commands/GetApplicationCommand";
|
|
@@ -54,6 +57,7 @@ import { GetPackageVersionHistoryCommand, } from "./commands/GetPackageVersionHi
|
|
|
54
57
|
import { GetUpgradeHistoryCommand, } from "./commands/GetUpgradeHistoryCommand";
|
|
55
58
|
import { GetUpgradeStatusCommand, } from "./commands/GetUpgradeStatusCommand";
|
|
56
59
|
import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
|
|
60
|
+
import { ListDataSourceAttachmentsCommand, } from "./commands/ListDataSourceAttachmentsCommand";
|
|
57
61
|
import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
|
|
58
62
|
import { ListDirectQueryDataSourcesCommand, } from "./commands/ListDirectQueryDataSourcesCommand";
|
|
59
63
|
import { ListDomainMaintenancesCommand, } from "./commands/ListDomainMaintenancesCommand";
|
|
@@ -110,6 +114,7 @@ const commands = {
|
|
|
110
114
|
AddTagsCommand,
|
|
111
115
|
AssociatePackageCommand,
|
|
112
116
|
AssociatePackagesCommand,
|
|
117
|
+
AttachDataSourceCommand,
|
|
113
118
|
AuthorizeVpcEndpointAccessCommand,
|
|
114
119
|
CancelDomainConfigChangeCommand,
|
|
115
120
|
CancelServiceSoftwareUpdateCommand,
|
|
@@ -129,6 +134,7 @@ const commands = {
|
|
|
129
134
|
DeletePackageCommand,
|
|
130
135
|
DeleteVpcEndpointCommand,
|
|
131
136
|
DeregisterCapabilityCommand,
|
|
137
|
+
DescribeDataSourceAttachmentCommand,
|
|
132
138
|
DescribeDomainCommand,
|
|
133
139
|
DescribeDomainAutoTunesCommand,
|
|
134
140
|
DescribeDomainChangeProgressCommand,
|
|
@@ -145,6 +151,7 @@ const commands = {
|
|
|
145
151
|
DescribeReservedInstanceOfferingsCommand,
|
|
146
152
|
DescribeReservedInstancesCommand,
|
|
147
153
|
DescribeVpcEndpointsCommand,
|
|
154
|
+
DetachDataSourceCommand,
|
|
148
155
|
DissociatePackageCommand,
|
|
149
156
|
DissociatePackagesCommand,
|
|
150
157
|
GetApplicationCommand,
|
|
@@ -159,6 +166,7 @@ const commands = {
|
|
|
159
166
|
GetUpgradeHistoryCommand,
|
|
160
167
|
GetUpgradeStatusCommand,
|
|
161
168
|
ListApplicationsCommand,
|
|
169
|
+
ListDataSourceAttachmentsCommand,
|
|
162
170
|
ListDataSourcesCommand,
|
|
163
171
|
ListDirectQueryDataSourcesCommand,
|
|
164
172
|
ListDomainMaintenancesCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { AttachDataSource$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class AttachDataSourceCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonOpenSearchService", "AttachDataSource", {})
|
|
13
|
+
.n("OpenSearchClient", "AttachDataSourceCommand")
|
|
14
|
+
.sc(AttachDataSource$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DescribeDataSourceAttachment$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeDataSourceAttachmentCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonOpenSearchService", "DescribeDataSourceAttachment", {})
|
|
13
|
+
.n("OpenSearchClient", "DescribeDataSourceAttachmentCommand")
|
|
14
|
+
.sc(DescribeDataSourceAttachment$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DetachDataSource$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DetachDataSourceCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonOpenSearchService", "DetachDataSource", {})
|
|
13
|
+
.n("OpenSearchClient", "DetachDataSourceCommand")
|
|
14
|
+
.sc(DetachDataSource$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListDataSourceAttachments$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListDataSourceAttachmentsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonOpenSearchService", "ListDataSourceAttachments", {})
|
|
13
|
+
.n("OpenSearchClient", "ListDataSourceAttachmentsCommand")
|
|
14
|
+
.sc(ListDataSourceAttachments$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -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";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -61,6 +61,11 @@ export const PackageType = {
|
|
|
61
61
|
TXT_DICTIONARY: "TXT-DICTIONARY",
|
|
62
62
|
ZIP_PLUGIN: "ZIP-PLUGIN",
|
|
63
63
|
};
|
|
64
|
+
export const DataSourceAttachmentStatus = {
|
|
65
|
+
ATTACHED: "ATTACHED",
|
|
66
|
+
FAILED: "FAILED",
|
|
67
|
+
PENDING: "PENDING",
|
|
68
|
+
};
|
|
64
69
|
export const AWSServicePrincipal = {
|
|
65
70
|
application_opensearchservice_amazonaws_com: "application.opensearchservice.amazonaws.com",
|
|
66
71
|
};
|