@aws-sdk/client-opensearch 3.1158.0 → 3.1159.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 +42 -0
- package/dist-cjs/index.js +279 -41
- package/dist-es/OpenSearch.js +12 -0
- package/dist-es/commands/AddReplicationPeerCommand.js +4 -0
- package/dist-es/commands/CompareDomainConfigurationCommand.js +4 -0
- package/dist-es/commands/DescribeDomainReplicationCommand.js +4 -0
- package/dist-es/commands/FailoverReplicationCommand.js +4 -0
- package/dist-es/commands/RemoveReplicationPeerCommand.js +4 -0
- package/dist-es/commands/SwitchoverReplicationCommand.js +4 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +21 -0
- package/dist-es/models/errors.js +13 -13
- package/dist-es/schemas/schemas_0.js +189 -27
- package/dist-types/OpenSearch.d.ts +42 -0
- package/dist-types/OpenSearchClient.d.ts +8 -2
- package/dist-types/commands/AddReplicationPeerCommand.d.ts +93 -0
- package/dist-types/commands/CompareDomainConfigurationCommand.d.ts +124 -0
- package/dist-types/commands/DescribeDomainReplicationCommand.d.ts +96 -0
- package/dist-types/commands/FailoverReplicationCommand.d.ts +91 -0
- package/dist-types/commands/ListInstanceTypeDetailsCommand.d.ts +2 -1
- package/dist-types/commands/ListMigrationsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/commands/RemoveReplicationPeerCommand.d.ts +86 -0
- package/dist-types/commands/SwitchoverReplicationCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +53 -0
- package/dist-types/models/errors.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +382 -314
- package/dist-types/models/models_1.d.ts +381 -2
- package/dist-types/schemas/schemas_0.d.ts +23 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +102 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/AddReplicationPeerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CompareDomainConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDomainReplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/FailoverReplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListMigrationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPackagesForDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveReplicationPeerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SwitchoverReplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +25 -0
- package/dist-types/ts3.4/models/errors.d.ts +6 -6
- package/dist-types/ts3.4/models/models_0.d.ts +70 -72
- package/dist-types/ts3.4/models/models_1.d.ts +92 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -0
- package/package.json +3 -3
|
@@ -2,6 +2,7 @@ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __M
|
|
|
2
2
|
import { type AcceptInboundConnectionCommandInput, type AcceptInboundConnectionCommandOutput } from "./commands/AcceptInboundConnectionCommand";
|
|
3
3
|
import { type AddDataSourceCommandInput, type AddDataSourceCommandOutput } from "./commands/AddDataSourceCommand";
|
|
4
4
|
import { type AddDirectQueryDataSourceCommandInput, type AddDirectQueryDataSourceCommandOutput } from "./commands/AddDirectQueryDataSourceCommand";
|
|
5
|
+
import { type AddReplicationPeerCommandInput, type AddReplicationPeerCommandOutput } from "./commands/AddReplicationPeerCommand";
|
|
5
6
|
import { type AddTagsCommandInput, type AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
6
7
|
import { type AssociatePackageCommandInput, type AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
7
8
|
import { type AssociatePackagesCommandInput, type AssociatePackagesCommandOutput } from "./commands/AssociatePackagesCommand";
|
|
@@ -9,6 +10,7 @@ import { type AttachDataSourceCommandInput, type AttachDataSourceCommandOutput }
|
|
|
9
10
|
import { type AuthorizeVpcEndpointAccessCommandInput, type AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
10
11
|
import { type CancelDomainConfigChangeCommandInput, type CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
11
12
|
import { type CancelServiceSoftwareUpdateCommandInput, type CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
13
|
+
import { type CompareDomainConfigurationCommandInput, type CompareDomainConfigurationCommandOutput } from "./commands/CompareDomainConfigurationCommand";
|
|
12
14
|
import { type CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
13
15
|
import { type CreateDomainCommandInput, type CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
14
16
|
import { type CreateIndexCommandInput, type CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
@@ -32,6 +34,7 @@ import { type DescribeDomainCommandInput, type DescribeDomainCommandOutput } fro
|
|
|
32
34
|
import { type DescribeDomainConfigCommandInput, type DescribeDomainConfigCommandOutput } from "./commands/DescribeDomainConfigCommand";
|
|
33
35
|
import { type DescribeDomainHealthCommandInput, type DescribeDomainHealthCommandOutput } from "./commands/DescribeDomainHealthCommand";
|
|
34
36
|
import { type DescribeDomainNodesCommandInput, type DescribeDomainNodesCommandOutput } from "./commands/DescribeDomainNodesCommand";
|
|
37
|
+
import { type DescribeDomainReplicationCommandInput, type DescribeDomainReplicationCommandOutput } from "./commands/DescribeDomainReplicationCommand";
|
|
35
38
|
import { type DescribeDomainsCommandInput, type DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
36
39
|
import { type DescribeDryRunProgressCommandInput, type DescribeDryRunProgressCommandOutput } from "./commands/DescribeDryRunProgressCommand";
|
|
37
40
|
import { type DescribeInboundConnectionsCommandInput, type DescribeInboundConnectionsCommandOutput } from "./commands/DescribeInboundConnectionsCommand";
|
|
@@ -45,6 +48,7 @@ import { type DescribeVpcEndpointsCommandInput, type DescribeVpcEndpointsCommand
|
|
|
45
48
|
import { type DetachDataSourceCommandInput, type DetachDataSourceCommandOutput } from "./commands/DetachDataSourceCommand";
|
|
46
49
|
import { type DissociatePackageCommandInput, type DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
47
50
|
import { type DissociatePackagesCommandInput, type DissociatePackagesCommandOutput } from "./commands/DissociatePackagesCommand";
|
|
51
|
+
import { type FailoverReplicationCommandInput, type FailoverReplicationCommandOutput } from "./commands/FailoverReplicationCommand";
|
|
48
52
|
import { type GetApplicationCommandInput, type GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
49
53
|
import { type GetCapabilityCommandInput, type GetCapabilityCommandOutput } from "./commands/GetCapabilityCommand";
|
|
50
54
|
import { type GetCompatibleVersionsCommandInput, type GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
@@ -79,12 +83,14 @@ import { type PurchaseReservedInstanceOfferingCommandInput, type PurchaseReserve
|
|
|
79
83
|
import { type PutDefaultApplicationSettingCommandInput, type PutDefaultApplicationSettingCommandOutput } from "./commands/PutDefaultApplicationSettingCommand";
|
|
80
84
|
import { type RegisterCapabilityCommandInput, type RegisterCapabilityCommandOutput } from "./commands/RegisterCapabilityCommand";
|
|
81
85
|
import { type RejectInboundConnectionCommandInput, type RejectInboundConnectionCommandOutput } from "./commands/RejectInboundConnectionCommand";
|
|
86
|
+
import { type RemoveReplicationPeerCommandInput, type RemoveReplicationPeerCommandOutput } from "./commands/RemoveReplicationPeerCommand";
|
|
82
87
|
import { type RemoveTagsCommandInput, type RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
|
|
83
88
|
import { type RevokeVpcEndpointAccessCommandInput, type RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
84
89
|
import { type RollbackServiceSoftwareUpdateCommandInput, type RollbackServiceSoftwareUpdateCommandOutput } from "./commands/RollbackServiceSoftwareUpdateCommand";
|
|
85
90
|
import { type StartDomainMaintenanceCommandInput, type StartDomainMaintenanceCommandOutput } from "./commands/StartDomainMaintenanceCommand";
|
|
86
91
|
import { type StartMigrationCommandInput, type StartMigrationCommandOutput } from "./commands/StartMigrationCommand";
|
|
87
92
|
import { type StartServiceSoftwareUpdateCommandInput, type StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
93
|
+
import { type SwitchoverReplicationCommandInput, type SwitchoverReplicationCommandOutput } from "./commands/SwitchoverReplicationCommand";
|
|
88
94
|
import { type UpdateApplicationCommandInput, type UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
89
95
|
import { type UpdateDataSourceCommandInput, type UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
90
96
|
import { type UpdateDirectQueryDataSourceCommandInput, type UpdateDirectQueryDataSourceCommandOutput } from "./commands/UpdateDirectQueryDataSourceCommand";
|
|
@@ -121,6 +127,12 @@ export interface OpenSearch {
|
|
|
121
127
|
addDirectQueryDataSource(args: AddDirectQueryDataSourceCommandInput, options?: OpenSearchRequestOptions): Promise<AddDirectQueryDataSourceCommandOutput>;
|
|
122
128
|
addDirectQueryDataSource(args: AddDirectQueryDataSourceCommandInput, cb: (err: any, data?: AddDirectQueryDataSourceCommandOutput) => void): void;
|
|
123
129
|
addDirectQueryDataSource(args: AddDirectQueryDataSourceCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: AddDirectQueryDataSourceCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* @see {@link AddReplicationPeerCommand}
|
|
132
|
+
*/
|
|
133
|
+
addReplicationPeer(args: AddReplicationPeerCommandInput, options?: OpenSearchRequestOptions): Promise<AddReplicationPeerCommandOutput>;
|
|
134
|
+
addReplicationPeer(args: AddReplicationPeerCommandInput, cb: (err: any, data?: AddReplicationPeerCommandOutput) => void): void;
|
|
135
|
+
addReplicationPeer(args: AddReplicationPeerCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: AddReplicationPeerCommandOutput) => void): void;
|
|
124
136
|
/**
|
|
125
137
|
* @see {@link AddTagsCommand}
|
|
126
138
|
*/
|
|
@@ -163,6 +175,12 @@ export interface OpenSearch {
|
|
|
163
175
|
cancelServiceSoftwareUpdate(args: CancelServiceSoftwareUpdateCommandInput, options?: OpenSearchRequestOptions): Promise<CancelServiceSoftwareUpdateCommandOutput>;
|
|
164
176
|
cancelServiceSoftwareUpdate(args: CancelServiceSoftwareUpdateCommandInput, cb: (err: any, data?: CancelServiceSoftwareUpdateCommandOutput) => void): void;
|
|
165
177
|
cancelServiceSoftwareUpdate(args: CancelServiceSoftwareUpdateCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: CancelServiceSoftwareUpdateCommandOutput) => void): void;
|
|
178
|
+
/**
|
|
179
|
+
* @see {@link CompareDomainConfigurationCommand}
|
|
180
|
+
*/
|
|
181
|
+
compareDomainConfiguration(args: CompareDomainConfigurationCommandInput, options?: OpenSearchRequestOptions): Promise<CompareDomainConfigurationCommandOutput>;
|
|
182
|
+
compareDomainConfiguration(args: CompareDomainConfigurationCommandInput, cb: (err: any, data?: CompareDomainConfigurationCommandOutput) => void): void;
|
|
183
|
+
compareDomainConfiguration(args: CompareDomainConfigurationCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: CompareDomainConfigurationCommandOutput) => void): void;
|
|
166
184
|
/**
|
|
167
185
|
* @see {@link CreateApplicationCommand}
|
|
168
186
|
*/
|
|
@@ -301,6 +319,12 @@ export interface OpenSearch {
|
|
|
301
319
|
describeDomainNodes(args: DescribeDomainNodesCommandInput, options?: OpenSearchRequestOptions): Promise<DescribeDomainNodesCommandOutput>;
|
|
302
320
|
describeDomainNodes(args: DescribeDomainNodesCommandInput, cb: (err: any, data?: DescribeDomainNodesCommandOutput) => void): void;
|
|
303
321
|
describeDomainNodes(args: DescribeDomainNodesCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: DescribeDomainNodesCommandOutput) => void): void;
|
|
322
|
+
/**
|
|
323
|
+
* @see {@link DescribeDomainReplicationCommand}
|
|
324
|
+
*/
|
|
325
|
+
describeDomainReplication(args: DescribeDomainReplicationCommandInput, options?: OpenSearchRequestOptions): Promise<DescribeDomainReplicationCommandOutput>;
|
|
326
|
+
describeDomainReplication(args: DescribeDomainReplicationCommandInput, cb: (err: any, data?: DescribeDomainReplicationCommandOutput) => void): void;
|
|
327
|
+
describeDomainReplication(args: DescribeDomainReplicationCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: DescribeDomainReplicationCommandOutput) => void): void;
|
|
304
328
|
/**
|
|
305
329
|
* @see {@link DescribeDomainsCommand}
|
|
306
330
|
*/
|
|
@@ -384,6 +408,12 @@ export interface OpenSearch {
|
|
|
384
408
|
dissociatePackages(args: DissociatePackagesCommandInput, options?: OpenSearchRequestOptions): Promise<DissociatePackagesCommandOutput>;
|
|
385
409
|
dissociatePackages(args: DissociatePackagesCommandInput, cb: (err: any, data?: DissociatePackagesCommandOutput) => void): void;
|
|
386
410
|
dissociatePackages(args: DissociatePackagesCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: DissociatePackagesCommandOutput) => void): void;
|
|
411
|
+
/**
|
|
412
|
+
* @see {@link FailoverReplicationCommand}
|
|
413
|
+
*/
|
|
414
|
+
failoverReplication(args: FailoverReplicationCommandInput, options?: OpenSearchRequestOptions): Promise<FailoverReplicationCommandOutput>;
|
|
415
|
+
failoverReplication(args: FailoverReplicationCommandInput, cb: (err: any, data?: FailoverReplicationCommandOutput) => void): void;
|
|
416
|
+
failoverReplication(args: FailoverReplicationCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: FailoverReplicationCommandOutput) => void): void;
|
|
387
417
|
/**
|
|
388
418
|
* @see {@link GetApplicationCommand}
|
|
389
419
|
*/
|
|
@@ -595,6 +625,12 @@ export interface OpenSearch {
|
|
|
595
625
|
rejectInboundConnection(args: RejectInboundConnectionCommandInput, options?: OpenSearchRequestOptions): Promise<RejectInboundConnectionCommandOutput>;
|
|
596
626
|
rejectInboundConnection(args: RejectInboundConnectionCommandInput, cb: (err: any, data?: RejectInboundConnectionCommandOutput) => void): void;
|
|
597
627
|
rejectInboundConnection(args: RejectInboundConnectionCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: RejectInboundConnectionCommandOutput) => void): void;
|
|
628
|
+
/**
|
|
629
|
+
* @see {@link RemoveReplicationPeerCommand}
|
|
630
|
+
*/
|
|
631
|
+
removeReplicationPeer(args: RemoveReplicationPeerCommandInput, options?: OpenSearchRequestOptions): Promise<RemoveReplicationPeerCommandOutput>;
|
|
632
|
+
removeReplicationPeer(args: RemoveReplicationPeerCommandInput, cb: (err: any, data?: RemoveReplicationPeerCommandOutput) => void): void;
|
|
633
|
+
removeReplicationPeer(args: RemoveReplicationPeerCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: RemoveReplicationPeerCommandOutput) => void): void;
|
|
598
634
|
/**
|
|
599
635
|
* @see {@link RemoveTagsCommand}
|
|
600
636
|
*/
|
|
@@ -631,6 +667,12 @@ export interface OpenSearch {
|
|
|
631
667
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, options?: OpenSearchRequestOptions): Promise<StartServiceSoftwareUpdateCommandOutput>;
|
|
632
668
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, cb: (err: any, data?: StartServiceSoftwareUpdateCommandOutput) => void): void;
|
|
633
669
|
startServiceSoftwareUpdate(args: StartServiceSoftwareUpdateCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: StartServiceSoftwareUpdateCommandOutput) => void): void;
|
|
670
|
+
/**
|
|
671
|
+
* @see {@link SwitchoverReplicationCommand}
|
|
672
|
+
*/
|
|
673
|
+
switchoverReplication(args: SwitchoverReplicationCommandInput, options?: OpenSearchRequestOptions): Promise<SwitchoverReplicationCommandOutput>;
|
|
674
|
+
switchoverReplication(args: SwitchoverReplicationCommandInput, cb: (err: any, data?: SwitchoverReplicationCommandOutput) => void): void;
|
|
675
|
+
switchoverReplication(args: SwitchoverReplicationCommandInput, options: OpenSearchRequestOptions, cb: (err: any, data?: SwitchoverReplicationCommandOutput) => void): void;
|
|
634
676
|
/**
|
|
635
677
|
* @see {@link UpdateApplicationCommand}
|
|
636
678
|
*/
|
|
@@ -9,6 +9,7 @@ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } fro
|
|
|
9
9
|
import type { AcceptInboundConnectionCommandInput, AcceptInboundConnectionCommandOutput } from "./commands/AcceptInboundConnectionCommand";
|
|
10
10
|
import type { AddDataSourceCommandInput, AddDataSourceCommandOutput } from "./commands/AddDataSourceCommand";
|
|
11
11
|
import type { AddDirectQueryDataSourceCommandInput, AddDirectQueryDataSourceCommandOutput } from "./commands/AddDirectQueryDataSourceCommand";
|
|
12
|
+
import type { AddReplicationPeerCommandInput, AddReplicationPeerCommandOutput } from "./commands/AddReplicationPeerCommand";
|
|
12
13
|
import type { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
13
14
|
import type { AssociatePackageCommandInput, AssociatePackageCommandOutput } from "./commands/AssociatePackageCommand";
|
|
14
15
|
import type { AssociatePackagesCommandInput, AssociatePackagesCommandOutput } from "./commands/AssociatePackagesCommand";
|
|
@@ -16,6 +17,7 @@ import type { AttachDataSourceCommandInput, AttachDataSourceCommandOutput } from
|
|
|
16
17
|
import type { AuthorizeVpcEndpointAccessCommandInput, AuthorizeVpcEndpointAccessCommandOutput } from "./commands/AuthorizeVpcEndpointAccessCommand";
|
|
17
18
|
import type { CancelDomainConfigChangeCommandInput, CancelDomainConfigChangeCommandOutput } from "./commands/CancelDomainConfigChangeCommand";
|
|
18
19
|
import type { CancelServiceSoftwareUpdateCommandInput, CancelServiceSoftwareUpdateCommandOutput } from "./commands/CancelServiceSoftwareUpdateCommand";
|
|
20
|
+
import type { CompareDomainConfigurationCommandInput, CompareDomainConfigurationCommandOutput } from "./commands/CompareDomainConfigurationCommand";
|
|
19
21
|
import type { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
20
22
|
import type { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
21
23
|
import type { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
|
|
@@ -39,6 +41,7 @@ import type { DescribeDomainCommandInput, DescribeDomainCommandOutput } from "./
|
|
|
39
41
|
import type { DescribeDomainConfigCommandInput, DescribeDomainConfigCommandOutput } from "./commands/DescribeDomainConfigCommand";
|
|
40
42
|
import type { DescribeDomainHealthCommandInput, DescribeDomainHealthCommandOutput } from "./commands/DescribeDomainHealthCommand";
|
|
41
43
|
import type { DescribeDomainNodesCommandInput, DescribeDomainNodesCommandOutput } from "./commands/DescribeDomainNodesCommand";
|
|
44
|
+
import type { DescribeDomainReplicationCommandInput, DescribeDomainReplicationCommandOutput } from "./commands/DescribeDomainReplicationCommand";
|
|
42
45
|
import type { DescribeDomainsCommandInput, DescribeDomainsCommandOutput } from "./commands/DescribeDomainsCommand";
|
|
43
46
|
import type { DescribeDryRunProgressCommandInput, DescribeDryRunProgressCommandOutput } from "./commands/DescribeDryRunProgressCommand";
|
|
44
47
|
import type { DescribeInboundConnectionsCommandInput, DescribeInboundConnectionsCommandOutput } from "./commands/DescribeInboundConnectionsCommand";
|
|
@@ -52,6 +55,7 @@ import type { DescribeVpcEndpointsCommandInput, DescribeVpcEndpointsCommandOutpu
|
|
|
52
55
|
import type { DetachDataSourceCommandInput, DetachDataSourceCommandOutput } from "./commands/DetachDataSourceCommand";
|
|
53
56
|
import type { DissociatePackageCommandInput, DissociatePackageCommandOutput } from "./commands/DissociatePackageCommand";
|
|
54
57
|
import type { DissociatePackagesCommandInput, DissociatePackagesCommandOutput } from "./commands/DissociatePackagesCommand";
|
|
58
|
+
import type { FailoverReplicationCommandInput, FailoverReplicationCommandOutput } from "./commands/FailoverReplicationCommand";
|
|
55
59
|
import type { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
56
60
|
import type { GetCapabilityCommandInput, GetCapabilityCommandOutput } from "./commands/GetCapabilityCommand";
|
|
57
61
|
import type { GetCompatibleVersionsCommandInput, GetCompatibleVersionsCommandOutput } from "./commands/GetCompatibleVersionsCommand";
|
|
@@ -86,12 +90,14 @@ import type { PurchaseReservedInstanceOfferingCommandInput, PurchaseReservedInst
|
|
|
86
90
|
import type { PutDefaultApplicationSettingCommandInput, PutDefaultApplicationSettingCommandOutput } from "./commands/PutDefaultApplicationSettingCommand";
|
|
87
91
|
import type { RegisterCapabilityCommandInput, RegisterCapabilityCommandOutput } from "./commands/RegisterCapabilityCommand";
|
|
88
92
|
import type { RejectInboundConnectionCommandInput, RejectInboundConnectionCommandOutput } from "./commands/RejectInboundConnectionCommand";
|
|
93
|
+
import type { RemoveReplicationPeerCommandInput, RemoveReplicationPeerCommandOutput } from "./commands/RemoveReplicationPeerCommand";
|
|
89
94
|
import type { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
|
|
90
95
|
import type { RevokeVpcEndpointAccessCommandInput, RevokeVpcEndpointAccessCommandOutput } from "./commands/RevokeVpcEndpointAccessCommand";
|
|
91
96
|
import type { RollbackServiceSoftwareUpdateCommandInput, RollbackServiceSoftwareUpdateCommandOutput } from "./commands/RollbackServiceSoftwareUpdateCommand";
|
|
92
97
|
import type { StartDomainMaintenanceCommandInput, StartDomainMaintenanceCommandOutput } from "./commands/StartDomainMaintenanceCommand";
|
|
93
98
|
import type { StartMigrationCommandInput, StartMigrationCommandOutput } from "./commands/StartMigrationCommand";
|
|
94
99
|
import type { StartServiceSoftwareUpdateCommandInput, StartServiceSoftwareUpdateCommandOutput } from "./commands/StartServiceSoftwareUpdateCommand";
|
|
100
|
+
import type { SwitchoverReplicationCommandInput, SwitchoverReplicationCommandOutput } from "./commands/SwitchoverReplicationCommand";
|
|
95
101
|
import type { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
96
102
|
import type { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
|
|
97
103
|
import type { UpdateDirectQueryDataSourceCommandInput, UpdateDirectQueryDataSourceCommandOutput } from "./commands/UpdateDirectQueryDataSourceCommand";
|
|
@@ -108,11 +114,11 @@ export { __Client };
|
|
|
108
114
|
/**
|
|
109
115
|
* @public
|
|
110
116
|
*/
|
|
111
|
-
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 | GetMigrationCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | InsightFeedbackCommandInput | ListApplicationsCommandInput | ListDataSourceAttachmentsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListMigrationsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | RollbackServiceSoftwareUpdateCommandInput | StartDomainMaintenanceCommandInput | StartMigrationCommandInput | StartServiceSoftwareUpdateCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
117
|
+
export type ServiceInputTypes = AcceptInboundConnectionCommandInput | AddDataSourceCommandInput | AddDirectQueryDataSourceCommandInput | AddReplicationPeerCommandInput | AddTagsCommandInput | AssociatePackageCommandInput | AssociatePackagesCommandInput | AttachDataSourceCommandInput | AuthorizeVpcEndpointAccessCommandInput | CancelDomainConfigChangeCommandInput | CancelServiceSoftwareUpdateCommandInput | CompareDomainConfigurationCommandInput | CreateApplicationCommandInput | CreateDomainCommandInput | CreateIndexCommandInput | CreateOutboundConnectionCommandInput | CreatePackageCommandInput | CreateVpcEndpointCommandInput | DeleteApplicationCommandInput | DeleteDataSourceCommandInput | DeleteDirectQueryDataSourceCommandInput | DeleteDomainCommandInput | DeleteInboundConnectionCommandInput | DeleteIndexCommandInput | DeleteOutboundConnectionCommandInput | DeletePackageCommandInput | DeleteVpcEndpointCommandInput | DeregisterCapabilityCommandInput | DescribeDataSourceAttachmentCommandInput | DescribeDomainAutoTunesCommandInput | DescribeDomainChangeProgressCommandInput | DescribeDomainCommandInput | DescribeDomainConfigCommandInput | DescribeDomainHealthCommandInput | DescribeDomainNodesCommandInput | DescribeDomainReplicationCommandInput | DescribeDomainsCommandInput | DescribeDryRunProgressCommandInput | DescribeInboundConnectionsCommandInput | DescribeInsightDetailsCommandInput | DescribeInstanceTypeLimitsCommandInput | DescribeOutboundConnectionsCommandInput | DescribePackagesCommandInput | DescribeReservedInstanceOfferingsCommandInput | DescribeReservedInstancesCommandInput | DescribeVpcEndpointsCommandInput | DetachDataSourceCommandInput | DissociatePackageCommandInput | DissociatePackagesCommandInput | FailoverReplicationCommandInput | GetApplicationCommandInput | GetCapabilityCommandInput | GetCompatibleVersionsCommandInput | GetDataSourceCommandInput | GetDefaultApplicationSettingCommandInput | GetDirectQueryDataSourceCommandInput | GetDomainMaintenanceStatusCommandInput | GetIndexCommandInput | GetMigrationCommandInput | GetPackageVersionHistoryCommandInput | GetUpgradeHistoryCommandInput | GetUpgradeStatusCommandInput | InsightFeedbackCommandInput | ListApplicationsCommandInput | ListDataSourceAttachmentsCommandInput | ListDataSourcesCommandInput | ListDirectQueryDataSourcesCommandInput | ListDomainMaintenancesCommandInput | ListDomainNamesCommandInput | ListDomainsForPackageCommandInput | ListInsightsCommandInput | ListInstanceTypeDetailsCommandInput | ListMigrationsCommandInput | ListPackagesForDomainCommandInput | ListScheduledActionsCommandInput | ListTagsCommandInput | ListVersionsCommandInput | ListVpcEndpointAccessCommandInput | ListVpcEndpointsCommandInput | ListVpcEndpointsForDomainCommandInput | PurchaseReservedInstanceOfferingCommandInput | PutDefaultApplicationSettingCommandInput | RegisterCapabilityCommandInput | RejectInboundConnectionCommandInput | RemoveReplicationPeerCommandInput | RemoveTagsCommandInput | RevokeVpcEndpointAccessCommandInput | RollbackServiceSoftwareUpdateCommandInput | StartDomainMaintenanceCommandInput | StartMigrationCommandInput | StartServiceSoftwareUpdateCommandInput | SwitchoverReplicationCommandInput | UpdateApplicationCommandInput | UpdateDataSourceCommandInput | UpdateDirectQueryDataSourceCommandInput | UpdateDomainConfigCommandInput | UpdateIndexCommandInput | UpdatePackageCommandInput | UpdatePackageScopeCommandInput | UpdateScheduledActionCommandInput | UpdateVpcEndpointCommandInput | UpgradeDomainCommandInput;
|
|
112
118
|
/**
|
|
113
119
|
* @public
|
|
114
120
|
*/
|
|
115
|
-
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 | GetMigrationCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | InsightFeedbackCommandOutput | ListApplicationsCommandOutput | ListDataSourceAttachmentsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListMigrationsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | RollbackServiceSoftwareUpdateCommandOutput | StartDomainMaintenanceCommandOutput | StartMigrationCommandOutput | StartServiceSoftwareUpdateCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
121
|
+
export type ServiceOutputTypes = AcceptInboundConnectionCommandOutput | AddDataSourceCommandOutput | AddDirectQueryDataSourceCommandOutput | AddReplicationPeerCommandOutput | AddTagsCommandOutput | AssociatePackageCommandOutput | AssociatePackagesCommandOutput | AttachDataSourceCommandOutput | AuthorizeVpcEndpointAccessCommandOutput | CancelDomainConfigChangeCommandOutput | CancelServiceSoftwareUpdateCommandOutput | CompareDomainConfigurationCommandOutput | CreateApplicationCommandOutput | CreateDomainCommandOutput | CreateIndexCommandOutput | CreateOutboundConnectionCommandOutput | CreatePackageCommandOutput | CreateVpcEndpointCommandOutput | DeleteApplicationCommandOutput | DeleteDataSourceCommandOutput | DeleteDirectQueryDataSourceCommandOutput | DeleteDomainCommandOutput | DeleteInboundConnectionCommandOutput | DeleteIndexCommandOutput | DeleteOutboundConnectionCommandOutput | DeletePackageCommandOutput | DeleteVpcEndpointCommandOutput | DeregisterCapabilityCommandOutput | DescribeDataSourceAttachmentCommandOutput | DescribeDomainAutoTunesCommandOutput | DescribeDomainChangeProgressCommandOutput | DescribeDomainCommandOutput | DescribeDomainConfigCommandOutput | DescribeDomainHealthCommandOutput | DescribeDomainNodesCommandOutput | DescribeDomainReplicationCommandOutput | DescribeDomainsCommandOutput | DescribeDryRunProgressCommandOutput | DescribeInboundConnectionsCommandOutput | DescribeInsightDetailsCommandOutput | DescribeInstanceTypeLimitsCommandOutput | DescribeOutboundConnectionsCommandOutput | DescribePackagesCommandOutput | DescribeReservedInstanceOfferingsCommandOutput | DescribeReservedInstancesCommandOutput | DescribeVpcEndpointsCommandOutput | DetachDataSourceCommandOutput | DissociatePackageCommandOutput | DissociatePackagesCommandOutput | FailoverReplicationCommandOutput | GetApplicationCommandOutput | GetCapabilityCommandOutput | GetCompatibleVersionsCommandOutput | GetDataSourceCommandOutput | GetDefaultApplicationSettingCommandOutput | GetDirectQueryDataSourceCommandOutput | GetDomainMaintenanceStatusCommandOutput | GetIndexCommandOutput | GetMigrationCommandOutput | GetPackageVersionHistoryCommandOutput | GetUpgradeHistoryCommandOutput | GetUpgradeStatusCommandOutput | InsightFeedbackCommandOutput | ListApplicationsCommandOutput | ListDataSourceAttachmentsCommandOutput | ListDataSourcesCommandOutput | ListDirectQueryDataSourcesCommandOutput | ListDomainMaintenancesCommandOutput | ListDomainNamesCommandOutput | ListDomainsForPackageCommandOutput | ListInsightsCommandOutput | ListInstanceTypeDetailsCommandOutput | ListMigrationsCommandOutput | ListPackagesForDomainCommandOutput | ListScheduledActionsCommandOutput | ListTagsCommandOutput | ListVersionsCommandOutput | ListVpcEndpointAccessCommandOutput | ListVpcEndpointsCommandOutput | ListVpcEndpointsForDomainCommandOutput | PurchaseReservedInstanceOfferingCommandOutput | PutDefaultApplicationSettingCommandOutput | RegisterCapabilityCommandOutput | RejectInboundConnectionCommandOutput | RemoveReplicationPeerCommandOutput | RemoveTagsCommandOutput | RevokeVpcEndpointAccessCommandOutput | RollbackServiceSoftwareUpdateCommandOutput | StartDomainMaintenanceCommandOutput | StartMigrationCommandOutput | StartServiceSoftwareUpdateCommandOutput | SwitchoverReplicationCommandOutput | UpdateApplicationCommandOutput | UpdateDataSourceCommandOutput | UpdateDirectQueryDataSourceCommandOutput | UpdateDomainConfigCommandOutput | UpdateIndexCommandOutput | UpdatePackageCommandOutput | UpdatePackageScopeCommandOutput | UpdateScheduledActionCommandOutput | UpdateVpcEndpointCommandOutput | UpgradeDomainCommandOutput;
|
|
116
122
|
/**
|
|
117
123
|
* @public
|
|
118
124
|
*/
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { AddReplicationPeerRequest, AddReplicationPeerResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link AddReplicationPeerCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface AddReplicationPeerCommandInput extends AddReplicationPeerRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link AddReplicationPeerCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface AddReplicationPeerCommandOutput extends AddReplicationPeerResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const AddReplicationPeerCommand_base: {
|
|
22
|
+
new (input: AddReplicationPeerCommandInput): import("@smithy/core/client").CommandImpl<AddReplicationPeerCommandInput, AddReplicationPeerCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AddReplicationPeerCommandInput): import("@smithy/core/client").CommandImpl<AddReplicationPeerCommandInput, AddReplicationPeerCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Starts replicating a domain to a peer domain in another AWS Region. A domain can have one
|
|
28
|
+
* peer. The domain you call becomes the primary and the peer becomes the secondary, which
|
|
29
|
+
* receives a copy of the primary's indexes and serves read requests.</p>
|
|
30
|
+
* <p>Replication is established asynchronously. Use the <code>DescribeDomainReplication</code> operation to check whether the
|
|
31
|
+
* relationship has reached the <code>ACTIVE</code> state.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OpenSearchClient, AddReplicationPeerCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
36
|
+
* // const { OpenSearchClient, AddReplicationPeerCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
37
|
+
* // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
|
|
38
|
+
* const config = {}; // type is OpenSearchClientConfig
|
|
39
|
+
* const client = new OpenSearchClient(config);
|
|
40
|
+
* const input = { // AddReplicationPeerRequest
|
|
41
|
+
* DomainName: "STRING_VALUE", // required
|
|
42
|
+
* PeerDomainArn: "STRING_VALUE", // required
|
|
43
|
+
* DryRun: true || false,
|
|
44
|
+
* };
|
|
45
|
+
* const command = new AddReplicationPeerCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // AddReplicationPeerResponse
|
|
48
|
+
* // DomainArn: "STRING_VALUE",
|
|
49
|
+
* // Status: "PENDING_SETUP" || "ACTIVE" || "SWITCHING_OVER" || "FAILING_OVER" || "PENDING_REMOVAL" || "DETACHED" || "EJECTED" || "FAILED",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param AddReplicationPeerCommandInput - {@link AddReplicationPeerCommandInput}
|
|
55
|
+
* @returns {@link AddReplicationPeerCommandOutput}
|
|
56
|
+
* @see {@link AddReplicationPeerCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link AddReplicationPeerCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
61
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalException} (server fault)
|
|
64
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
67
|
+
* <p>An exception for creating a resource that already exists.</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
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class AddReplicationPeerCommand extends AddReplicationPeerCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: AddReplicationPeerRequest;
|
|
86
|
+
output: AddReplicationPeerResponse;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: AddReplicationPeerCommandInput;
|
|
90
|
+
output: AddReplicationPeerCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CompareDomainConfigurationRequest, CompareDomainConfigurationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CompareDomainConfigurationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CompareDomainConfigurationCommandInput extends CompareDomainConfigurationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CompareDomainConfigurationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CompareDomainConfigurationCommandOutput extends CompareDomainConfigurationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CompareDomainConfigurationCommand_base: {
|
|
22
|
+
new (input: CompareDomainConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CompareDomainConfigurationCommandInput, CompareDomainConfigurationCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CompareDomainConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CompareDomainConfigurationCommandInput, CompareDomainConfigurationCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Compares the metadata of two domains and reports where they differ. Use this operation to
|
|
28
|
+
* check that a secondary domain is configured consistently with its primary before you rely on
|
|
29
|
+
* it, because replication copies index data but does not copy domain metadata such as index
|
|
30
|
+
* templates, ingest pipelines, or security roles.</p>
|
|
31
|
+
* <p>You choose which categories to compare. The response reports, for each category, how many
|
|
32
|
+
* items match, how many exist on only one domain, and which fields diverge.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OpenSearchClient, CompareDomainConfigurationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
37
|
+
* // const { OpenSearchClient, CompareDomainConfigurationCommand } = 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 = { // CompareDomainConfigurationRequest
|
|
42
|
+
* SourceDomainArn: "STRING_VALUE", // required
|
|
43
|
+
* TargetDomainArn: "STRING_VALUE", // required
|
|
44
|
+
* Categories: [ // MetadataCategoryList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new CompareDomainConfigurationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // CompareDomainConfigurationResponse
|
|
51
|
+
* // SourceDomainArn: "STRING_VALUE",
|
|
52
|
+
* // TargetDomainArn: "STRING_VALUE",
|
|
53
|
+
* // Categories: { // CompareDomainConfigurationCategoryMap
|
|
54
|
+
* // "<keys>": { // CategoryDiffResult
|
|
55
|
+
* // Status: "compared" || "error",
|
|
56
|
+
* // InSync: Number("int"),
|
|
57
|
+
* // SourceOnly: Number("int"),
|
|
58
|
+
* // TargetOnly: Number("int"),
|
|
59
|
+
* // Diverged: Number("int"),
|
|
60
|
+
* // Items: { // DiffItems
|
|
61
|
+
* // SourceOnly: [ // DiffItemNameList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // TargetOnly: [
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // Diverged: [ // DivergentItemList
|
|
68
|
+
* // { // DivergentItem
|
|
69
|
+
* // Name: "STRING_VALUE",
|
|
70
|
+
* // Fields: [ // DivergentFieldList
|
|
71
|
+
* // { // DivergentField
|
|
72
|
+
* // Path: "STRING_VALUE",
|
|
73
|
+
* // SourceValue: "STRING_VALUE",
|
|
74
|
+
* // TargetValue: "STRING_VALUE",
|
|
75
|
+
* // Policy: "redacted",
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // Truncated: true || false,
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param CompareDomainConfigurationCommandInput - {@link CompareDomainConfigurationCommandInput}
|
|
89
|
+
* @returns {@link CompareDomainConfigurationCommandOutput}
|
|
90
|
+
* @see {@link CompareDomainConfigurationCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link CompareDomainConfigurationCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
95
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InternalException} (server fault)
|
|
98
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
101
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link OpenSearchServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class CompareDomainConfigurationCommand extends CompareDomainConfigurationCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: CompareDomainConfigurationRequest;
|
|
117
|
+
output: CompareDomainConfigurationResponse;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: CompareDomainConfigurationCommandInput;
|
|
121
|
+
output: CompareDomainConfigurationCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeDomainReplicationRequest, DescribeDomainReplicationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeDomainReplicationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeDomainReplicationCommandInput extends DescribeDomainReplicationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeDomainReplicationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeDomainReplicationCommandOutput extends DescribeDomainReplicationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeDomainReplicationCommand_base: {
|
|
22
|
+
new (input: DescribeDomainReplicationCommandInput): import("@smithy/core/client").CommandImpl<DescribeDomainReplicationCommandInput, DescribeDomainReplicationCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeDomainReplicationCommandInput): import("@smithy/core/client").CommandImpl<DescribeDomainReplicationCommandInput, DescribeDomainReplicationCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Describes the replication arrangement that a domain participates in, including the domain's
|
|
28
|
+
* role and the state of its relationship with each peer.</p>
|
|
29
|
+
* <p>A domain that is not replicating is returned with an empty <code>Peers</code> list and no
|
|
30
|
+
* <code>Role</code>. Returns <code>ResourceNotFoundException</code> if the domain does not
|
|
31
|
+
* exist.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { OpenSearchClient, DescribeDomainReplicationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
36
|
+
* // const { OpenSearchClient, DescribeDomainReplicationCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
|
|
37
|
+
* // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch";
|
|
38
|
+
* const config = {}; // type is OpenSearchClientConfig
|
|
39
|
+
* const client = new OpenSearchClient(config);
|
|
40
|
+
* const input = { // DescribeDomainReplicationRequest
|
|
41
|
+
* DomainName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DescribeDomainReplicationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DescribeDomainReplicationResponse
|
|
46
|
+
* // DomainArn: "STRING_VALUE",
|
|
47
|
+
* // Role: "PRIMARY" || "SECONDARY",
|
|
48
|
+
* // Peers: [ // ReplicationPeerList
|
|
49
|
+
* // { // ReplicationPeer
|
|
50
|
+
* // PeerDomainArn: "STRING_VALUE",
|
|
51
|
+
* // PeerRole: "PRIMARY" || "SECONDARY",
|
|
52
|
+
* // Status: "PENDING_SETUP" || "ACTIVE" || "SWITCHING_OVER" || "FAILING_OVER" || "PENDING_REMOVAL" || "DETACHED" || "EJECTED" || "FAILED",
|
|
53
|
+
* // StatusMessage: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param DescribeDomainReplicationCommandInput - {@link DescribeDomainReplicationCommandInput}
|
|
61
|
+
* @returns {@link DescribeDomainReplicationCommandOutput}
|
|
62
|
+
* @see {@link DescribeDomainReplicationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link DescribeDomainReplicationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
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 DescribeDomainReplicationCommand extends DescribeDomainReplicationCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: DescribeDomainReplicationRequest;
|
|
89
|
+
output: DescribeDomainReplicationResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: DescribeDomainReplicationCommandInput;
|
|
93
|
+
output: DescribeDomainReplicationCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { FailoverReplicationRequest, FailoverReplicationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link FailoverReplicationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface FailoverReplicationCommandInput extends FailoverReplicationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link FailoverReplicationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface FailoverReplicationCommandOutput extends FailoverReplicationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const FailoverReplicationCommand_base: {
|
|
22
|
+
new (input: FailoverReplicationCommandInput): import("@smithy/core/client").CommandImpl<FailoverReplicationCommandInput, FailoverReplicationCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: FailoverReplicationCommandInput): import("@smithy/core/client").CommandImpl<FailoverReplicationCommandInput, FailoverReplicationCommandOutput, import("..").OpenSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Promotes a secondary domain to primary without coordinating with the current primary. Use
|
|
28
|
+
* this operation when the primary is unreachable and you cannot wait for it to recover.</p>
|
|
29
|
+
* <p>Writes that had not yet replicated when the primary became unreachable are lost. You must
|
|
30
|
+
* set <code>AllowDataLoss</code> to acknowledge this. To promote a domain without losing writes,
|
|
31
|
+
* use the <code>SwitchoverReplication</code> operation instead.</p>
|
|
32
|
+
* <p>Call this operation in the Region of the domain you want to promote.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OpenSearchClient, FailoverReplicationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
|
|
37
|
+
* // const { OpenSearchClient, FailoverReplicationCommand } = 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 = { // FailoverReplicationRequest
|
|
42
|
+
* DomainName: "STRING_VALUE", // required
|
|
43
|
+
* PeerDomainArn: "STRING_VALUE", // required
|
|
44
|
+
* AllowDataLoss: true || false, // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new FailoverReplicationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // FailoverReplicationResponse
|
|
49
|
+
* // DomainArn: "STRING_VALUE",
|
|
50
|
+
* // Status: "PENDING_SETUP" || "ACTIVE" || "SWITCHING_OVER" || "FAILING_OVER" || "PENDING_REMOVAL" || "DETACHED" || "EJECTED" || "FAILED",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param FailoverReplicationCommandInput - {@link FailoverReplicationCommandInput}
|
|
56
|
+
* @returns {@link FailoverReplicationCommandOutput}
|
|
57
|
+
* @see {@link FailoverReplicationCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link FailoverReplicationCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link DisabledOperationException} (client fault)
|
|
62
|
+
* <p>An error occured because the client wanted to access an unsupported operation.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalException} (server fault)
|
|
65
|
+
* <p>Request processing failed because of an unknown error, exception, or internal failure.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>An exception for accessing or deleting a resource that doesn't exist.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link OpenSearchServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from OpenSearch service.</p>
|
|
75
|
+
*
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class FailoverReplicationCommand extends FailoverReplicationCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: FailoverReplicationRequest;
|
|
84
|
+
output: FailoverReplicationResponse;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: FailoverReplicationCommandInput;
|
|
88
|
+
output: FailoverReplicationCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListInstanceTypeDetailsRequest
|
|
2
|
+
import type { ListInstanceTypeDetailsRequest } from "../models/models_0";
|
|
3
|
+
import type { ListInstanceTypeDetailsResponse } from "../models/models_1";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|