@aws-sdk/client-opensearch 3.460.0 → 3.462.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 +40 -0
- package/dist-cjs/OpenSearch.js +10 -0
- package/dist-cjs/commands/AddDataSourceCommand.js +51 -0
- package/dist-cjs/commands/DeleteDataSourceCommand.js +51 -0
- package/dist-cjs/commands/GetDataSourceCommand.js +51 -0
- package/dist-cjs/commands/ListDataSourcesCommand.js +51 -0
- package/dist-cjs/commands/UpdateDataSourceCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +23 -15
- package/dist-cjs/protocols/Aws_restJson1.js +360 -3
- package/dist-es/OpenSearch.js +10 -0
- package/dist-es/commands/AddDataSourceCommand.js +47 -0
- package/dist-es/commands/DeleteDataSourceCommand.js +47 -0
- package/dist-es/commands/GetDataSourceCommand.js +47 -0
- package/dist-es/commands/ListDataSourcesCommand.js +47 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +20 -12
- package/dist-es/protocols/Aws_restJson1.js +347 -0
- package/dist-types/OpenSearch.d.ts +35 -0
- package/dist-types/OpenSearchClient.d.ts +7 -2
- package/dist-types/commands/AddDataSourceCommand.d.ts +101 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +92 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +98 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +101 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +291 -54
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +85 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AddDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -16
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput } from "./commands/AcceptInboundConnectionCommand";
|
|
3
|
+
import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "./commands/AddDataSourceCommand";
|
|
3
4
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
4
5
|
import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
5
6
|
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
@@ -8,6 +9,7 @@ import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/
|
|
|
8
9
|
import { CreateOutboundConnectionCommandInput, CreateOutboundConnectionCommandOutput } from "./commands/CreateOutboundConnectionCommand";
|
|
9
10
|
import { CreatePackageCommandInput, CreatePackageCommandOutput } from "./commands/CreatePackageCommand";
|
|
10
11
|
import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
|
|
12
|
+
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
11
13
|
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
12
14
|
import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutput } from "./commands/DeleteInboundConnectionCommand";
|
|
13
15
|
import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "./commands/DeleteOutboundConnectionCommand";
|
|
@@ -30,10 +32,12 @@ import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommand
|
|
|
30
32
|
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
31
33
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
32
34
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
35
|
+
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
33
36
|
import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "./commands/GetDomainMaintenanceStatusCommand";
|
|
34
37
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "./commands/GetPackageVersionHistoryCommand";
|
|
35
38
|
import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "./commands/GetUpgradeHistoryCommand";
|
|
36
39
|
import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "./commands/GetUpgradeStatusCommand";
|
|
40
|
+
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
37
41
|
import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "./commands/ListDomainMaintenancesCommand";
|
|
38
42
|
import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
|
|
39
43
|
import { ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput } from "./commands/ListDomainsForPackageCommand";
|
|
@@ -51,6 +55,7 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/Remo
|
|
|
51
55
|
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
52
56
|
import { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput } from "./commands/StartDomainMaintenanceCommand";
|
|
53
57
|
import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
58
|
+
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
54
59
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
55
60
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
56
61
|
import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
|
|
@@ -64,6 +69,12 @@ export interface OpenSearch {
|
|
|
64
69
|
acceptInboundConnection(args: AcceptInboundConnectionCommandInput, options?: __HttpHandlerOptions): Promise<AcceptInboundConnectionCommandOutput>;
|
|
65
70
|
acceptInboundConnection(args: AcceptInboundConnectionCommandInput, cb: (err: any, data?: AcceptInboundConnectionCommandOutput) => void): void;
|
|
66
71
|
acceptInboundConnection(args: AcceptInboundConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AcceptInboundConnectionCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* @see {@link AddDataSourceCommand}
|
|
74
|
+
*/
|
|
75
|
+
addDataSource(args: AddDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<AddDataSourceCommandOutput>;
|
|
76
|
+
addDataSource(args: AddDataSourceCommandInput, cb: (err: any, data?: AddDataSourceCommandOutput) => void): void;
|
|
77
|
+
addDataSource(args: AddDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddDataSourceCommandOutput) => void): void;
|
|
67
78
|
/**
|
|
68
79
|
* @see {@link AddTagsCommand}
|
|
69
80
|
*/
|
|
@@ -112,6 +123,12 @@ export interface OpenSearch {
|
|
|
112
123
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcEndpointCommandOutput>;
|
|
113
124
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
|
|
114
125
|
createVpcEndpoint(args: CreateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcEndpointCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link DeleteDataSourceCommand}
|
|
128
|
+
*/
|
|
129
|
+
deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
130
|
+
deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
131
|
+
deleteDataSource(args: DeleteDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
|
|
115
132
|
/**
|
|
116
133
|
* @see {@link DeleteDomainCommand}
|
|
117
134
|
*/
|
|
@@ -244,6 +261,12 @@ export interface OpenSearch {
|
|
|
244
261
|
getCompatibleVersions(args: GetCompatibleVersionsCommandInput, options?: __HttpHandlerOptions): Promise<GetCompatibleVersionsCommandOutput>;
|
|
245
262
|
getCompatibleVersions(args: GetCompatibleVersionsCommandInput, cb: (err: any, data?: GetCompatibleVersionsCommandOutput) => void): void;
|
|
246
263
|
getCompatibleVersions(args: GetCompatibleVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCompatibleVersionsCommandOutput) => void): void;
|
|
264
|
+
/**
|
|
265
|
+
* @see {@link GetDataSourceCommand}
|
|
266
|
+
*/
|
|
267
|
+
getDataSource(args: GetDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<GetDataSourceCommandOutput>;
|
|
268
|
+
getDataSource(args: GetDataSourceCommandInput, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
269
|
+
getDataSource(args: GetDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataSourceCommandOutput) => void): void;
|
|
247
270
|
/**
|
|
248
271
|
* @see {@link GetDomainMaintenanceStatusCommand}
|
|
249
272
|
*/
|
|
@@ -268,6 +291,12 @@ export interface OpenSearch {
|
|
|
268
291
|
getUpgradeStatus(args: GetUpgradeStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetUpgradeStatusCommandOutput>;
|
|
269
292
|
getUpgradeStatus(args: GetUpgradeStatusCommandInput, cb: (err: any, data?: GetUpgradeStatusCommandOutput) => void): void;
|
|
270
293
|
getUpgradeStatus(args: GetUpgradeStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUpgradeStatusCommandOutput) => void): void;
|
|
294
|
+
/**
|
|
295
|
+
* @see {@link ListDataSourcesCommand}
|
|
296
|
+
*/
|
|
297
|
+
listDataSources(args: ListDataSourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourcesCommandOutput>;
|
|
298
|
+
listDataSources(args: ListDataSourcesCommandInput, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
299
|
+
listDataSources(args: ListDataSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourcesCommandOutput) => void): void;
|
|
271
300
|
/**
|
|
272
301
|
* @see {@link ListDomainMaintenancesCommand}
|
|
273
302
|
*/
|
|
@@ -370,6 +399,12 @@ export interface OpenSearch {
|
|
|
370
399
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, options?: __HttpHandlerOptions): Promise<StartServiceSoftwareUpdateCommandOutput>;
|
|
371
400
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, cb: (err: any, data?: StartServiceSoftwareUpdateCommandOutput) => void): void;
|
|
372
401
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartServiceSoftwareUpdateCommandOutput) => void): void;
|
|
402
|
+
/**
|
|
403
|
+
* @see {@link UpdateDataSourceCommand}
|
|
404
|
+
*/
|
|
405
|
+
updateDataSource(args: UpdateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSourceCommandOutput>;
|
|
406
|
+
updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
407
|
+
updateDataSource(args: UpdateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
|
|
373
408
|
/**
|
|
374
409
|
* @see {@link UpdateDomainConfigCommand}
|
|
375
410
|
*/
|
|
@@ -9,6 +9,7 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
|
9
9
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
10
|
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
11
|
import { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput } from "./commands/AcceptInboundConnectionCommand";
|
|
12
|
+
import { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "./commands/AddDataSourceCommand";
|
|
12
13
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
13
14
|
import { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
14
15
|
import { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
@@ -17,6 +18,7 @@ import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/
|
|
|
17
18
|
import { CreateOutboundConnectionCommandInput, CreateOutboundConnectionCommandOutput } from "./commands/CreateOutboundConnectionCommand";
|
|
18
19
|
import { CreatePackageCommandInput, CreatePackageCommandOutput } from "./commands/CreatePackageCommand";
|
|
19
20
|
import { CreateVpcEndpointCommandInput, CreateVpcEndpointCommandOutput } from "./commands/CreateVpcEndpointCommand";
|
|
21
|
+
import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
|
|
20
22
|
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
|
|
21
23
|
import { DeleteInboundConnectionCommandInput, DeleteInboundConnectionCommandOutput } from "./commands/DeleteInboundConnectionCommand";
|
|
22
24
|
import { DeleteOutboundConnectionCommandInput, DeleteOutboundConnectionCommandOutput } from "./commands/DeleteOutboundConnectionCommand";
|
|
@@ -39,10 +41,12 @@ import { DescribeReservedInstancesCommandInput, DescribeReservedInstancesCommand
|
|
|
39
41
|
import { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutput } from "./commands/DescribeVpcEndpointsCommand";
|
|
40
42
|
import { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
41
43
|
import { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
44
|
+
import { GetDataSourceCommandInput, GetDataSourceCommandOutput } from "./commands/GetDataSourceCommand";
|
|
42
45
|
import { GetDomainMaintenanceStatusCommandInput, GetDomainMaintenanceStatusCommandOutput } from "./commands/GetDomainMaintenanceStatusCommand";
|
|
43
46
|
import { GetPackageVersionHistoryCommandInput, GetPackageVersionHistoryCommandOutput } from "./commands/GetPackageVersionHistoryCommand";
|
|
44
47
|
import { GetUpgradeHistoryCommandInput, GetUpgradeHistoryCommandOutput } from "./commands/GetUpgradeHistoryCommand";
|
|
45
48
|
import { GetUpgradeStatusCommandInput, GetUpgradeStatusCommandOutput } from "./commands/GetUpgradeStatusCommand";
|
|
49
|
+
import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
|
|
46
50
|
import { ListDomainMaintenancesCommandInput, ListDomainMaintenancesCommandOutput } from "./commands/ListDomainMaintenancesCommand";
|
|
47
51
|
import { ListDomainNamesCommandInput, ListDomainNamesCommandOutput } from "./commands/ListDomainNamesCommand";
|
|
48
52
|
import { ListDomainsForPackageCommandInput, ListDomainsForPackageCommandOutput } from "./commands/ListDomainsForPackageCommand";
|
|
@@ -60,6 +64,7 @@ import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/Remo
|
|
|
60
64
|
import { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
61
65
|
import { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput } from "./commands/StartDomainMaintenanceCommand";
|
|
62
66
|
import { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
67
|
+
import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
63
68
|
import { UpdateDomainConfigCommandInput, UpdateDomainConfigCommandOutput } from "./commands/UpdateDomainConfigCommand";
|
|
64
69
|
import { UpdatePackageCommandInput, UpdatePackageCommandOutput } from "./commands/UpdatePackageCommand";
|
|
65
70
|
import { UpdateScheduledActionCommandInput, UpdateScheduledActionCommandOutput } from "./commands/UpdateScheduledActionCommand";
|
|
@@ -71,11 +76,11 @@ export { __Client };
|
|
|
71
76
|
/**
|
|
72
77
|
* @public
|
|
73
78
|
*/
|
|
74
|
-
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetDomainMaintenanceStatusCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
79
|
+
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelServiceSoftwareUpdateCommandInput | CreateDomainCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DissociatePackageCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | ListDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInstanceTypeDetailsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | StartDomainMaintenanceCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdatePackageCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
75
80
|
/**
|
|
76
81
|
* @public
|
|
77
82
|
*/
|
|
78
|
-
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
83
|
+
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CreateDomainCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DissociatePackageCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | ListDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInstanceTypeDetailsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | StartDomainMaintenanceCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdatePackageCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
79
84
|
/**
|
|
80
85
|
* @public
|
|
81
86
|
*/
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { AddDataSourceRequest, AddDataSourceResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AddDataSourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AddDataSourceCommandInput extends AddDataSourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AddDataSourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AddDataSourceCommandOutput extends AddDataSourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Adds the data source on the domain.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { OpenSearchClient, AddDataSourceCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
+
* // const { OpenSearchClient, AddDataSourceCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
+
* const client = new OpenSearchClient(config);
|
|
33
|
+
* const input = { // AddDataSourceRequest
|
|
34
|
+
* DomainName: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* DataSourceType: { // DataSourceType Union: only one key present
|
|
37
|
+
* S3GlueDataCatalog: { // S3GlueDataCatalog
|
|
38
|
+
* RoleArn: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* Description: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new AddDataSourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // AddDataSourceResponse
|
|
46
|
+
* // Message: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param AddDataSourceCommandInput - {@link AddDataSourceCommandInput}
|
|
52
|
+
* @returns {@link AddDataSourceCommandOutput}
|
|
53
|
+
* @see {@link AddDataSourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link AddDataSourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BaseException} (client fault)
|
|
58
|
+
* <p>An error occurred while processing the request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link DependencyFailureException} (client fault)
|
|
61
|
+
* <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
64
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalException} (server fault)
|
|
67
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
70
|
+
* <p>An exception for trying to create more than the allowed number of resources or sub-resources.</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
|
+
export declare class AddDataSourceCommand extends $Command<AddDataSourceCommandInput, AddDataSourceCommandOutput, OpenSearchClientResolvedConfig> {
|
|
83
|
+
readonly input: AddDataSourceCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: AddDataSourceCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddDataSourceCommandInput, AddDataSourceCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteDataSourceRequest, DeleteDataSourceResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDataSourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDataSourceCommandInput extends DeleteDataSourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDataSourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDataSourceCommandOutput extends DeleteDataSourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the data source.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { OpenSearchClient, DeleteDataSourceCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
+
* // const { OpenSearchClient, DeleteDataSourceCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
+
* const client = new OpenSearchClient(config);
|
|
33
|
+
* const input = { // DeleteDataSourceRequest
|
|
34
|
+
* DomainName: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteDataSourceCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DeleteDataSourceResponse
|
|
40
|
+
* // Message: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteDataSourceCommandInput - {@link DeleteDataSourceCommandInput}
|
|
46
|
+
* @returns {@link DeleteDataSourceCommandOutput}
|
|
47
|
+
* @see {@link DeleteDataSourceCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteDataSourceCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link BaseException} (client fault)
|
|
52
|
+
* <p>An error occurred while processing the request.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link DependencyFailureException} (client fault)
|
|
55
|
+
* <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
58
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalException} (server fault)
|
|
61
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link OpenSearchServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class DeleteDataSourceCommand extends $Command<DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput, OpenSearchClientResolvedConfig> {
|
|
74
|
+
readonly input: DeleteDataSourceCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: DeleteDataSourceCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { GetDataSourceRequest, GetDataSourceResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDataSourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDataSourceCommandInput extends GetDataSourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDataSourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDataSourceCommandOutput extends GetDataSourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Describes the data source details.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { OpenSearchClient, GetDataSourceCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
+
* // const { OpenSearchClient, GetDataSourceCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
+
* const client = new OpenSearchClient(config);
|
|
33
|
+
* const input = { // GetDataSourceRequest
|
|
34
|
+
* DomainName: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new GetDataSourceCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetDataSourceResponse
|
|
40
|
+
* // DataSourceType: { // DataSourceType Union: only one key present
|
|
41
|
+
* // S3GlueDataCatalog: { // S3GlueDataCatalog
|
|
42
|
+
* // RoleArn: "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // },
|
|
45
|
+
* // Name: "STRING_VALUE",
|
|
46
|
+
* // Description: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param GetDataSourceCommandInput - {@link GetDataSourceCommandInput}
|
|
52
|
+
* @returns {@link GetDataSourceCommandOutput}
|
|
53
|
+
* @see {@link GetDataSourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link GetDataSourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BaseException} (client fault)
|
|
58
|
+
* <p>An error occurred while processing the request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link DependencyFailureException} (client fault)
|
|
61
|
+
* <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about the resource.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
64
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalException} (server fault)
|
|
67
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link OpenSearchServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class GetDataSourceCommand extends $Command<GetDataSourceCommandInput, GetDataSourceCommandOutput, OpenSearchClientResolvedConfig> {
|
|
80
|
+
readonly input: GetDataSourceCommandInput;
|
|
81
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
constructor(input: GetDataSourceCommandInput);
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDataSourceCommandInput, GetDataSourceCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private serialize;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private deserialize;
|
|
98
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ListDataSourcesRequest, ListDataSourcesResponse } from "../models/models_0";
|
|
5
|
+
import { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDataSourcesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDataSourcesCommandInput extends ListDataSourcesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDataSourcesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>A list of the data source details of the domain.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { OpenSearchClient, ListDataSourcesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
31
|
+
* // const { OpenSearchClient, ListDataSourcesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
32
|
+
* const client = new OpenSearchClient(config);
|
|
33
|
+
* const input = { // ListDataSourcesRequest
|
|
34
|
+
* DomainName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new ListDataSourcesCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // ListDataSourcesResponse
|
|
39
|
+
* // DataSources: [ // DataSourceList
|
|
40
|
+
* // { // DataSourceDetails
|
|
41
|
+
* // DataSourceType: { // DataSourceType Union: only one key present
|
|
42
|
+
* // S3GlueDataCatalog: { // S3GlueDataCatalog
|
|
43
|
+
* // RoleArn: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // },
|
|
46
|
+
* // Name: "STRING_VALUE",
|
|
47
|
+
* // Description: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ListDataSourcesCommandInput - {@link ListDataSourcesCommandInput}
|
|
55
|
+
* @returns {@link ListDataSourcesCommandOutput}
|
|
56
|
+
* @see {@link ListDataSourcesCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ListDataSourcesCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link BaseException} (client fault)
|
|
61
|
+
* <p>An error occurred while processing the request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link DependencyFailureException} (client fault)
|
|
64
|
+
* <p>An exception for when a failure in one of the dependencies results in the service being unable to fetch details about 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
|
+
export declare class ListDataSourcesCommand extends $Command<ListDataSourcesCommandInput, ListDataSourcesCommandOutput, OpenSearchClientResolvedConfig> {
|
|
83
|
+
readonly input: ListDataSourcesCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: ListDataSourcesCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OpenSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDataSourcesCommandInput, ListDataSourcesCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|