@aws-sdk/client-database-migration-service 3.121.0 → 3.122.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.122.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.121.0...v3.122.0) (2022-07-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-database-migration-service:** Added new features for AWS DMS version 3.4.7 that includes new endpoint settings for S3, OpenSearch, Postgres, SQLServer and Oracle. ([294fef4](https://github.com/aws/aws-sdk-js-v3/commit/294fef445137e6e345155fae2089ac3b4626fbae))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
18
 
8
19
 
@@ -4125,6 +4125,8 @@ const serializeAws_json1_1ElasticsearchSettings = (input, context) => {
4125
4125
  input.FullLoadErrorPercentage !== null && { FullLoadErrorPercentage: input.FullLoadErrorPercentage }),
4126
4126
  ...(input.ServiceAccessRoleArn !== undefined &&
4127
4127
  input.ServiceAccessRoleArn !== null && { ServiceAccessRoleArn: input.ServiceAccessRoleArn }),
4128
+ ...(input.UseNewMappingType !== undefined &&
4129
+ input.UseNewMappingType !== null && { UseNewMappingType: input.UseNewMappingType }),
4128
4130
  };
4129
4131
  };
4130
4132
  const serializeAws_json1_1EventCategoriesList = (input, context) => {
@@ -4343,6 +4345,8 @@ const serializeAws_json1_1MicrosoftSQLServerSettings = (input, context) => {
4343
4345
  ...(input.SecretsManagerSecretId !== undefined &&
4344
4346
  input.SecretsManagerSecretId !== null && { SecretsManagerSecretId: input.SecretsManagerSecretId }),
4345
4347
  ...(input.ServerName !== undefined && input.ServerName !== null && { ServerName: input.ServerName }),
4348
+ ...(input.TrimSpaceInChar !== undefined &&
4349
+ input.TrimSpaceInChar !== null && { TrimSpaceInChar: input.TrimSpaceInChar }),
4346
4350
  ...(input.UseBcpFullLoad !== undefined &&
4347
4351
  input.UseBcpFullLoad !== null && { UseBcpFullLoad: input.UseBcpFullLoad }),
4348
4352
  ...(input.UseThirdPartyBackupDevice !== undefined &&
@@ -4661,6 +4665,8 @@ const serializeAws_json1_1OracleSettings = (input, context) => {
4661
4665
  }),
4662
4666
  ...(input.StandbyDelayTime !== undefined &&
4663
4667
  input.StandbyDelayTime !== null && { StandbyDelayTime: input.StandbyDelayTime }),
4668
+ ...(input.TrimSpaceInChar !== undefined &&
4669
+ input.TrimSpaceInChar !== null && { TrimSpaceInChar: input.TrimSpaceInChar }),
4664
4670
  ...(input.UseAlternateFolderForOnline !== undefined &&
4665
4671
  input.UseAlternateFolderForOnline !== null && { UseAlternateFolderForOnline: input.UseAlternateFolderForOnline }),
4666
4672
  ...(input.UseBFile !== undefined && input.UseBFile !== null && { UseBFile: input.UseBFile }),
@@ -4700,6 +4706,8 @@ const serializeAws_json1_1PostgreSQLSettings = (input, context) => {
4700
4706
  input.SecretsManagerSecretId !== null && { SecretsManagerSecretId: input.SecretsManagerSecretId }),
4701
4707
  ...(input.ServerName !== undefined && input.ServerName !== null && { ServerName: input.ServerName }),
4702
4708
  ...(input.SlotName !== undefined && input.SlotName !== null && { SlotName: input.SlotName }),
4709
+ ...(input.TrimSpaceInChar !== undefined &&
4710
+ input.TrimSpaceInChar !== null && { TrimSpaceInChar: input.TrimSpaceInChar }),
4703
4711
  ...(input.Username !== undefined && input.Username !== null && { Username: input.Username }),
4704
4712
  };
4705
4713
  };
@@ -4801,6 +4809,8 @@ const serializeAws_json1_1RemoveTagsFromResourceMessage = (input, context) => {
4801
4809
  const serializeAws_json1_1S3Settings = (input, context) => {
4802
4810
  return {
4803
4811
  ...(input.AddColumnName !== undefined && input.AddColumnName !== null && { AddColumnName: input.AddColumnName }),
4812
+ ...(input.AddTrailingPaddingCharacter !== undefined &&
4813
+ input.AddTrailingPaddingCharacter !== null && { AddTrailingPaddingCharacter: input.AddTrailingPaddingCharacter }),
4804
4814
  ...(input.BucketFolder !== undefined && input.BucketFolder !== null && { BucketFolder: input.BucketFolder }),
4805
4815
  ...(input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName }),
4806
4816
  ...(input.CannedAclForObjects !== undefined &&
@@ -4838,6 +4848,8 @@ const serializeAws_json1_1S3Settings = (input, context) => {
4838
4848
  ...(input.EncodingType !== undefined && input.EncodingType !== null && { EncodingType: input.EncodingType }),
4839
4849
  ...(input.EncryptionMode !== undefined &&
4840
4850
  input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode }),
4851
+ ...(input.ExpectedBucketOwner !== undefined &&
4852
+ input.ExpectedBucketOwner !== null && { ExpectedBucketOwner: input.ExpectedBucketOwner }),
4841
4853
  ...(input.ExternalTableDefinition !== undefined &&
4842
4854
  input.ExternalTableDefinition !== null && { ExternalTableDefinition: input.ExternalTableDefinition }),
4843
4855
  ...(input.IgnoreHeaderRows !== undefined &&
@@ -5584,6 +5596,7 @@ const deserializeAws_json1_1ElasticsearchSettings = (output, context) => {
5584
5596
  ErrorRetryDuration: (0, smithy_client_1.expectInt32)(output.ErrorRetryDuration),
5585
5597
  FullLoadErrorPercentage: (0, smithy_client_1.expectInt32)(output.FullLoadErrorPercentage),
5586
5598
  ServiceAccessRoleArn: (0, smithy_client_1.expectString)(output.ServiceAccessRoleArn),
5599
+ UseNewMappingType: (0, smithy_client_1.expectBoolean)(output.UseNewMappingType),
5587
5600
  };
5588
5601
  };
5589
5602
  const deserializeAws_json1_1Endpoint = (output, context) => {
@@ -6022,6 +6035,7 @@ const deserializeAws_json1_1MicrosoftSQLServerSettings = (output, context) => {
6022
6035
  SecretsManagerAccessRoleArn: (0, smithy_client_1.expectString)(output.SecretsManagerAccessRoleArn),
6023
6036
  SecretsManagerSecretId: (0, smithy_client_1.expectString)(output.SecretsManagerSecretId),
6024
6037
  ServerName: (0, smithy_client_1.expectString)(output.ServerName),
6038
+ TrimSpaceInChar: (0, smithy_client_1.expectBoolean)(output.TrimSpaceInChar),
6025
6039
  UseBcpFullLoad: (0, smithy_client_1.expectBoolean)(output.UseBcpFullLoad),
6026
6040
  UseThirdPartyBackupDevice: (0, smithy_client_1.expectBoolean)(output.UseThirdPartyBackupDevice),
6027
6041
  Username: (0, smithy_client_1.expectString)(output.Username),
@@ -6154,6 +6168,7 @@ const deserializeAws_json1_1OracleSettings = (output, context) => {
6154
6168
  ServerName: (0, smithy_client_1.expectString)(output.ServerName),
6155
6169
  SpatialDataOptionToGeoJsonFunctionName: (0, smithy_client_1.expectString)(output.SpatialDataOptionToGeoJsonFunctionName),
6156
6170
  StandbyDelayTime: (0, smithy_client_1.expectInt32)(output.StandbyDelayTime),
6171
+ TrimSpaceInChar: (0, smithy_client_1.expectBoolean)(output.TrimSpaceInChar),
6157
6172
  UseAlternateFolderForOnline: (0, smithy_client_1.expectBoolean)(output.UseAlternateFolderForOnline),
6158
6173
  UseBFile: (0, smithy_client_1.expectBoolean)(output.UseBFile),
6159
6174
  UseDirectPathFullLoad: (0, smithy_client_1.expectBoolean)(output.UseDirectPathFullLoad),
@@ -6245,6 +6260,7 @@ const deserializeAws_json1_1PostgreSQLSettings = (output, context) => {
6245
6260
  SecretsManagerSecretId: (0, smithy_client_1.expectString)(output.SecretsManagerSecretId),
6246
6261
  ServerName: (0, smithy_client_1.expectString)(output.ServerName),
6247
6262
  SlotName: (0, smithy_client_1.expectString)(output.SlotName),
6263
+ TrimSpaceInChar: (0, smithy_client_1.expectBoolean)(output.TrimSpaceInChar),
6248
6264
  Username: (0, smithy_client_1.expectString)(output.Username),
6249
6265
  };
6250
6266
  };
@@ -6647,6 +6663,7 @@ const deserializeAws_json1_1S3ResourceNotFoundFault = (output, context) => {
6647
6663
  const deserializeAws_json1_1S3Settings = (output, context) => {
6648
6664
  return {
6649
6665
  AddColumnName: (0, smithy_client_1.expectBoolean)(output.AddColumnName),
6666
+ AddTrailingPaddingCharacter: (0, smithy_client_1.expectBoolean)(output.AddTrailingPaddingCharacter),
6650
6667
  BucketFolder: (0, smithy_client_1.expectString)(output.BucketFolder),
6651
6668
  BucketName: (0, smithy_client_1.expectString)(output.BucketName),
6652
6669
  CannedAclForObjects: (0, smithy_client_1.expectString)(output.CannedAclForObjects),
@@ -6670,6 +6687,7 @@ const deserializeAws_json1_1S3Settings = (output, context) => {
6670
6687
  EnableStatistics: (0, smithy_client_1.expectBoolean)(output.EnableStatistics),
6671
6688
  EncodingType: (0, smithy_client_1.expectString)(output.EncodingType),
6672
6689
  EncryptionMode: (0, smithy_client_1.expectString)(output.EncryptionMode),
6690
+ ExpectedBucketOwner: (0, smithy_client_1.expectString)(output.ExpectedBucketOwner),
6673
6691
  ExternalTableDefinition: (0, smithy_client_1.expectString)(output.ExternalTableDefinition),
6674
6692
  IgnoreHeaderRows: (0, smithy_client_1.expectInt32)(output.IgnoreHeaderRows),
6675
6693
  IncludeOpForFullLoad: (0, smithy_client_1.expectBoolean)(output.IncludeOpForFullLoad),
@@ -4937,10 +4937,11 @@ var serializeAws_json1_1DynamoDbSettings = function (input, context) {
4937
4937
  input.ServiceAccessRoleArn !== null && { ServiceAccessRoleArn: input.ServiceAccessRoleArn }));
4938
4938
  };
4939
4939
  var serializeAws_json1_1ElasticsearchSettings = function (input, context) {
4940
- return __assign(__assign(__assign(__assign({}, (input.EndpointUri !== undefined && input.EndpointUri !== null && { EndpointUri: input.EndpointUri })), (input.ErrorRetryDuration !== undefined &&
4940
+ return __assign(__assign(__assign(__assign(__assign({}, (input.EndpointUri !== undefined && input.EndpointUri !== null && { EndpointUri: input.EndpointUri })), (input.ErrorRetryDuration !== undefined &&
4941
4941
  input.ErrorRetryDuration !== null && { ErrorRetryDuration: input.ErrorRetryDuration })), (input.FullLoadErrorPercentage !== undefined &&
4942
4942
  input.FullLoadErrorPercentage !== null && { FullLoadErrorPercentage: input.FullLoadErrorPercentage })), (input.ServiceAccessRoleArn !== undefined &&
4943
- input.ServiceAccessRoleArn !== null && { ServiceAccessRoleArn: input.ServiceAccessRoleArn }));
4943
+ input.ServiceAccessRoleArn !== null && { ServiceAccessRoleArn: input.ServiceAccessRoleArn })), (input.UseNewMappingType !== undefined &&
4944
+ input.UseNewMappingType !== null && { UseNewMappingType: input.UseNewMappingType }));
4944
4945
  };
4945
4946
  var serializeAws_json1_1EventCategoriesList = function (input, context) {
4946
4947
  return input
@@ -5073,13 +5074,14 @@ var serializeAws_json1_1ListTagsForResourceMessage = function (input, context) {
5073
5074
  }));
5074
5075
  };
5075
5076
  var serializeAws_json1_1MicrosoftSQLServerSettings = function (input, context) {
5076
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BcpPacketSize !== undefined && input.BcpPacketSize !== null && { BcpPacketSize: input.BcpPacketSize })), (input.ControlTablesFileGroup !== undefined &&
5077
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BcpPacketSize !== undefined && input.BcpPacketSize !== null && { BcpPacketSize: input.BcpPacketSize })), (input.ControlTablesFileGroup !== undefined &&
5077
5078
  input.ControlTablesFileGroup !== null && { ControlTablesFileGroup: input.ControlTablesFileGroup })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.Port !== undefined && input.Port !== null && { Port: input.Port })), (input.QuerySingleAlwaysOnNode !== undefined &&
5078
5079
  input.QuerySingleAlwaysOnNode !== null && { QuerySingleAlwaysOnNode: input.QuerySingleAlwaysOnNode })), (input.ReadBackupOnly !== undefined &&
5079
5080
  input.ReadBackupOnly !== null && { ReadBackupOnly: input.ReadBackupOnly })), (input.SafeguardPolicy !== undefined &&
5080
5081
  input.SafeguardPolicy !== null && { SafeguardPolicy: input.SafeguardPolicy })), (input.SecretsManagerAccessRoleArn !== undefined &&
5081
5082
  input.SecretsManagerAccessRoleArn !== null && { SecretsManagerAccessRoleArn: input.SecretsManagerAccessRoleArn })), (input.SecretsManagerSecretId !== undefined &&
5082
- input.SecretsManagerSecretId !== null && { SecretsManagerSecretId: input.SecretsManagerSecretId })), (input.ServerName !== undefined && input.ServerName !== null && { ServerName: input.ServerName })), (input.UseBcpFullLoad !== undefined &&
5083
+ input.SecretsManagerSecretId !== null && { SecretsManagerSecretId: input.SecretsManagerSecretId })), (input.ServerName !== undefined && input.ServerName !== null && { ServerName: input.ServerName })), (input.TrimSpaceInChar !== undefined &&
5084
+ input.TrimSpaceInChar !== null && { TrimSpaceInChar: input.TrimSpaceInChar })), (input.UseBcpFullLoad !== undefined &&
5083
5085
  input.UseBcpFullLoad !== null && { UseBcpFullLoad: input.UseBcpFullLoad })), (input.UseThirdPartyBackupDevice !== undefined &&
5084
5086
  input.UseThirdPartyBackupDevice !== null && { UseThirdPartyBackupDevice: input.UseThirdPartyBackupDevice })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
5085
5087
  };
@@ -5218,7 +5220,7 @@ var serializeAws_json1_1NeptuneSettings = function (input, context) {
5218
5220
  input.ServiceAccessRoleArn !== null && { ServiceAccessRoleArn: input.ServiceAccessRoleArn }));
5219
5221
  };
5220
5222
  var serializeAws_json1_1OracleSettings = function (input, context) {
5221
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessAlternateDirectly !== undefined &&
5223
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccessAlternateDirectly !== undefined &&
5222
5224
  input.AccessAlternateDirectly !== null && { AccessAlternateDirectly: input.AccessAlternateDirectly })), (input.AddSupplementalLogging !== undefined &&
5223
5225
  input.AddSupplementalLogging !== null && { AddSupplementalLogging: input.AddSupplementalLogging })), (input.AdditionalArchivedLogDestId !== undefined &&
5224
5226
  input.AdditionalArchivedLogDestId !== null && { AdditionalArchivedLogDestId: input.AdditionalArchivedLogDestId })), (input.AllowSelectNestedTables !== undefined &&
@@ -5252,13 +5254,14 @@ var serializeAws_json1_1OracleSettings = function (input, context) {
5252
5254
  input.SpatialDataOptionToGeoJsonFunctionName !== null && {
5253
5255
  SpatialDataOptionToGeoJsonFunctionName: input.SpatialDataOptionToGeoJsonFunctionName,
5254
5256
  })), (input.StandbyDelayTime !== undefined &&
5255
- input.StandbyDelayTime !== null && { StandbyDelayTime: input.StandbyDelayTime })), (input.UseAlternateFolderForOnline !== undefined &&
5257
+ input.StandbyDelayTime !== null && { StandbyDelayTime: input.StandbyDelayTime })), (input.TrimSpaceInChar !== undefined &&
5258
+ input.TrimSpaceInChar !== null && { TrimSpaceInChar: input.TrimSpaceInChar })), (input.UseAlternateFolderForOnline !== undefined &&
5256
5259
  input.UseAlternateFolderForOnline !== null && { UseAlternateFolderForOnline: input.UseAlternateFolderForOnline })), (input.UseBFile !== undefined && input.UseBFile !== null && { UseBFile: input.UseBFile })), (input.UseDirectPathFullLoad !== undefined &&
5257
5260
  input.UseDirectPathFullLoad !== null && { UseDirectPathFullLoad: input.UseDirectPathFullLoad })), (input.UseLogminerReader !== undefined &&
5258
5261
  input.UseLogminerReader !== null && { UseLogminerReader: input.UseLogminerReader })), (input.UsePathPrefix !== undefined && input.UsePathPrefix !== null && { UsePathPrefix: input.UsePathPrefix })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
5259
5262
  };
5260
5263
  var serializeAws_json1_1PostgreSQLSettings = function (input, context) {
5261
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AfterConnectScript !== undefined &&
5264
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AfterConnectScript !== undefined &&
5262
5265
  input.AfterConnectScript !== null && { AfterConnectScript: input.AfterConnectScript })), (input.CaptureDdls !== undefined && input.CaptureDdls !== null && { CaptureDdls: input.CaptureDdls })), (input.DatabaseName !== undefined && input.DatabaseName !== null && { DatabaseName: input.DatabaseName })), (input.DdlArtifactsSchema !== undefined &&
5263
5266
  input.DdlArtifactsSchema !== null && { DdlArtifactsSchema: input.DdlArtifactsSchema })), (input.ExecuteTimeout !== undefined &&
5264
5267
  input.ExecuteTimeout !== null && { ExecuteTimeout: input.ExecuteTimeout })), (input.FailTasksOnLobTruncation !== undefined &&
@@ -5267,7 +5270,8 @@ var serializeAws_json1_1PostgreSQLSettings = function (input, context) {
5267
5270
  input.HeartbeatFrequency !== null && { HeartbeatFrequency: input.HeartbeatFrequency })), (input.HeartbeatSchema !== undefined &&
5268
5271
  input.HeartbeatSchema !== null && { HeartbeatSchema: input.HeartbeatSchema })), (input.MaxFileSize !== undefined && input.MaxFileSize !== null && { MaxFileSize: input.MaxFileSize })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.PluginName !== undefined && input.PluginName !== null && { PluginName: input.PluginName })), (input.Port !== undefined && input.Port !== null && { Port: input.Port })), (input.SecretsManagerAccessRoleArn !== undefined &&
5269
5272
  input.SecretsManagerAccessRoleArn !== null && { SecretsManagerAccessRoleArn: input.SecretsManagerAccessRoleArn })), (input.SecretsManagerSecretId !== undefined &&
5270
- input.SecretsManagerSecretId !== null && { SecretsManagerSecretId: input.SecretsManagerSecretId })), (input.ServerName !== undefined && input.ServerName !== null && { ServerName: input.ServerName })), (input.SlotName !== undefined && input.SlotName !== null && { SlotName: input.SlotName })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
5273
+ input.SecretsManagerSecretId !== null && { SecretsManagerSecretId: input.SecretsManagerSecretId })), (input.ServerName !== undefined && input.ServerName !== null && { ServerName: input.ServerName })), (input.SlotName !== undefined && input.SlotName !== null && { SlotName: input.SlotName })), (input.TrimSpaceInChar !== undefined &&
5274
+ input.TrimSpaceInChar !== null && { TrimSpaceInChar: input.TrimSpaceInChar })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
5271
5275
  };
5272
5276
  var serializeAws_json1_1RebootReplicationInstanceMessage = function (input, context) {
5273
5277
  return __assign(__assign(__assign({}, (input.ForceFailover !== undefined && input.ForceFailover !== null && { ForceFailover: input.ForceFailover })), (input.ForcePlannedFailover !== undefined &&
@@ -5312,7 +5316,8 @@ var serializeAws_json1_1RemoveTagsFromResourceMessage = function (input, context
5312
5316
  input.TagKeys !== null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }));
5313
5317
  };
5314
5318
  var serializeAws_json1_1S3Settings = function (input, context) {
5315
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AddColumnName !== undefined && input.AddColumnName !== null && { AddColumnName: input.AddColumnName })), (input.BucketFolder !== undefined && input.BucketFolder !== null && { BucketFolder: input.BucketFolder })), (input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName })), (input.CannedAclForObjects !== undefined &&
5319
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AddColumnName !== undefined && input.AddColumnName !== null && { AddColumnName: input.AddColumnName })), (input.AddTrailingPaddingCharacter !== undefined &&
5320
+ input.AddTrailingPaddingCharacter !== null && { AddTrailingPaddingCharacter: input.AddTrailingPaddingCharacter })), (input.BucketFolder !== undefined && input.BucketFolder !== null && { BucketFolder: input.BucketFolder })), (input.BucketName !== undefined && input.BucketName !== null && { BucketName: input.BucketName })), (input.CannedAclForObjects !== undefined &&
5316
5321
  input.CannedAclForObjects !== null && { CannedAclForObjects: input.CannedAclForObjects })), (input.CdcInsertsAndUpdates !== undefined &&
5317
5322
  input.CdcInsertsAndUpdates !== null && { CdcInsertsAndUpdates: input.CdcInsertsAndUpdates })), (input.CdcInsertsOnly !== undefined &&
5318
5323
  input.CdcInsertsOnly !== null && { CdcInsertsOnly: input.CdcInsertsOnly })), (input.CdcMaxBatchInterval !== undefined &&
@@ -5326,7 +5331,8 @@ var serializeAws_json1_1S3Settings = function (input, context) {
5326
5331
  input.DatePartitionTimezone !== null && { DatePartitionTimezone: input.DatePartitionTimezone })), (input.DictPageSizeLimit !== undefined &&
5327
5332
  input.DictPageSizeLimit !== null && { DictPageSizeLimit: input.DictPageSizeLimit })), (input.EnableStatistics !== undefined &&
5328
5333
  input.EnableStatistics !== null && { EnableStatistics: input.EnableStatistics })), (input.EncodingType !== undefined && input.EncodingType !== null && { EncodingType: input.EncodingType })), (input.EncryptionMode !== undefined &&
5329
- input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.ExternalTableDefinition !== undefined &&
5334
+ input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.ExpectedBucketOwner !== undefined &&
5335
+ input.ExpectedBucketOwner !== null && { ExpectedBucketOwner: input.ExpectedBucketOwner })), (input.ExternalTableDefinition !== undefined &&
5330
5336
  input.ExternalTableDefinition !== null && { ExternalTableDefinition: input.ExternalTableDefinition })), (input.IgnoreHeaderRows !== undefined &&
5331
5337
  input.IgnoreHeaderRows !== null && { IgnoreHeaderRows: input.IgnoreHeaderRows })), (input.IncludeOpForFullLoad !== undefined &&
5332
5338
  input.IncludeOpForFullLoad !== null && { IncludeOpForFullLoad: input.IncludeOpForFullLoad })), (input.MaxFileSize !== undefined && input.MaxFileSize !== null && { MaxFileSize: input.MaxFileSize })), (input.ParquetTimestampInMillisecond !== undefined &&
@@ -6020,6 +6026,7 @@ var deserializeAws_json1_1ElasticsearchSettings = function (output, context) {
6020
6026
  ErrorRetryDuration: __expectInt32(output.ErrorRetryDuration),
6021
6027
  FullLoadErrorPercentage: __expectInt32(output.FullLoadErrorPercentage),
6022
6028
  ServiceAccessRoleArn: __expectString(output.ServiceAccessRoleArn),
6029
+ UseNewMappingType: __expectBoolean(output.UseNewMappingType),
6023
6030
  };
6024
6031
  };
6025
6032
  var deserializeAws_json1_1Endpoint = function (output, context) {
@@ -6458,6 +6465,7 @@ var deserializeAws_json1_1MicrosoftSQLServerSettings = function (output, context
6458
6465
  SecretsManagerAccessRoleArn: __expectString(output.SecretsManagerAccessRoleArn),
6459
6466
  SecretsManagerSecretId: __expectString(output.SecretsManagerSecretId),
6460
6467
  ServerName: __expectString(output.ServerName),
6468
+ TrimSpaceInChar: __expectBoolean(output.TrimSpaceInChar),
6461
6469
  UseBcpFullLoad: __expectBoolean(output.UseBcpFullLoad),
6462
6470
  UseThirdPartyBackupDevice: __expectBoolean(output.UseThirdPartyBackupDevice),
6463
6471
  Username: __expectString(output.Username),
@@ -6590,6 +6598,7 @@ var deserializeAws_json1_1OracleSettings = function (output, context) {
6590
6598
  ServerName: __expectString(output.ServerName),
6591
6599
  SpatialDataOptionToGeoJsonFunctionName: __expectString(output.SpatialDataOptionToGeoJsonFunctionName),
6592
6600
  StandbyDelayTime: __expectInt32(output.StandbyDelayTime),
6601
+ TrimSpaceInChar: __expectBoolean(output.TrimSpaceInChar),
6593
6602
  UseAlternateFolderForOnline: __expectBoolean(output.UseAlternateFolderForOnline),
6594
6603
  UseBFile: __expectBoolean(output.UseBFile),
6595
6604
  UseDirectPathFullLoad: __expectBoolean(output.UseDirectPathFullLoad),
@@ -6681,6 +6690,7 @@ var deserializeAws_json1_1PostgreSQLSettings = function (output, context) {
6681
6690
  SecretsManagerSecretId: __expectString(output.SecretsManagerSecretId),
6682
6691
  ServerName: __expectString(output.ServerName),
6683
6692
  SlotName: __expectString(output.SlotName),
6693
+ TrimSpaceInChar: __expectBoolean(output.TrimSpaceInChar),
6684
6694
  Username: __expectString(output.Username),
6685
6695
  };
6686
6696
  };
@@ -7083,6 +7093,7 @@ var deserializeAws_json1_1S3ResourceNotFoundFault = function (output, context) {
7083
7093
  var deserializeAws_json1_1S3Settings = function (output, context) {
7084
7094
  return {
7085
7095
  AddColumnName: __expectBoolean(output.AddColumnName),
7096
+ AddTrailingPaddingCharacter: __expectBoolean(output.AddTrailingPaddingCharacter),
7086
7097
  BucketFolder: __expectString(output.BucketFolder),
7087
7098
  BucketName: __expectString(output.BucketName),
7088
7099
  CannedAclForObjects: __expectString(output.CannedAclForObjects),
@@ -7106,6 +7117,7 @@ var deserializeAws_json1_1S3Settings = function (output, context) {
7106
7117
  EnableStatistics: __expectBoolean(output.EnableStatistics),
7107
7118
  EncodingType: __expectString(output.EncodingType),
7108
7119
  EncryptionMode: __expectString(output.EncryptionMode),
7120
+ ExpectedBucketOwner: __expectString(output.ExpectedBucketOwner),
7109
7121
  ExternalTableDefinition: __expectString(output.ExternalTableDefinition),
7110
7122
  IgnoreHeaderRows: __expectInt32(output.IgnoreHeaderRows),
7111
7123
  IncludeOpForFullLoad: __expectBoolean(output.IncludeOpForFullLoad),
@@ -581,6 +581,11 @@ export interface ElasticsearchSettings {
581
581
  * OpenSearch cluster.</p>
582
582
  */
583
583
  ErrorRetryDuration?: number;
584
+ /**
585
+ * <p>Set this option to <code>true</code> for DMS to migrate documentation using the documentation type <code>_doc</code>. OpenSearch and
586
+ * an Elasticsearch cluster only support the _doc documentation type in versions 7. x and later. The default value is <code>false</code>.</p>
587
+ */
588
+ UseNewMappingType?: boolean;
584
589
  }
585
590
  export declare namespace ElasticsearchSettings {
586
591
  /**
@@ -1092,6 +1097,11 @@ export interface MicrosoftSQLServerSettings {
1092
1097
  * <p>The full ARN, partial ARN, or friendly name of the <code>SecretsManagerSecret</code> that contains the SQL Server endpoint connection details.</p>
1093
1098
  */
1094
1099
  SecretsManagerSecretId?: string;
1100
+ /**
1101
+ * <p>Use the <code>TrimSpaceInChar</code> source endpoint setting to trim data
1102
+ * on CHAR and NCHAR data types during migration. The default value is <code>true</code>.</p>
1103
+ */
1104
+ TrimSpaceInChar?: boolean;
1095
1105
  }
1096
1106
  export declare namespace MicrosoftSQLServerSettings {
1097
1107
  /**
@@ -1720,6 +1730,11 @@ export interface OracleSettings {
1720
1730
  * that contains the Oracle ASM connection details for the Oracle endpoint.</p>
1721
1731
  */
1722
1732
  SecretsManagerOracleAsmSecretId?: string;
1733
+ /**
1734
+ * <p>Use the <code>TrimSpaceInChar</code> source endpoint setting to trim data
1735
+ * on CHAR and NCHAR data types during migration. The default value is <code>true</code>.</p>
1736
+ */
1737
+ TrimSpaceInChar?: boolean;
1723
1738
  }
1724
1739
  export declare namespace OracleSettings {
1725
1740
  /**
@@ -1862,6 +1877,11 @@ export interface PostgreSQLSettings {
1862
1877
  * <p>The full ARN, partial ARN, or friendly name of the <code>SecretsManagerSecret</code> that contains the PostgreSQL endpoint connection details.</p>
1863
1878
  */
1864
1879
  SecretsManagerSecretId?: string;
1880
+ /**
1881
+ * <p>Use the <code>TrimSpaceInChar</code> source endpoint setting to trim data
1882
+ * on CHAR and NCHAR data types during migration. The default value is <code>true</code>.</p>
1883
+ */
1884
+ TrimSpaceInChar?: boolean;
1865
1885
  }
1866
1886
  export declare namespace PostgreSQLSettings {
1867
1887
  /**
@@ -2712,6 +2732,20 @@ export interface S3Settings {
2712
2732
  * </p>
2713
2733
  */
2714
2734
  DatePartitionTimezone?: string;
2735
+ /**
2736
+ * <p>Use the S3 target endpoint setting <code>AddTrailingPaddingCharacter</code> to add
2737
+ * padding on string data. The default value is <code>false</code>.</p>
2738
+ */
2739
+ AddTrailingPaddingCharacter?: boolean;
2740
+ /**
2741
+ * <p>To specify a bucket owner and prevent sniping, you can use the
2742
+ * <code>ExpectedBucketOwner</code> endpoint setting. </p>
2743
+ * <p>Example: <code>--s3-settings='{"ExpectedBucketOwner": "<i>AWS_Account_ID</i>"}'</code>
2744
+ * </p>
2745
+ * <p>When you make a request to test a connection or perform a migration, S3 checks the account
2746
+ * ID of the bucket owner against the specified parameter.</p>
2747
+ */
2748
+ ExpectedBucketOwner?: string;
2715
2749
  }
2716
2750
  export declare namespace S3Settings {
2717
2751
  /**
@@ -4488,24 +4522,68 @@ export interface ReplicationTask {
4488
4522
  * <ul>
4489
4523
  * <li>
4490
4524
  * <p>
4491
- * <code>"STOP_REASON_FULL_LOAD_COMPLETED"</code> – Full-load migration
4492
- * completed.</p>
4525
+ * <code>"Stop Reason NORMAL"</code>
4526
+ * </p>
4493
4527
  * </li>
4494
4528
  * <li>
4495
4529
  * <p>
4496
- * <code>"STOP_REASON_CACHED_CHANGES_APPLIED"</code> – Change data capture (CDC)
4497
- * load completed.</p>
4530
+ * <code>"Stop Reason RECOVERABLE_ERROR"</code>
4531
+ * </p>
4498
4532
  * </li>
4499
4533
  * <li>
4500
4534
  * <p>
4501
- * <code>"STOP_REASON_CACHED_CHANGES_NOT_APPLIED"</code> – In a
4502
- * full-load and CDC migration, the full load stopped as specified before starting the
4503
- * CDC migration.</p>
4535
+ * <code>"Stop Reason FATAL_ERROR"</code>
4536
+ * </p>
4504
4537
  * </li>
4505
4538
  * <li>
4506
4539
  * <p>
4507
- * <code>"STOP_REASON_SERVER_TIME"</code> – The migration stopped at the
4508
- * specified server time.</p>
4540
+ * <code>"Stop Reason FULL_LOAD_ONLY_FINISHED"</code>
4541
+ * </p>
4542
+ * </li>
4543
+ * <li>
4544
+ * <p>
4545
+ * <code>"Stop Reason STOPPED_AFTER_FULL_LOAD"</code> – Full load completed, with cached changes not applied</p>
4546
+ * </li>
4547
+ * <li>
4548
+ * <p>
4549
+ * <code>"Stop Reason STOPPED_AFTER_CACHED_EVENTS"</code> – Full load completed, with cached changes applied</p>
4550
+ * </li>
4551
+ * <li>
4552
+ * <p>
4553
+ * <code>"Stop Reason EXPRESS_LICENSE_LIMITS_REACHED"</code>
4554
+ * </p>
4555
+ * </li>
4556
+ * <li>
4557
+ * <p>
4558
+ * <code>"Stop Reason STOPPED_AFTER_DDL_APPLY"</code> – User-defined stop task after DDL applied</p>
4559
+ * </li>
4560
+ * <li>
4561
+ * <p>
4562
+ * <code>"Stop Reason STOPPED_DUE_TO_LOW_MEMORY"</code>
4563
+ * </p>
4564
+ * </li>
4565
+ * <li>
4566
+ * <p>
4567
+ * <code>"Stop Reason STOPPED_DUE_TO_LOW_DISK"</code>
4568
+ * </p>
4569
+ * </li>
4570
+ * <li>
4571
+ * <p>
4572
+ * <code>"Stop Reason STOPPED_AT_SERVER_TIME"</code> – User-defined server time for stopping task</p>
4573
+ * </li>
4574
+ * <li>
4575
+ * <p>
4576
+ * <code>"Stop Reason STOPPED_AT_COMMIT_TIME"</code> – User-defined commit time for stopping task</p>
4577
+ * </li>
4578
+ * <li>
4579
+ * <p>
4580
+ * <code>"Stop Reason RECONFIGURATION_RESTART"</code>
4581
+ * </p>
4582
+ * </li>
4583
+ * <li>
4584
+ * <p>
4585
+ * <code>"Stop Reason RECYCLE_TASK"</code>
4586
+ * </p>
4509
4587
  * </li>
4510
4588
  * </ul>
4511
4589
  */
@@ -5884,8 +5962,7 @@ export interface DescribeFleetAdvisorDatabasesRequest {
5884
5962
  * <ul>
5885
5963
  * <li>
5886
5964
  * <p>
5887
- * <code>database-id</code> – The ID of the database, for example
5888
- * <code>d4610ac5-e323-4ad9-bc50-eaf7249dfe9d</code>.</p>
5965
+ * <code>database-id</code> – The ID of the database.</p>
5889
5966
  * </li>
5890
5967
  * <li>
5891
5968
  * <p>
@@ -5910,7 +5987,7 @@ export interface DescribeFleetAdvisorDatabasesRequest {
5910
5987
  * </ul>
5911
5988
  *
5912
5989
  * <p>An example is: <code>describe-fleet-advisor-databases --filter
5913
- * Name="database-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"</code>
5990
+ * Name="database-id",Values="45"</code>
5914
5991
  * </p>
5915
5992
  */
5916
5993
  Filters?: Filter[];
@@ -240,6 +240,8 @@ export interface ElasticsearchSettings {
240
240
  FullLoadErrorPercentage?: number;
241
241
 
242
242
  ErrorRetryDuration?: number;
243
+
244
+ UseNewMappingType?: boolean;
243
245
  }
244
246
  export declare namespace ElasticsearchSettings {
245
247
 
@@ -430,6 +432,8 @@ export interface MicrosoftSQLServerSettings {
430
432
  SecretsManagerAccessRoleArn?: string;
431
433
 
432
434
  SecretsManagerSecretId?: string;
435
+
436
+ TrimSpaceInChar?: boolean;
433
437
  }
434
438
  export declare namespace MicrosoftSQLServerSettings {
435
439
 
@@ -622,6 +626,8 @@ export interface OracleSettings {
622
626
  SecretsManagerOracleAsmAccessRoleArn?: string;
623
627
 
624
628
  SecretsManagerOracleAsmSecretId?: string;
629
+
630
+ TrimSpaceInChar?: boolean;
625
631
  }
626
632
  export declare namespace OracleSettings {
627
633
 
@@ -670,6 +676,8 @@ export interface PostgreSQLSettings {
670
676
  SecretsManagerAccessRoleArn?: string;
671
677
 
672
678
  SecretsManagerSecretId?: string;
679
+
680
+ TrimSpaceInChar?: boolean;
673
681
  }
674
682
  export declare namespace PostgreSQLSettings {
675
683
 
@@ -894,6 +902,10 @@ export interface S3Settings {
894
902
  Rfc4180?: boolean;
895
903
 
896
904
  DatePartitionTimezone?: string;
905
+
906
+ AddTrailingPaddingCharacter?: boolean;
907
+
908
+ ExpectedBucketOwner?: string;
897
909
  }
898
910
  export declare namespace S3Settings {
899
911
 
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.121.0",
4
+ "version": "3.122.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",