@aws-sdk/client-dynamodb 3.927.0 → 3.928.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 +5 -6
  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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_0Protocol({
31
+ defaultNamespace: "com.amazonaws.dynamodb",
32
+ serviceTarget: "DynamoDB_20120810",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "DynamoDB",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -6,6 +6,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
6
6
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
7
7
  import { resolveRegionConfig } from "@smithy/config-resolver";
8
8
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
9
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
9
10
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
10
11
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
11
12
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -35,6 +36,7 @@ export class DynamoDBClient extends __Client {
35
36
  });
36
37
  const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
37
38
  this.config = _config_10;
39
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
38
40
  this.middlewareStack.use(getUserAgentPlugin(this.config));
39
41
  this.middlewareStack.use(getRetryPlugin(this.config));
40
42
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
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_BatchExecuteStatementCommand, se_BatchExecuteStatementCommand } from "../protocols/Aws_json1_0";
4
+ import { BatchExecuteStatement } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchExecuteStatementCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("DynamoDB_20120810", "BatchExecuteStatement", {})
17
13
  .n("DynamoDBClient", "BatchExecuteStatementCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchExecuteStatementCommand)
20
- .de(de_BatchExecuteStatementCommand)
14
+ .sc(BatchExecuteStatement)
21
15
  .build() {
22
16
  }
@@ -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_BatchGetItemCommand, se_BatchGetItemCommand } from "../protocols/Aws_json1_0";
4
+ import { BatchGetItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetItemCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class BatchGetItemCommand extends $Command
11
10
  ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
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", "BatchGetItem", {})
20
16
  .n("DynamoDBClient", "BatchGetItemCommand")
21
- .f(void 0, void 0)
22
- .ser(se_BatchGetItemCommand)
23
- .de(de_BatchGetItemCommand)
17
+ .sc(BatchGetItem)
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_BatchWriteItemCommand, se_BatchWriteItemCommand } from "../protocols/Aws_json1_0";
4
+ import { BatchWriteItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchWriteItemCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class BatchWriteItemCommand extends $Command
11
10
  ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
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", "BatchWriteItem", {})
20
16
  .n("DynamoDBClient", "BatchWriteItemCommand")
21
- .f(void 0, void 0)
22
- .ser(se_BatchWriteItemCommand)
23
- .de(de_BatchWriteItemCommand)
17
+ .sc(BatchWriteItem)
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_CreateBackupCommand, se_CreateBackupCommand } from "../protocols/Aws_json1_0";
4
+ import { CreateBackup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBackupCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class CreateBackupCommand 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", "CreateBackup", {})
20
16
  .n("DynamoDBClient", "CreateBackupCommand")
21
- .f(void 0, void 0)
22
- .ser(se_CreateBackupCommand)
23
- .de(de_CreateBackupCommand)
17
+ .sc(CreateBackup)
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_CreateGlobalTableCommand, se_CreateGlobalTableCommand } from "../protocols/Aws_json1_0";
4
+ import { CreateGlobalTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGlobalTableCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class CreateGlobalTableCommand 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", "CreateGlobalTable", {})
20
16
  .n("DynamoDBClient", "CreateGlobalTableCommand")
21
- .f(void 0, void 0)
22
- .ser(se_CreateGlobalTableCommand)
23
- .de(de_CreateGlobalTableCommand)
17
+ .sc(CreateGlobalTable)
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_CreateTableCommand, se_CreateTableCommand } from "../protocols/Aws_json1_0";
4
+ import { CreateTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTableCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class CreateTableCommand 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", "CreateTable", {})
20
16
  .n("DynamoDBClient", "CreateTableCommand")
21
- .f(void 0, void 0)
22
- .ser(se_CreateTableCommand)
23
- .de(de_CreateTableCommand)
17
+ .sc(CreateTable)
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_DeleteBackupCommand, se_DeleteBackupCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteBackup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBackupCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DeleteBackupCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "BackupArn" },
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", "DeleteBackup", {})
20
16
  .n("DynamoDBClient", "DeleteBackupCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DeleteBackupCommand)
23
- .de(de_DeleteBackupCommand)
17
+ .sc(DeleteBackup)
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_DeleteItemCommand, se_DeleteItemCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteItemCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DeleteItemCommand 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", "DeleteItem", {})
20
16
  .n("DynamoDBClient", "DeleteItemCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DeleteItemCommand)
23
- .de(de_DeleteItemCommand)
17
+ .sc(DeleteItem)
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_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcePolicyCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DeleteResourcePolicyCommand 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", "DeleteResourcePolicy", {})
20
16
  .n("DynamoDBClient", "DeleteResourcePolicyCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DeleteResourcePolicyCommand)
23
- .de(de_DeleteResourcePolicyCommand)
17
+ .sc(DeleteResourcePolicy)
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_DeleteTableCommand, se_DeleteTableCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTableCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DeleteTableCommand 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", "DeleteTable", {})
20
16
  .n("DynamoDBClient", "DeleteTableCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DeleteTableCommand)
23
- .de(de_DeleteTableCommand)
17
+ .sc(DeleteTable)
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_DescribeBackupCommand, se_DescribeBackupCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeBackup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeBackupCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeBackupCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "BackupArn" },
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", "DescribeBackup", {})
20
16
  .n("DynamoDBClient", "DescribeBackupCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeBackupCommand)
23
- .de(de_DescribeBackupCommand)
17
+ .sc(DescribeBackup)
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_DescribeContinuousBackupsCommand, se_DescribeContinuousBackupsCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeContinuousBackups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeContinuousBackupsCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeContinuousBackupsCommand 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", "DescribeContinuousBackups", {})
20
16
  .n("DynamoDBClient", "DescribeContinuousBackupsCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeContinuousBackupsCommand)
23
- .de(de_DescribeContinuousBackupsCommand)
17
+ .sc(DescribeContinuousBackups)
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_DescribeContributorInsightsCommand, se_DescribeContributorInsightsCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeContributorInsights } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeContributorInsightsCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeContributorInsightsCommand 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", "DescribeContributorInsights", {})
20
16
  .n("DynamoDBClient", "DescribeContributorInsightsCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeContributorInsightsCommand)
23
- .de(de_DescribeContributorInsightsCommand)
17
+ .sc(DescribeContributorInsights)
24
18
  .build() {
25
19
  }
@@ -1,22 +1,16 @@
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_DescribeEndpointsCommand, se_DescribeEndpointsCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeEndpoints } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEndpointsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("DynamoDB_20120810", "DescribeEndpoints", {})
17
13
  .n("DynamoDBClient", "DescribeEndpointsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEndpointsCommand)
20
- .de(de_DescribeEndpointsCommand)
14
+ .sc(DescribeEndpoints)
21
15
  .build() {
22
16
  }
@@ -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_DescribeExportCommand, se_DescribeExportCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeExport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeExportCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeExportCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "ExportArn" },
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", "DescribeExport", {})
20
16
  .n("DynamoDBClient", "DescribeExportCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeExportCommand)
23
- .de(de_DescribeExportCommand)
17
+ .sc(DescribeExport)
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_DescribeGlobalTableCommand, se_DescribeGlobalTableCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeGlobalTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeGlobalTableCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeGlobalTableCommand 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", "DescribeGlobalTable", {})
20
16
  .n("DynamoDBClient", "DescribeGlobalTableCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeGlobalTableCommand)
23
- .de(de_DescribeGlobalTableCommand)
17
+ .sc(DescribeGlobalTable)
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_DescribeGlobalTableSettingsCommand, se_DescribeGlobalTableSettingsCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeGlobalTableSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeGlobalTableSettingsCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeGlobalTableSettingsCommand 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", "DescribeGlobalTableSettings", {})
20
16
  .n("DynamoDBClient", "DescribeGlobalTableSettingsCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeGlobalTableSettingsCommand)
23
- .de(de_DescribeGlobalTableSettingsCommand)
17
+ .sc(DescribeGlobalTableSettings)
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_DescribeImportCommand, se_DescribeImportCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeImport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeImportCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeImportCommand extends $Command
11
10
  ResourceArn: { type: "contextParams", name: "ImportArn" },
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", "DescribeImport", {})
20
16
  .n("DynamoDBClient", "DescribeImportCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeImportCommand)
23
- .de(de_DescribeImportCommand)
17
+ .sc(DescribeImport)
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_DescribeKinesisStreamingDestinationCommand, se_DescribeKinesisStreamingDestinationCommand, } from "../protocols/Aws_json1_0";
4
+ import { DescribeKinesisStreamingDestination } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeKinesisStreamingDestinationCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeKinesisStreamingDestinationCommand 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", "DescribeKinesisStreamingDestination", {})
20
16
  .n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeKinesisStreamingDestinationCommand)
23
- .de(de_DescribeKinesisStreamingDestinationCommand)
17
+ .sc(DescribeKinesisStreamingDestination)
24
18
  .build() {
25
19
  }
@@ -1,22 +1,16 @@
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_DescribeLimitsCommand, se_DescribeLimitsCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeLimits } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeLimitsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("DynamoDB_20120810", "DescribeLimits", {})
17
13
  .n("DynamoDBClient", "DescribeLimitsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeLimitsCommand)
20
- .de(de_DescribeLimitsCommand)
14
+ .sc(DescribeLimits)
21
15
  .build() {
22
16
  }
@@ -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_DescribeTableCommand, se_DescribeTableCommand } from "../protocols/Aws_json1_0";
4
+ import { DescribeTable } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeTableCommand extends $Command
8
7
  .classBuilder()
@@ -11,15 +10,10 @@ export class DescribeTableCommand 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", "DescribeTable", {})
20
16
  .n("DynamoDBClient", "DescribeTableCommand")
21
- .f(void 0, void 0)
22
- .ser(se_DescribeTableCommand)
23
- .de(de_DescribeTableCommand)
17
+ .sc(DescribeTable)
24
18
  .build() {
25
19
  }