@aws-sdk/client-opensearch 3.1079.0 → 3.1080.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 +21 -0
- package/dist-cjs/index.js +147 -1
- package/dist-es/OpenSearch.js +6 -0
- package/dist-es/commands/GetMigrationCommand.js +4 -0
- package/dist-es/commands/ListMigrationsCommand.js +4 -0
- package/dist-es/commands/StartMigrationCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +115 -0
- package/dist-types/OpenSearch.d.ts +21 -0
- package/dist-types/OpenSearchClient.d.ts +5 -2
- package/dist-types/commands/GetMigrationCommand.d.ts +99 -0
- package/dist-types/commands/ListMigrationsCommand.d.ts +104 -0
- package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -2
- package/dist-types/commands/StartMigrationCommand.d.ts +115 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +178 -123
- package/dist-types/models/models_1.d.ts +248 -1
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/OpenSearch.d.ts +51 -0
- package/dist-types/ts3.4/OpenSearchClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListMigrationsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -28
- package/dist-types/ts3.4/models/models_1.d.ts +61 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +3 -3
|
@@ -52,6 +52,7 @@ export * from "./GetDefaultApplicationSettingCommand";
|
|
|
52
52
|
export * from "./GetDirectQueryDataSourceCommand";
|
|
53
53
|
export * from "./GetDomainMaintenanceStatusCommand";
|
|
54
54
|
export * from "./GetIndexCommand";
|
|
55
|
+
export * from "./GetMigrationCommand";
|
|
55
56
|
export * from "./GetPackageVersionHistoryCommand";
|
|
56
57
|
export * from "./GetUpgradeHistoryCommand";
|
|
57
58
|
export * from "./GetUpgradeStatusCommand";
|
|
@@ -65,6 +66,7 @@ export * from "./ListDomainNamesCommand";
|
|
|
65
66
|
export * from "./ListDomainsForPackageCommand";
|
|
66
67
|
export * from "./ListInsightsCommand";
|
|
67
68
|
export * from "./ListInstanceTypeDetailsCommand";
|
|
69
|
+
export * from "./ListMigrationsCommand";
|
|
68
70
|
export * from "./ListPackagesForDomainCommand";
|
|
69
71
|
export * from "./ListScheduledActionsCommand";
|
|
70
72
|
export * from "./ListTagsCommand";
|
|
@@ -80,6 +82,7 @@ export * from "./RemoveTagsCommand";
|
|
|
80
82
|
export * from "./RevokeVpcEndpointAccessCommand";
|
|
81
83
|
export * from "./RollbackServiceSoftwareUpdateCommand";
|
|
82
84
|
export * from "./StartDomainMaintenanceCommand";
|
|
85
|
+
export * from "./StartMigrationCommand";
|
|
83
86
|
export * from "./StartServiceSoftwareUpdateCommand";
|
|
84
87
|
export * from "./UpdateApplicationCommand";
|
|
85
88
|
export * from "./UpdateDataSourceCommand";
|
|
@@ -1407,6 +1407,27 @@ export interface GetIndexRequest {
|
|
|
1407
1407
|
export interface GetIndexResponse {
|
|
1408
1408
|
IndexSchema: __DocumentType | undefined;
|
|
1409
1409
|
}
|
|
1410
|
+
export interface GetMigrationRequest {
|
|
1411
|
+
migrationId: string | undefined;
|
|
1412
|
+
}
|
|
1413
|
+
export interface MigrationError {
|
|
1414
|
+
code?: string | undefined;
|
|
1415
|
+
message?: string | undefined;
|
|
1416
|
+
}
|
|
1417
|
+
export interface MigrationSource {
|
|
1418
|
+
datasourceArn: string | undefined;
|
|
1419
|
+
}
|
|
1420
|
+
export interface GetMigrationResponse {
|
|
1421
|
+
migrationId?: string | undefined;
|
|
1422
|
+
status?: string | undefined;
|
|
1423
|
+
applicationId?: string | undefined;
|
|
1424
|
+
source?: MigrationSource | undefined;
|
|
1425
|
+
exportedCount?: number | undefined;
|
|
1426
|
+
importedCount?: number | undefined;
|
|
1427
|
+
error?: MigrationError | undefined;
|
|
1428
|
+
createdAt?: Date | undefined;
|
|
1429
|
+
updatedAt?: Date | undefined;
|
|
1430
|
+
}
|
|
1410
1431
|
export interface GetPackageVersionHistoryRequest {
|
|
1411
1432
|
PackageID: string | undefined;
|
|
1412
1433
|
MaxResults?: number | undefined;
|
|
@@ -1612,6 +1633,27 @@ export interface ListInstanceTypeDetailsResponse {
|
|
|
1612
1633
|
InstanceTypeDetails?: InstanceTypeDetails[] | undefined;
|
|
1613
1634
|
NextToken?: string | undefined;
|
|
1614
1635
|
}
|
|
1636
|
+
export interface ListMigrationsRequest {
|
|
1637
|
+
applicationId: string | undefined;
|
|
1638
|
+
status?: string | undefined;
|
|
1639
|
+
maxResults?: number | undefined;
|
|
1640
|
+
nextToken?: string | undefined;
|
|
1641
|
+
}
|
|
1642
|
+
export interface MigrationSummary {
|
|
1643
|
+
migrationId?: string | undefined;
|
|
1644
|
+
status?: string | undefined;
|
|
1645
|
+
applicationId?: string | undefined;
|
|
1646
|
+
source?: MigrationSource | undefined;
|
|
1647
|
+
exportedCount?: number | undefined;
|
|
1648
|
+
importedCount?: number | undefined;
|
|
1649
|
+
error?: MigrationError | undefined;
|
|
1650
|
+
createdAt?: Date | undefined;
|
|
1651
|
+
updatedAt?: Date | undefined;
|
|
1652
|
+
}
|
|
1653
|
+
export interface ListMigrationsResponse {
|
|
1654
|
+
migrations?: MigrationSummary[] | undefined;
|
|
1655
|
+
nextToken?: string | undefined;
|
|
1656
|
+
}
|
|
1615
1657
|
export interface ListPackagesForDomainRequest {
|
|
1616
1658
|
DomainName: string | undefined;
|
|
1617
1659
|
MaxResults?: number | undefined;
|
|
@@ -1655,31 +1697,3 @@ export interface ListVersionsResponse {
|
|
|
1655
1697
|
Versions?: string[] | undefined;
|
|
1656
1698
|
NextToken?: string | undefined;
|
|
1657
1699
|
}
|
|
1658
|
-
export interface ListVpcEndpointAccessRequest {
|
|
1659
|
-
DomainName: string | undefined;
|
|
1660
|
-
NextToken?: string | undefined;
|
|
1661
|
-
}
|
|
1662
|
-
export interface ListVpcEndpointAccessResponse {
|
|
1663
|
-
AuthorizedPrincipalList: AuthorizedPrincipal[] | undefined;
|
|
1664
|
-
NextToken: string | undefined;
|
|
1665
|
-
}
|
|
1666
|
-
export interface ListVpcEndpointsRequest {
|
|
1667
|
-
NextToken?: string | undefined;
|
|
1668
|
-
}
|
|
1669
|
-
export interface ListVpcEndpointsResponse {
|
|
1670
|
-
VpcEndpointSummaryList: VpcEndpointSummary[] | undefined;
|
|
1671
|
-
NextToken: string | undefined;
|
|
1672
|
-
}
|
|
1673
|
-
export interface ListVpcEndpointsForDomainRequest {
|
|
1674
|
-
DomainName: string | undefined;
|
|
1675
|
-
NextToken?: string | undefined;
|
|
1676
|
-
}
|
|
1677
|
-
export interface ListVpcEndpointsForDomainResponse {
|
|
1678
|
-
VpcEndpointSummaryList: VpcEndpointSummary[] | undefined;
|
|
1679
|
-
NextToken: string | undefined;
|
|
1680
|
-
}
|
|
1681
|
-
export interface PurchaseReservedInstanceOfferingRequest {
|
|
1682
|
-
ReservedInstanceOfferingId: string | undefined;
|
|
1683
|
-
ReservationName: string | undefined;
|
|
1684
|
-
InstanceCount?: number | undefined;
|
|
1685
|
-
}
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
AIConfig,
|
|
20
20
|
AIMLOptionsInput,
|
|
21
21
|
AppConfig,
|
|
22
|
+
AuthorizedPrincipal,
|
|
22
23
|
AutomatedSnapshotPauseRequestOptions,
|
|
23
24
|
AutoTuneOptions,
|
|
24
25
|
ChangeProgressDetails,
|
|
@@ -39,6 +40,7 @@ import {
|
|
|
39
40
|
IdentityCenterOptionsInput,
|
|
40
41
|
InboundConnection,
|
|
41
42
|
LogPublishingOption,
|
|
43
|
+
MigrationSource,
|
|
42
44
|
NodeToNodeEncryptionOptions,
|
|
43
45
|
OffPeakWindowOptions,
|
|
44
46
|
PackageConfiguration,
|
|
@@ -51,8 +53,37 @@ import {
|
|
|
51
53
|
SnapshotOptions,
|
|
52
54
|
SoftwareUpdateOptions,
|
|
53
55
|
VpcEndpoint,
|
|
56
|
+
VpcEndpointSummary,
|
|
54
57
|
VPCOptions,
|
|
55
58
|
} from "./models_0";
|
|
59
|
+
export interface ListVpcEndpointAccessRequest {
|
|
60
|
+
DomainName: string | undefined;
|
|
61
|
+
NextToken?: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
export interface ListVpcEndpointAccessResponse {
|
|
64
|
+
AuthorizedPrincipalList: AuthorizedPrincipal[] | undefined;
|
|
65
|
+
NextToken: string | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface ListVpcEndpointsRequest {
|
|
68
|
+
NextToken?: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
export interface ListVpcEndpointsResponse {
|
|
71
|
+
VpcEndpointSummaryList: VpcEndpointSummary[] | undefined;
|
|
72
|
+
NextToken: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface ListVpcEndpointsForDomainRequest {
|
|
75
|
+
DomainName: string | undefined;
|
|
76
|
+
NextToken?: string | undefined;
|
|
77
|
+
}
|
|
78
|
+
export interface ListVpcEndpointsForDomainResponse {
|
|
79
|
+
VpcEndpointSummaryList: VpcEndpointSummary[] | undefined;
|
|
80
|
+
NextToken: string | undefined;
|
|
81
|
+
}
|
|
82
|
+
export interface PurchaseReservedInstanceOfferingRequest {
|
|
83
|
+
ReservedInstanceOfferingId: string | undefined;
|
|
84
|
+
ReservationName: string | undefined;
|
|
85
|
+
InstanceCount?: number | undefined;
|
|
86
|
+
}
|
|
56
87
|
export interface PurchaseReservedInstanceOfferingResponse {
|
|
57
88
|
ReservedInstanceId?: string | undefined;
|
|
58
89
|
ReservationName?: string | undefined;
|
|
@@ -146,6 +177,36 @@ export interface StartDomainMaintenanceRequest {
|
|
|
146
177
|
export interface StartDomainMaintenanceResponse {
|
|
147
178
|
MaintenanceId?: string | undefined;
|
|
148
179
|
}
|
|
180
|
+
export interface SavedObjectIdentifier {
|
|
181
|
+
type: string | undefined;
|
|
182
|
+
id: string | undefined;
|
|
183
|
+
}
|
|
184
|
+
export interface ExportOptions {
|
|
185
|
+
types?: string[] | undefined;
|
|
186
|
+
objects?: SavedObjectIdentifier[] | undefined;
|
|
187
|
+
includeReferencesDeep?: boolean | undefined;
|
|
188
|
+
}
|
|
189
|
+
export interface MigrationWorkspace {
|
|
190
|
+
workspaceId?: string | undefined;
|
|
191
|
+
createWorkspace?: boolean | undefined;
|
|
192
|
+
name?: string | undefined;
|
|
193
|
+
type?: string | undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface MigrationOptions {
|
|
196
|
+
source: MigrationSource | undefined;
|
|
197
|
+
workspace: MigrationWorkspace | undefined;
|
|
198
|
+
exportOptions?: ExportOptions | undefined;
|
|
199
|
+
conflictResolution?: string | undefined;
|
|
200
|
+
}
|
|
201
|
+
export interface StartMigrationRequest {
|
|
202
|
+
applicationId: string | undefined;
|
|
203
|
+
migrationOptions: MigrationOptions | undefined;
|
|
204
|
+
clientToken?: string | undefined;
|
|
205
|
+
}
|
|
206
|
+
export interface StartMigrationResponse {
|
|
207
|
+
migrationId?: string | undefined;
|
|
208
|
+
status?: string | undefined;
|
|
209
|
+
}
|
|
149
210
|
export interface StartServiceSoftwareUpdateRequest {
|
|
150
211
|
DomainName: string | undefined;
|
|
151
212
|
ScheduleAt?: ScheduleAt | undefined;
|
|
@@ -178,6 +178,7 @@ export declare var EncryptionAtRestOptionsStatus$: StaticStructureSchema;
|
|
|
178
178
|
export declare var EngineModeStatus$: StaticStructureSchema;
|
|
179
179
|
export declare var EnvironmentInfo$: StaticStructureSchema;
|
|
180
180
|
export declare var ErrorDetails$: StaticStructureSchema;
|
|
181
|
+
export declare var ExportOptions$: StaticStructureSchema;
|
|
181
182
|
export declare var Filter$: StaticStructureSchema;
|
|
182
183
|
export declare var GetApplicationRequest$: StaticStructureSchema;
|
|
183
184
|
export declare var GetApplicationResponse$: StaticStructureSchema;
|
|
@@ -195,6 +196,8 @@ export declare var GetDomainMaintenanceStatusRequest$: StaticStructureSchema;
|
|
|
195
196
|
export declare var GetDomainMaintenanceStatusResponse$: StaticStructureSchema;
|
|
196
197
|
export declare var GetIndexRequest$: StaticStructureSchema;
|
|
197
198
|
export declare var GetIndexResponse$: StaticStructureSchema;
|
|
199
|
+
export declare var GetMigrationRequest$: StaticStructureSchema;
|
|
200
|
+
export declare var GetMigrationResponse$: StaticStructureSchema;
|
|
198
201
|
export declare var GetPackageVersionHistoryRequest$: StaticStructureSchema;
|
|
199
202
|
export declare var GetPackageVersionHistoryResponse$: StaticStructureSchema;
|
|
200
203
|
export declare var GetUpgradeHistoryRequest$: StaticStructureSchema;
|
|
@@ -243,6 +246,8 @@ export declare var ListInsightsRequest$: StaticStructureSchema;
|
|
|
243
246
|
export declare var ListInsightsResponse$: StaticStructureSchema;
|
|
244
247
|
export declare var ListInstanceTypeDetailsRequest$: StaticStructureSchema;
|
|
245
248
|
export declare var ListInstanceTypeDetailsResponse$: StaticStructureSchema;
|
|
249
|
+
export declare var ListMigrationsRequest$: StaticStructureSchema;
|
|
250
|
+
export declare var ListMigrationsResponse$: StaticStructureSchema;
|
|
246
251
|
export declare var ListPackagesForDomainRequest$: StaticStructureSchema;
|
|
247
252
|
export declare var ListPackagesForDomainResponse$: StaticStructureSchema;
|
|
248
253
|
export declare var ListScheduledActionsRequest$: StaticStructureSchema;
|
|
@@ -260,6 +265,11 @@ export declare var ListVpcEndpointsResponse$: StaticStructureSchema;
|
|
|
260
265
|
export declare var LogPublishingOption$: StaticStructureSchema;
|
|
261
266
|
export declare var LogPublishingOptionsStatus$: StaticStructureSchema;
|
|
262
267
|
export declare var MasterUserOptions$: StaticStructureSchema;
|
|
268
|
+
export declare var MigrationError$: StaticStructureSchema;
|
|
269
|
+
export declare var MigrationOptions$: StaticStructureSchema;
|
|
270
|
+
export declare var MigrationSource$: StaticStructureSchema;
|
|
271
|
+
export declare var MigrationSummary$: StaticStructureSchema;
|
|
272
|
+
export declare var MigrationWorkspace$: StaticStructureSchema;
|
|
263
273
|
export declare var ModifyingProperties$: StaticStructureSchema;
|
|
264
274
|
export declare var NaturalLanguageQueryGenerationOptionsInput$: StaticStructureSchema;
|
|
265
275
|
export declare var NaturalLanguageQueryGenerationOptionsOutput$: StaticStructureSchema;
|
|
@@ -305,6 +315,7 @@ export declare var S3VectorsEngine$: StaticStructureSchema;
|
|
|
305
315
|
export declare var SAMLIdp$: StaticStructureSchema;
|
|
306
316
|
export declare var SAMLOptionsInput$: StaticStructureSchema;
|
|
307
317
|
export declare var SAMLOptionsOutput$: StaticStructureSchema;
|
|
318
|
+
export declare var SavedObjectIdentifier$: StaticStructureSchema;
|
|
308
319
|
export declare var ScheduledAction$: StaticStructureSchema;
|
|
309
320
|
export declare var ScheduledAutoTuneDetails$: StaticStructureSchema;
|
|
310
321
|
export declare var SecurityLakeDirectQueryDataSource$: StaticStructureSchema;
|
|
@@ -317,6 +328,8 @@ export declare var SoftwareUpdateOptions$: StaticStructureSchema;
|
|
|
317
328
|
export declare var SoftwareUpdateOptionsStatus$: StaticStructureSchema;
|
|
318
329
|
export declare var StartDomainMaintenanceRequest$: StaticStructureSchema;
|
|
319
330
|
export declare var StartDomainMaintenanceResponse$: StaticStructureSchema;
|
|
331
|
+
export declare var StartMigrationRequest$: StaticStructureSchema;
|
|
332
|
+
export declare var StartMigrationResponse$: StaticStructureSchema;
|
|
320
333
|
export declare var StartServiceSoftwareUpdateRequest$: StaticStructureSchema;
|
|
321
334
|
export declare var StartServiceSoftwareUpdateResponse$: StaticStructureSchema;
|
|
322
335
|
export declare var StorageType$: StaticStructureSchema;
|
|
@@ -415,6 +428,7 @@ export declare var GetDefaultApplicationSetting$: StaticOperationSchema;
|
|
|
415
428
|
export declare var GetDirectQueryDataSource$: StaticOperationSchema;
|
|
416
429
|
export declare var GetDomainMaintenanceStatus$: StaticOperationSchema;
|
|
417
430
|
export declare var GetIndex$: StaticOperationSchema;
|
|
431
|
+
export declare var GetMigration$: StaticOperationSchema;
|
|
418
432
|
export declare var GetPackageVersionHistory$: StaticOperationSchema;
|
|
419
433
|
export declare var GetUpgradeHistory$: StaticOperationSchema;
|
|
420
434
|
export declare var GetUpgradeStatus$: StaticOperationSchema;
|
|
@@ -428,6 +442,7 @@ export declare var ListDomainNames$: StaticOperationSchema;
|
|
|
428
442
|
export declare var ListDomainsForPackage$: StaticOperationSchema;
|
|
429
443
|
export declare var ListInsights$: StaticOperationSchema;
|
|
430
444
|
export declare var ListInstanceTypeDetails$: StaticOperationSchema;
|
|
445
|
+
export declare var ListMigrations$: StaticOperationSchema;
|
|
431
446
|
export declare var ListPackagesForDomain$: StaticOperationSchema;
|
|
432
447
|
export declare var ListScheduledActions$: StaticOperationSchema;
|
|
433
448
|
export declare var ListTags$: StaticOperationSchema;
|
|
@@ -443,6 +458,7 @@ export declare var RemoveTags$: StaticOperationSchema;
|
|
|
443
458
|
export declare var RevokeVpcEndpointAccess$: StaticOperationSchema;
|
|
444
459
|
export declare var RollbackServiceSoftwareUpdate$: StaticOperationSchema;
|
|
445
460
|
export declare var StartDomainMaintenance$: StaticOperationSchema;
|
|
461
|
+
export declare var StartMigration$: StaticOperationSchema;
|
|
446
462
|
export declare var StartServiceSoftwareUpdate$: StaticOperationSchema;
|
|
447
463
|
export declare var UpdateApplication$: StaticOperationSchema;
|
|
448
464
|
export declare var UpdateDataSource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-opensearch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1080.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.974.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
22
|
+
"@aws-sdk/core": "^3.974.28",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.63",
|
|
24
24
|
"@aws-sdk/types": "^3.973.15",
|
|
25
25
|
"@smithy/core": "^3.29.0",
|
|
26
26
|
"@smithy/fetch-http-handler": "^5.6.2",
|