@aws-sdk/client-database-migration-service 3.42.0 → 3.43.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.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
18
 
8
19
 
@@ -5416,6 +5416,8 @@ const serializeAws_json1_1S3Settings = (input, context) => {
5416
5416
  input.DatePartitionEnabled !== null && { DatePartitionEnabled: input.DatePartitionEnabled }),
5417
5417
  ...(input.DatePartitionSequence !== undefined &&
5418
5418
  input.DatePartitionSequence !== null && { DatePartitionSequence: input.DatePartitionSequence }),
5419
+ ...(input.DatePartitionTimezone !== undefined &&
5420
+ input.DatePartitionTimezone !== null && { DatePartitionTimezone: input.DatePartitionTimezone }),
5419
5421
  ...(input.DictPageSizeLimit !== undefined &&
5420
5422
  input.DictPageSizeLimit !== null && { DictPageSizeLimit: input.DictPageSizeLimit }),
5421
5423
  ...(input.EnableStatistics !== undefined &&
@@ -6985,6 +6987,7 @@ const deserializeAws_json1_1S3Settings = (output, context) => {
6985
6987
  DatePartitionDelimiter: smithy_client_1.expectString(output.DatePartitionDelimiter),
6986
6988
  DatePartitionEnabled: smithy_client_1.expectBoolean(output.DatePartitionEnabled),
6987
6989
  DatePartitionSequence: smithy_client_1.expectString(output.DatePartitionSequence),
6990
+ DatePartitionTimezone: smithy_client_1.expectString(output.DatePartitionTimezone),
6988
6991
  DictPageSizeLimit: smithy_client_1.expectInt32(output.DictPageSizeLimit),
6989
6992
  EnableStatistics: smithy_client_1.expectBoolean(output.EnableStatistics),
6990
6993
  EncodingType: smithy_client_1.expectString(output.EncodingType),
@@ -5340,7 +5340,7 @@ var serializeAws_json1_1RemoveTagsFromResourceMessage = function (input, context
5340
5340
  input.TagKeys !== null && { TagKeys: serializeAws_json1_1KeyList(input.TagKeys, context) }));
5341
5341
  };
5342
5342
  var serializeAws_json1_1S3Settings = function (input, context) {
5343
- 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({}, (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 &&
5343
+ 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 &&
5344
5344
  input.CannedAclForObjects !== null && { CannedAclForObjects: input.CannedAclForObjects })), (input.CdcInsertsAndUpdates !== undefined &&
5345
5345
  input.CdcInsertsAndUpdates !== null && { CdcInsertsAndUpdates: input.CdcInsertsAndUpdates })), (input.CdcInsertsOnly !== undefined &&
5346
5346
  input.CdcInsertsOnly !== null && { CdcInsertsOnly: input.CdcInsertsOnly })), (input.CdcMaxBatchInterval !== undefined &&
@@ -5350,7 +5350,8 @@ var serializeAws_json1_1S3Settings = function (input, context) {
5350
5350
  input.CsvRowDelimiter !== null && { CsvRowDelimiter: input.CsvRowDelimiter })), (input.DataFormat !== undefined && input.DataFormat !== null && { DataFormat: input.DataFormat })), (input.DataPageSize !== undefined && input.DataPageSize !== null && { DataPageSize: input.DataPageSize })), (input.DatePartitionDelimiter !== undefined &&
5351
5351
  input.DatePartitionDelimiter !== null && { DatePartitionDelimiter: input.DatePartitionDelimiter })), (input.DatePartitionEnabled !== undefined &&
5352
5352
  input.DatePartitionEnabled !== null && { DatePartitionEnabled: input.DatePartitionEnabled })), (input.DatePartitionSequence !== undefined &&
5353
- input.DatePartitionSequence !== null && { DatePartitionSequence: input.DatePartitionSequence })), (input.DictPageSizeLimit !== undefined &&
5353
+ input.DatePartitionSequence !== null && { DatePartitionSequence: input.DatePartitionSequence })), (input.DatePartitionTimezone !== undefined &&
5354
+ input.DatePartitionTimezone !== null && { DatePartitionTimezone: input.DatePartitionTimezone })), (input.DictPageSizeLimit !== undefined &&
5354
5355
  input.DictPageSizeLimit !== null && { DictPageSizeLimit: input.DictPageSizeLimit })), (input.EnableStatistics !== undefined &&
5355
5356
  input.EnableStatistics !== null && { EnableStatistics: input.EnableStatistics })), (input.EncodingType !== undefined && input.EncodingType !== null && { EncodingType: input.EncodingType })), (input.EncryptionMode !== undefined &&
5356
5357
  input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.ExternalTableDefinition !== undefined &&
@@ -6863,6 +6864,7 @@ var deserializeAws_json1_1S3Settings = function (output, context) {
6863
6864
  DatePartitionDelimiter: __expectString(output.DatePartitionDelimiter),
6864
6865
  DatePartitionEnabled: __expectBoolean(output.DatePartitionEnabled),
6865
6866
  DatePartitionSequence: __expectString(output.DatePartitionSequence),
6867
+ DatePartitionTimezone: __expectString(output.DatePartitionTimezone),
6866
6868
  DictPageSizeLimit: __expectInt32(output.DictPageSizeLimit),
6867
6869
  EnableStatistics: __expectBoolean(output.EnableStatistics),
6868
6870
  EncodingType: __expectString(output.EncodingType),
@@ -349,9 +349,11 @@ export declare class DatabaseMigrationService extends DatabaseMigrationServiceCl
349
349
  describeReplicationSubnetGroups(args: DescribeReplicationSubnetGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReplicationSubnetGroupsCommandOutput) => void): void;
350
350
  /**
351
351
  * <p>Returns the task assessment results from the Amazon S3 bucket that DMS creates in your
352
- * Amazon Web Services account. This action always returns the latest results.</p>
353
- * <p>For more information about DMS task assessments, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html">Creating a task assessment
354
- * report</a> in the <i>Database Migration Service User Guide</i>.</p>
352
+ * Amazon Web Services account. This action always returns the
353
+ * latest results.</p>
354
+ * <p>For more information about DMS task assessments, see
355
+ * <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html">Creating a task assessment report</a>
356
+ * in the <i>Database Migration Service User Guide</i>.</p>
355
357
  */
356
358
  describeReplicationTaskAssessmentResults(args: DescribeReplicationTaskAssessmentResultsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReplicationTaskAssessmentResultsCommandOutput>;
357
359
  describeReplicationTaskAssessmentResults(args: DescribeReplicationTaskAssessmentResultsCommandInput, cb: (err: any, data?: DescribeReplicationTaskAssessmentResultsCommandOutput) => void): void;
@@ -518,6 +520,19 @@ export declare class DatabaseMigrationService extends DatabaseMigrationServiceCl
518
520
  /**
519
521
  * <p> Starts the replication task assessment for unsupported data types in the source
520
522
  * database. </p>
523
+ * <p>You can only use this operation for a task if the following conditions are true:</p>
524
+ * <ul>
525
+ * <li>
526
+ * <p>The task must be in the <code>stopped</code> state.</p>
527
+ * </li>
528
+ * <li>
529
+ * <p>The task must have successful connections to the source and target.</p>
530
+ * </li>
531
+ * </ul>
532
+ * <p>If either of these conditions are not met, an <code>InvalidResourceStateFault</code> error will result. </p>
533
+ * <p>For information about DMS task assessments, see
534
+ * <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html">Creating a task assessment report</a>
535
+ * in the <i>Database Migration Service User Guide</i>.</p>
521
536
  */
522
537
  startReplicationTaskAssessment(args: StartReplicationTaskAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<StartReplicationTaskAssessmentCommandOutput>;
523
538
  startReplicationTaskAssessment(args: StartReplicationTaskAssessmentCommandInput, cb: (err: any, data?: StartReplicationTaskAssessmentCommandOutput) => void): void;
@@ -8,9 +8,11 @@ export interface DescribeReplicationTaskAssessmentResultsCommandOutput extends D
8
8
  }
9
9
  /**
10
10
  * <p>Returns the task assessment results from the Amazon S3 bucket that DMS creates in your
11
- * Amazon Web Services account. This action always returns the latest results.</p>
12
- * <p>For more information about DMS task assessments, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html">Creating a task assessment
13
- * report</a> in the <i>Database Migration Service User Guide</i>.</p>
11
+ * Amazon Web Services account. This action always returns the
12
+ * latest results.</p>
13
+ * <p>For more information about DMS task assessments, see
14
+ * <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html">Creating a task assessment report</a>
15
+ * in the <i>Database Migration Service User Guide</i>.</p>
14
16
  * @example
15
17
  * Use a bare-bones client and the command you need to make an API call.
16
18
  * ```javascript
@@ -9,6 +9,19 @@ export interface StartReplicationTaskAssessmentCommandOutput extends StartReplic
9
9
  /**
10
10
  * <p> Starts the replication task assessment for unsupported data types in the source
11
11
  * database. </p>
12
+ * <p>You can only use this operation for a task if the following conditions are true:</p>
13
+ * <ul>
14
+ * <li>
15
+ * <p>The task must be in the <code>stopped</code> state.</p>
16
+ * </li>
17
+ * <li>
18
+ * <p>The task must have successful connections to the source and target.</p>
19
+ * </li>
20
+ * </ul>
21
+ * <p>If either of these conditions are not met, an <code>InvalidResourceStateFault</code> error will result. </p>
22
+ * <p>For information about DMS task assessments, see
23
+ * <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html">Creating a task assessment report</a>
24
+ * in the <i>Database Migration Service User Guide</i>.</p>
12
25
  * @example
13
26
  * Use a bare-bones client and the command you need to make an API call.
14
27
  * ```javascript
@@ -2713,6 +2713,20 @@ export interface S3Settings {
2713
2713
  * <code>y</code>, and <code>n</code>.</p>
2714
2714
  */
2715
2715
  Rfc4180?: boolean;
2716
+ /**
2717
+ * <p>When creating an S3 target endpoint, set <code>DatePartitionTimezone</code> to convert
2718
+ * the current UTC time into a specified time zone. The conversion occurs when a date
2719
+ * partition folder is created and a CDC filename is generated. The time zone format is Area/Location.
2720
+ * Use this parameter when <code>DatePartitionedEnabled</code> is set to <code>true</code>, as shown in the
2721
+ * following example.</p>
2722
+ * <p>
2723
+ * <code>s3-settings='{"DatePartitionEnabled": true, "DatePartitionSequence": "YYYYMMDDHH",
2724
+ * "DatePartitionDelimiter": "SLASH",
2725
+ * "DatePartitionTimezone":"<i>Asia/Seoul</i>", "BucketName":
2726
+ * "dms-nattarat-test"}'</code>
2727
+ * </p>
2728
+ */
2729
+ DatePartitionTimezone?: string;
2716
2730
  }
2717
2731
  export declare namespace S3Settings {
2718
2732
  /**
@@ -903,6 +903,8 @@ export interface S3Settings {
903
903
  MaxFileSize?: number;
904
904
 
905
905
  Rfc4180?: boolean;
906
+
907
+ DatePartitionTimezone?: string;
906
908
  }
907
909
  export declare namespace S3Settings {
908
910
 
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.42.0",
4
+ "version": "3.43.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.0",
24
+ "@aws-sdk/client-sts": "3.43.0",
25
25
  "@aws-sdk/config-resolver": "3.40.0",
26
26
  "@aws-sdk/credential-provider-node": "3.41.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",