@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AcceptInboundConnectionCommand";
|
|
2
2
|
export * from "./AddDataSourceCommand";
|
|
3
3
|
export * from "./AddDirectQueryDataSourceCommand";
|
|
4
|
+
export * from "./AddReplicationPeerCommand";
|
|
4
5
|
export * from "./AddTagsCommand";
|
|
5
6
|
export * from "./AssociatePackageCommand";
|
|
6
7
|
export * from "./AssociatePackagesCommand";
|
|
@@ -8,6 +9,7 @@ export * from "./AttachDataSourceCommand";
|
|
|
8
9
|
export * from "./AuthorizeVpcEndpointAccessCommand";
|
|
9
10
|
export * from "./CancelDomainConfigChangeCommand";
|
|
10
11
|
export * from "./CancelServiceSoftwareUpdateCommand";
|
|
12
|
+
export * from "./CompareDomainConfigurationCommand";
|
|
11
13
|
export * from "./CreateApplicationCommand";
|
|
12
14
|
export * from "./CreateDomainCommand";
|
|
13
15
|
export * from "./CreateIndexCommand";
|
|
@@ -31,6 +33,7 @@ export * from "./DescribeDomainCommand";
|
|
|
31
33
|
export * from "./DescribeDomainConfigCommand";
|
|
32
34
|
export * from "./DescribeDomainHealthCommand";
|
|
33
35
|
export * from "./DescribeDomainNodesCommand";
|
|
36
|
+
export * from "./DescribeDomainReplicationCommand";
|
|
34
37
|
export * from "./DescribeDomainsCommand";
|
|
35
38
|
export * from "./DescribeDryRunProgressCommand";
|
|
36
39
|
export * from "./DescribeInboundConnectionsCommand";
|
|
@@ -44,6 +47,7 @@ export * from "./DescribeVpcEndpointsCommand";
|
|
|
44
47
|
export * from "./DetachDataSourceCommand";
|
|
45
48
|
export * from "./DissociatePackageCommand";
|
|
46
49
|
export * from "./DissociatePackagesCommand";
|
|
50
|
+
export * from "./FailoverReplicationCommand";
|
|
47
51
|
export * from "./GetApplicationCommand";
|
|
48
52
|
export * from "./GetCapabilityCommand";
|
|
49
53
|
export * from "./GetCompatibleVersionsCommand";
|
|
@@ -78,12 +82,14 @@ export * from "./PurchaseReservedInstanceOfferingCommand";
|
|
|
78
82
|
export * from "./PutDefaultApplicationSettingCommand";
|
|
79
83
|
export * from "./RegisterCapabilityCommand";
|
|
80
84
|
export * from "./RejectInboundConnectionCommand";
|
|
85
|
+
export * from "./RemoveReplicationPeerCommand";
|
|
81
86
|
export * from "./RemoveTagsCommand";
|
|
82
87
|
export * from "./RevokeVpcEndpointAccessCommand";
|
|
83
88
|
export * from "./RollbackServiceSoftwareUpdateCommand";
|
|
84
89
|
export * from "./StartDomainMaintenanceCommand";
|
|
85
90
|
export * from "./StartMigrationCommand";
|
|
86
91
|
export * from "./StartServiceSoftwareUpdateCommand";
|
|
92
|
+
export * from "./SwitchoverReplicationCommand";
|
|
87
93
|
export * from "./UpdateApplicationCommand";
|
|
88
94
|
export * from "./UpdateDataSourceCommand";
|
|
89
95
|
export * from "./UpdateDirectQueryDataSourceCommand";
|
|
@@ -42,6 +42,17 @@ export declare const ActionType: {
|
|
|
42
42
|
readonly SERVICE_SOFTWARE_UPDATE: "SERVICE_SOFTWARE_UPDATE";
|
|
43
43
|
};
|
|
44
44
|
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
45
|
+
export declare const ReplicationStatus: {
|
|
46
|
+
readonly ACTIVE: "ACTIVE";
|
|
47
|
+
readonly DETACHED: "DETACHED";
|
|
48
|
+
readonly EJECTED: "EJECTED";
|
|
49
|
+
readonly FAILED: "FAILED";
|
|
50
|
+
readonly FAILING_OVER: "FAILING_OVER";
|
|
51
|
+
readonly PENDING_REMOVAL: "PENDING_REMOVAL";
|
|
52
|
+
readonly PENDING_SETUP: "PENDING_SETUP";
|
|
53
|
+
readonly SWITCHING_OVER: "SWITCHING_OVER";
|
|
54
|
+
};
|
|
55
|
+
export type ReplicationStatus = (typeof ReplicationStatus)[keyof typeof ReplicationStatus];
|
|
45
56
|
export declare const NaturalLanguageQueryGenerationDesiredState: {
|
|
46
57
|
readonly Disabled: "DISABLED";
|
|
47
58
|
readonly Enabled: "ENABLED";
|
|
@@ -98,6 +109,15 @@ export declare const DeploymentStatus: {
|
|
|
98
109
|
readonly PENDING_UPDATE: "PENDING_UPDATE";
|
|
99
110
|
};
|
|
100
111
|
export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
112
|
+
export declare const DiffFieldPolicy: {
|
|
113
|
+
readonly REDACTED: "redacted";
|
|
114
|
+
};
|
|
115
|
+
export type DiffFieldPolicy = (typeof DiffFieldPolicy)[keyof typeof DiffFieldPolicy];
|
|
116
|
+
export declare const DiffStatus: {
|
|
117
|
+
readonly COMPARED: "compared";
|
|
118
|
+
readonly ERROR: "error";
|
|
119
|
+
};
|
|
120
|
+
export type DiffStatus = (typeof DiffStatus)[keyof typeof DiffStatus];
|
|
101
121
|
export declare const AppConfigType: {
|
|
102
122
|
readonly OpensearchDashboardAdminGroups: "opensearchDashboards.dashboardAdmin.groups";
|
|
103
123
|
readonly OpensearchDashboardAdminUsers: "opensearchDashboards.dashboardAdmin.users";
|
|
@@ -476,6 +496,11 @@ export declare const NodeType: {
|
|
|
476
496
|
readonly Warm: "Warm";
|
|
477
497
|
};
|
|
478
498
|
export type NodeType = (typeof NodeType)[keyof typeof NodeType];
|
|
499
|
+
export declare const ReplicationRole: {
|
|
500
|
+
readonly PRIMARY: "PRIMARY";
|
|
501
|
+
readonly SECONDARY: "SECONDARY";
|
|
502
|
+
};
|
|
503
|
+
export type ReplicationRole = (typeof ReplicationRole)[keyof typeof ReplicationRole];
|
|
479
504
|
export declare const InsightEntityType: {
|
|
480
505
|
readonly ACCOUNT: "Account";
|
|
481
506
|
readonly DOMAIN: "DomainName";
|
|
@@ -48,6 +48,12 @@ export declare class ValidationException extends __BaseException {
|
|
|
48
48
|
readonly $fault: "client";
|
|
49
49
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
50
50
|
}
|
|
51
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
53
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
56
|
+
}
|
|
51
57
|
export declare class ConflictException extends __BaseException {
|
|
52
58
|
static readonly shapeId: string;
|
|
53
59
|
readonly name: "ConflictException";
|
|
@@ -60,12 +66,6 @@ export declare class InvalidTypeException extends __BaseException {
|
|
|
60
66
|
readonly $fault: "client";
|
|
61
67
|
constructor(opts: __ExceptionOptionType<InvalidTypeException, __BaseException>);
|
|
62
68
|
}
|
|
63
|
-
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
64
|
-
static readonly shapeId: string;
|
|
65
|
-
readonly name: "ResourceAlreadyExistsException";
|
|
66
|
-
readonly $fault: "client";
|
|
67
|
-
constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
|
|
68
|
-
}
|
|
69
69
|
export declare class ThrottlingException extends __BaseException {
|
|
70
70
|
static readonly shapeId: string;
|
|
71
71
|
readonly name: "ThrottlingException";
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import {
|
|
3
|
-
ActionSeverity,
|
|
4
|
-
ActionStatus,
|
|
5
|
-
ActionType,
|
|
6
3
|
AppConfigType,
|
|
7
4
|
ApplicationStatus,
|
|
8
5
|
AutoTuneDesiredState,
|
|
@@ -18,6 +15,8 @@ import {
|
|
|
18
15
|
DeploymentStatus,
|
|
19
16
|
DeploymentStrategy,
|
|
20
17
|
DescribePackagesFilterName,
|
|
18
|
+
DiffFieldPolicy,
|
|
19
|
+
DiffStatus,
|
|
21
20
|
DomainHealth,
|
|
22
21
|
DomainPackageStatus,
|
|
23
22
|
DomainProcessingStatusType,
|
|
@@ -58,13 +57,14 @@ import {
|
|
|
58
57
|
PauseState,
|
|
59
58
|
PrincipalType,
|
|
60
59
|
PropertyValueType,
|
|
60
|
+
ReplicationRole,
|
|
61
|
+
ReplicationStatus,
|
|
61
62
|
RequirementLevel,
|
|
62
63
|
ReservedInstancePaymentOption,
|
|
63
64
|
RolesKeyIdCOption,
|
|
64
65
|
RollbackOnDisable,
|
|
65
66
|
ScheduledAutoTuneActionType,
|
|
66
67
|
ScheduledAutoTuneSeverityType,
|
|
67
|
-
ScheduledBy,
|
|
68
68
|
SkipUnavailableStatus,
|
|
69
69
|
SubjectKeyIdCOption,
|
|
70
70
|
TimeUnit,
|
|
@@ -206,6 +206,15 @@ export interface AdditionalLimit {
|
|
|
206
206
|
LimitName?: string | undefined;
|
|
207
207
|
LimitValues?: string[] | undefined;
|
|
208
208
|
}
|
|
209
|
+
export interface AddReplicationPeerRequest {
|
|
210
|
+
DomainName: string | undefined;
|
|
211
|
+
PeerDomainArn: string | undefined;
|
|
212
|
+
DryRun?: boolean | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface AddReplicationPeerResponse {
|
|
215
|
+
DomainArn?: string | undefined;
|
|
216
|
+
Status?: ReplicationStatus | undefined;
|
|
217
|
+
}
|
|
209
218
|
export interface AddTagsRequest {
|
|
210
219
|
ARN: string | undefined;
|
|
211
220
|
TagList: Tag[] | undefined;
|
|
@@ -423,6 +432,40 @@ export interface ServiceSoftwareOptions {
|
|
|
423
432
|
export interface CancelServiceSoftwareUpdateResponse {
|
|
424
433
|
ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
|
|
425
434
|
}
|
|
435
|
+
export interface CompareDomainConfigurationRequest {
|
|
436
|
+
SourceDomainArn: string | undefined;
|
|
437
|
+
TargetDomainArn: string | undefined;
|
|
438
|
+
Categories: string[] | undefined;
|
|
439
|
+
}
|
|
440
|
+
export interface DivergentField {
|
|
441
|
+
Path?: string | undefined;
|
|
442
|
+
SourceValue?: string | undefined;
|
|
443
|
+
TargetValue?: string | undefined;
|
|
444
|
+
Policy?: DiffFieldPolicy | undefined;
|
|
445
|
+
}
|
|
446
|
+
export interface DivergentItem {
|
|
447
|
+
Name?: string | undefined;
|
|
448
|
+
Fields?: DivergentField[] | undefined;
|
|
449
|
+
}
|
|
450
|
+
export interface DiffItems {
|
|
451
|
+
SourceOnly?: string[] | undefined;
|
|
452
|
+
TargetOnly?: string[] | undefined;
|
|
453
|
+
Diverged?: DivergentItem[] | undefined;
|
|
454
|
+
}
|
|
455
|
+
export interface CategoryDiffResult {
|
|
456
|
+
Status?: DiffStatus | undefined;
|
|
457
|
+
InSync?: number | undefined;
|
|
458
|
+
SourceOnly?: number | undefined;
|
|
459
|
+
TargetOnly?: number | undefined;
|
|
460
|
+
Diverged?: number | undefined;
|
|
461
|
+
Items?: DiffItems | undefined;
|
|
462
|
+
Truncated?: boolean | undefined;
|
|
463
|
+
}
|
|
464
|
+
export interface CompareDomainConfigurationResponse {
|
|
465
|
+
SourceDomainArn?: string | undefined;
|
|
466
|
+
TargetDomainArn?: string | undefined;
|
|
467
|
+
Categories?: Record<string, CategoryDiffResult> | undefined;
|
|
468
|
+
}
|
|
426
469
|
export interface AppConfig {
|
|
427
470
|
key?: AppConfigType | undefined;
|
|
428
471
|
value?: string | undefined;
|
|
@@ -1106,6 +1149,20 @@ export interface DomainNodesStatus {
|
|
|
1106
1149
|
export interface DescribeDomainNodesResponse {
|
|
1107
1150
|
DomainNodesStatusList?: DomainNodesStatus[] | undefined;
|
|
1108
1151
|
}
|
|
1152
|
+
export interface DescribeDomainReplicationRequest {
|
|
1153
|
+
DomainName: string | undefined;
|
|
1154
|
+
}
|
|
1155
|
+
export interface ReplicationPeer {
|
|
1156
|
+
PeerDomainArn?: string | undefined;
|
|
1157
|
+
PeerRole?: ReplicationRole | undefined;
|
|
1158
|
+
Status?: ReplicationStatus | undefined;
|
|
1159
|
+
StatusMessage?: string | undefined;
|
|
1160
|
+
}
|
|
1161
|
+
export interface DescribeDomainReplicationResponse {
|
|
1162
|
+
DomainArn?: string | undefined;
|
|
1163
|
+
Role?: ReplicationRole | undefined;
|
|
1164
|
+
Peers?: ReplicationPeer[] | undefined;
|
|
1165
|
+
}
|
|
1109
1166
|
export interface DescribeDomainsRequest {
|
|
1110
1167
|
DomainNames: string[] | undefined;
|
|
1111
1168
|
}
|
|
@@ -1298,6 +1355,15 @@ export interface DissociatePackagesRequest {
|
|
|
1298
1355
|
export interface DissociatePackagesResponse {
|
|
1299
1356
|
DomainPackageDetailsList?: DomainPackageDetails[] | undefined;
|
|
1300
1357
|
}
|
|
1358
|
+
export interface FailoverReplicationRequest {
|
|
1359
|
+
DomainName: string | undefined;
|
|
1360
|
+
PeerDomainArn: string | undefined;
|
|
1361
|
+
AllowDataLoss: boolean | undefined;
|
|
1362
|
+
}
|
|
1363
|
+
export interface FailoverReplicationResponse {
|
|
1364
|
+
DomainArn?: string | undefined;
|
|
1365
|
+
Status?: ReplicationStatus | undefined;
|
|
1366
|
+
}
|
|
1301
1367
|
export interface GetApplicationRequest {
|
|
1302
1368
|
id: string | undefined;
|
|
1303
1369
|
}
|
|
@@ -1622,71 +1688,3 @@ export interface InstanceTypeDetails {
|
|
|
1622
1688
|
InstanceRole?: string[] | undefined;
|
|
1623
1689
|
AvailabilityZones?: string[] | undefined;
|
|
1624
1690
|
}
|
|
1625
|
-
export interface ListInstanceTypeDetailsResponse {
|
|
1626
|
-
InstanceTypeDetails?: InstanceTypeDetails[] | undefined;
|
|
1627
|
-
NextToken?: string | undefined;
|
|
1628
|
-
}
|
|
1629
|
-
export interface ListMigrationsRequest {
|
|
1630
|
-
applicationId: string | undefined;
|
|
1631
|
-
status?: string | undefined;
|
|
1632
|
-
maxResults?: number | undefined;
|
|
1633
|
-
nextToken?: string | undefined;
|
|
1634
|
-
}
|
|
1635
|
-
export interface MigrationSummary {
|
|
1636
|
-
migrationId?: string | undefined;
|
|
1637
|
-
status?: string | undefined;
|
|
1638
|
-
applicationId?: string | undefined;
|
|
1639
|
-
source?: MigrationSource | undefined;
|
|
1640
|
-
exportedCount?: number | undefined;
|
|
1641
|
-
importedCount?: number | undefined;
|
|
1642
|
-
error?: MigrationError | undefined;
|
|
1643
|
-
createdAt?: Date | undefined;
|
|
1644
|
-
updatedAt?: Date | undefined;
|
|
1645
|
-
}
|
|
1646
|
-
export interface ListMigrationsResponse {
|
|
1647
|
-
migrations?: MigrationSummary[] | undefined;
|
|
1648
|
-
nextToken?: string | undefined;
|
|
1649
|
-
}
|
|
1650
|
-
export interface ListPackagesForDomainRequest {
|
|
1651
|
-
DomainName: string | undefined;
|
|
1652
|
-
MaxResults?: number | undefined;
|
|
1653
|
-
NextToken?: string | undefined;
|
|
1654
|
-
}
|
|
1655
|
-
export interface ListPackagesForDomainResponse {
|
|
1656
|
-
DomainPackageDetailsList?: DomainPackageDetails[] | undefined;
|
|
1657
|
-
NextToken?: string | undefined;
|
|
1658
|
-
}
|
|
1659
|
-
export interface ListScheduledActionsRequest {
|
|
1660
|
-
DomainName: string | undefined;
|
|
1661
|
-
MaxResults?: number | undefined;
|
|
1662
|
-
NextToken?: string | undefined;
|
|
1663
|
-
}
|
|
1664
|
-
export interface ScheduledAction {
|
|
1665
|
-
Id: string | undefined;
|
|
1666
|
-
Type: ActionType | undefined;
|
|
1667
|
-
Severity: ActionSeverity | undefined;
|
|
1668
|
-
ScheduledTime: number | undefined;
|
|
1669
|
-
Description?: string | undefined;
|
|
1670
|
-
ScheduledBy?: ScheduledBy | undefined;
|
|
1671
|
-
Status?: ActionStatus | undefined;
|
|
1672
|
-
Mandatory?: boolean | undefined;
|
|
1673
|
-
Cancellable?: boolean | undefined;
|
|
1674
|
-
}
|
|
1675
|
-
export interface ListScheduledActionsResponse {
|
|
1676
|
-
ScheduledActions?: ScheduledAction[] | undefined;
|
|
1677
|
-
NextToken?: string | undefined;
|
|
1678
|
-
}
|
|
1679
|
-
export interface ListTagsRequest {
|
|
1680
|
-
ARN: string | undefined;
|
|
1681
|
-
}
|
|
1682
|
-
export interface ListTagsResponse {
|
|
1683
|
-
TagList?: Tag[] | undefined;
|
|
1684
|
-
}
|
|
1685
|
-
export interface ListVersionsRequest {
|
|
1686
|
-
MaxResults?: number | undefined;
|
|
1687
|
-
NextToken?: string | undefined;
|
|
1688
|
-
}
|
|
1689
|
-
export interface ListVersionsResponse {
|
|
1690
|
-
Versions?: string[] | undefined;
|
|
1691
|
-
NextToken?: string | undefined;
|
|
1692
|
-
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import {
|
|
3
|
+
ActionSeverity,
|
|
4
|
+
ActionStatus,
|
|
3
5
|
ActionType,
|
|
4
6
|
AWSServicePrincipal,
|
|
5
7
|
CapabilityStatus,
|
|
@@ -12,7 +14,9 @@ import {
|
|
|
12
14
|
LogType,
|
|
13
15
|
MaintenanceType,
|
|
14
16
|
PackageScopeOperationEnum,
|
|
17
|
+
ReplicationStatus,
|
|
15
18
|
ScheduleAt,
|
|
19
|
+
ScheduledBy,
|
|
16
20
|
} from "./enums";
|
|
17
21
|
import {
|
|
18
22
|
AdvancedSecurityOptionsInput,
|
|
@@ -31,6 +35,7 @@ import {
|
|
|
31
35
|
DirectQueryDataSourceType,
|
|
32
36
|
DomainConfig,
|
|
33
37
|
DomainEndpointOptions,
|
|
38
|
+
DomainPackageDetails,
|
|
34
39
|
DryRunProgressStatus,
|
|
35
40
|
DryRunResults,
|
|
36
41
|
EBSOptions,
|
|
@@ -39,7 +44,9 @@ import {
|
|
|
39
44
|
IamIdentityCenterOptionsInput,
|
|
40
45
|
IdentityCenterOptionsInput,
|
|
41
46
|
InboundConnection,
|
|
47
|
+
InstanceTypeDetails,
|
|
42
48
|
LogPublishingOption,
|
|
49
|
+
MigrationError,
|
|
43
50
|
MigrationSource,
|
|
44
51
|
NodeToNodeEncryptionOptions,
|
|
45
52
|
OffPeakWindowOptions,
|
|
@@ -47,15 +54,83 @@ import {
|
|
|
47
54
|
PackageDetails,
|
|
48
55
|
PackageEncryptionOptions,
|
|
49
56
|
PackageSource,
|
|
50
|
-
ScheduledAction,
|
|
51
57
|
ServiceOptions,
|
|
52
58
|
ServiceSoftwareOptions,
|
|
53
59
|
SnapshotOptions,
|
|
54
60
|
SoftwareUpdateOptions,
|
|
61
|
+
Tag,
|
|
55
62
|
VpcEndpoint,
|
|
56
63
|
VpcEndpointSummary,
|
|
57
64
|
VPCOptions,
|
|
58
65
|
} from "./models_0";
|
|
66
|
+
export interface ListInstanceTypeDetailsResponse {
|
|
67
|
+
InstanceTypeDetails?: InstanceTypeDetails[] | undefined;
|
|
68
|
+
NextToken?: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface ListMigrationsRequest {
|
|
71
|
+
applicationId: string | undefined;
|
|
72
|
+
status?: string | undefined;
|
|
73
|
+
maxResults?: number | undefined;
|
|
74
|
+
nextToken?: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface MigrationSummary {
|
|
77
|
+
migrationId?: string | undefined;
|
|
78
|
+
status?: string | undefined;
|
|
79
|
+
applicationId?: string | undefined;
|
|
80
|
+
source?: MigrationSource | undefined;
|
|
81
|
+
exportedCount?: number | undefined;
|
|
82
|
+
importedCount?: number | undefined;
|
|
83
|
+
error?: MigrationError | undefined;
|
|
84
|
+
createdAt?: Date | undefined;
|
|
85
|
+
updatedAt?: Date | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface ListMigrationsResponse {
|
|
88
|
+
migrations?: MigrationSummary[] | undefined;
|
|
89
|
+
nextToken?: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
export interface ListPackagesForDomainRequest {
|
|
92
|
+
DomainName: string | undefined;
|
|
93
|
+
MaxResults?: number | undefined;
|
|
94
|
+
NextToken?: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface ListPackagesForDomainResponse {
|
|
97
|
+
DomainPackageDetailsList?: DomainPackageDetails[] | undefined;
|
|
98
|
+
NextToken?: string | undefined;
|
|
99
|
+
}
|
|
100
|
+
export interface ListScheduledActionsRequest {
|
|
101
|
+
DomainName: string | undefined;
|
|
102
|
+
MaxResults?: number | undefined;
|
|
103
|
+
NextToken?: string | undefined;
|
|
104
|
+
}
|
|
105
|
+
export interface ScheduledAction {
|
|
106
|
+
Id: string | undefined;
|
|
107
|
+
Type: ActionType | undefined;
|
|
108
|
+
Severity: ActionSeverity | undefined;
|
|
109
|
+
ScheduledTime: number | undefined;
|
|
110
|
+
Description?: string | undefined;
|
|
111
|
+
ScheduledBy?: ScheduledBy | undefined;
|
|
112
|
+
Status?: ActionStatus | undefined;
|
|
113
|
+
Mandatory?: boolean | undefined;
|
|
114
|
+
Cancellable?: boolean | undefined;
|
|
115
|
+
}
|
|
116
|
+
export interface ListScheduledActionsResponse {
|
|
117
|
+
ScheduledActions?: ScheduledAction[] | undefined;
|
|
118
|
+
NextToken?: string | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface ListTagsRequest {
|
|
121
|
+
ARN: string | undefined;
|
|
122
|
+
}
|
|
123
|
+
export interface ListTagsResponse {
|
|
124
|
+
TagList?: Tag[] | undefined;
|
|
125
|
+
}
|
|
126
|
+
export interface ListVersionsRequest {
|
|
127
|
+
MaxResults?: number | undefined;
|
|
128
|
+
NextToken?: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
export interface ListVersionsResponse {
|
|
131
|
+
Versions?: string[] | undefined;
|
|
132
|
+
NextToken?: string | undefined;
|
|
133
|
+
}
|
|
59
134
|
export interface ListVpcEndpointAccessRequest {
|
|
60
135
|
DomainName: string | undefined;
|
|
61
136
|
NextToken?: string | undefined;
|
|
@@ -146,6 +221,14 @@ export interface RejectInboundConnectionRequest {
|
|
|
146
221
|
export interface RejectInboundConnectionResponse {
|
|
147
222
|
Connection?: InboundConnection | undefined;
|
|
148
223
|
}
|
|
224
|
+
export interface RemoveReplicationPeerRequest {
|
|
225
|
+
DomainName: string | undefined;
|
|
226
|
+
PeerDomainArn: string | undefined;
|
|
227
|
+
}
|
|
228
|
+
export interface RemoveReplicationPeerResponse {
|
|
229
|
+
DomainArn?: string | undefined;
|
|
230
|
+
Status?: ReplicationStatus | undefined;
|
|
231
|
+
}
|
|
149
232
|
export interface RemoveTagsRequest {
|
|
150
233
|
ARN: string | undefined;
|
|
151
234
|
TagKeys: string[] | undefined;
|
|
@@ -215,6 +298,14 @@ export interface StartServiceSoftwareUpdateRequest {
|
|
|
215
298
|
export interface StartServiceSoftwareUpdateResponse {
|
|
216
299
|
ServiceSoftwareOptions?: ServiceSoftwareOptions | undefined;
|
|
217
300
|
}
|
|
301
|
+
export interface SwitchoverReplicationRequest {
|
|
302
|
+
DomainName: string | undefined;
|
|
303
|
+
PeerDomainArn: string | undefined;
|
|
304
|
+
}
|
|
305
|
+
export interface SwitchoverReplicationResponse {
|
|
306
|
+
DomainArn?: string | undefined;
|
|
307
|
+
Status?: ReplicationStatus | undefined;
|
|
308
|
+
}
|
|
218
309
|
export interface UpdateApplicationRequest {
|
|
219
310
|
id: string | undefined;
|
|
220
311
|
dataSources?: DataSource[] | undefined;
|
|
@@ -30,6 +30,8 @@ export declare var AddDataSourceResponse$: StaticStructureSchema;
|
|
|
30
30
|
export declare var AddDirectQueryDataSourceRequest$: StaticStructureSchema;
|
|
31
31
|
export declare var AddDirectQueryDataSourceResponse$: StaticStructureSchema;
|
|
32
32
|
export declare var AdditionalLimit$: StaticStructureSchema;
|
|
33
|
+
export declare var AddReplicationPeerRequest$: StaticStructureSchema;
|
|
34
|
+
export declare var AddReplicationPeerResponse$: StaticStructureSchema;
|
|
33
35
|
export declare var AddTagsRequest$: StaticStructureSchema;
|
|
34
36
|
export declare var AdvancedOptionsStatus$: StaticStructureSchema;
|
|
35
37
|
export declare var AdvancedSecurityOptions$: StaticStructureSchema;
|
|
@@ -69,6 +71,7 @@ export declare var CancelledChangeProperty$: StaticStructureSchema;
|
|
|
69
71
|
export declare var CancelServiceSoftwareUpdateRequest$: StaticStructureSchema;
|
|
70
72
|
export declare var CancelServiceSoftwareUpdateResponse$: StaticStructureSchema;
|
|
71
73
|
export declare var CapabilityFailure$: StaticStructureSchema;
|
|
74
|
+
export declare var CategoryDiffResult$: StaticStructureSchema;
|
|
72
75
|
export declare var ChangeProgressDetails$: StaticStructureSchema;
|
|
73
76
|
export declare var ChangeProgressStage$: StaticStructureSchema;
|
|
74
77
|
export declare var ChangeProgressStatusDetails$: StaticStructureSchema;
|
|
@@ -78,6 +81,8 @@ export declare var ClusterConfigStatus$: StaticStructureSchema;
|
|
|
78
81
|
export declare var CognitoOptions$: StaticStructureSchema;
|
|
79
82
|
export declare var CognitoOptionsStatus$: StaticStructureSchema;
|
|
80
83
|
export declare var ColdStorageOptions$: StaticStructureSchema;
|
|
84
|
+
export declare var CompareDomainConfigurationRequest$: StaticStructureSchema;
|
|
85
|
+
export declare var CompareDomainConfigurationResponse$: StaticStructureSchema;
|
|
81
86
|
export declare var CompatibleVersionsMap$: StaticStructureSchema;
|
|
82
87
|
export declare var ConnectionProperties$: StaticStructureSchema;
|
|
83
88
|
export declare var CreateApplicationRequest$: StaticStructureSchema;
|
|
@@ -129,6 +134,8 @@ export declare var DescribeDomainHealthRequest$: StaticStructureSchema;
|
|
|
129
134
|
export declare var DescribeDomainHealthResponse$: StaticStructureSchema;
|
|
130
135
|
export declare var DescribeDomainNodesRequest$: StaticStructureSchema;
|
|
131
136
|
export declare var DescribeDomainNodesResponse$: StaticStructureSchema;
|
|
137
|
+
export declare var DescribeDomainReplicationRequest$: StaticStructureSchema;
|
|
138
|
+
export declare var DescribeDomainReplicationResponse$: StaticStructureSchema;
|
|
132
139
|
export declare var DescribeDomainRequest$: StaticStructureSchema;
|
|
133
140
|
export declare var DescribeDomainResponse$: StaticStructureSchema;
|
|
134
141
|
export declare var DescribeDomainsRequest$: StaticStructureSchema;
|
|
@@ -154,11 +161,14 @@ export declare var DescribeVpcEndpointsRequest$: StaticStructureSchema;
|
|
|
154
161
|
export declare var DescribeVpcEndpointsResponse$: StaticStructureSchema;
|
|
155
162
|
export declare var DetachDataSourceRequest$: StaticStructureSchema;
|
|
156
163
|
export declare var DetachDataSourceResponse$: StaticStructureSchema;
|
|
164
|
+
export declare var DiffItems$: StaticStructureSchema;
|
|
157
165
|
export declare var DirectQueryDataSource$: StaticStructureSchema;
|
|
158
166
|
export declare var DissociatePackageRequest$: StaticStructureSchema;
|
|
159
167
|
export declare var DissociatePackageResponse$: StaticStructureSchema;
|
|
160
168
|
export declare var DissociatePackagesRequest$: StaticStructureSchema;
|
|
161
169
|
export declare var DissociatePackagesResponse$: StaticStructureSchema;
|
|
170
|
+
export declare var DivergentField$: StaticStructureSchema;
|
|
171
|
+
export declare var DivergentItem$: StaticStructureSchema;
|
|
162
172
|
export declare var DomainConfig$: StaticStructureSchema;
|
|
163
173
|
export declare var DomainEndpointOptions$: StaticStructureSchema;
|
|
164
174
|
export declare var DomainEndpointOptionsStatus$: StaticStructureSchema;
|
|
@@ -179,6 +189,8 @@ export declare var EngineModeStatus$: StaticStructureSchema;
|
|
|
179
189
|
export declare var EnvironmentInfo$: StaticStructureSchema;
|
|
180
190
|
export declare var ErrorDetails$: StaticStructureSchema;
|
|
181
191
|
export declare var ExportOptions$: StaticStructureSchema;
|
|
192
|
+
export declare var FailoverReplicationRequest$: StaticStructureSchema;
|
|
193
|
+
export declare var FailoverReplicationResponse$: StaticStructureSchema;
|
|
182
194
|
export declare var Filter$: StaticStructureSchema;
|
|
183
195
|
export declare var GetApplicationRequest$: StaticStructureSchema;
|
|
184
196
|
export declare var GetApplicationResponse$: StaticStructureSchema;
|
|
@@ -302,7 +314,10 @@ export declare var RegisterCapabilityRequest$: StaticStructureSchema;
|
|
|
302
314
|
export declare var RegisterCapabilityResponse$: StaticStructureSchema;
|
|
303
315
|
export declare var RejectInboundConnectionRequest$: StaticStructureSchema;
|
|
304
316
|
export declare var RejectInboundConnectionResponse$: StaticStructureSchema;
|
|
317
|
+
export declare var RemoveReplicationPeerRequest$: StaticStructureSchema;
|
|
318
|
+
export declare var RemoveReplicationPeerResponse$: StaticStructureSchema;
|
|
305
319
|
export declare var RemoveTagsRequest$: StaticStructureSchema;
|
|
320
|
+
export declare var ReplicationPeer$: StaticStructureSchema;
|
|
306
321
|
export declare var ReservedInstance$: StaticStructureSchema;
|
|
307
322
|
export declare var ReservedInstanceOffering$: StaticStructureSchema;
|
|
308
323
|
export declare var RevokeVpcEndpointAccessRequest$: StaticStructureSchema;
|
|
@@ -334,6 +349,8 @@ export declare var StartServiceSoftwareUpdateRequest$: StaticStructureSchema;
|
|
|
334
349
|
export declare var StartServiceSoftwareUpdateResponse$: StaticStructureSchema;
|
|
335
350
|
export declare var StorageType$: StaticStructureSchema;
|
|
336
351
|
export declare var StorageTypeLimit$: StaticStructureSchema;
|
|
352
|
+
export declare var SwitchoverReplicationRequest$: StaticStructureSchema;
|
|
353
|
+
export declare var SwitchoverReplicationResponse$: StaticStructureSchema;
|
|
337
354
|
export declare var Tag$: StaticStructureSchema;
|
|
338
355
|
export declare var UpdateApplicationRequest$: StaticStructureSchema;
|
|
339
356
|
export declare var UpdateApplicationResponse$: StaticStructureSchema;
|
|
@@ -377,6 +394,7 @@ export declare var DirectQueryDataSourceType$: StaticUnionSchema;
|
|
|
377
394
|
export declare var AcceptInboundConnection$: StaticOperationSchema;
|
|
378
395
|
export declare var AddDataSource$: StaticOperationSchema;
|
|
379
396
|
export declare var AddDirectQueryDataSource$: StaticOperationSchema;
|
|
397
|
+
export declare var AddReplicationPeer$: StaticOperationSchema;
|
|
380
398
|
export declare var AddTags$: StaticOperationSchema;
|
|
381
399
|
export declare var AssociatePackage$: StaticOperationSchema;
|
|
382
400
|
export declare var AssociatePackages$: StaticOperationSchema;
|
|
@@ -384,6 +402,7 @@ export declare var AttachDataSource$: StaticOperationSchema;
|
|
|
384
402
|
export declare var AuthorizeVpcEndpointAccess$: StaticOperationSchema;
|
|
385
403
|
export declare var CancelDomainConfigChange$: StaticOperationSchema;
|
|
386
404
|
export declare var CancelServiceSoftwareUpdate$: StaticOperationSchema;
|
|
405
|
+
export declare var CompareDomainConfiguration$: StaticOperationSchema;
|
|
387
406
|
export declare var CreateApplication$: StaticOperationSchema;
|
|
388
407
|
export declare var CreateDomain$: StaticOperationSchema;
|
|
389
408
|
export declare var CreateIndex$: StaticOperationSchema;
|
|
@@ -407,6 +426,7 @@ export declare var DescribeDomainChangeProgress$: StaticOperationSchema;
|
|
|
407
426
|
export declare var DescribeDomainConfig$: StaticOperationSchema;
|
|
408
427
|
export declare var DescribeDomainHealth$: StaticOperationSchema;
|
|
409
428
|
export declare var DescribeDomainNodes$: StaticOperationSchema;
|
|
429
|
+
export declare var DescribeDomainReplication$: StaticOperationSchema;
|
|
410
430
|
export declare var DescribeDomains$: StaticOperationSchema;
|
|
411
431
|
export declare var DescribeDryRunProgress$: StaticOperationSchema;
|
|
412
432
|
export declare var DescribeInboundConnections$: StaticOperationSchema;
|
|
@@ -420,6 +440,7 @@ export declare var DescribeVpcEndpoints$: StaticOperationSchema;
|
|
|
420
440
|
export declare var DetachDataSource$: StaticOperationSchema;
|
|
421
441
|
export declare var DissociatePackage$: StaticOperationSchema;
|
|
422
442
|
export declare var DissociatePackages$: StaticOperationSchema;
|
|
443
|
+
export declare var FailoverReplication$: StaticOperationSchema;
|
|
423
444
|
export declare var GetApplication$: StaticOperationSchema;
|
|
424
445
|
export declare var GetCapability$: StaticOperationSchema;
|
|
425
446
|
export declare var GetCompatibleVersions$: StaticOperationSchema;
|
|
@@ -454,12 +475,14 @@ export declare var PurchaseReservedInstanceOffering$: StaticOperationSchema;
|
|
|
454
475
|
export declare var PutDefaultApplicationSetting$: StaticOperationSchema;
|
|
455
476
|
export declare var RegisterCapability$: StaticOperationSchema;
|
|
456
477
|
export declare var RejectInboundConnection$: StaticOperationSchema;
|
|
478
|
+
export declare var RemoveReplicationPeer$: StaticOperationSchema;
|
|
457
479
|
export declare var RemoveTags$: StaticOperationSchema;
|
|
458
480
|
export declare var RevokeVpcEndpointAccess$: StaticOperationSchema;
|
|
459
481
|
export declare var RollbackServiceSoftwareUpdate$: StaticOperationSchema;
|
|
460
482
|
export declare var StartDomainMaintenance$: StaticOperationSchema;
|
|
461
483
|
export declare var StartMigration$: StaticOperationSchema;
|
|
462
484
|
export declare var StartServiceSoftwareUpdate$: StaticOperationSchema;
|
|
485
|
+
export declare var SwitchoverReplication$: StaticOperationSchema;
|
|
463
486
|
export declare var UpdateApplication$: StaticOperationSchema;
|
|
464
487
|
export declare var UpdateDataSource$: StaticOperationSchema;
|
|
465
488
|
export declare var UpdateDirectQueryDataSource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-opensearch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1159.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-opensearch",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.7",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.90",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
52
|
"@smithy/core": "^3.37.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|