@aws-sdk/client-dynamodb 3.926.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.
- package/dist-cjs/index.js +3099 -3619
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/DynamoDBClient.js +2 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +3 -9
- package/dist-es/commands/BatchGetItemCommand.js +3 -9
- package/dist-es/commands/BatchWriteItemCommand.js +3 -9
- package/dist-es/commands/CreateBackupCommand.js +3 -9
- package/dist-es/commands/CreateGlobalTableCommand.js +3 -9
- package/dist-es/commands/CreateTableCommand.js +3 -9
- package/dist-es/commands/DeleteBackupCommand.js +3 -9
- package/dist-es/commands/DeleteItemCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteTableCommand.js +3 -9
- package/dist-es/commands/DescribeBackupCommand.js +3 -9
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +3 -9
- package/dist-es/commands/DescribeContributorInsightsCommand.js +3 -9
- package/dist-es/commands/DescribeEndpointsCommand.js +3 -9
- package/dist-es/commands/DescribeExportCommand.js +3 -9
- package/dist-es/commands/DescribeGlobalTableCommand.js +3 -9
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +3 -9
- package/dist-es/commands/DescribeImportCommand.js +3 -9
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +3 -9
- package/dist-es/commands/DescribeLimitsCommand.js +3 -9
- package/dist-es/commands/DescribeTableCommand.js +3 -9
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +3 -9
- package/dist-es/commands/DescribeTimeToLiveCommand.js +3 -9
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +3 -9
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +3 -9
- package/dist-es/commands/ExecuteStatementCommand.js +3 -9
- package/dist-es/commands/ExecuteTransactionCommand.js +3 -9
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +3 -9
- package/dist-es/commands/GetItemCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/ImportTableCommand.js +3 -9
- package/dist-es/commands/ListBackupsCommand.js +3 -9
- package/dist-es/commands/ListContributorInsightsCommand.js +3 -9
- package/dist-es/commands/ListExportsCommand.js +3 -9
- package/dist-es/commands/ListGlobalTablesCommand.js +3 -9
- package/dist-es/commands/ListImportsCommand.js +3 -9
- package/dist-es/commands/ListTablesCommand.js +3 -9
- package/dist-es/commands/ListTagsOfResourceCommand.js +3 -9
- package/dist-es/commands/PutItemCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/QueryCommand.js +3 -9
- package/dist-es/commands/RestoreTableFromBackupCommand.js +3 -9
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +3 -9
- package/dist-es/commands/ScanCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TransactGetItemsCommand.js +3 -9
- package/dist-es/commands/TransactWriteItemsCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +3 -9
- package/dist-es/commands/UpdateContributorInsightsCommand.js +3 -9
- package/dist-es/commands/UpdateGlobalTableCommand.js +3 -9
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +3 -9
- package/dist-es/commands/UpdateItemCommand.js +3 -9
- package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +3 -9
- package/dist-es/commands/UpdateTableCommand.js +3 -9
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +3 -9
- package/dist-es/commands/UpdateTimeToLiveCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2878 -0
- package/dist-types/DynamoDBClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +397 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +403 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_0.js +0 -3108
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -515
- 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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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 {
|
|
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
|
-
.
|
|
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,
|