@aws-sdk/client-dynamodb 3.284.0 → 3.288.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/pagination/ListContributorInsightsPaginator.js +1 -8
- package/dist-cjs/pagination/ListExportsPaginator.js +1 -8
- package/dist-cjs/pagination/ListImportsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTablesPaginator.js +1 -8
- package/dist-cjs/pagination/QueryPaginator.js +1 -8
- package/dist-cjs/pagination/ScanPaginator.js +1 -8
- package/dist-cjs/protocols/Aws_json1_0.js +3 -0
- package/dist-es/pagination/ListContributorInsightsPaginator.js +1 -8
- package/dist-es/pagination/ListExportsPaginator.js +1 -8
- package/dist-es/pagination/ListImportsPaginator.js +1 -8
- package/dist-es/pagination/ListTablesPaginator.js +1 -8
- package/dist-es/pagination/QueryPaginator.js +1 -8
- package/dist-es/pagination/ScanPaginator.js +1 -8
- package/dist-es/protocols/Aws_json1_0.js +3 -0
- package/dist-types/models/models_0.d.ts +12 -0
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +10 -10
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContributorInsights = void 0;
|
|
4
4
|
const ListContributorInsightsCommand_1 = require("../commands/ListContributorInsightsCommand");
|
|
5
|
-
const DynamoDB_1 = require("../DynamoDB");
|
|
6
5
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListContributorInsightsCommand_1.ListContributorInsightsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listContributorInsights(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListContributorInsights(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListContributorInsights(config, input, ...additionalArgu
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
16
|
+
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListExports = void 0;
|
|
4
4
|
const ListExportsCommand_1 = require("../commands/ListExportsCommand");
|
|
5
|
-
const DynamoDB_1 = require("../DynamoDB");
|
|
6
5
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListExportsCommand_1.ListExportsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listExports(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListExports(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListExports(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
16
|
+
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImports = void 0;
|
|
4
4
|
const ListImportsCommand_1 = require("../commands/ListImportsCommand");
|
|
5
|
-
const DynamoDB_1 = require("../DynamoDB");
|
|
6
5
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListImportsCommand_1.ListImportsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listImports(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListImports(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListImports(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["PageSize"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
16
|
+
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTables = void 0;
|
|
4
4
|
const ListTablesCommand_1 = require("../commands/ListTablesCommand");
|
|
5
|
-
const DynamoDB_1 = require("../DynamoDB");
|
|
6
5
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListTablesCommand_1.ListTablesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listTables(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListTables(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListTables(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.ExclusiveStartTableName = token;
|
|
19
15
|
input["Limit"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
16
|
+
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateQuery = void 0;
|
|
4
4
|
const QueryCommand_1 = require("../commands/QueryCommand");
|
|
5
|
-
const DynamoDB_1 = require("../DynamoDB");
|
|
6
5
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new QueryCommand_1.QueryCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.query(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateQuery(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateQuery(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.ExclusiveStartKey = token;
|
|
19
15
|
input["Limit"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
16
|
+
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateScan = void 0;
|
|
4
4
|
const ScanCommand_1 = require("../commands/ScanCommand");
|
|
5
|
-
const DynamoDB_1 = require("../DynamoDB");
|
|
6
5
|
const DynamoDBClient_1 = require("../DynamoDBClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ScanCommand_1.ScanCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.scan(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateScan(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateScan(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.ExclusiveStartKey = token;
|
|
19
15
|
input["Limit"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
16
|
+
if (config.client instanceof DynamoDBClient_1.DynamoDBClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -3362,6 +3362,7 @@ const serializeAws_json1_0CreateTableInput = (input, context) => {
|
|
|
3362
3362
|
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
3363
3363
|
}),
|
|
3364
3364
|
...(input.BillingMode != null && { BillingMode: input.BillingMode }),
|
|
3365
|
+
...(input.DeletionProtectionEnabled != null && { DeletionProtectionEnabled: input.DeletionProtectionEnabled }),
|
|
3365
3366
|
...(input.GlobalSecondaryIndexes != null && {
|
|
3366
3367
|
GlobalSecondaryIndexes: serializeAws_json1_0GlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
|
|
3367
3368
|
}),
|
|
@@ -4457,6 +4458,7 @@ const serializeAws_json1_0UpdateTableInput = (input, context) => {
|
|
|
4457
4458
|
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
4458
4459
|
}),
|
|
4459
4460
|
...(input.BillingMode != null && { BillingMode: input.BillingMode }),
|
|
4461
|
+
...(input.DeletionProtectionEnabled != null && { DeletionProtectionEnabled: input.DeletionProtectionEnabled }),
|
|
4460
4462
|
...(input.GlobalSecondaryIndexUpdates != null && {
|
|
4461
4463
|
GlobalSecondaryIndexUpdates: serializeAws_json1_0GlobalSecondaryIndexUpdateList(input.GlobalSecondaryIndexUpdates, context),
|
|
4462
4464
|
}),
|
|
@@ -6158,6 +6160,7 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
|
6158
6160
|
CreationDateTime: output.CreationDateTime != null
|
|
6159
6161
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDateTime)))
|
|
6160
6162
|
: undefined,
|
|
6163
|
+
DeletionProtectionEnabled: (0, smithy_client_1.expectBoolean)(output.DeletionProtectionEnabled),
|
|
6161
6164
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
|
|
6162
6165
|
? deserializeAws_json1_0GlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
6163
6166
|
: undefined,
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListContributorInsightsCommand, } from "../commands/ListContributorInsightsCommand";
|
|
2
|
-
import { DynamoDB } from "../DynamoDB";
|
|
3
2
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListContributorInsightsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listContributorInsights(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListContributorInsights(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListContributorInsights(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof DynamoDBClient) {
|
|
13
|
+
if (config.client instanceof DynamoDBClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListExportsCommand } from "../commands/ListExportsCommand";
|
|
2
|
-
import { DynamoDB } from "../DynamoDB";
|
|
3
2
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListExportsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listExports(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListExports(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListExports(config, input, ...additionalArguments
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof DynamoDBClient) {
|
|
13
|
+
if (config.client instanceof DynamoDBClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListImportsCommand } from "../commands/ListImportsCommand";
|
|
2
|
-
import { DynamoDB } from "../DynamoDB";
|
|
3
2
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListImportsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listImports(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListImports(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListImports(config, input, ...additionalArguments
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["PageSize"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof DynamoDBClient) {
|
|
13
|
+
if (config.client instanceof DynamoDBClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListTablesCommand } from "../commands/ListTablesCommand";
|
|
2
|
-
import { DynamoDB } from "../DynamoDB";
|
|
3
2
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListTablesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listTables(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListTables(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListTables(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.ExclusiveStartTableName = token;
|
|
16
12
|
input["Limit"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof DynamoDBClient) {
|
|
13
|
+
if (config.client instanceof DynamoDBClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { QueryCommand } from "../commands/QueryCommand";
|
|
2
|
-
import { DynamoDB } from "../DynamoDB";
|
|
3
2
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new QueryCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.query(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateQuery(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateQuery(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.ExclusiveStartKey = token;
|
|
16
12
|
input["Limit"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof DynamoDBClient) {
|
|
13
|
+
if (config.client instanceof DynamoDBClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ScanCommand } from "../commands/ScanCommand";
|
|
2
|
-
import { DynamoDB } from "../DynamoDB";
|
|
3
2
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ScanCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.scan(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateScan(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateScan(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.ExclusiveStartKey = token;
|
|
16
12
|
input["Limit"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof DynamoDBClient) {
|
|
13
|
+
if (config.client instanceof DynamoDBClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -3251,6 +3251,7 @@ const serializeAws_json1_0CreateTableInput = (input, context) => {
|
|
|
3251
3251
|
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
3252
3252
|
}),
|
|
3253
3253
|
...(input.BillingMode != null && { BillingMode: input.BillingMode }),
|
|
3254
|
+
...(input.DeletionProtectionEnabled != null && { DeletionProtectionEnabled: input.DeletionProtectionEnabled }),
|
|
3254
3255
|
...(input.GlobalSecondaryIndexes != null && {
|
|
3255
3256
|
GlobalSecondaryIndexes: serializeAws_json1_0GlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
|
|
3256
3257
|
}),
|
|
@@ -4346,6 +4347,7 @@ const serializeAws_json1_0UpdateTableInput = (input, context) => {
|
|
|
4346
4347
|
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
4347
4348
|
}),
|
|
4348
4349
|
...(input.BillingMode != null && { BillingMode: input.BillingMode }),
|
|
4350
|
+
...(input.DeletionProtectionEnabled != null && { DeletionProtectionEnabled: input.DeletionProtectionEnabled }),
|
|
4349
4351
|
...(input.GlobalSecondaryIndexUpdates != null && {
|
|
4350
4352
|
GlobalSecondaryIndexUpdates: serializeAws_json1_0GlobalSecondaryIndexUpdateList(input.GlobalSecondaryIndexUpdates, context),
|
|
4351
4353
|
}),
|
|
@@ -6047,6 +6049,7 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
|
6047
6049
|
CreationDateTime: output.CreationDateTime != null
|
|
6048
6050
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDateTime)))
|
|
6049
6051
|
: undefined,
|
|
6052
|
+
DeletionProtectionEnabled: __expectBoolean(output.DeletionProtectionEnabled),
|
|
6050
6053
|
GlobalSecondaryIndexes: output.GlobalSecondaryIndexes != null
|
|
6051
6054
|
? deserializeAws_json1_0GlobalSecondaryIndexDescriptionList(output.GlobalSecondaryIndexes, context)
|
|
6052
6055
|
: undefined,
|
|
@@ -1896,6 +1896,10 @@ export interface CreateTableInput {
|
|
|
1896
1896
|
* <code>STANDARD_INFREQUENT_ACCESS</code>.</p>
|
|
1897
1897
|
*/
|
|
1898
1898
|
TableClass?: TableClass | string;
|
|
1899
|
+
/**
|
|
1900
|
+
* <p>Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.</p>
|
|
1901
|
+
*/
|
|
1902
|
+
DeletionProtectionEnabled?: boolean;
|
|
1899
1903
|
}
|
|
1900
1904
|
export declare enum IndexStatus {
|
|
1901
1905
|
ACTIVE = "ACTIVE",
|
|
@@ -2502,6 +2506,10 @@ export interface TableDescription {
|
|
|
2502
2506
|
* <p>Contains details of the table class.</p>
|
|
2503
2507
|
*/
|
|
2504
2508
|
TableClassSummary?: TableClassSummary;
|
|
2509
|
+
/**
|
|
2510
|
+
* <p>Indicates whether deletion protection is enabled (true) or disabled (false) on the table.</p>
|
|
2511
|
+
*/
|
|
2512
|
+
DeletionProtectionEnabled?: boolean;
|
|
2505
2513
|
}
|
|
2506
2514
|
/**
|
|
2507
2515
|
* <p>Represents the output of a <code>CreateTable</code> operation.</p>
|
|
@@ -4705,6 +4713,10 @@ export interface UpdateTableInput {
|
|
|
4705
4713
|
* <code>STANDARD_INFREQUENT_ACCESS</code>.</p>
|
|
4706
4714
|
*/
|
|
4707
4715
|
TableClass?: TableClass | string;
|
|
4716
|
+
/**
|
|
4717
|
+
* <p>Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.</p>
|
|
4718
|
+
*/
|
|
4719
|
+
DeletionProtectionEnabled?: boolean;
|
|
4708
4720
|
}
|
|
4709
4721
|
/**
|
|
4710
4722
|
* <p>Represents the output of an <code>UpdateTable</code> operation.</p>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { DynamoDB } from "../DynamoDB";
|
|
3
2
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
3
|
export interface DynamoDBPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: DynamoDBClient;
|
|
6
5
|
}
|
|
@@ -519,6 +519,7 @@ export interface CreateTableInput {
|
|
|
519
519
|
SSESpecification?: SSESpecification;
|
|
520
520
|
Tags?: Tag[];
|
|
521
521
|
TableClass?: TableClass | string;
|
|
522
|
+
DeletionProtectionEnabled?: boolean;
|
|
522
523
|
}
|
|
523
524
|
export declare enum IndexStatus {
|
|
524
525
|
ACTIVE = "ACTIVE",
|
|
@@ -590,6 +591,7 @@ export interface TableDescription {
|
|
|
590
591
|
SSEDescription?: SSEDescription;
|
|
591
592
|
ArchivalSummary?: ArchivalSummary;
|
|
592
593
|
TableClassSummary?: TableClassSummary;
|
|
594
|
+
DeletionProtectionEnabled?: boolean;
|
|
593
595
|
}
|
|
594
596
|
export interface CreateTableOutput {
|
|
595
597
|
TableDescription?: TableDescription;
|
|
@@ -1234,6 +1236,7 @@ export interface UpdateTableInput {
|
|
|
1234
1236
|
SSESpecification?: SSESpecification;
|
|
1235
1237
|
ReplicaUpdates?: ReplicationGroupUpdate[];
|
|
1236
1238
|
TableClass?: TableClass | string;
|
|
1239
|
+
DeletionProtectionEnabled?: boolean;
|
|
1237
1240
|
}
|
|
1238
1241
|
export interface UpdateTableOutput {
|
|
1239
1242
|
TableDescription?: TableDescription;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { DynamoDB } from "../DynamoDB";
|
|
3
2
|
import { DynamoDBClient } from "../DynamoDBClient";
|
|
4
3
|
export interface DynamoDBPaginationConfiguration
|
|
5
4
|
extends PaginationConfiguration {
|
|
6
|
-
client:
|
|
5
|
+
client: DynamoDBClient;
|
|
7
6
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.288.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.288.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.288.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
30
|
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.287.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.288.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.282.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.282.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.282.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.272.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.272.0",
|
|
57
57
|
"tslib": "^2.3.1",
|