@aws-sdk/client-opensearch 3.1079.0 → 3.1081.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.
Files changed (35) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +147 -1
  3. package/dist-es/OpenSearch.js +6 -0
  4. package/dist-es/commands/GetMigrationCommand.js +4 -0
  5. package/dist-es/commands/ListMigrationsCommand.js +4 -0
  6. package/dist-es/commands/StartMigrationCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/schemas/schemas_0.js +115 -0
  9. package/dist-types/OpenSearch.d.ts +21 -0
  10. package/dist-types/OpenSearchClient.d.ts +5 -2
  11. package/dist-types/commands/GetMigrationCommand.d.ts +99 -0
  12. package/dist-types/commands/ListMigrationsCommand.d.ts +104 -0
  13. package/dist-types/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
  14. package/dist-types/commands/ListVpcEndpointsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
  16. package/dist-types/commands/PurchaseReservedInstanceOfferingCommand.d.ts +1 -2
  17. package/dist-types/commands/StartMigrationCommand.d.ts +115 -0
  18. package/dist-types/commands/index.d.ts +3 -0
  19. package/dist-types/models/models_0.d.ts +178 -123
  20. package/dist-types/models/models_1.d.ts +248 -1
  21. package/dist-types/schemas/schemas_0.d.ts +16 -0
  22. package/dist-types/ts3.4/OpenSearch.d.ts +51 -0
  23. package/dist-types/ts3.4/OpenSearchClient.d.ts +18 -0
  24. package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +40 -0
  25. package/dist-types/ts3.4/commands/ListMigrationsCommand.d.ts +43 -0
  26. package/dist-types/ts3.4/commands/ListVpcEndpointAccessCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/ListVpcEndpointsCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/ListVpcEndpointsForDomainCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +43 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +42 -28
  33. package/dist-types/ts3.4/models/models_1.d.ts +61 -0
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  35. package/package.json +3 -3
@@ -1,6 +1,129 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import type { ActionType, AWSServicePrincipal, CapabilityStatus, DataSourceStatus, DomainUseCase, DryRunMode, EngineMode, IndexStatus, IPAddressType, LogType, MaintenanceType, PackageScopeOperationEnum, ScheduleAt } from "./enums";
3
- import type { AdvancedSecurityOptionsInput, AIConfig, AIMLOptionsInput, AppConfig, AutomatedSnapshotPauseRequestOptions, AutoTuneOptions, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceType, DeploymentStrategyOptions, DirectQueryDataSourceType, DomainConfig, DomainEndpointOptions, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IamIdentityCenterOptionsInput, IdentityCenterOptionsInput, InboundConnection, LogPublishingOption, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ScheduledAction, ServiceOptions, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, VpcEndpoint, VPCOptions } from "./models_0";
3
+ import type { AdvancedSecurityOptionsInput, AIConfig, AIMLOptionsInput, AppConfig, AuthorizedPrincipal, AutomatedSnapshotPauseRequestOptions, AutoTuneOptions, ChangeProgressDetails, ClusterConfig, CognitoOptions, DataSource, DataSourceType, DeploymentStrategyOptions, DirectQueryDataSourceType, DomainConfig, DomainEndpointOptions, DryRunProgressStatus, DryRunResults, EBSOptions, EncryptionAtRestOptions, IamIdentityCenterOptions, IamIdentityCenterOptionsInput, IdentityCenterOptionsInput, InboundConnection, LogPublishingOption, MigrationSource, NodeToNodeEncryptionOptions, OffPeakWindowOptions, PackageConfiguration, PackageDetails, PackageEncryptionOptions, PackageSource, ScheduledAction, ServiceOptions, ServiceSoftwareOptions, SnapshotOptions, SoftwareUpdateOptions, VpcEndpoint, VpcEndpointSummary, VPCOptions } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface ListVpcEndpointAccessRequest {
8
+ /**
9
+ * <p>The name of the OpenSearch Service domain to retrieve access information for.</p>
10
+ * @public
11
+ */
12
+ DomainName: string | undefined;
13
+ /**
14
+ * <p>If your initial <code>ListVpcEndpointAccess</code> operation returns a
15
+ * <code>nextToken</code>, you can include the returned <code>nextToken</code> in
16
+ * subsequent <code>ListVpcEndpointAccess</code> operations, which returns results in the
17
+ * next page.</p>
18
+ * @public
19
+ */
20
+ NextToken?: string | undefined;
21
+ }
22
+ /**
23
+ * @public
24
+ */
25
+ export interface ListVpcEndpointAccessResponse {
26
+ /**
27
+ * <p>A list of <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM
28
+ * principals</a> that can currently access the domain.</p>
29
+ * @public
30
+ */
31
+ AuthorizedPrincipalList: AuthorizedPrincipal[] | undefined;
32
+ /**
33
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value
34
+ * of <code>nextToken</code> is a unique pagination token for each page. Send the request
35
+ * again using the returned token to retrieve the next page.</p>
36
+ * @public
37
+ */
38
+ NextToken: string | undefined;
39
+ }
40
+ /**
41
+ * @public
42
+ */
43
+ export interface ListVpcEndpointsRequest {
44
+ /**
45
+ * <p>If your initial <code>ListVpcEndpoints</code> operation returns a
46
+ * <code>nextToken</code>, you can include the returned <code>nextToken</code> in
47
+ * subsequent <code>ListVpcEndpoints</code> operations, which returns results in the next
48
+ * page.</p>
49
+ * @public
50
+ */
51
+ NextToken?: string | undefined;
52
+ }
53
+ /**
54
+ * @public
55
+ */
56
+ export interface ListVpcEndpointsResponse {
57
+ /**
58
+ * <p>Information about each endpoint.</p>
59
+ * @public
60
+ */
61
+ VpcEndpointSummaryList: VpcEndpointSummary[] | undefined;
62
+ /**
63
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value
64
+ * of <code>nextToken</code> is a unique pagination token for each page. Send the request
65
+ * again using the returned token to retrieve the next page.</p>
66
+ * @public
67
+ */
68
+ NextToken: string | undefined;
69
+ }
70
+ /**
71
+ * @public
72
+ */
73
+ export interface ListVpcEndpointsForDomainRequest {
74
+ /**
75
+ * <p>The name of the domain to list associated VPC endpoints for.</p>
76
+ * @public
77
+ */
78
+ DomainName: string | undefined;
79
+ /**
80
+ * <p>If your initial <code>ListEndpointsForDomain</code> operation returns a
81
+ * <code>nextToken</code>, you can include the returned <code>nextToken</code> in
82
+ * subsequent <code>ListEndpointsForDomain</code> operations, which returns results in the
83
+ * next page.</p>
84
+ * @public
85
+ */
86
+ NextToken?: string | undefined;
87
+ }
88
+ /**
89
+ * @public
90
+ */
91
+ export interface ListVpcEndpointsForDomainResponse {
92
+ /**
93
+ * <p>Information about each endpoint associated with the domain.</p>
94
+ * @public
95
+ */
96
+ VpcEndpointSummaryList: VpcEndpointSummary[] | undefined;
97
+ /**
98
+ * <p>When <code>nextToken</code> is returned, there are more results available. The value
99
+ * of <code>nextToken</code> is a unique pagination token for each page. Send the request
100
+ * again using the returned token to retrieve the next page.</p>
101
+ * @public
102
+ */
103
+ NextToken: string | undefined;
104
+ }
105
+ /**
106
+ * <p>Container for request parameters to the <code>PurchaseReservedInstanceOffering</code>
107
+ * operation.</p>
108
+ * @public
109
+ */
110
+ export interface PurchaseReservedInstanceOfferingRequest {
111
+ /**
112
+ * <p>The ID of the Reserved Instance offering to purchase.</p>
113
+ * @public
114
+ */
115
+ ReservedInstanceOfferingId: string | undefined;
116
+ /**
117
+ * <p>A customer-specified identifier to track this reservation.</p>
118
+ * @public
119
+ */
120
+ ReservationName: string | undefined;
121
+ /**
122
+ * <p>The number of OpenSearch instances to reserve.</p>
123
+ * @public
124
+ */
125
+ InstanceCount?: number | undefined;
126
+ }
4
127
  /**
5
128
  * <p>Represents the output of a <code>PurchaseReservedInstanceOffering</code>
6
129
  * operation.</p>
@@ -316,6 +439,130 @@ export interface StartDomainMaintenanceResponse {
316
439
  */
317
440
  MaintenanceId?: string | undefined;
318
441
  }
442
+ /**
443
+ * <p>Identifies a specific saved object by its type and unique identifier.</p>
444
+ * @public
445
+ */
446
+ export interface SavedObjectIdentifier {
447
+ /**
448
+ * <p>The type of the saved object, such as <code>dashboard</code>, <code>visualization</code>, <code>index-pattern</code>, <code>search</code>, or <code>query</code>.</p>
449
+ * @public
450
+ */
451
+ type: string | undefined;
452
+ /**
453
+ * <p>The unique identifier of the saved object.</p>
454
+ * @public
455
+ */
456
+ id: string | undefined;
457
+ }
458
+ /**
459
+ * <p>Options to filter the scope of saved objects to export during a migration.</p>
460
+ * @public
461
+ */
462
+ export interface ExportOptions {
463
+ /**
464
+ * <p>A list of saved object types to include in the migration. Valid values include <code>dashboard</code>, <code>visualization</code>, <code>index-pattern</code>, <code>search</code>, and <code>query</code>.</p>
465
+ * @public
466
+ */
467
+ types?: string[] | undefined;
468
+ /**
469
+ * <p>A list of specific saved objects to include in the migration, identified by type and ID.</p>
470
+ * @public
471
+ */
472
+ objects?: SavedObjectIdentifier[] | undefined;
473
+ /**
474
+ * <p>Specifies whether to include all objects referenced by the exported objects, recursively.</p>
475
+ * @public
476
+ */
477
+ includeReferencesDeep?: boolean | undefined;
478
+ }
479
+ /**
480
+ * <p>The target workspace configuration for a migration. You can specify an existing workspace by ID or request creation of a new workspace.</p>
481
+ * @public
482
+ */
483
+ export interface MigrationWorkspace {
484
+ /**
485
+ * <p>The unique identifier of an existing workspace to use as the migration target. Specify either this parameter or <code>createWorkspace</code>.</p>
486
+ * @public
487
+ */
488
+ workspaceId?: string | undefined;
489
+ /**
490
+ * <p>Specifies whether to create a new workspace as the migration target. If <code>true</code>, you must also specify <code>name</code>.</p>
491
+ * @public
492
+ */
493
+ createWorkspace?: boolean | undefined;
494
+ /**
495
+ * <p>The name of the new workspace to create. Required when <code>createWorkspace</code> is <code>true</code>.</p>
496
+ * @public
497
+ */
498
+ name?: string | undefined;
499
+ /**
500
+ * <p>The type of the new workspace to create.</p>
501
+ * @public
502
+ */
503
+ type?: string | undefined;
504
+ }
505
+ /**
506
+ * <p>The configuration options for a saved objects migration job.</p>
507
+ * @public
508
+ */
509
+ export interface MigrationOptions {
510
+ /**
511
+ * <p>The data source from which to export saved objects.</p>
512
+ * @public
513
+ */
514
+ source: MigrationSource | undefined;
515
+ /**
516
+ * <p>The target workspace configuration for importing saved objects. You can specify an existing workspace or request creation of a new workspace.</p>
517
+ * @public
518
+ */
519
+ workspace: MigrationWorkspace | undefined;
520
+ /**
521
+ * <p>Options to filter the scope of saved objects to export from the source.</p>
522
+ * @public
523
+ */
524
+ exportOptions?: ExportOptions | undefined;
525
+ /**
526
+ * <p>The strategy for resolving conflicts when saved objects already exist in the target workspace. Valid values are <code>CREATE_NEW_COPIES</code>, which creates new objects with unique IDs, and <code>overwrite</code>, which replaces existing objects.</p>
527
+ * @public
528
+ */
529
+ conflictResolution?: string | undefined;
530
+ }
531
+ /**
532
+ * @public
533
+ */
534
+ export interface StartMigrationRequest {
535
+ /**
536
+ * <p>The unique identifier of the OpenSearch application to migrate saved objects into.</p>
537
+ * @public
538
+ */
539
+ applicationId: string | undefined;
540
+ /**
541
+ * <p>The configuration options for the migration, including the source data source, target workspace, export filters, and conflict resolution strategy.</p>
542
+ * @public
543
+ */
544
+ migrationOptions: MigrationOptions | undefined;
545
+ /**
546
+ * <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon OpenSearch Service ignores the request but does not return an error.</p>
547
+ * @public
548
+ */
549
+ clientToken?: string | undefined;
550
+ }
551
+ /**
552
+ * @public
553
+ */
554
+ export interface StartMigrationResponse {
555
+ /**
556
+ * <p>The unique identifier of the migration job.</p>
557
+ * @public
558
+ */
559
+ migrationId?: string | undefined;
560
+ /**
561
+ * <p>The initial status of the migration job. The status is <code>PENDING</code> when a migration is first created.</p>
562
+ * @public
563
+ */
564
+ status?: string | undefined;
565
+ }
319
566
  /**
320
567
  * <p>Container for the request parameters to the <code>StartServiceSoftwareUpdate</code>
321
568
  * operation.</p>
@@ -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;
@@ -219,6 +219,10 @@ import {
219
219
  GetIndexCommandInput,
220
220
  GetIndexCommandOutput,
221
221
  } from "./commands/GetIndexCommand";
222
+ import {
223
+ GetMigrationCommandInput,
224
+ GetMigrationCommandOutput,
225
+ } from "./commands/GetMigrationCommand";
222
226
  import {
223
227
  GetPackageVersionHistoryCommandInput,
224
228
  GetPackageVersionHistoryCommandOutput,
@@ -271,6 +275,10 @@ import {
271
275
  ListInstanceTypeDetailsCommandInput,
272
276
  ListInstanceTypeDetailsCommandOutput,
273
277
  } from "./commands/ListInstanceTypeDetailsCommand";
278
+ import {
279
+ ListMigrationsCommandInput,
280
+ ListMigrationsCommandOutput,
281
+ } from "./commands/ListMigrationsCommand";
274
282
  import {
275
283
  ListPackagesForDomainCommandInput,
276
284
  ListPackagesForDomainCommandOutput,
@@ -331,6 +339,10 @@ import {
331
339
  StartDomainMaintenanceCommandInput,
332
340
  StartDomainMaintenanceCommandOutput,
333
341
  } from "./commands/StartDomainMaintenanceCommand";
342
+ import {
343
+ StartMigrationCommandInput,
344
+ StartMigrationCommandOutput,
345
+ } from "./commands/StartMigrationCommand";
334
346
  import {
335
347
  StartServiceSoftwareUpdateCommandInput,
336
348
  StartServiceSoftwareUpdateCommandOutput,
@@ -1092,6 +1104,19 @@ export interface OpenSearch {
1092
1104
  options: __HttpHandlerOptions,
1093
1105
  cb: (err: any, data?: GetIndexCommandOutput) => void
1094
1106
  ): void;
1107
+ getMigration(
1108
+ args: GetMigrationCommandInput,
1109
+ options?: __HttpHandlerOptions
1110
+ ): Promise<GetMigrationCommandOutput>;
1111
+ getMigration(
1112
+ args: GetMigrationCommandInput,
1113
+ cb: (err: any, data?: GetMigrationCommandOutput) => void
1114
+ ): void;
1115
+ getMigration(
1116
+ args: GetMigrationCommandInput,
1117
+ options: __HttpHandlerOptions,
1118
+ cb: (err: any, data?: GetMigrationCommandOutput) => void
1119
+ ): void;
1095
1120
  getPackageVersionHistory(
1096
1121
  args: GetPackageVersionHistoryCommandInput,
1097
1122
  options?: __HttpHandlerOptions
@@ -1264,6 +1289,19 @@ export interface OpenSearch {
1264
1289
  options: __HttpHandlerOptions,
1265
1290
  cb: (err: any, data?: ListInstanceTypeDetailsCommandOutput) => void
1266
1291
  ): void;
1292
+ listMigrations(
1293
+ args: ListMigrationsCommandInput,
1294
+ options?: __HttpHandlerOptions
1295
+ ): Promise<ListMigrationsCommandOutput>;
1296
+ listMigrations(
1297
+ args: ListMigrationsCommandInput,
1298
+ cb: (err: any, data?: ListMigrationsCommandOutput) => void
1299
+ ): void;
1300
+ listMigrations(
1301
+ args: ListMigrationsCommandInput,
1302
+ options: __HttpHandlerOptions,
1303
+ cb: (err: any, data?: ListMigrationsCommandOutput) => void
1304
+ ): void;
1267
1305
  listPackagesForDomain(
1268
1306
  args: ListPackagesForDomainCommandInput,
1269
1307
  options?: __HttpHandlerOptions
@@ -1461,6 +1499,19 @@ export interface OpenSearch {
1461
1499
  options: __HttpHandlerOptions,
1462
1500
  cb: (err: any, data?: StartDomainMaintenanceCommandOutput) => void
1463
1501
  ): void;
1502
+ startMigration(
1503
+ args: StartMigrationCommandInput,
1504
+ options?: __HttpHandlerOptions
1505
+ ): Promise<StartMigrationCommandOutput>;
1506
+ startMigration(
1507
+ args: StartMigrationCommandInput,
1508
+ cb: (err: any, data?: StartMigrationCommandOutput) => void
1509
+ ): void;
1510
+ startMigration(
1511
+ args: StartMigrationCommandInput,
1512
+ options: __HttpHandlerOptions,
1513
+ cb: (err: any, data?: StartMigrationCommandOutput) => void
1514
+ ): void;
1464
1515
  startServiceSoftwareUpdate(
1465
1516
  args: StartServiceSoftwareUpdateCommandInput,
1466
1517
  options?: __HttpHandlerOptions
@@ -252,6 +252,10 @@ import {
252
252
  GetIndexCommandInput,
253
253
  GetIndexCommandOutput,
254
254
  } from "./commands/GetIndexCommand";
255
+ import {
256
+ GetMigrationCommandInput,
257
+ GetMigrationCommandOutput,
258
+ } from "./commands/GetMigrationCommand";
255
259
  import {
256
260
  GetPackageVersionHistoryCommandInput,
257
261
  GetPackageVersionHistoryCommandOutput,
@@ -304,6 +308,10 @@ import {
304
308
  ListInstanceTypeDetailsCommandInput,
305
309
  ListInstanceTypeDetailsCommandOutput,
306
310
  } from "./commands/ListInstanceTypeDetailsCommand";
311
+ import {
312
+ ListMigrationsCommandInput,
313
+ ListMigrationsCommandOutput,
314
+ } from "./commands/ListMigrationsCommand";
307
315
  import {
308
316
  ListPackagesForDomainCommandInput,
309
317
  ListPackagesForDomainCommandOutput,
@@ -364,6 +372,10 @@ import {
364
372
  StartDomainMaintenanceCommandInput,
365
373
  StartDomainMaintenanceCommandOutput,
366
374
  } from "./commands/StartDomainMaintenanceCommand";
375
+ import {
376
+ StartMigrationCommandInput,
377
+ StartMigrationCommandOutput,
378
+ } from "./commands/StartMigrationCommand";
367
379
  import {
368
380
  StartServiceSoftwareUpdateCommandInput,
369
381
  StartServiceSoftwareUpdateCommandOutput,
@@ -470,6 +482,7 @@ export type ServiceInputTypes =
470
482
  | GetDirectQueryDataSourceCommandInput
471
483
  | GetDomainMaintenanceStatusCommandInput
472
484
  | GetIndexCommandInput
485
+ | GetMigrationCommandInput
473
486
  | GetPackageVersionHistoryCommandInput
474
487
  | GetUpgradeHistoryCommandInput
475
488
  | GetUpgradeStatusCommandInput
@@ -483,6 +496,7 @@ export type ServiceInputTypes =
483
496
  | ListDomainsForPackageCommandInput
484
497
  | ListInsightsCommandInput
485
498
  | ListInstanceTypeDetailsCommandInput
499
+ | ListMigrationsCommandInput
486
500
  | ListPackagesForDomainCommandInput
487
501
  | ListScheduledActionsCommandInput
488
502
  | ListTagsCommandInput
@@ -498,6 +512,7 @@ export type ServiceInputTypes =
498
512
  | RevokeVpcEndpointAccessCommandInput
499
513
  | RollbackServiceSoftwareUpdateCommandInput
500
514
  | StartDomainMaintenanceCommandInput
515
+ | StartMigrationCommandInput
501
516
  | StartServiceSoftwareUpdateCommandInput
502
517
  | UpdateApplicationCommandInput
503
518
  | UpdateDataSourceCommandInput
@@ -564,6 +579,7 @@ export type ServiceOutputTypes =
564
579
  | GetDirectQueryDataSourceCommandOutput
565
580
  | GetDomainMaintenanceStatusCommandOutput
566
581
  | GetIndexCommandOutput
582
+ | GetMigrationCommandOutput
567
583
  | GetPackageVersionHistoryCommandOutput
568
584
  | GetUpgradeHistoryCommandOutput
569
585
  | GetUpgradeStatusCommandOutput
@@ -577,6 +593,7 @@ export type ServiceOutputTypes =
577
593
  | ListDomainsForPackageCommandOutput
578
594
  | ListInsightsCommandOutput
579
595
  | ListInstanceTypeDetailsCommandOutput
596
+ | ListMigrationsCommandOutput
580
597
  | ListPackagesForDomainCommandOutput
581
598
  | ListScheduledActionsCommandOutput
582
599
  | ListTagsCommandOutput
@@ -592,6 +609,7 @@ export type ServiceOutputTypes =
592
609
  | RevokeVpcEndpointAccessCommandOutput
593
610
  | RollbackServiceSoftwareUpdateCommandOutput
594
611
  | StartDomainMaintenanceCommandOutput
612
+ | StartMigrationCommandOutput
595
613
  | StartServiceSoftwareUpdateCommandOutput
596
614
  | UpdateApplicationCommandOutput
597
615
  | UpdateDataSourceCommandOutput
@@ -0,0 +1,40 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetMigrationRequest, GetMigrationResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetMigrationCommandInput extends GetMigrationRequest {}
5
+ export interface GetMigrationCommandOutput
6
+ extends GetMigrationResponse,
7
+ __MetadataBearer {}
8
+ declare const GetMigrationCommand_base: {
9
+ new (
10
+ input: GetMigrationCommandInput
11
+ ): import("@smithy/core/client").CommandImpl<
12
+ GetMigrationCommandInput,
13
+ GetMigrationCommandOutput,
14
+ import("..").OpenSearchClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
17
+ >;
18
+ new (
19
+ input: GetMigrationCommandInput
20
+ ): import("@smithy/core/client").CommandImpl<
21
+ GetMigrationCommandInput,
22
+ GetMigrationCommandOutput,
23
+ import("..").OpenSearchClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ export declare class GetMigrationCommand extends GetMigrationCommand_base {
30
+ protected static __types: {
31
+ api: {
32
+ input: GetMigrationRequest;
33
+ output: GetMigrationResponse;
34
+ };
35
+ sdk: {
36
+ input: GetMigrationCommandInput;
37
+ output: GetMigrationCommandOutput;
38
+ };
39
+ };
40
+ }
@@ -0,0 +1,43 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListMigrationsRequest,
4
+ ListMigrationsResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListMigrationsCommandInput extends ListMigrationsRequest {}
8
+ export interface ListMigrationsCommandOutput
9
+ extends ListMigrationsResponse,
10
+ __MetadataBearer {}
11
+ declare const ListMigrationsCommand_base: {
12
+ new (
13
+ input: ListMigrationsCommandInput
14
+ ): import("@smithy/core/client").CommandImpl<
15
+ ListMigrationsCommandInput,
16
+ ListMigrationsCommandOutput,
17
+ import("..").OpenSearchClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
20
+ >;
21
+ new (
22
+ input: ListMigrationsCommandInput
23
+ ): import("@smithy/core/client").CommandImpl<
24
+ ListMigrationsCommandInput,
25
+ ListMigrationsCommandOutput,
26
+ import("..").OpenSearchClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
29
+ >;
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
+ };
32
+ export declare class ListMigrationsCommand extends ListMigrationsCommand_base {
33
+ protected static __types: {
34
+ api: {
35
+ input: ListMigrationsRequest;
36
+ output: ListMigrationsResponse;
37
+ };
38
+ sdk: {
39
+ input: ListMigrationsCommandInput;
40
+ output: ListMigrationsCommandOutput;
41
+ };
42
+ };
43
+ }
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  ListVpcEndpointAccessRequest,
4
4
  ListVpcEndpointAccessResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface ListVpcEndpointAccessCommandInput
8
8
  extends ListVpcEndpointAccessRequest {}
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  ListVpcEndpointsRequest,
4
4
  ListVpcEndpointsResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface ListVpcEndpointsCommandInput extends ListVpcEndpointsRequest {}
8
8
  export interface ListVpcEndpointsCommandOutput
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  ListVpcEndpointsForDomainRequest,
4
4
  ListVpcEndpointsForDomainResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface ListVpcEndpointsForDomainCommandInput
8
8
  extends ListVpcEndpointsForDomainRequest {}
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { PurchaseReservedInstanceOfferingRequest } from "../models/models_0";
3
- import { PurchaseReservedInstanceOfferingResponse } from "../models/models_1";
2
+ import {
3
+ PurchaseReservedInstanceOfferingRequest,
4
+ PurchaseReservedInstanceOfferingResponse,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface PurchaseReservedInstanceOfferingCommandInput
6
8
  extends PurchaseReservedInstanceOfferingRequest {}
@@ -0,0 +1,43 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ StartMigrationRequest,
4
+ StartMigrationResponse,
5
+ } from "../models/models_1";
6
+ export { __MetadataBearer };
7
+ export interface StartMigrationCommandInput extends StartMigrationRequest {}
8
+ export interface StartMigrationCommandOutput
9
+ extends StartMigrationResponse,
10
+ __MetadataBearer {}
11
+ declare const StartMigrationCommand_base: {
12
+ new (
13
+ input: StartMigrationCommandInput
14
+ ): import("@smithy/core/client").CommandImpl<
15
+ StartMigrationCommandInput,
16
+ StartMigrationCommandOutput,
17
+ import("..").OpenSearchClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
20
+ >;
21
+ new (
22
+ input: StartMigrationCommandInput
23
+ ): import("@smithy/core/client").CommandImpl<
24
+ StartMigrationCommandInput,
25
+ StartMigrationCommandOutput,
26
+ import("..").OpenSearchClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
29
+ >;
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
+ };
32
+ export declare class StartMigrationCommand extends StartMigrationCommand_base {
33
+ protected static __types: {
34
+ api: {
35
+ input: StartMigrationRequest;
36
+ output: StartMigrationResponse;
37
+ };
38
+ sdk: {
39
+ input: StartMigrationCommandInput;
40
+ output: StartMigrationCommandOutput;
41
+ };
42
+ };
43
+ }