@aws-sdk/client-dynamodb 3.927.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist-cjs/index.js +3099 -3619
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/DynamoDBClient.js +2 -0
  4. package/dist-es/commands/BatchExecuteStatementCommand.js +3 -9
  5. package/dist-es/commands/BatchGetItemCommand.js +3 -9
  6. package/dist-es/commands/BatchWriteItemCommand.js +3 -9
  7. package/dist-es/commands/CreateBackupCommand.js +3 -9
  8. package/dist-es/commands/CreateGlobalTableCommand.js +3 -9
  9. package/dist-es/commands/CreateTableCommand.js +3 -9
  10. package/dist-es/commands/DeleteBackupCommand.js +3 -9
  11. package/dist-es/commands/DeleteItemCommand.js +3 -9
  12. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  13. package/dist-es/commands/DeleteTableCommand.js +3 -9
  14. package/dist-es/commands/DescribeBackupCommand.js +3 -9
  15. package/dist-es/commands/DescribeContinuousBackupsCommand.js +3 -9
  16. package/dist-es/commands/DescribeContributorInsightsCommand.js +3 -9
  17. package/dist-es/commands/DescribeEndpointsCommand.js +3 -9
  18. package/dist-es/commands/DescribeExportCommand.js +3 -9
  19. package/dist-es/commands/DescribeGlobalTableCommand.js +3 -9
  20. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +3 -9
  21. package/dist-es/commands/DescribeImportCommand.js +3 -9
  22. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +3 -9
  23. package/dist-es/commands/DescribeLimitsCommand.js +3 -9
  24. package/dist-es/commands/DescribeTableCommand.js +3 -9
  25. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +3 -9
  26. package/dist-es/commands/DescribeTimeToLiveCommand.js +3 -9
  27. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +3 -9
  28. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +3 -9
  29. package/dist-es/commands/ExecuteStatementCommand.js +3 -9
  30. package/dist-es/commands/ExecuteTransactionCommand.js +3 -9
  31. package/dist-es/commands/ExportTableToPointInTimeCommand.js +3 -9
  32. package/dist-es/commands/GetItemCommand.js +3 -9
  33. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  34. package/dist-es/commands/ImportTableCommand.js +3 -9
  35. package/dist-es/commands/ListBackupsCommand.js +3 -9
  36. package/dist-es/commands/ListContributorInsightsCommand.js +3 -9
  37. package/dist-es/commands/ListExportsCommand.js +3 -9
  38. package/dist-es/commands/ListGlobalTablesCommand.js +3 -9
  39. package/dist-es/commands/ListImportsCommand.js +3 -9
  40. package/dist-es/commands/ListTablesCommand.js +3 -9
  41. package/dist-es/commands/ListTagsOfResourceCommand.js +3 -9
  42. package/dist-es/commands/PutItemCommand.js +3 -9
  43. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  44. package/dist-es/commands/QueryCommand.js +3 -9
  45. package/dist-es/commands/RestoreTableFromBackupCommand.js +3 -9
  46. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +3 -9
  47. package/dist-es/commands/ScanCommand.js +3 -9
  48. package/dist-es/commands/TagResourceCommand.js +3 -9
  49. package/dist-es/commands/TransactGetItemsCommand.js +3 -9
  50. package/dist-es/commands/TransactWriteItemsCommand.js +3 -9
  51. package/dist-es/commands/UntagResourceCommand.js +3 -9
  52. package/dist-es/commands/UpdateContinuousBackupsCommand.js +3 -9
  53. package/dist-es/commands/UpdateContributorInsightsCommand.js +3 -9
  54. package/dist-es/commands/UpdateGlobalTableCommand.js +3 -9
  55. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +3 -9
  56. package/dist-es/commands/UpdateItemCommand.js +3 -9
  57. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +3 -9
  58. package/dist-es/commands/UpdateTableCommand.js +3 -9
  59. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +3 -9
  60. package/dist-es/commands/UpdateTimeToLiveCommand.js +3 -9
  61. package/dist-es/runtimeConfig.shared.js +7 -0
  62. package/dist-es/schemas/schemas_0.js +2878 -0
  63. package/dist-types/DynamoDBClient.d.ts +10 -1
  64. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  65. package/dist-types/runtimeConfig.d.ts +1 -0
  66. package/dist-types/runtimeConfig.native.d.ts +1 -0
  67. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  68. package/dist-types/schemas/schemas_0.d.ts +397 -0
  69. package/dist-types/ts3.4/DynamoDBClient.d.ts +4 -0
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  74. package/dist-types/ts3.4/schemas/schemas_0.d.ts +403 -0
  75. package/package.json +8 -7
  76. package/dist-es/protocols/Aws_json1_0.js +0 -3108
  77. package/dist-types/protocols/Aws_json1_0.d.ts +0 -515
  78. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -686
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ScanCommand, se_ScanCommand } from "../protocols/Aws_json1_0";
4
+ import { Scan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ScanCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class ScanCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "TableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "Scan", {})
20
16
  .n("DynamoDBClient", "ScanCommand")
21
- .f(void 0, void 0)
22
- .ser(se_ScanCommand)
23
- .de(de_ScanCommand)
17
+ .sc(Scan)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class TagResourceCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "ResourceArn" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "TagResource", {})
20
16
  .n("DynamoDBClient", "TagResourceCommand")
21
- .f(void 0, void 0)
22
- .ser(se_TagResourceCommand)
23
- .de(de_TagResourceCommand)
17
+ .sc(TagResource)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TransactGetItemsCommand, se_TransactGetItemsCommand } from "../protocols/Aws_json1_0";
4
+ import { TransactGetItems } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TransactGetItemsCommand extends $Command
8
7
  .classBuilder()
@@ -14,15 +13,10 @@ export class TransactGetItemsCommand extends $Command
14
13
  },
15
14
  })
16
15
  .m(function (Command, cs, config, o) {
17
- return [
18
- getSerdePlugin(config, this.serialize, this.deserialize),
19
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
- ];
16
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
21
17
  })
22
18
  .s("DynamoDB_20120810", "TransactGetItems", {})
23
19
  .n("DynamoDBClient", "TransactGetItemsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_TransactGetItemsCommand)
26
- .de(de_TransactGetItemsCommand)
20
+ .sc(TransactGetItems)
27
21
  .build() {
28
22
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TransactWriteItemsCommand, se_TransactWriteItemsCommand } from "../protocols/Aws_json1_0";
4
+ import { TransactWriteItems } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TransactWriteItemsCommand extends $Command
8
7
  .classBuilder()
@@ -14,15 +13,10 @@ export class TransactWriteItemsCommand extends $Command
14
13
  },
15
14
  })
16
15
  .m(function (Command, cs, config, o) {
17
- return [
18
- getSerdePlugin(config, this.serialize, this.deserialize),
19
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
- ];
16
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
21
17
  })
22
18
  .s("DynamoDB_20120810", "TransactWriteItems", {})
23
19
  .n("DynamoDBClient", "TransactWriteItemsCommand")
24
- .f(void 0, void 0)
25
- .ser(se_TransactWriteItemsCommand)
26
- .de(de_TransactWriteItemsCommand)
20
+ .sc(TransactWriteItems)
27
21
  .build() {
28
22
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UntagResourceCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "ResourceArn" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UntagResource", {})
20
16
  .n("DynamoDBClient", "UntagResourceCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UntagResourceCommand)
23
- .de(de_UntagResourceCommand)
17
+ .sc(UntagResource)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateContinuousBackupsCommand, se_UpdateContinuousBackupsCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateContinuousBackups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateContinuousBackupsCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateContinuousBackupsCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "TableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateContinuousBackups", {})
20
16
  .n("DynamoDBClient", "UpdateContinuousBackupsCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateContinuousBackupsCommand)
23
- .de(de_UpdateContinuousBackupsCommand)
17
+ .sc(UpdateContinuousBackups)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateContributorInsightsCommand, se_UpdateContributorInsightsCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateContributorInsights } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateContributorInsightsCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateContributorInsightsCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "TableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateContributorInsights", {})
20
16
  .n("DynamoDBClient", "UpdateContributorInsightsCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateContributorInsightsCommand)
23
- .de(de_UpdateContributorInsightsCommand)
17
+ .sc(UpdateContributorInsights)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateGlobalTableCommand, se_UpdateGlobalTableCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateGlobalTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGlobalTableCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateGlobalTableCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "GlobalTableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateGlobalTable", {})
20
16
  .n("DynamoDBClient", "UpdateGlobalTableCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateGlobalTableCommand)
23
- .de(de_UpdateGlobalTableCommand)
17
+ .sc(UpdateGlobalTable)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateGlobalTableSettingsCommand, se_UpdateGlobalTableSettingsCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateGlobalTableSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGlobalTableSettingsCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateGlobalTableSettingsCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "GlobalTableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateGlobalTableSettings", {})
20
16
  .n("DynamoDBClient", "UpdateGlobalTableSettingsCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateGlobalTableSettingsCommand)
23
- .de(de_UpdateGlobalTableSettingsCommand)
17
+ .sc(UpdateGlobalTableSettings)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateItemCommand, se_UpdateItemCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateItemCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateItemCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "TableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateItem", {})
20
16
  .n("DynamoDBClient", "UpdateItemCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateItemCommand)
23
- .de(de_UpdateItemCommand)
17
+ .sc(UpdateItem)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateKinesisStreamingDestinationCommand, se_UpdateKinesisStreamingDestinationCommand, } from "../protocols/Aws_json1_0";
4
+ import { UpdateKinesisStreamingDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateKinesisStreamingDestinationCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateKinesisStreamingDestinationCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "TableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {})
20
16
  .n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateKinesisStreamingDestinationCommand)
23
- .de(de_UpdateKinesisStreamingDestinationCommand)
17
+ .sc(UpdateKinesisStreamingDestination)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateTableCommand, se_UpdateTableCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateTableCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateTableCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "TableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateTable", {})
20
16
  .n("DynamoDBClient", "UpdateTableCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateTableCommand)
23
- .de(de_UpdateTableCommand)
17
+ .sc(UpdateTable)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateTableReplicaAutoScalingCommand, se_UpdateTableReplicaAutoScalingCommand, } from "../protocols/Aws_json1_0";
4
+ import { UpdateTableReplicaAutoScaling } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateTableReplicaAutoScalingCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateTableReplicaAutoScalingCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "TableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {})
20
16
  .n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateTableReplicaAutoScalingCommand)
23
- .de(de_UpdateTableReplicaAutoScalingCommand)
17
+ .sc(UpdateTableReplicaAutoScaling)
24
18
  .build() {
25
19
  }
@@ -1,8 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateTimeToLiveCommand, se_UpdateTimeToLiveCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateTimeToLive } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateTimeToLiveCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class UpdateTimeToLiveCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "TableName" },
12
11
  })
13
12
  .m(function (Command, cs, config, o) {
14
- return [
15
- getSerdePlugin(config, this.serialize, this.deserialize),
16
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
- ];
13
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
18
14
  })
19
15
  .s("DynamoDB_20120810", "UpdateTimeToLive", {})
20
16
  .n("DynamoDBClient", "UpdateTimeToLiveCommand")
21
- .f(void 0, void 0)
22
- .ser(se_UpdateTimeToLiveCommand)
23
- .de(de_UpdateTimeToLiveCommand)
17
+ .sc(UpdateTimeToLive)
24
18
  .build() {
25
19
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_0Protocol({
28
+ defaultNamespace: "com.amazonaws.dynamodb",
29
+ serviceTarget: "DynamoDB_20120810",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "DynamoDB",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,