@aws-sdk/client-dynamodb 3.751.0 → 3.767.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 (57) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +10 -1
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/index.js +432 -292
  4. package/dist-es/commands/BatchGetItemCommand.js +4 -1
  5. package/dist-es/commands/BatchWriteItemCommand.js +4 -1
  6. package/dist-es/commands/CreateBackupCommand.js +4 -1
  7. package/dist-es/commands/CreateGlobalTableCommand.js +4 -1
  8. package/dist-es/commands/CreateTableCommand.js +4 -1
  9. package/dist-es/commands/DeleteBackupCommand.js +4 -1
  10. package/dist-es/commands/DeleteItemCommand.js +4 -1
  11. package/dist-es/commands/DeleteResourcePolicyCommand.js +4 -1
  12. package/dist-es/commands/DeleteTableCommand.js +4 -1
  13. package/dist-es/commands/DescribeBackupCommand.js +4 -1
  14. package/dist-es/commands/DescribeContinuousBackupsCommand.js +4 -1
  15. package/dist-es/commands/DescribeContributorInsightsCommand.js +4 -1
  16. package/dist-es/commands/DescribeExportCommand.js +4 -1
  17. package/dist-es/commands/DescribeGlobalTableCommand.js +4 -1
  18. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +4 -1
  19. package/dist-es/commands/DescribeImportCommand.js +4 -1
  20. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +4 -1
  21. package/dist-es/commands/DescribeTableCommand.js +4 -1
  22. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +4 -1
  23. package/dist-es/commands/DescribeTimeToLiveCommand.js +4 -1
  24. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +4 -1
  25. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +4 -1
  26. package/dist-es/commands/ExportTableToPointInTimeCommand.js +4 -1
  27. package/dist-es/commands/GetItemCommand.js +4 -1
  28. package/dist-es/commands/GetResourcePolicyCommand.js +4 -1
  29. package/dist-es/commands/ImportTableCommand.js +4 -1
  30. package/dist-es/commands/ListBackupsCommand.js +4 -1
  31. package/dist-es/commands/ListContributorInsightsCommand.js +4 -1
  32. package/dist-es/commands/ListExportsCommand.js +4 -1
  33. package/dist-es/commands/ListImportsCommand.js +4 -1
  34. package/dist-es/commands/ListTagsOfResourceCommand.js +4 -1
  35. package/dist-es/commands/PutItemCommand.js +4 -1
  36. package/dist-es/commands/PutResourcePolicyCommand.js +4 -1
  37. package/dist-es/commands/QueryCommand.js +4 -1
  38. package/dist-es/commands/RestoreTableFromBackupCommand.js +4 -1
  39. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +4 -1
  40. package/dist-es/commands/ScanCommand.js +4 -1
  41. package/dist-es/commands/TagResourceCommand.js +4 -1
  42. package/dist-es/commands/TransactGetItemsCommand.js +7 -1
  43. package/dist-es/commands/UntagResourceCommand.js +4 -1
  44. package/dist-es/commands/UpdateContinuousBackupsCommand.js +4 -1
  45. package/dist-es/commands/UpdateContributorInsightsCommand.js +4 -1
  46. package/dist-es/commands/UpdateGlobalTableCommand.js +4 -1
  47. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +4 -1
  48. package/dist-es/commands/UpdateItemCommand.js +4 -1
  49. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +4 -1
  50. package/dist-es/commands/UpdateTableCommand.js +4 -1
  51. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +4 -1
  52. package/dist-es/commands/UpdateTimeToLiveCommand.js +4 -1
  53. package/dist-es/endpoint/endpointResolver.js +10 -1
  54. package/dist-es/endpoint/ruleset.js +3 -3
  55. package/dist-types/endpoint/EndpointParameters.d.ts +2 -0
  56. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -0
  57. package/package.json +12 -12
@@ -6,7 +6,10 @@ import { de_BatchGetItemCommand, se_BatchGetItemCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class BatchGetItemCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_BatchWriteItemCommand, se_BatchWriteItemCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class BatchWriteItemCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_CreateBackupCommand, se_CreateBackupCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class CreateBackupCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_CreateGlobalTableCommand, se_CreateGlobalTableCommand } from "../pro
6
6
  export { $Command };
7
7
  export class CreateGlobalTableCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_CreateTableCommand, se_CreateTableCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class CreateTableCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DeleteBackupCommand, se_DeleteBackupCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DeleteBackupCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "BackupArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DeleteItemCommand, se_DeleteItemCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class DeleteItemCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "
6
6
  export { $Command };
7
7
  export class DeleteResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DeleteTableCommand, se_DeleteTableCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class DeleteTableCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeBackupCommand, se_DescribeBackupCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeBackupCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "BackupArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeContinuousBackupsCommand, se_DescribeContinuousBackupsComman
6
6
  export { $Command };
7
7
  export class DescribeContinuousBackupsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeContributorInsightsCommand, se_DescribeContributorInsightsCo
6
6
  export { $Command };
7
7
  export class DescribeContributorInsightsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeExportCommand, se_DescribeExportCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeExportCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "ExportArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeGlobalTableCommand, se_DescribeGlobalTableCommand } from "..
6
6
  export { $Command };
7
7
  export class DescribeGlobalTableCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeGlobalTableSettingsCommand, se_DescribeGlobalTableSettingsCo
6
6
  export { $Command };
7
7
  export class DescribeGlobalTableSettingsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeImportCommand, se_DescribeImportCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DescribeImportCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "ImportArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeKinesisStreamingDestinationCommand, se_DescribeKinesisStream
6
6
  export { $Command };
7
7
  export class DescribeKinesisStreamingDestinationCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeTableCommand, se_DescribeTableCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class DescribeTableCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeTableReplicaAutoScalingCommand, se_DescribeTableReplicaAutoS
6
6
  export { $Command };
7
7
  export class DescribeTableReplicaAutoScalingCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DescribeTimeToLiveCommand, se_DescribeTimeToLiveCommand } from "../p
6
6
  export { $Command };
7
7
  export class DescribeTimeToLiveCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_DisableKinesisStreamingDestinationCommand, se_DisableKinesisStreamin
6
6
  export { $Command };
7
7
  export class DisableKinesisStreamingDestinationCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_EnableKinesisStreamingDestinationCommand, se_EnableKinesisStreamingD
6
6
  export { $Command };
7
7
  export class EnableKinesisStreamingDestinationCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_ExportTableToPointInTimeCommand, se_ExportTableToPointInTimeCommand
6
6
  export { $Command };
7
7
  export class ExportTableToPointInTimeCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_GetItemCommand, se_GetItemCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class GetItemCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class GetResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_ImportTableCommand, se_ImportTableCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ImportTableCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_ListBackupsCommand, se_ListBackupsCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListBackupsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_ListContributorInsightsCommand, se_ListContributorInsightsCommand }
6
6
  export { $Command };
7
7
  export class ListContributorInsightsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_ListExportsCommand, se_ListExportsCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListExportsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_ListImportsCommand, se_ListImportsCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class ListImportsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_ListTagsOfResourceCommand, se_ListTagsOfResourceCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListTagsOfResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_PutItemCommand, se_PutItemCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class PutItemCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../pro
6
6
  export { $Command };
7
7
  export class PutResourcePolicyCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_QueryCommand, se_QueryCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class QueryCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_RestoreTableFromBackupCommand, se_RestoreTableFromBackupCommand } fr
6
6
  export { $Command };
7
7
  export class RestoreTableFromBackupCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TargetTableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_RestoreTableToPointInTimeCommand, se_RestoreTableToPointInTimeComman
6
6
  export { $Command };
7
7
  export class RestoreTableToPointInTimeCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TargetTableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_ScanCommand, se_ScanCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
7
  export class ScanCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,13 @@ import { de_TransactGetItemsCommand, se_TransactGetItemsCommand } from "../proto
6
6
  export { $Command };
7
7
  export class TransactGetItemsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArnList: {
12
+ type: "operationContextParams",
13
+ get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName),
14
+ },
15
+ })
10
16
  .m(function (Command, cs, config, o) {
11
17
  return [
12
18
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "ResourceArn" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateContinuousBackupsCommand, se_UpdateContinuousBackupsCommand }
6
6
  export { $Command };
7
7
  export class UpdateContinuousBackupsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateContributorInsightsCommand, se_UpdateContributorInsightsComman
6
6
  export { $Command };
7
7
  export class UpdateContributorInsightsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateGlobalTableCommand, se_UpdateGlobalTableCommand } from "../pro
6
6
  export { $Command };
7
7
  export class UpdateGlobalTableCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateGlobalTableSettingsCommand, se_UpdateGlobalTableSettingsComman
6
6
  export { $Command };
7
7
  export class UpdateGlobalTableSettingsCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "GlobalTableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateItemCommand, se_UpdateItemCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class UpdateItemCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateKinesisStreamingDestinationCommand, se_UpdateKinesisStreamingD
6
6
  export { $Command };
7
7
  export class UpdateKinesisStreamingDestinationCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateTableCommand, se_UpdateTableCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class UpdateTableCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateTableReplicaAutoScalingCommand, se_UpdateTableReplicaAutoScali
6
6
  export { $Command };
7
7
  export class UpdateTableReplicaAutoScalingCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,7 +6,10 @@ import { de_UpdateTimeToLiveCommand, se_UpdateTimeToLiveCommand } from "../proto
6
6
  export { $Command };
7
7
  export class UpdateTimeToLiveCommand extends $Command
8
8
  .classBuilder()
9
- .ep(commonParams)
9
+ .ep({
10
+ ...commonParams,
11
+ ResourceArn: { type: "contextParams", name: "TableName" },
12
+ })
10
13
  .m(function (Command, cs, config, o) {
11
14
  return [
12
15
  getSerdePlugin(config, this.serialize, this.deserialize),