@aws-sdk/client-database-migration-service 3.252.0 → 3.256.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.
@@ -3561,7 +3561,7 @@ const serializeAws_json1_1CreateReplicationSubnetGroupMessage = (input, context)
3561
3561
  const serializeAws_json1_1CreateReplicationTaskMessage = (input, context) => {
3562
3562
  return {
3563
3563
  ...(input.CdcStartPosition != null && { CdcStartPosition: input.CdcStartPosition }),
3564
- ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000).toString() }),
3564
+ ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000) }),
3565
3565
  ...(input.CdcStopPosition != null && { CdcStopPosition: input.CdcStopPosition }),
3566
3566
  ...(input.MigrationType != null && { MigrationType: input.MigrationType }),
3567
3567
  ...(input.ReplicationInstanceArn != null && { ReplicationInstanceArn: input.ReplicationInstanceArn }),
@@ -3688,7 +3688,7 @@ const serializeAws_json1_1DescribeEventCategoriesMessage = (input, context) => {
3688
3688
  const serializeAws_json1_1DescribeEventsMessage = (input, context) => {
3689
3689
  return {
3690
3690
  ...(input.Duration != null && { Duration: input.Duration }),
3691
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
3691
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
3692
3692
  ...(input.EventCategories != null && {
3693
3693
  EventCategories: serializeAws_json1_1EventCategoriesList(input.EventCategories, context),
3694
3694
  }),
@@ -3697,7 +3697,7 @@ const serializeAws_json1_1DescribeEventsMessage = (input, context) => {
3697
3697
  ...(input.MaxRecords != null && { MaxRecords: input.MaxRecords }),
3698
3698
  ...(input.SourceIdentifier != null && { SourceIdentifier: input.SourceIdentifier }),
3699
3699
  ...(input.SourceType != null && { SourceType: input.SourceType }),
3700
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
3700
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
3701
3701
  };
3702
3702
  };
3703
3703
  const serializeAws_json1_1DescribeEventSubscriptionsMessage = (input, context) => {
@@ -4153,7 +4153,7 @@ const serializeAws_json1_1ModifyReplicationSubnetGroupMessage = (input, context)
4153
4153
  const serializeAws_json1_1ModifyReplicationTaskMessage = (input, context) => {
4154
4154
  return {
4155
4155
  ...(input.CdcStartPosition != null && { CdcStartPosition: input.CdcStartPosition }),
4156
- ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000).toString() }),
4156
+ ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000) }),
4157
4157
  ...(input.CdcStopPosition != null && { CdcStopPosition: input.CdcStopPosition }),
4158
4158
  ...(input.MigrationType != null && { MigrationType: input.MigrationType }),
4159
4159
  ...(input.ReplicationTaskArn != null && { ReplicationTaskArn: input.ReplicationTaskArn }),
@@ -4465,7 +4465,7 @@ const serializeAws_json1_1StartReplicationTaskAssessmentRunMessage = (input, con
4465
4465
  const serializeAws_json1_1StartReplicationTaskMessage = (input, context) => {
4466
4466
  return {
4467
4467
  ...(input.CdcStartPosition != null && { CdcStartPosition: input.CdcStartPosition }),
4468
- ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000).toString() }),
4468
+ ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000) }),
4469
4469
  ...(input.CdcStopPosition != null && { CdcStopPosition: input.CdcStopPosition }),
4470
4470
  ...(input.ReplicationTaskArn != null && { ReplicationTaskArn: input.ReplicationTaskArn }),
4471
4471
  ...(input.StartReplicationTaskType != null && { StartReplicationTaskType: input.StartReplicationTaskType }),
@@ -3426,7 +3426,7 @@ const serializeAws_json1_1CreateReplicationSubnetGroupMessage = (input, context)
3426
3426
  const serializeAws_json1_1CreateReplicationTaskMessage = (input, context) => {
3427
3427
  return {
3428
3428
  ...(input.CdcStartPosition != null && { CdcStartPosition: input.CdcStartPosition }),
3429
- ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000).toString() }),
3429
+ ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000) }),
3430
3430
  ...(input.CdcStopPosition != null && { CdcStopPosition: input.CdcStopPosition }),
3431
3431
  ...(input.MigrationType != null && { MigrationType: input.MigrationType }),
3432
3432
  ...(input.ReplicationInstanceArn != null && { ReplicationInstanceArn: input.ReplicationInstanceArn }),
@@ -3553,7 +3553,7 @@ const serializeAws_json1_1DescribeEventCategoriesMessage = (input, context) => {
3553
3553
  const serializeAws_json1_1DescribeEventsMessage = (input, context) => {
3554
3554
  return {
3555
3555
  ...(input.Duration != null && { Duration: input.Duration }),
3556
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
3556
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
3557
3557
  ...(input.EventCategories != null && {
3558
3558
  EventCategories: serializeAws_json1_1EventCategoriesList(input.EventCategories, context),
3559
3559
  }),
@@ -3562,7 +3562,7 @@ const serializeAws_json1_1DescribeEventsMessage = (input, context) => {
3562
3562
  ...(input.MaxRecords != null && { MaxRecords: input.MaxRecords }),
3563
3563
  ...(input.SourceIdentifier != null && { SourceIdentifier: input.SourceIdentifier }),
3564
3564
  ...(input.SourceType != null && { SourceType: input.SourceType }),
3565
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
3565
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
3566
3566
  };
3567
3567
  };
3568
3568
  const serializeAws_json1_1DescribeEventSubscriptionsMessage = (input, context) => {
@@ -4018,7 +4018,7 @@ const serializeAws_json1_1ModifyReplicationSubnetGroupMessage = (input, context)
4018
4018
  const serializeAws_json1_1ModifyReplicationTaskMessage = (input, context) => {
4019
4019
  return {
4020
4020
  ...(input.CdcStartPosition != null && { CdcStartPosition: input.CdcStartPosition }),
4021
- ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000).toString() }),
4021
+ ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000) }),
4022
4022
  ...(input.CdcStopPosition != null && { CdcStopPosition: input.CdcStopPosition }),
4023
4023
  ...(input.MigrationType != null && { MigrationType: input.MigrationType }),
4024
4024
  ...(input.ReplicationTaskArn != null && { ReplicationTaskArn: input.ReplicationTaskArn }),
@@ -4330,7 +4330,7 @@ const serializeAws_json1_1StartReplicationTaskAssessmentRunMessage = (input, con
4330
4330
  const serializeAws_json1_1StartReplicationTaskMessage = (input, context) => {
4331
4331
  return {
4332
4332
  ...(input.CdcStartPosition != null && { CdcStartPosition: input.CdcStartPosition }),
4333
- ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000).toString() }),
4333
+ ...(input.CdcStartTime != null && { CdcStartTime: Math.round(input.CdcStartTime.getTime() / 1000) }),
4334
4334
  ...(input.CdcStopPosition != null && { CdcStopPosition: input.CdcStopPosition }),
4335
4335
  ...(input.ReplicationTaskArn != null && { ReplicationTaskArn: input.ReplicationTaskArn }),
4336
4336
  ...(input.StartReplicationTaskType != null && { StartReplicationTaskType: input.StartReplicationTaskType }),
@@ -5,8 +5,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
11
11
  import { ApplyPendingMaintenanceActionCommandInput, ApplyPendingMaintenanceActionCommandOutput } from "./commands/ApplyPendingMaintenanceActionCommand";
12
12
  import { CancelReplicationTaskAssessmentRunCommandInput, CancelReplicationTaskAssessmentRunCommandOutput } from "./commands/CancelReplicationTaskAssessmentRunCommand";
@@ -81,11 +81,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
81
81
  */
82
82
  requestHandler?: __HttpHandler;
83
83
  /**
84
- * A constructor for a class implementing the {@link __Hash} interface
84
+ * A constructor for a class implementing the {@link __Checksum} interface
85
85
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
86
86
  * @internal
87
87
  */
88
- sha256?: __HashConstructor;
88
+ sha256?: __ChecksumConstructor | __HashConstructor;
89
89
  /**
90
90
  * The function that will be used to convert strings into HTTP endpoints.
91
91
  * @internal
@@ -171,9 +171,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
171
171
  */
172
172
  defaultUserAgentProvider?: Provider<__UserAgent>;
173
173
  /**
174
- * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
174
+ * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
175
175
  */
176
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
176
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
177
177
  }
178
178
  declare type DatabaseMigrationServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
179
179
  /**
@@ -25,12 +25,13 @@ import {
25
25
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
26
  import {
27
27
  Client as __Client,
28
- DefaultsMode,
28
+ DefaultsMode as __DefaultsMode,
29
29
  SmithyConfiguration as __SmithyConfiguration,
30
30
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
31
31
  } from "@aws-sdk/smithy-client";
32
32
  import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
+ ChecksumConstructor as __ChecksumConstructor,
34
35
  Credentials as __Credentials,
35
36
  Decoder as __Decoder,
36
37
  Encoder as __Encoder,
@@ -443,7 +444,7 @@ export declare type ServiceOutputTypes =
443
444
  export interface ClientDefaults
444
445
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
445
446
  requestHandler?: __HttpHandler;
446
- sha256?: __HashConstructor;
447
+ sha256?: __ChecksumConstructor | __HashConstructor;
447
448
  urlParser?: __UrlParser;
448
449
  bodyLengthChecker?: __BodyLengthCalculator;
449
450
  streamCollector?: __StreamCollector;
@@ -462,7 +463,7 @@ export interface ClientDefaults
462
463
  region?: string | __Provider<string>;
463
464
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
464
465
  defaultUserAgentProvider?: Provider<__UserAgent>;
465
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
466
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
466
467
  }
467
468
  declare type DatabaseMigrationServiceClientConfigType = Partial<
468
469
  __SmithyConfiguration<__HttpHandlerOptions>
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.252.0",
4
+ "version": "3.256.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",
@@ -18,42 +18,42 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "2.0.0",
22
- "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.252.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.252.0",
26
- "@aws-sdk/fetch-http-handler": "3.226.0",
27
- "@aws-sdk/hash-node": "3.226.0",
28
- "@aws-sdk/invalid-dependency": "3.226.0",
29
- "@aws-sdk/middleware-content-length": "3.226.0",
30
- "@aws-sdk/middleware-endpoint": "3.226.0",
31
- "@aws-sdk/middleware-host-header": "3.226.0",
32
- "@aws-sdk/middleware-logger": "3.226.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.226.0",
34
- "@aws-sdk/middleware-retry": "3.235.0",
35
- "@aws-sdk/middleware-serde": "3.226.0",
36
- "@aws-sdk/middleware-signing": "3.226.0",
37
- "@aws-sdk/middleware-stack": "3.226.0",
38
- "@aws-sdk/middleware-user-agent": "3.226.0",
39
- "@aws-sdk/node-config-provider": "3.226.0",
40
- "@aws-sdk/node-http-handler": "3.226.0",
41
- "@aws-sdk/protocol-http": "3.226.0",
42
- "@aws-sdk/smithy-client": "3.234.0",
43
- "@aws-sdk/types": "3.226.0",
44
- "@aws-sdk/url-parser": "3.226.0",
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.256.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.256.0",
26
+ "@aws-sdk/fetch-http-handler": "3.254.0",
27
+ "@aws-sdk/hash-node": "3.254.0",
28
+ "@aws-sdk/invalid-dependency": "3.254.0",
29
+ "@aws-sdk/middleware-content-length": "3.254.0",
30
+ "@aws-sdk/middleware-endpoint": "3.254.0",
31
+ "@aws-sdk/middleware-host-header": "3.254.0",
32
+ "@aws-sdk/middleware-logger": "3.254.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.254.0",
34
+ "@aws-sdk/middleware-retry": "3.254.0",
35
+ "@aws-sdk/middleware-serde": "3.254.0",
36
+ "@aws-sdk/middleware-signing": "3.254.0",
37
+ "@aws-sdk/middleware-stack": "3.254.0",
38
+ "@aws-sdk/middleware-user-agent": "3.254.0",
39
+ "@aws-sdk/node-config-provider": "3.254.0",
40
+ "@aws-sdk/node-http-handler": "3.254.0",
41
+ "@aws-sdk/protocol-http": "3.254.0",
42
+ "@aws-sdk/smithy-client": "3.254.0",
43
+ "@aws-sdk/types": "3.254.0",
44
+ "@aws-sdk/url-parser": "3.254.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.245.0",
51
- "@aws-sdk/util-retry": "3.229.0",
52
- "@aws-sdk/util-user-agent-browser": "3.226.0",
53
- "@aws-sdk/util-user-agent-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.254.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.254.0",
50
+ "@aws-sdk/util-endpoints": "3.254.0",
51
+ "@aws-sdk/util-retry": "3.254.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.254.0",
53
+ "@aws-sdk/util-user-agent-node": "3.254.0",
54
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
55
55
  "@aws-sdk/util-utf8-node": "3.208.0",
56
- "@aws-sdk/util-waiter": "3.226.0",
56
+ "@aws-sdk/util-waiter": "3.254.0",
57
57
  "tslib": "^2.3.1"
58
58
  },
59
59
  "devDependencies": {