@aws-sdk/client-dynamodb 3.494.0 → 3.496.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/README.md +8 -0
- package/dist-cjs/DynamoDB.js +1 -117
- package/dist-cjs/DynamoDBClient.js +1 -61
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +1 -28
- package/dist-cjs/commands/BatchGetItemCommand.js +1 -28
- package/dist-cjs/commands/BatchWriteItemCommand.js +1 -28
- package/dist-cjs/commands/CreateBackupCommand.js +1 -28
- package/dist-cjs/commands/CreateGlobalTableCommand.js +1 -28
- package/dist-cjs/commands/CreateTableCommand.js +1 -28
- package/dist-cjs/commands/DeleteBackupCommand.js +1 -28
- package/dist-cjs/commands/DeleteItemCommand.js +1 -28
- package/dist-cjs/commands/DeleteTableCommand.js +1 -28
- package/dist-cjs/commands/DescribeBackupCommand.js +1 -28
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +1 -28
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js +1 -28
- package/dist-cjs/commands/DescribeEndpointsCommand.js +1 -28
- package/dist-cjs/commands/DescribeExportCommand.js +1 -28
- package/dist-cjs/commands/DescribeGlobalTableCommand.js +1 -28
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +1 -28
- package/dist-cjs/commands/DescribeImportCommand.js +1 -28
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +1 -28
- package/dist-cjs/commands/DescribeLimitsCommand.js +1 -28
- package/dist-cjs/commands/DescribeTableCommand.js +1 -28
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +1 -28
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js +1 -28
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +1 -28
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +1 -28
- package/dist-cjs/commands/ExecuteStatementCommand.js +1 -28
- package/dist-cjs/commands/ExecuteTransactionCommand.js +1 -28
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +1 -28
- package/dist-cjs/commands/GetItemCommand.js +1 -28
- package/dist-cjs/commands/ImportTableCommand.js +1 -28
- package/dist-cjs/commands/ListBackupsCommand.js +1 -28
- package/dist-cjs/commands/ListContributorInsightsCommand.js +1 -28
- package/dist-cjs/commands/ListExportsCommand.js +1 -28
- package/dist-cjs/commands/ListGlobalTablesCommand.js +1 -28
- package/dist-cjs/commands/ListImportsCommand.js +1 -28
- package/dist-cjs/commands/ListTablesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsOfResourceCommand.js +1 -28
- package/dist-cjs/commands/PutItemCommand.js +1 -28
- package/dist-cjs/commands/QueryCommand.js +1 -28
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js +1 -28
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +1 -28
- package/dist-cjs/commands/ScanCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/TransactGetItemsCommand.js +1 -28
- package/dist-cjs/commands/TransactWriteItemsCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +1 -28
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js +1 -28
- package/dist-cjs/commands/UpdateGlobalTableCommand.js +1 -28
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +1 -28
- package/dist-cjs/commands/UpdateItemCommand.js +1 -28
- package/dist-cjs/commands/UpdateKinesisStreamingDestinationCommand.js +1 -0
- package/dist-cjs/commands/UpdateTableCommand.js +1 -28
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +1 -28
- package/dist-cjs/commands/UpdateTimeToLiveCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -56
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +6771 -12
- package/dist-cjs/models/DynamoDBServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -671
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListContributorInsightsPaginator.js +1 -7
- package/dist-cjs/pagination/ListExportsPaginator.js +1 -7
- package/dist-cjs/pagination/ListImportsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
- package/dist-cjs/pagination/QueryPaginator.js +1 -7
- package/dist-cjs/pagination/ScanPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_json1_0.js +1 -4555
- package/dist-cjs/runtimeExtensions.js +1 -25
- package/dist-cjs/waiters/index.js +1 -5
- package/dist-cjs/waiters/waitForTableExists.js +1 -39
- package/dist-cjs/waiters/waitForTableNotExists.js +1 -30
- package/dist-es/DynamoDB.js +2 -0
- package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_0.js +50 -0
- package/dist-types/DynamoDB.d.ts +7 -0
- package/dist-types/DynamoDBClient.d.ts +3 -2
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -1
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +7 -1
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +7 -1
- package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +99 -4
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +23 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +42 -42
|
@@ -1,25 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
|
8
|
-
const asPartial = (t) => t;
|
|
9
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
10
|
-
const extensionConfiguration = {
|
|
11
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
14
|
-
...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
|
|
15
|
-
};
|
|
16
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
17
|
-
return {
|
|
18
|
-
...runtimeConfig,
|
|
19
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
20
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
21
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
22
|
-
...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./waitForTableExists"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./waitForTableNotExists"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilTableExists = exports.waitForTableExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeTableCommand_1.DescribeTableCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
try {
|
|
12
|
-
const returnComparator = () => {
|
|
13
|
-
return result.Table.TableStatus;
|
|
14
|
-
};
|
|
15
|
-
if (returnComparator() === "ACTIVE") {
|
|
16
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
catch (e) { }
|
|
20
|
-
}
|
|
21
|
-
catch (exception) {
|
|
22
|
-
reason = exception;
|
|
23
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
24
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
28
|
-
};
|
|
29
|
-
const waitForTableExists = async (params, input) => {
|
|
30
|
-
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
31
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
32
|
-
};
|
|
33
|
-
exports.waitForTableExists = waitForTableExists;
|
|
34
|
-
const waitUntilTableExists = async (params, input) => {
|
|
35
|
-
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
36
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
37
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
38
|
-
};
|
|
39
|
-
exports.waitUntilTableExists = waitUntilTableExists;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilTableNotExists = exports.waitForTableNotExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeTableCommand_1 = require("../commands/DescribeTableCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeTableCommand_1.DescribeTableCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
}
|
|
12
|
-
catch (exception) {
|
|
13
|
-
reason = exception;
|
|
14
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
15
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
19
|
-
};
|
|
20
|
-
const waitForTableNotExists = async (params, input) => {
|
|
21
|
-
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
22
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
23
|
-
};
|
|
24
|
-
exports.waitForTableNotExists = waitForTableNotExists;
|
|
25
|
-
const waitUntilTableNotExists = async (params, input) => {
|
|
26
|
-
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
27
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
28
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
29
|
-
};
|
|
30
|
-
exports.waitUntilTableNotExists = waitUntilTableNotExists;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-es/DynamoDB.js
CHANGED
|
@@ -49,6 +49,7 @@ import { UpdateContributorInsightsCommand, } from "./commands/UpdateContributorI
|
|
|
49
49
|
import { UpdateGlobalTableCommand, } from "./commands/UpdateGlobalTableCommand";
|
|
50
50
|
import { UpdateGlobalTableSettingsCommand, } from "./commands/UpdateGlobalTableSettingsCommand";
|
|
51
51
|
import { UpdateItemCommand } from "./commands/UpdateItemCommand";
|
|
52
|
+
import { UpdateKinesisStreamingDestinationCommand, } from "./commands/UpdateKinesisStreamingDestinationCommand";
|
|
52
53
|
import { UpdateTableCommand } from "./commands/UpdateTableCommand";
|
|
53
54
|
import { UpdateTableReplicaAutoScalingCommand, } from "./commands/UpdateTableReplicaAutoScalingCommand";
|
|
54
55
|
import { UpdateTimeToLiveCommand, } from "./commands/UpdateTimeToLiveCommand";
|
|
@@ -104,6 +105,7 @@ const commands = {
|
|
|
104
105
|
UpdateGlobalTableCommand,
|
|
105
106
|
UpdateGlobalTableSettingsCommand,
|
|
106
107
|
UpdateItemCommand,
|
|
108
|
+
UpdateKinesisStreamingDestinationCommand,
|
|
107
109
|
UpdateTableCommand,
|
|
108
110
|
UpdateTableReplicaAutoScalingCommand,
|
|
109
111
|
UpdateTimeToLiveCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateKinesisStreamingDestinationCommand, se_UpdateKinesisStreamingDestinationCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateKinesisStreamingDestinationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {})
|
|
19
|
+
.n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateKinesisStreamingDestinationCommand)
|
|
22
|
+
.de(de_UpdateKinesisStreamingDestinationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -48,6 +48,7 @@ export * from "./UpdateContributorInsightsCommand";
|
|
|
48
48
|
export * from "./UpdateGlobalTableCommand";
|
|
49
49
|
export * from "./UpdateGlobalTableSettingsCommand";
|
|
50
50
|
export * from "./UpdateItemCommand";
|
|
51
|
+
export * from "./UpdateKinesisStreamingDestinationCommand";
|
|
51
52
|
export * from "./UpdateTableCommand";
|
|
52
53
|
export * from "./UpdateTableReplicaAutoScalingCommand";
|
|
53
54
|
export * from "./UpdateTimeToLiveCommand";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException";
|
|
2
|
+
export const ApproximateCreationDateTimePrecision = {
|
|
3
|
+
MICROSECOND: "MICROSECOND",
|
|
4
|
+
MILLISECOND: "MILLISECOND",
|
|
5
|
+
};
|
|
2
6
|
export const AttributeAction = {
|
|
3
7
|
ADD: "ADD",
|
|
4
8
|
DELETE: "DELETE",
|
|
@@ -427,6 +431,7 @@ export const DestinationStatus = {
|
|
|
427
431
|
DISABLING: "DISABLING",
|
|
428
432
|
ENABLE_FAILED: "ENABLE_FAILED",
|
|
429
433
|
ENABLING: "ENABLING",
|
|
434
|
+
UPDATING: "UPDATING",
|
|
430
435
|
};
|
|
431
436
|
export class DuplicateItemException extends __BaseException {
|
|
432
437
|
constructor(opts) {
|
|
@@ -304,6 +304,12 @@ export const se_UpdateItemCommand = async (input, context) => {
|
|
|
304
304
|
body = JSON.stringify(se_UpdateItemInput(input, context));
|
|
305
305
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
306
306
|
};
|
|
307
|
+
export const se_UpdateKinesisStreamingDestinationCommand = async (input, context) => {
|
|
308
|
+
const headers = sharedHeaders("UpdateKinesisStreamingDestination");
|
|
309
|
+
let body;
|
|
310
|
+
body = JSON.stringify(_json(input));
|
|
311
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
312
|
+
};
|
|
307
313
|
export const se_UpdateTableCommand = async (input, context) => {
|
|
308
314
|
const headers = sharedHeaders("UpdateTable");
|
|
309
315
|
let body;
|
|
@@ -2408,6 +2414,50 @@ const de_UpdateItemCommandError = async (output, context) => {
|
|
|
2408
2414
|
});
|
|
2409
2415
|
}
|
|
2410
2416
|
};
|
|
2417
|
+
export const de_UpdateKinesisStreamingDestinationCommand = async (output, context) => {
|
|
2418
|
+
if (output.statusCode >= 300) {
|
|
2419
|
+
return de_UpdateKinesisStreamingDestinationCommandError(output, context);
|
|
2420
|
+
}
|
|
2421
|
+
const data = await parseBody(output.body, context);
|
|
2422
|
+
let contents = {};
|
|
2423
|
+
contents = _json(data);
|
|
2424
|
+
const response = {
|
|
2425
|
+
$metadata: deserializeMetadata(output),
|
|
2426
|
+
...contents,
|
|
2427
|
+
};
|
|
2428
|
+
return response;
|
|
2429
|
+
};
|
|
2430
|
+
const de_UpdateKinesisStreamingDestinationCommandError = async (output, context) => {
|
|
2431
|
+
const parsedOutput = {
|
|
2432
|
+
...output,
|
|
2433
|
+
body: await parseErrorBody(output.body, context),
|
|
2434
|
+
};
|
|
2435
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2436
|
+
switch (errorCode) {
|
|
2437
|
+
case "InternalServerError":
|
|
2438
|
+
case "com.amazonaws.dynamodb#InternalServerError":
|
|
2439
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2440
|
+
case "InvalidEndpointException":
|
|
2441
|
+
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
2442
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
2443
|
+
case "LimitExceededException":
|
|
2444
|
+
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
2445
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2446
|
+
case "ResourceInUseException":
|
|
2447
|
+
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
2448
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2449
|
+
case "ResourceNotFoundException":
|
|
2450
|
+
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
2451
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2452
|
+
default:
|
|
2453
|
+
const parsedBody = parsedOutput.body;
|
|
2454
|
+
return throwDefaultError({
|
|
2455
|
+
output,
|
|
2456
|
+
parsedBody,
|
|
2457
|
+
errorCode,
|
|
2458
|
+
});
|
|
2459
|
+
}
|
|
2460
|
+
};
|
|
2411
2461
|
export const de_UpdateTableCommand = async (output, context) => {
|
|
2412
2462
|
if (output.statusCode >= 300) {
|
|
2413
2463
|
return de_UpdateTableCommandError(output, context);
|
package/dist-types/DynamoDB.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ import { UpdateContributorInsightsCommandInput, UpdateContributorInsightsCommand
|
|
|
49
49
|
import { UpdateGlobalTableCommandInput, UpdateGlobalTableCommandOutput } from "./commands/UpdateGlobalTableCommand";
|
|
50
50
|
import { UpdateGlobalTableSettingsCommandInput, UpdateGlobalTableSettingsCommandOutput } from "./commands/UpdateGlobalTableSettingsCommand";
|
|
51
51
|
import { UpdateItemCommandInput, UpdateItemCommandOutput } from "./commands/UpdateItemCommand";
|
|
52
|
+
import { UpdateKinesisStreamingDestinationCommandInput, UpdateKinesisStreamingDestinationCommandOutput } from "./commands/UpdateKinesisStreamingDestinationCommand";
|
|
52
53
|
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
53
54
|
import { UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput } from "./commands/UpdateTableReplicaAutoScalingCommand";
|
|
54
55
|
import { UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput } from "./commands/UpdateTimeToLiveCommand";
|
|
@@ -354,6 +355,12 @@ export interface DynamoDB {
|
|
|
354
355
|
updateItem(args: UpdateItemCommandInput, options?: __HttpHandlerOptions): Promise<UpdateItemCommandOutput>;
|
|
355
356
|
updateItem(args: UpdateItemCommandInput, cb: (err: any, data?: UpdateItemCommandOutput) => void): void;
|
|
356
357
|
updateItem(args: UpdateItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateItemCommandOutput) => void): void;
|
|
358
|
+
/**
|
|
359
|
+
* @see {@link UpdateKinesisStreamingDestinationCommand}
|
|
360
|
+
*/
|
|
361
|
+
updateKinesisStreamingDestination(args: UpdateKinesisStreamingDestinationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKinesisStreamingDestinationCommandOutput>;
|
|
362
|
+
updateKinesisStreamingDestination(args: UpdateKinesisStreamingDestinationCommandInput, cb: (err: any, data?: UpdateKinesisStreamingDestinationCommandOutput) => void): void;
|
|
363
|
+
updateKinesisStreamingDestination(args: UpdateKinesisStreamingDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKinesisStreamingDestinationCommandOutput) => void): void;
|
|
357
364
|
/**
|
|
358
365
|
* @see {@link UpdateTableCommand}
|
|
359
366
|
*/
|
|
@@ -58,6 +58,7 @@ import { UpdateContributorInsightsCommandInput, UpdateContributorInsightsCommand
|
|
|
58
58
|
import { UpdateGlobalTableCommandInput, UpdateGlobalTableCommandOutput } from "./commands/UpdateGlobalTableCommand";
|
|
59
59
|
import { UpdateGlobalTableSettingsCommandInput, UpdateGlobalTableSettingsCommandOutput } from "./commands/UpdateGlobalTableSettingsCommand";
|
|
60
60
|
import { UpdateItemCommandInput, UpdateItemCommandOutput } from "./commands/UpdateItemCommand";
|
|
61
|
+
import { UpdateKinesisStreamingDestinationCommandInput, UpdateKinesisStreamingDestinationCommandOutput } from "./commands/UpdateKinesisStreamingDestinationCommand";
|
|
61
62
|
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
62
63
|
import { UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput } from "./commands/UpdateTableReplicaAutoScalingCommand";
|
|
63
64
|
import { UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput } from "./commands/UpdateTimeToLiveCommand";
|
|
@@ -67,11 +68,11 @@ export { __Client };
|
|
|
67
68
|
/**
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
|
-
export type ServiceInputTypes = BatchExecuteStatementCommandInput | BatchGetItemCommandInput | BatchWriteItemCommandInput | CreateBackupCommandInput | CreateGlobalTableCommandInput | CreateTableCommandInput | DeleteBackupCommandInput | DeleteItemCommandInput | DeleteTableCommandInput | DescribeBackupCommandInput | DescribeContinuousBackupsCommandInput | DescribeContributorInsightsCommandInput | DescribeEndpointsCommandInput | DescribeExportCommandInput | DescribeGlobalTableCommandInput | DescribeGlobalTableSettingsCommandInput | DescribeImportCommandInput | DescribeKinesisStreamingDestinationCommandInput | DescribeLimitsCommandInput | DescribeTableCommandInput | DescribeTableReplicaAutoScalingCommandInput | DescribeTimeToLiveCommandInput | DisableKinesisStreamingDestinationCommandInput | EnableKinesisStreamingDestinationCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | ExportTableToPointInTimeCommandInput | GetItemCommandInput | ImportTableCommandInput | ListBackupsCommandInput | ListContributorInsightsCommandInput | ListExportsCommandInput | ListGlobalTablesCommandInput | ListImportsCommandInput | ListTablesCommandInput | ListTagsOfResourceCommandInput | PutItemCommandInput | QueryCommandInput | RestoreTableFromBackupCommandInput | RestoreTableToPointInTimeCommandInput | ScanCommandInput | TagResourceCommandInput | TransactGetItemsCommandInput | TransactWriteItemsCommandInput | UntagResourceCommandInput | UpdateContinuousBackupsCommandInput | UpdateContributorInsightsCommandInput | UpdateGlobalTableCommandInput | UpdateGlobalTableSettingsCommandInput | UpdateItemCommandInput | UpdateTableCommandInput | UpdateTableReplicaAutoScalingCommandInput | UpdateTimeToLiveCommandInput;
|
|
71
|
+
export type ServiceInputTypes = BatchExecuteStatementCommandInput | BatchGetItemCommandInput | BatchWriteItemCommandInput | CreateBackupCommandInput | CreateGlobalTableCommandInput | CreateTableCommandInput | DeleteBackupCommandInput | DeleteItemCommandInput | DeleteTableCommandInput | DescribeBackupCommandInput | DescribeContinuousBackupsCommandInput | DescribeContributorInsightsCommandInput | DescribeEndpointsCommandInput | DescribeExportCommandInput | DescribeGlobalTableCommandInput | DescribeGlobalTableSettingsCommandInput | DescribeImportCommandInput | DescribeKinesisStreamingDestinationCommandInput | DescribeLimitsCommandInput | DescribeTableCommandInput | DescribeTableReplicaAutoScalingCommandInput | DescribeTimeToLiveCommandInput | DisableKinesisStreamingDestinationCommandInput | EnableKinesisStreamingDestinationCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | ExportTableToPointInTimeCommandInput | GetItemCommandInput | ImportTableCommandInput | ListBackupsCommandInput | ListContributorInsightsCommandInput | ListExportsCommandInput | ListGlobalTablesCommandInput | ListImportsCommandInput | ListTablesCommandInput | ListTagsOfResourceCommandInput | PutItemCommandInput | QueryCommandInput | RestoreTableFromBackupCommandInput | RestoreTableToPointInTimeCommandInput | ScanCommandInput | TagResourceCommandInput | TransactGetItemsCommandInput | TransactWriteItemsCommandInput | UntagResourceCommandInput | UpdateContinuousBackupsCommandInput | UpdateContributorInsightsCommandInput | UpdateGlobalTableCommandInput | UpdateGlobalTableSettingsCommandInput | UpdateItemCommandInput | UpdateKinesisStreamingDestinationCommandInput | UpdateTableCommandInput | UpdateTableReplicaAutoScalingCommandInput | UpdateTimeToLiveCommandInput;
|
|
71
72
|
/**
|
|
72
73
|
* @public
|
|
73
74
|
*/
|
|
74
|
-
export type ServiceOutputTypes = BatchExecuteStatementCommandOutput | BatchGetItemCommandOutput | BatchWriteItemCommandOutput | CreateBackupCommandOutput | CreateGlobalTableCommandOutput | CreateTableCommandOutput | DeleteBackupCommandOutput | DeleteItemCommandOutput | DeleteTableCommandOutput | DescribeBackupCommandOutput | DescribeContinuousBackupsCommandOutput | DescribeContributorInsightsCommandOutput | DescribeEndpointsCommandOutput | DescribeExportCommandOutput | DescribeGlobalTableCommandOutput | DescribeGlobalTableSettingsCommandOutput | DescribeImportCommandOutput | DescribeKinesisStreamingDestinationCommandOutput | DescribeLimitsCommandOutput | DescribeTableCommandOutput | DescribeTableReplicaAutoScalingCommandOutput | DescribeTimeToLiveCommandOutput | DisableKinesisStreamingDestinationCommandOutput | EnableKinesisStreamingDestinationCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | ExportTableToPointInTimeCommandOutput | GetItemCommandOutput | ImportTableCommandOutput | ListBackupsCommandOutput | ListContributorInsightsCommandOutput | ListExportsCommandOutput | ListGlobalTablesCommandOutput | ListImportsCommandOutput | ListTablesCommandOutput | ListTagsOfResourceCommandOutput | PutItemCommandOutput | QueryCommandOutput | RestoreTableFromBackupCommandOutput | RestoreTableToPointInTimeCommandOutput | ScanCommandOutput | TagResourceCommandOutput | TransactGetItemsCommandOutput | TransactWriteItemsCommandOutput | UntagResourceCommandOutput | UpdateContinuousBackupsCommandOutput | UpdateContributorInsightsCommandOutput | UpdateGlobalTableCommandOutput | UpdateGlobalTableSettingsCommandOutput | UpdateItemCommandOutput | UpdateTableCommandOutput | UpdateTableReplicaAutoScalingCommandOutput | UpdateTimeToLiveCommandOutput;
|
|
75
|
+
export type ServiceOutputTypes = BatchExecuteStatementCommandOutput | BatchGetItemCommandOutput | BatchWriteItemCommandOutput | CreateBackupCommandOutput | CreateGlobalTableCommandOutput | CreateTableCommandOutput | DeleteBackupCommandOutput | DeleteItemCommandOutput | DeleteTableCommandOutput | DescribeBackupCommandOutput | DescribeContinuousBackupsCommandOutput | DescribeContributorInsightsCommandOutput | DescribeEndpointsCommandOutput | DescribeExportCommandOutput | DescribeGlobalTableCommandOutput | DescribeGlobalTableSettingsCommandOutput | DescribeImportCommandOutput | DescribeKinesisStreamingDestinationCommandOutput | DescribeLimitsCommandOutput | DescribeTableCommandOutput | DescribeTableReplicaAutoScalingCommandOutput | DescribeTimeToLiveCommandOutput | DisableKinesisStreamingDestinationCommandOutput | EnableKinesisStreamingDestinationCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | ExportTableToPointInTimeCommandOutput | GetItemCommandOutput | ImportTableCommandOutput | ListBackupsCommandOutput | ListContributorInsightsCommandOutput | ListExportsCommandOutput | ListGlobalTablesCommandOutput | ListImportsCommandOutput | ListTablesCommandOutput | ListTagsOfResourceCommandOutput | PutItemCommandOutput | QueryCommandOutput | RestoreTableFromBackupCommandOutput | RestoreTableToPointInTimeCommandOutput | ScanCommandOutput | TagResourceCommandOutput | TransactGetItemsCommandOutput | TransactWriteItemsCommandOutput | UntagResourceCommandOutput | UpdateContinuousBackupsCommandOutput | UpdateContributorInsightsCommandOutput | UpdateGlobalTableCommandOutput | UpdateGlobalTableSettingsCommandOutput | UpdateItemCommandOutput | UpdateKinesisStreamingDestinationCommandOutput | UpdateTableCommandOutput | UpdateTableReplicaAutoScalingCommandOutput | UpdateTimeToLiveCommandOutput;
|
|
75
76
|
/**
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
@@ -43,8 +43,9 @@ declare const DescribeKinesisStreamingDestinationCommand_base: {
|
|
|
43
43
|
* // KinesisDataStreamDestinations: [ // KinesisDataStreamDestinations
|
|
44
44
|
* // { // KinesisDataStreamDestination
|
|
45
45
|
* // StreamArn: "STRING_VALUE",
|
|
46
|
-
* // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED",
|
|
46
|
+
* // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED" || "UPDATING",
|
|
47
47
|
* // DestinationStatusDescription: "STRING_VALUE",
|
|
48
|
+
* // ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND",
|
|
48
49
|
* // },
|
|
49
50
|
* // ],
|
|
50
51
|
* // };
|
|
@@ -37,13 +37,19 @@ declare const DisableKinesisStreamingDestinationCommand_base: {
|
|
|
37
37
|
* const input = { // KinesisStreamingDestinationInput
|
|
38
38
|
* TableName: "STRING_VALUE", // required
|
|
39
39
|
* StreamArn: "STRING_VALUE", // required
|
|
40
|
+
* EnableKinesisStreamingConfiguration: { // EnableKinesisStreamingConfiguration
|
|
41
|
+
* ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND",
|
|
42
|
+
* },
|
|
40
43
|
* };
|
|
41
44
|
* const command = new DisableKinesisStreamingDestinationCommand(input);
|
|
42
45
|
* const response = await client.send(command);
|
|
43
46
|
* // { // KinesisStreamingDestinationOutput
|
|
44
47
|
* // TableName: "STRING_VALUE",
|
|
45
48
|
* // StreamArn: "STRING_VALUE",
|
|
46
|
-
* // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED",
|
|
49
|
+
* // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED" || "UPDATING",
|
|
50
|
+
* // EnableKinesisStreamingConfiguration: { // EnableKinesisStreamingConfiguration
|
|
51
|
+
* // ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND",
|
|
52
|
+
* // },
|
|
47
53
|
* // };
|
|
48
54
|
*
|
|
49
55
|
* ```
|
|
@@ -39,13 +39,19 @@ declare const EnableKinesisStreamingDestinationCommand_base: {
|
|
|
39
39
|
* const input = { // KinesisStreamingDestinationInput
|
|
40
40
|
* TableName: "STRING_VALUE", // required
|
|
41
41
|
* StreamArn: "STRING_VALUE", // required
|
|
42
|
+
* EnableKinesisStreamingConfiguration: { // EnableKinesisStreamingConfiguration
|
|
43
|
+
* ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND",
|
|
44
|
+
* },
|
|
42
45
|
* };
|
|
43
46
|
* const command = new EnableKinesisStreamingDestinationCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
45
48
|
* // { // KinesisStreamingDestinationOutput
|
|
46
49
|
* // TableName: "STRING_VALUE",
|
|
47
50
|
* // StreamArn: "STRING_VALUE",
|
|
48
|
-
* // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED",
|
|
51
|
+
* // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED" || "UPDATING",
|
|
52
|
+
* // EnableKinesisStreamingConfiguration: { // EnableKinesisStreamingConfiguration
|
|
53
|
+
* // ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND",
|
|
54
|
+
* // },
|
|
49
55
|
* // };
|
|
50
56
|
*
|
|
51
57
|
* ```
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
|
|
4
|
+
import { UpdateKinesisStreamingDestinationInput, UpdateKinesisStreamingDestinationOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link UpdateKinesisStreamingDestinationCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface UpdateKinesisStreamingDestinationCommandInput extends UpdateKinesisStreamingDestinationInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link UpdateKinesisStreamingDestinationCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateKinesisStreamingDestinationCommandOutput extends UpdateKinesisStreamingDestinationOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const UpdateKinesisStreamingDestinationCommand_base: {
|
|
24
|
+
new (input: UpdateKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateKinesisStreamingDestinationCommandInput, UpdateKinesisStreamingDestinationCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>The command to update the Kinesis stream destination.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { DynamoDBClient, UpdateKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
34
|
+
* // const { DynamoDBClient, UpdateKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
35
|
+
* const client = new DynamoDBClient(config);
|
|
36
|
+
* const input = { // UpdateKinesisStreamingDestinationInput
|
|
37
|
+
* TableName: "STRING_VALUE", // required
|
|
38
|
+
* StreamArn: "STRING_VALUE", // required
|
|
39
|
+
* UpdateKinesisStreamingConfiguration: { // UpdateKinesisStreamingConfiguration
|
|
40
|
+
* ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateKinesisStreamingDestinationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateKinesisStreamingDestinationOutput
|
|
46
|
+
* // TableName: "STRING_VALUE",
|
|
47
|
+
* // StreamArn: "STRING_VALUE",
|
|
48
|
+
* // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED" || "UPDATING",
|
|
49
|
+
* // UpdateKinesisStreamingConfiguration: { // UpdateKinesisStreamingConfiguration
|
|
50
|
+
* // ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND",
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param UpdateKinesisStreamingDestinationCommandInput - {@link UpdateKinesisStreamingDestinationCommandInput}
|
|
57
|
+
* @returns {@link UpdateKinesisStreamingDestinationCommandOutput}
|
|
58
|
+
* @see {@link UpdateKinesisStreamingDestinationCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link UpdateKinesisStreamingDestinationCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerError} (server fault)
|
|
63
|
+
* <p>An error occurred on the server side.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidEndpointException} (client fault)
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
68
|
+
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
69
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
|
|
70
|
+
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
71
|
+
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
72
|
+
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
73
|
+
* <p>When you are creating a table with one or more secondary
|
|
74
|
+
* indexes, you can have up to 250 such requests running at a time. However, if the table or
|
|
75
|
+
* index specifications are complex, then DynamoDB might temporarily reduce the number
|
|
76
|
+
* of concurrent operations.</p>
|
|
77
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
|
|
78
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
79
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request parameter.</p>
|
|
80
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time. Exceeding
|
|
81
|
+
* this limit may result in request throttling.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
84
|
+
* <p>The operation conflicts with the resource's availability. For example, you
|
|
85
|
+
* attempted to recreate an existing table, or tried to delete a table currently in the
|
|
86
|
+
* <code>CREATING</code> state.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
90
|
+
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link DynamoDBServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
export declare class UpdateKinesisStreamingDestinationCommand extends UpdateKinesisStreamingDestinationCommand_base {
|
|
97
|
+
}
|
|
@@ -48,6 +48,7 @@ export * from "./UpdateContributorInsightsCommand";
|
|
|
48
48
|
export * from "./UpdateGlobalTableCommand";
|
|
49
49
|
export * from "./UpdateGlobalTableSettingsCommand";
|
|
50
50
|
export * from "./UpdateItemCommand";
|
|
51
|
+
export * from "./UpdateKinesisStreamingDestinationCommand";
|
|
51
52
|
export * from "./UpdateTableCommand";
|
|
52
53
|
export * from "./UpdateTableReplicaAutoScalingCommand";
|
|
53
54
|
export * from "./UpdateTimeToLiveCommand";
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const ApproximateCreationDateTimePrecision: {
|
|
8
|
+
readonly MICROSECOND: "MICROSECOND";
|
|
9
|
+
readonly MILLISECOND: "MILLISECOND";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ApproximateCreationDateTimePrecision = (typeof ApproximateCreationDateTimePrecision)[keyof typeof ApproximateCreationDateTimePrecision];
|
|
3
15
|
/**
|
|
4
16
|
* @public
|
|
5
17
|
* <p>Contains details of a table archival operation.</p>
|
|
@@ -4026,6 +4038,7 @@ export declare const DestinationStatus: {
|
|
|
4026
4038
|
readonly DISABLING: "DISABLING";
|
|
4027
4039
|
readonly ENABLE_FAILED: "ENABLE_FAILED";
|
|
4028
4040
|
readonly ENABLING: "ENABLING";
|
|
4041
|
+
readonly UPDATING: "UPDATING";
|
|
4029
4042
|
};
|
|
4030
4043
|
/**
|
|
4031
4044
|
* @public
|
|
@@ -4051,6 +4064,11 @@ export interface KinesisDataStreamDestination {
|
|
|
4051
4064
|
* <p>The human-readable string that corresponds to the replica status.</p>
|
|
4052
4065
|
*/
|
|
4053
4066
|
DestinationStatusDescription?: string;
|
|
4067
|
+
/**
|
|
4068
|
+
* @public
|
|
4069
|
+
* <p>The precision of the Kinesis data stream timestamp. The values are either <code>MILLISECOND</code> or <code>MICROSECOND</code>.</p>
|
|
4070
|
+
*/
|
|
4071
|
+
ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
|
|
4054
4072
|
}
|
|
4055
4073
|
/**
|
|
4056
4074
|
* @public
|
|
@@ -4307,6 +4325,17 @@ export interface DescribeTimeToLiveOutput {
|
|
|
4307
4325
|
*/
|
|
4308
4326
|
TimeToLiveDescription?: TimeToLiveDescription;
|
|
4309
4327
|
}
|
|
4328
|
+
/**
|
|
4329
|
+
* @public
|
|
4330
|
+
* <p>Enables setting the configuration for Kinesis Streaming.</p>
|
|
4331
|
+
*/
|
|
4332
|
+
export interface EnableKinesisStreamingConfiguration {
|
|
4333
|
+
/**
|
|
4334
|
+
* @public
|
|
4335
|
+
* <p>Toggle for the precision of Kinesis data stream timestamp. The values are either <code>MILLISECOND</code> or <code>MICROSECOND</code>.</p>
|
|
4336
|
+
*/
|
|
4337
|
+
ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
|
|
4338
|
+
}
|
|
4310
4339
|
/**
|
|
4311
4340
|
* @public
|
|
4312
4341
|
*/
|
|
@@ -4321,6 +4350,11 @@ export interface KinesisStreamingDestinationInput {
|
|
|
4321
4350
|
* <p>The ARN for a Kinesis data stream.</p>
|
|
4322
4351
|
*/
|
|
4323
4352
|
StreamArn: string | undefined;
|
|
4353
|
+
/**
|
|
4354
|
+
* @public
|
|
4355
|
+
* <p>The source for the Kinesis streaming information that is being enabled.</p>
|
|
4356
|
+
*/
|
|
4357
|
+
EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration;
|
|
4324
4358
|
}
|
|
4325
4359
|
/**
|
|
4326
4360
|
* @public
|
|
@@ -4341,6 +4375,11 @@ export interface KinesisStreamingDestinationOutput {
|
|
|
4341
4375
|
* <p>The current status of the replication.</p>
|
|
4342
4376
|
*/
|
|
4343
4377
|
DestinationStatus?: DestinationStatus;
|
|
4378
|
+
/**
|
|
4379
|
+
* @public
|
|
4380
|
+
* <p>The destination for the Kinesis streaming information that is being enabled.</p>
|
|
4381
|
+
*/
|
|
4382
|
+
EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration;
|
|
4344
4383
|
}
|
|
4345
4384
|
/**
|
|
4346
4385
|
* @public
|
|
@@ -5573,6 +5612,62 @@ export interface UpdateGlobalTableSettingsOutput {
|
|
|
5573
5612
|
*/
|
|
5574
5613
|
ReplicaSettings?: ReplicaSettingsDescription[];
|
|
5575
5614
|
}
|
|
5615
|
+
/**
|
|
5616
|
+
* @public
|
|
5617
|
+
* <p>Enables updating the configuration for Kinesis Streaming.</p>
|
|
5618
|
+
*/
|
|
5619
|
+
export interface UpdateKinesisStreamingConfiguration {
|
|
5620
|
+
/**
|
|
5621
|
+
* @public
|
|
5622
|
+
* <p>Enables updating the precision of Kinesis data stream timestamp. </p>
|
|
5623
|
+
*/
|
|
5624
|
+
ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
|
|
5625
|
+
}
|
|
5626
|
+
/**
|
|
5627
|
+
* @public
|
|
5628
|
+
*/
|
|
5629
|
+
export interface UpdateKinesisStreamingDestinationInput {
|
|
5630
|
+
/**
|
|
5631
|
+
* @public
|
|
5632
|
+
* <p>The table name for the Kinesis streaming destination input.</p>
|
|
5633
|
+
*/
|
|
5634
|
+
TableName: string | undefined;
|
|
5635
|
+
/**
|
|
5636
|
+
* @public
|
|
5637
|
+
* <p>The ARN for the Kinesis stream input.</p>
|
|
5638
|
+
*/
|
|
5639
|
+
StreamArn: string | undefined;
|
|
5640
|
+
/**
|
|
5641
|
+
* @public
|
|
5642
|
+
* <p>The command to update the Kinesis stream configuration.</p>
|
|
5643
|
+
*/
|
|
5644
|
+
UpdateKinesisStreamingConfiguration?: UpdateKinesisStreamingConfiguration;
|
|
5645
|
+
}
|
|
5646
|
+
/**
|
|
5647
|
+
* @public
|
|
5648
|
+
*/
|
|
5649
|
+
export interface UpdateKinesisStreamingDestinationOutput {
|
|
5650
|
+
/**
|
|
5651
|
+
* @public
|
|
5652
|
+
* <p>The table name for the Kinesis streaming destination output.</p>
|
|
5653
|
+
*/
|
|
5654
|
+
TableName?: string;
|
|
5655
|
+
/**
|
|
5656
|
+
* @public
|
|
5657
|
+
* <p>The ARN for the Kinesis stream input.</p>
|
|
5658
|
+
*/
|
|
5659
|
+
StreamArn?: string;
|
|
5660
|
+
/**
|
|
5661
|
+
* @public
|
|
5662
|
+
* <p>The status of the attempt to update the Kinesis streaming destination output.</p>
|
|
5663
|
+
*/
|
|
5664
|
+
DestinationStatus?: DestinationStatus;
|
|
5665
|
+
/**
|
|
5666
|
+
* @public
|
|
5667
|
+
* <p>The command to update the Kinesis streaming destination configuration.</p>
|
|
5668
|
+
*/
|
|
5669
|
+
UpdateKinesisStreamingConfiguration?: UpdateKinesisStreamingConfiguration;
|
|
5670
|
+
}
|
|
5576
5671
|
/**
|
|
5577
5672
|
* @public
|
|
5578
5673
|
* <p>Represents the new provisioned throughput settings to be applied to a global secondary
|
|
@@ -5809,8 +5904,8 @@ export interface UpdateTableInput {
|
|
|
5809
5904
|
* @public
|
|
5810
5905
|
* <p>Represents the DynamoDB Streams configuration for the table.</p>
|
|
5811
5906
|
* <note>
|
|
5812
|
-
* <p>You receive a <code>
|
|
5813
|
-
* table that already has a stream, or if you try to disable a stream on a table that
|
|
5907
|
+
* <p>You receive a <code>ResourceInUseException</code> if you try to enable a stream on
|
|
5908
|
+
* a table that already has a stream, or if you try to disable a stream on a table that
|
|
5814
5909
|
* doesn't have a stream.</p>
|
|
5815
5910
|
* </note>
|
|
5816
5911
|
*/
|
|
@@ -6999,12 +7094,12 @@ export interface ItemResponse {
|
|
|
6999
7094
|
}
|
|
7000
7095
|
/**
|
|
7001
7096
|
* @public
|
|
7002
|
-
* <p> Represents a PartiQL
|
|
7097
|
+
* <p> Represents a PartiQL statement that uses parameters. </p>
|
|
7003
7098
|
*/
|
|
7004
7099
|
export interface ParameterizedStatement {
|
|
7005
7100
|
/**
|
|
7006
7101
|
* @public
|
|
7007
|
-
* <p> A PartiQL
|
|
7102
|
+
* <p> A PartiQL statement that uses parameters. </p>
|
|
7008
7103
|
*/
|
|
7009
7104
|
Statement: string | undefined;
|
|
7010
7105
|
/**
|