@aws-sdk/client-database-migration-service 3.741.0 → 3.743.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/dist-cjs/index.js +13 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- package/dist-types/commands/CreateDataMigrationCommand.d.ts +10 -0
- package/dist-types/commands/DeleteDataMigrationCommand.d.ts +5 -0
- package/dist-types/commands/DescribeDataMigrationsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeReplicationTasksCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDataMigrationCommand.d.ts +10 -0
- package/dist-types/commands/StartDataMigrationCommand.d.ts +5 -0
- package/dist-types/commands/StopDataMigrationCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +42 -60
- package/dist-types/models/models_1.d.ts +60 -1
- package/dist-types/ts3.4/commands/DescribeReplicationTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +12 -10
- package/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -230,6 +230,7 @@ __export(src_exports, {
|
|
|
230
230
|
StorageQuotaExceededFault: () => StorageQuotaExceededFault,
|
|
231
231
|
SubnetAlreadyInUse: () => SubnetAlreadyInUse,
|
|
232
232
|
SybaseSettingsFilterSensitiveLog: () => SybaseSettingsFilterSensitiveLog,
|
|
233
|
+
TablePreparationMode: () => TablePreparationMode,
|
|
233
234
|
TargetDbType: () => TargetDbType,
|
|
234
235
|
TestConnectionCommand: () => TestConnectionCommand,
|
|
235
236
|
TlogAccessMode: () => TlogAccessMode,
|
|
@@ -527,6 +528,11 @@ var MigrationTypeValue = {
|
|
|
527
528
|
FULL_LOAD: "full-load",
|
|
528
529
|
FULL_LOAD_AND_CDC: "full-load-and-cdc"
|
|
529
530
|
};
|
|
531
|
+
var TablePreparationMode = {
|
|
532
|
+
DO_NOTHING: "do-nothing",
|
|
533
|
+
DROP_TABLES_ON_TARGET: "drop-tables-on-target",
|
|
534
|
+
TRUNCATE: "truncate"
|
|
535
|
+
};
|
|
530
536
|
var FailedDependencyFault = class _FailedDependencyFault extends DatabaseMigrationServiceServiceException {
|
|
531
537
|
static {
|
|
532
538
|
__name(this, "FailedDependencyFault");
|
|
@@ -3807,7 +3813,8 @@ var se_CreateDataMigrationMessage = /* @__PURE__ */ __name((input, context) => {
|
|
|
3807
3813
|
SelectionRules: [],
|
|
3808
3814
|
ServiceAccessRoleArn: [],
|
|
3809
3815
|
SourceDataSettings: (_) => se_SourceDataSettings(_, context),
|
|
3810
|
-
Tags: import_smithy_client._json
|
|
3816
|
+
Tags: import_smithy_client._json,
|
|
3817
|
+
TargetDataSettings: import_smithy_client._json
|
|
3811
3818
|
});
|
|
3812
3819
|
}, "se_CreateDataMigrationMessage");
|
|
3813
3820
|
var se_CreateReplicationTaskMessage = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -3857,7 +3864,8 @@ var se_ModifyDataMigrationMessage = /* @__PURE__ */ __name((input, context) => {
|
|
|
3857
3864
|
NumberOfJobs: [],
|
|
3858
3865
|
SelectionRules: [],
|
|
3859
3866
|
ServiceAccessRoleArn: [],
|
|
3860
|
-
SourceDataSettings: (_) => se_SourceDataSettings(_, context)
|
|
3867
|
+
SourceDataSettings: (_) => se_SourceDataSettings(_, context),
|
|
3868
|
+
TargetDataSettings: import_smithy_client._json
|
|
3861
3869
|
});
|
|
3862
3870
|
}, "se_ModifyDataMigrationMessage");
|
|
3863
3871
|
var se_ModifyReplicationTaskMessage = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -3986,7 +3994,8 @@ var de_DataMigration = /* @__PURE__ */ __name((output, context) => {
|
|
|
3986
3994
|
PublicIpAddresses: import_smithy_client._json,
|
|
3987
3995
|
ServiceAccessRoleArn: import_smithy_client.expectString,
|
|
3988
3996
|
SourceDataSettings: (_) => de_SourceDataSettings(_, context),
|
|
3989
|
-
StopReason: import_smithy_client.expectString
|
|
3997
|
+
StopReason: import_smithy_client.expectString,
|
|
3998
|
+
TargetDataSettings: import_smithy_client._json
|
|
3990
3999
|
});
|
|
3991
4000
|
}, "de_DataMigration");
|
|
3992
4001
|
var de_DataMigrations = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -7724,6 +7733,7 @@ var waitUntilTestConnectionSucceeds = /* @__PURE__ */ __name(async (params, inpu
|
|
|
7724
7733
|
InvalidResourceStateFault,
|
|
7725
7734
|
ResourceNotFoundFault,
|
|
7726
7735
|
MigrationTypeValue,
|
|
7736
|
+
TablePreparationMode,
|
|
7727
7737
|
FailedDependencyFault,
|
|
7728
7738
|
InvalidOperationFault,
|
|
7729
7739
|
ResourceAlreadyExistsFault,
|
|
@@ -41,6 +41,11 @@ export const MigrationTypeValue = {
|
|
|
41
41
|
FULL_LOAD: "full-load",
|
|
42
42
|
FULL_LOAD_AND_CDC: "full-load-and-cdc",
|
|
43
43
|
};
|
|
44
|
+
export const TablePreparationMode = {
|
|
45
|
+
DO_NOTHING: "do-nothing",
|
|
46
|
+
DROP_TABLES_ON_TARGET: "drop-tables-on-target",
|
|
47
|
+
TRUNCATE: "truncate",
|
|
48
|
+
};
|
|
44
49
|
export class FailedDependencyFault extends __BaseException {
|
|
45
50
|
name = "FailedDependencyFault";
|
|
46
51
|
$fault = "client";
|
|
@@ -2464,6 +2464,7 @@ const se_CreateDataMigrationMessage = (input, context) => {
|
|
|
2464
2464
|
ServiceAccessRoleArn: [],
|
|
2465
2465
|
SourceDataSettings: (_) => se_SourceDataSettings(_, context),
|
|
2466
2466
|
Tags: _json,
|
|
2467
|
+
TargetDataSettings: _json,
|
|
2467
2468
|
});
|
|
2468
2469
|
};
|
|
2469
2470
|
const se_CreateReplicationTaskMessage = (input, context) => {
|
|
@@ -2514,6 +2515,7 @@ const se_ModifyDataMigrationMessage = (input, context) => {
|
|
|
2514
2515
|
SelectionRules: [],
|
|
2515
2516
|
ServiceAccessRoleArn: [],
|
|
2516
2517
|
SourceDataSettings: (_) => se_SourceDataSettings(_, context),
|
|
2518
|
+
TargetDataSettings: _json,
|
|
2517
2519
|
});
|
|
2518
2520
|
};
|
|
2519
2521
|
const se_ModifyReplicationTaskMessage = (input, context) => {
|
|
@@ -2647,6 +2649,7 @@ const de_DataMigration = (output, context) => {
|
|
|
2647
2649
|
ServiceAccessRoleArn: __expectString,
|
|
2648
2650
|
SourceDataSettings: (_) => de_SourceDataSettings(_, context),
|
|
2649
2651
|
StopReason: __expectString,
|
|
2652
|
+
TargetDataSettings: _json,
|
|
2650
2653
|
});
|
|
2651
2654
|
};
|
|
2652
2655
|
const de_DataMigrations = (output, context) => {
|
|
@@ -48,6 +48,11 @@ declare const CreateDataMigrationCommand_base: {
|
|
|
48
48
|
* SlotName: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* ],
|
|
51
|
+
* TargetDataSettings: [ // TargetDataSettings
|
|
52
|
+
* { // TargetDataSetting
|
|
53
|
+
* TablePreparationMode: "do-nothing" || "truncate" || "drop-tables-on-target",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
51
56
|
* NumberOfJobs: Number("int"),
|
|
52
57
|
* Tags: [ // TagList
|
|
53
58
|
* { // Tag
|
|
@@ -83,6 +88,11 @@ declare const CreateDataMigrationCommand_base: {
|
|
|
83
88
|
* // SlotName: "STRING_VALUE",
|
|
84
89
|
* // },
|
|
85
90
|
* // ],
|
|
91
|
+
* // TargetDataSettings: [ // TargetDataSettings
|
|
92
|
+
* // { // TargetDataSetting
|
|
93
|
+
* // TablePreparationMode: "do-nothing" || "truncate" || "drop-tables-on-target",
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
86
96
|
* // DataMigrationStatistics: { // DataMigrationStatistics
|
|
87
97
|
* // TablesLoaded: Number("int"),
|
|
88
98
|
* // ElapsedTimeMillis: Number("long"),
|
|
@@ -62,6 +62,11 @@ declare const DeleteDataMigrationCommand_base: {
|
|
|
62
62
|
* // SlotName: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
65
|
+
* // TargetDataSettings: [ // TargetDataSettings
|
|
66
|
+
* // { // TargetDataSetting
|
|
67
|
+
* // TablePreparationMode: "do-nothing" || "truncate" || "drop-tables-on-target",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
65
70
|
* // DataMigrationStatistics: { // DataMigrationStatistics
|
|
66
71
|
* // TablesLoaded: Number("int"),
|
|
67
72
|
* // ElapsedTimeMillis: Number("long"),
|
|
@@ -74,6 +74,11 @@ declare const DescribeDataMigrationsCommand_base: {
|
|
|
74
74
|
* // SlotName: "STRING_VALUE",
|
|
75
75
|
* // },
|
|
76
76
|
* // ],
|
|
77
|
+
* // TargetDataSettings: [ // TargetDataSettings
|
|
78
|
+
* // { // TargetDataSetting
|
|
79
|
+
* // TablePreparationMode: "do-nothing" || "truncate" || "drop-tables-on-target",
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
77
82
|
* // DataMigrationStatistics: { // DataMigrationStatistics
|
|
78
83
|
* // TablesLoaded: Number("int"),
|
|
79
84
|
* // ElapsedTimeMillis: Number("long"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient";
|
|
4
|
-
import { DescribeReplicationTasksMessage, DescribeReplicationTasksResponse } from "../models/
|
|
4
|
+
import { DescribeReplicationTasksMessage, DescribeReplicationTasksResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -48,6 +48,11 @@ declare const ModifyDataMigrationCommand_base: {
|
|
|
48
48
|
* SlotName: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* ],
|
|
51
|
+
* TargetDataSettings: [ // TargetDataSettings
|
|
52
|
+
* { // TargetDataSetting
|
|
53
|
+
* TablePreparationMode: "do-nothing" || "truncate" || "drop-tables-on-target",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
51
56
|
* NumberOfJobs: Number("int"),
|
|
52
57
|
* SelectionRules: "STRING_VALUE",
|
|
53
58
|
* };
|
|
@@ -76,6 +81,11 @@ declare const ModifyDataMigrationCommand_base: {
|
|
|
76
81
|
* // SlotName: "STRING_VALUE",
|
|
77
82
|
* // },
|
|
78
83
|
* // ],
|
|
84
|
+
* // TargetDataSettings: [ // TargetDataSettings
|
|
85
|
+
* // { // TargetDataSetting
|
|
86
|
+
* // TablePreparationMode: "do-nothing" || "truncate" || "drop-tables-on-target",
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
79
89
|
* // DataMigrationStatistics: { // DataMigrationStatistics
|
|
80
90
|
* // TablesLoaded: Number("int"),
|
|
81
91
|
* // ElapsedTimeMillis: Number("long"),
|
|
@@ -63,6 +63,11 @@ declare const StartDataMigrationCommand_base: {
|
|
|
63
63
|
* // SlotName: "STRING_VALUE",
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
66
|
+
* // TargetDataSettings: [ // TargetDataSettings
|
|
67
|
+
* // { // TargetDataSetting
|
|
68
|
+
* // TablePreparationMode: "do-nothing" || "truncate" || "drop-tables-on-target",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
66
71
|
* // DataMigrationStatistics: { // DataMigrationStatistics
|
|
67
72
|
* // TablesLoaded: Number("int"),
|
|
68
73
|
* // ElapsedTimeMillis: Number("long"),
|
|
@@ -62,6 +62,11 @@ declare const StopDataMigrationCommand_base: {
|
|
|
62
62
|
* // SlotName: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
65
|
+
* // TargetDataSettings: [ // TargetDataSettings
|
|
66
|
+
* // { // TargetDataSetting
|
|
67
|
+
* // TablePreparationMode: "do-nothing" || "truncate" || "drop-tables-on-target",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
65
70
|
* // DataMigrationStatistics: { // DataMigrationStatistics
|
|
66
71
|
* // TablesLoaded: Number("int"),
|
|
67
72
|
* // ElapsedTimeMillis: Number("long"),
|
|
@@ -582,6 +582,32 @@ export interface SourceDataSetting {
|
|
|
582
582
|
*/
|
|
583
583
|
SlotName?: string | undefined;
|
|
584
584
|
}
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
* @enum
|
|
588
|
+
*/
|
|
589
|
+
export declare const TablePreparationMode: {
|
|
590
|
+
readonly DO_NOTHING: "do-nothing";
|
|
591
|
+
readonly DROP_TABLES_ON_TARGET: "drop-tables-on-target";
|
|
592
|
+
readonly TRUNCATE: "truncate";
|
|
593
|
+
};
|
|
594
|
+
/**
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
export type TablePreparationMode = (typeof TablePreparationMode)[keyof typeof TablePreparationMode];
|
|
598
|
+
/**
|
|
599
|
+
* <p>Defines settings for a target data provider for a data migration.</p>
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
export interface TargetDataSetting {
|
|
603
|
+
/**
|
|
604
|
+
* <p>This setting determines how DMS handles the target tables before starting a data migration,
|
|
605
|
+
* either by leaving them untouched, dropping and recreating them,
|
|
606
|
+
* or truncating the existing data in the target tables.</p>
|
|
607
|
+
* @public
|
|
608
|
+
*/
|
|
609
|
+
TablePreparationMode?: TablePreparationMode | undefined;
|
|
610
|
+
}
|
|
585
611
|
/**
|
|
586
612
|
* @public
|
|
587
613
|
*/
|
|
@@ -630,6 +656,11 @@ export interface CreateDataMigrationMessage {
|
|
|
630
656
|
* @public
|
|
631
657
|
*/
|
|
632
658
|
SourceDataSettings?: SourceDataSetting[] | undefined;
|
|
659
|
+
/**
|
|
660
|
+
* <p>Specifies information about the target data provider.</p>
|
|
661
|
+
* @public
|
|
662
|
+
*/
|
|
663
|
+
TargetDataSettings?: TargetDataSetting[] | undefined;
|
|
633
664
|
/**
|
|
634
665
|
* <p>The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.</p>
|
|
635
666
|
* @public
|
|
@@ -775,6 +806,11 @@ export interface DataMigration {
|
|
|
775
806
|
* @public
|
|
776
807
|
*/
|
|
777
808
|
SourceDataSettings?: SourceDataSetting[] | undefined;
|
|
809
|
+
/**
|
|
810
|
+
* <p>Specifies information about the data migration's target data provider.</p>
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
TargetDataSettings?: TargetDataSetting[] | undefined;
|
|
778
814
|
/**
|
|
779
815
|
* <p>Provides information about the data migration's run, including start and stop time, latency, and data migration progress.</p>
|
|
780
816
|
* @public
|
|
@@ -2327,7 +2363,7 @@ export interface MicrosoftSQLServerSettings {
|
|
|
2327
2363
|
*/
|
|
2328
2364
|
ForceLobLookup?: boolean | undefined;
|
|
2329
2365
|
/**
|
|
2330
|
-
* <p>Specifies
|
|
2366
|
+
* <p>Specifies the authentication method to be used with Microsoft SQL Server.</p>
|
|
2331
2367
|
* @public
|
|
2332
2368
|
*/
|
|
2333
2369
|
AuthenticationMethod?: SqlServerAuthenticationMethod | undefined;
|
|
@@ -3086,7 +3122,7 @@ export interface OracleSettings {
|
|
|
3086
3122
|
*/
|
|
3087
3123
|
OpenTransactionWindow?: number | undefined;
|
|
3088
3124
|
/**
|
|
3089
|
-
* <p>Specifies
|
|
3125
|
+
* <p>Specifies the authentication method to be used with Oracle.</p>
|
|
3090
3126
|
* @public
|
|
3091
3127
|
*/
|
|
3092
3128
|
AuthenticationMethod?: OracleAuthenticationMethod | undefined;
|
|
@@ -5891,22 +5927,22 @@ export declare class ReplicationSubnetGroupDoesNotCoverEnoughAZs extends __BaseE
|
|
|
5891
5927
|
constructor(opts: __ExceptionOptionType<ReplicationSubnetGroupDoesNotCoverEnoughAZs, __BaseException>);
|
|
5892
5928
|
}
|
|
5893
5929
|
/**
|
|
5894
|
-
* <p>Specifies
|
|
5930
|
+
* <p>Specifies the settings required for kerberos authentication when creating the replication instance.</p>
|
|
5895
5931
|
* @public
|
|
5896
5932
|
*/
|
|
5897
5933
|
export interface KerberosAuthenticationSettings {
|
|
5898
5934
|
/**
|
|
5899
|
-
* <p>Specifies the
|
|
5935
|
+
* <p>Specifies the ID of the secret that stores the key cache file required for kerberos authentication.</p>
|
|
5900
5936
|
* @public
|
|
5901
5937
|
*/
|
|
5902
5938
|
KeyCacheSecretId?: string | undefined;
|
|
5903
5939
|
/**
|
|
5904
|
-
* <p>Specifies the Amazon Resource Name (ARN) of the IAM role that grants Amazon Web Services DMS access to the secret containing key cache file for the
|
|
5940
|
+
* <p>Specifies the Amazon Resource Name (ARN) of the IAM role that grants Amazon Web Services DMS access to the secret containing key cache file for the kerberos authentication.</p>
|
|
5905
5941
|
* @public
|
|
5906
5942
|
*/
|
|
5907
5943
|
KeyCacheSecretIamArn?: string | undefined;
|
|
5908
5944
|
/**
|
|
5909
|
-
* <p>Specifies the
|
|
5945
|
+
* <p>Specifies the contents of krb5 configuration file required for kerberos authentication.</p>
|
|
5910
5946
|
* @public
|
|
5911
5947
|
*/
|
|
5912
5948
|
Krb5FileContents?: string | undefined;
|
|
@@ -11195,60 +11231,6 @@ export interface DescribeReplicationTaskIndividualAssessmentsResponse {
|
|
|
11195
11231
|
*/
|
|
11196
11232
|
ReplicationTaskIndividualAssessments?: ReplicationTaskIndividualAssessment[] | undefined;
|
|
11197
11233
|
}
|
|
11198
|
-
/**
|
|
11199
|
-
* <p></p>
|
|
11200
|
-
* @public
|
|
11201
|
-
*/
|
|
11202
|
-
export interface DescribeReplicationTasksMessage {
|
|
11203
|
-
/**
|
|
11204
|
-
* <p>Filters applied to replication tasks.</p>
|
|
11205
|
-
* <p>Valid filter names: replication-task-arn | replication-task-id | migration-type |
|
|
11206
|
-
* endpoint-arn | replication-instance-arn</p>
|
|
11207
|
-
* @public
|
|
11208
|
-
*/
|
|
11209
|
-
Filters?: Filter[] | undefined;
|
|
11210
|
-
/**
|
|
11211
|
-
* <p> The maximum number of records to include in the response. If more records exist than
|
|
11212
|
-
* the specified <code>MaxRecords</code> value, a pagination token called a marker is included
|
|
11213
|
-
* in the response so that the remaining results can be retrieved. </p>
|
|
11214
|
-
* <p>Default: 100</p>
|
|
11215
|
-
* <p>Constraints: Minimum 20, maximum 100.</p>
|
|
11216
|
-
* @public
|
|
11217
|
-
*/
|
|
11218
|
-
MaxRecords?: number | undefined;
|
|
11219
|
-
/**
|
|
11220
|
-
* <p> An optional pagination token provided by a previous request. If this parameter is
|
|
11221
|
-
* specified, the response includes only records beyond the marker, up to the value specified
|
|
11222
|
-
* by <code>MaxRecords</code>. </p>
|
|
11223
|
-
* @public
|
|
11224
|
-
*/
|
|
11225
|
-
Marker?: string | undefined;
|
|
11226
|
-
/**
|
|
11227
|
-
* <p>An option to set to avoid returning information about settings. Use this to reduce
|
|
11228
|
-
* overhead when setting information is too large. To use this option, choose
|
|
11229
|
-
* <code>true</code>; otherwise, choose <code>false</code> (the default).</p>
|
|
11230
|
-
* @public
|
|
11231
|
-
*/
|
|
11232
|
-
WithoutSettings?: boolean | undefined;
|
|
11233
|
-
}
|
|
11234
|
-
/**
|
|
11235
|
-
* <p></p>
|
|
11236
|
-
* @public
|
|
11237
|
-
*/
|
|
11238
|
-
export interface DescribeReplicationTasksResponse {
|
|
11239
|
-
/**
|
|
11240
|
-
* <p> An optional pagination token provided by a previous request. If this parameter is
|
|
11241
|
-
* specified, the response includes only records beyond the marker, up to the value specified
|
|
11242
|
-
* by <code>MaxRecords</code>. </p>
|
|
11243
|
-
* @public
|
|
11244
|
-
*/
|
|
11245
|
-
Marker?: string | undefined;
|
|
11246
|
-
/**
|
|
11247
|
-
* <p>A description of the replication tasks.</p>
|
|
11248
|
-
* @public
|
|
11249
|
-
*/
|
|
11250
|
-
ReplicationTasks?: ReplicationTask[] | undefined;
|
|
11251
|
-
}
|
|
11252
11234
|
/**
|
|
11253
11235
|
* @internal
|
|
11254
11236
|
*/
|
|
@@ -1,6 +1,60 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DatabaseMigrationServiceServiceException as __BaseException } from "./DatabaseMigrationServiceServiceException";
|
|
3
|
-
import { Certificate, ComputeConfig, Connection, DataMigration, DataProvider, DataProviderDescriptorDefinition, DataProviderSettings, DmsSslModeValue, DmsTransferSettings, DocDbSettings, DynamoDbSettings, ElasticsearchSettings, Endpoint, EventSubscription, Filter, GcpMySQLSettings, IBMDb2Settings, InstanceProfile, KafkaSettings, KerberosAuthenticationSettings, KinesisSettings, MicrosoftSQLServerSettings, MigrationProject, MigrationTypeValue, MongoDbSettings, MySQLSettings, NeptuneSettings, OracleSettings, PostgreSQLSettings, RecommendationSettings, RedisSettings, RedshiftSettings, RefreshSchemasStatus, Replication, ReplicationConfig, ReplicationEndpointTypeValue, ReplicationInstance, ReplicationSubnetGroup, ReplicationTask, ReplicationTaskAssessmentRun, S3Settings, SCApplicationAttributes, SourceDataSetting, SybaseSettings, TableStatistics, Tag, TimestreamSettings } from "./models_0";
|
|
3
|
+
import { Certificate, ComputeConfig, Connection, DataMigration, DataProvider, DataProviderDescriptorDefinition, DataProviderSettings, DmsSslModeValue, DmsTransferSettings, DocDbSettings, DynamoDbSettings, ElasticsearchSettings, Endpoint, EventSubscription, Filter, GcpMySQLSettings, IBMDb2Settings, InstanceProfile, KafkaSettings, KerberosAuthenticationSettings, KinesisSettings, MicrosoftSQLServerSettings, MigrationProject, MigrationTypeValue, MongoDbSettings, MySQLSettings, NeptuneSettings, OracleSettings, PostgreSQLSettings, RecommendationSettings, RedisSettings, RedshiftSettings, RefreshSchemasStatus, Replication, ReplicationConfig, ReplicationEndpointTypeValue, ReplicationInstance, ReplicationSubnetGroup, ReplicationTask, ReplicationTaskAssessmentRun, S3Settings, SCApplicationAttributes, SourceDataSetting, SybaseSettings, TableStatistics, Tag, TargetDataSetting, TimestreamSettings } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p></p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface DescribeReplicationTasksMessage {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Filters applied to replication tasks.</p>
|
|
11
|
+
* <p>Valid filter names: replication-task-arn | replication-task-id | migration-type |
|
|
12
|
+
* endpoint-arn | replication-instance-arn</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Filters?: Filter[] | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p> The maximum number of records to include in the response. If more records exist than
|
|
18
|
+
* the specified <code>MaxRecords</code> value, a pagination token called a marker is included
|
|
19
|
+
* in the response so that the remaining results can be retrieved. </p>
|
|
20
|
+
* <p>Default: 100</p>
|
|
21
|
+
* <p>Constraints: Minimum 20, maximum 100.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
MaxRecords?: number | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p> An optional pagination token provided by a previous request. If this parameter is
|
|
27
|
+
* specified, the response includes only records beyond the marker, up to the value specified
|
|
28
|
+
* by <code>MaxRecords</code>. </p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
Marker?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>An option to set to avoid returning information about settings. Use this to reduce
|
|
34
|
+
* overhead when setting information is too large. To use this option, choose
|
|
35
|
+
* <code>true</code>; otherwise, choose <code>false</code> (the default).</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
WithoutSettings?: boolean | undefined;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* <p></p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export interface DescribeReplicationTasksResponse {
|
|
45
|
+
/**
|
|
46
|
+
* <p> An optional pagination token provided by a previous request. If this parameter is
|
|
47
|
+
* specified, the response includes only records beyond the marker, up to the value specified
|
|
48
|
+
* by <code>MaxRecords</code>. </p>
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
Marker?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* <p>A description of the replication tasks.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
ReplicationTasks?: ReplicationTask[] | undefined;
|
|
57
|
+
}
|
|
4
58
|
/**
|
|
5
59
|
* <p></p>
|
|
6
60
|
* @public
|
|
@@ -315,6 +369,11 @@ export interface ModifyDataMigrationMessage {
|
|
|
315
369
|
* @public
|
|
316
370
|
*/
|
|
317
371
|
SourceDataSettings?: SourceDataSetting[] | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* <p>The new information about the target data provider for the data migration.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
TargetDataSettings?: TargetDataSetting[] | undefined;
|
|
318
377
|
/**
|
|
319
378
|
* <p>The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.</p>
|
|
320
379
|
* @public
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
DescribeReplicationTasksMessage,
|
|
10
10
|
DescribeReplicationTasksResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface DescribeReplicationTasksCommandInput
|
|
@@ -121,6 +121,16 @@ export interface SourceDataSetting {
|
|
|
121
121
|
CDCStopTime?: Date | undefined;
|
|
122
122
|
SlotName?: string | undefined;
|
|
123
123
|
}
|
|
124
|
+
export declare const TablePreparationMode: {
|
|
125
|
+
readonly DO_NOTHING: "do-nothing";
|
|
126
|
+
readonly DROP_TABLES_ON_TARGET: "drop-tables-on-target";
|
|
127
|
+
readonly TRUNCATE: "truncate";
|
|
128
|
+
};
|
|
129
|
+
export type TablePreparationMode =
|
|
130
|
+
(typeof TablePreparationMode)[keyof typeof TablePreparationMode];
|
|
131
|
+
export interface TargetDataSetting {
|
|
132
|
+
TablePreparationMode?: TablePreparationMode | undefined;
|
|
133
|
+
}
|
|
124
134
|
export interface CreateDataMigrationMessage {
|
|
125
135
|
DataMigrationName?: string | undefined;
|
|
126
136
|
MigrationProjectIdentifier: string | undefined;
|
|
@@ -128,6 +138,7 @@ export interface CreateDataMigrationMessage {
|
|
|
128
138
|
ServiceAccessRoleArn: string | undefined;
|
|
129
139
|
EnableCloudwatchLogs?: boolean | undefined;
|
|
130
140
|
SourceDataSettings?: SourceDataSetting[] | undefined;
|
|
141
|
+
TargetDataSettings?: TargetDataSetting[] | undefined;
|
|
131
142
|
NumberOfJobs?: number | undefined;
|
|
132
143
|
Tags?: Tag[] | undefined;
|
|
133
144
|
SelectionRules?: string | undefined;
|
|
@@ -159,6 +170,7 @@ export interface DataMigration {
|
|
|
159
170
|
DataMigrationType?: MigrationTypeValue | undefined;
|
|
160
171
|
DataMigrationSettings?: DataMigrationSettings | undefined;
|
|
161
172
|
SourceDataSettings?: SourceDataSetting[] | undefined;
|
|
173
|
+
TargetDataSettings?: TargetDataSetting[] | undefined;
|
|
162
174
|
DataMigrationStatistics?: DataMigrationStatistics | undefined;
|
|
163
175
|
DataMigrationStatus?: string | undefined;
|
|
164
176
|
PublicIpAddresses?: string[] | undefined;
|
|
@@ -2230,16 +2242,6 @@ export interface DescribeReplicationTaskIndividualAssessmentsResponse {
|
|
|
2230
2242
|
| ReplicationTaskIndividualAssessment[]
|
|
2231
2243
|
| undefined;
|
|
2232
2244
|
}
|
|
2233
|
-
export interface DescribeReplicationTasksMessage {
|
|
2234
|
-
Filters?: Filter[] | undefined;
|
|
2235
|
-
MaxRecords?: number | undefined;
|
|
2236
|
-
Marker?: string | undefined;
|
|
2237
|
-
WithoutSettings?: boolean | undefined;
|
|
2238
|
-
}
|
|
2239
|
-
export interface DescribeReplicationTasksResponse {
|
|
2240
|
-
Marker?: string | undefined;
|
|
2241
|
-
ReplicationTasks?: ReplicationTask[] | undefined;
|
|
2242
|
-
}
|
|
2243
2245
|
export declare const CreateDataMigrationMessageFilterSensitiveLog: (
|
|
2244
2246
|
obj: CreateDataMigrationMessage
|
|
2245
2247
|
) => any;
|
|
@@ -47,8 +47,19 @@ import {
|
|
|
47
47
|
SybaseSettings,
|
|
48
48
|
TableStatistics,
|
|
49
49
|
Tag,
|
|
50
|
+
TargetDataSetting,
|
|
50
51
|
TimestreamSettings,
|
|
51
52
|
} from "./models_0";
|
|
53
|
+
export interface DescribeReplicationTasksMessage {
|
|
54
|
+
Filters?: Filter[] | undefined;
|
|
55
|
+
MaxRecords?: number | undefined;
|
|
56
|
+
Marker?: string | undefined;
|
|
57
|
+
WithoutSettings?: boolean | undefined;
|
|
58
|
+
}
|
|
59
|
+
export interface DescribeReplicationTasksResponse {
|
|
60
|
+
Marker?: string | undefined;
|
|
61
|
+
ReplicationTasks?: ReplicationTask[] | undefined;
|
|
62
|
+
}
|
|
52
63
|
export interface DescribeSchemasMessage {
|
|
53
64
|
EndpointArn: string | undefined;
|
|
54
65
|
MaxRecords?: number | undefined;
|
|
@@ -126,6 +137,7 @@ export interface ModifyDataMigrationMessage {
|
|
|
126
137
|
ServiceAccessRoleArn?: string | undefined;
|
|
127
138
|
DataMigrationType?: MigrationTypeValue | undefined;
|
|
128
139
|
SourceDataSettings?: SourceDataSetting[] | undefined;
|
|
140
|
+
TargetDataSettings?: TargetDataSetting[] | undefined;
|
|
129
141
|
NumberOfJobs?: number | undefined;
|
|
130
142
|
SelectionRules?: string | undefined;
|
|
131
143
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-database-migration-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Database Migration Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.743.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-database-migration-service",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.734.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.743.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.743.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.743.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|