@aws-sdk/client-dynamodb 3.495.0 → 3.499.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/commands/UpdateKinesisStreamingDestinationCommand.js +1 -0
- package/dist-cjs/index.js +158 -78
- 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 +41 -41
package/README.md
CHANGED
|
@@ -619,6 +619,14 @@ UpdateItem
|
|
|
619
619
|
|
|
620
620
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateItemCommandOutput/)
|
|
621
621
|
|
|
622
|
+
</details>
|
|
623
|
+
<details>
|
|
624
|
+
<summary>
|
|
625
|
+
UpdateKinesisStreamingDestination
|
|
626
|
+
</summary>
|
|
627
|
+
|
|
628
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateKinesisStreamingDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateKinesisStreamingDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateKinesisStreamingDestinationCommandOutput/)
|
|
629
|
+
|
|
622
630
|
</details>
|
|
623
631
|
<details>
|
|
624
632
|
<summary>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/index.js
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
// src/index.ts
|
|
22
22
|
var src_exports = {};
|
|
23
23
|
__export(src_exports, {
|
|
24
|
+
ApproximateCreationDateTimePrecision: () => ApproximateCreationDateTimePrecision,
|
|
24
25
|
AttributeAction: () => AttributeAction,
|
|
25
26
|
AttributeValue: () => AttributeValue,
|
|
26
27
|
BackupInUseException: () => BackupInUseException,
|
|
@@ -145,6 +146,7 @@ __export(src_exports, {
|
|
|
145
146
|
UpdateGlobalTableCommand: () => UpdateGlobalTableCommand,
|
|
146
147
|
UpdateGlobalTableSettingsCommand: () => UpdateGlobalTableSettingsCommand,
|
|
147
148
|
UpdateItemCommand: () => UpdateItemCommand,
|
|
149
|
+
UpdateKinesisStreamingDestinationCommand: () => UpdateKinesisStreamingDestinationCommand,
|
|
148
150
|
UpdateTableCommand: () => UpdateTableCommand,
|
|
149
151
|
UpdateTableReplicaAutoScalingCommand: () => UpdateTableReplicaAutoScalingCommand,
|
|
150
152
|
UpdateTimeToLiveCommand: () => UpdateTimeToLiveCommand,
|
|
@@ -219,6 +221,10 @@ __name(_DynamoDBServiceException, "DynamoDBServiceException");
|
|
|
219
221
|
var DynamoDBServiceException = _DynamoDBServiceException;
|
|
220
222
|
|
|
221
223
|
// src/models/models_0.ts
|
|
224
|
+
var ApproximateCreationDateTimePrecision = {
|
|
225
|
+
MICROSECOND: "MICROSECOND",
|
|
226
|
+
MILLISECOND: "MILLISECOND"
|
|
227
|
+
};
|
|
222
228
|
var AttributeAction = {
|
|
223
229
|
ADD: "ADD",
|
|
224
230
|
DELETE: "DELETE",
|
|
@@ -736,7 +742,8 @@ var DestinationStatus = {
|
|
|
736
742
|
DISABLED: "DISABLED",
|
|
737
743
|
DISABLING: "DISABLING",
|
|
738
744
|
ENABLE_FAILED: "ENABLE_FAILED",
|
|
739
|
-
ENABLING: "ENABLING"
|
|
745
|
+
ENABLING: "ENABLING",
|
|
746
|
+
UPDATING: "UPDATING"
|
|
740
747
|
};
|
|
741
748
|
var _DuplicateItemException = class _DuplicateItemException extends DynamoDBServiceException {
|
|
742
749
|
/**
|
|
@@ -1315,6 +1322,12 @@ var se_UpdateItemCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1315
1322
|
body = JSON.stringify(se_UpdateItemInput(input, context));
|
|
1316
1323
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1317
1324
|
}, "se_UpdateItemCommand");
|
|
1325
|
+
var se_UpdateKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1326
|
+
const headers = sharedHeaders("UpdateKinesisStreamingDestination");
|
|
1327
|
+
let body;
|
|
1328
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1329
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1330
|
+
}, "se_UpdateKinesisStreamingDestinationCommand");
|
|
1318
1331
|
var se_UpdateTableCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1319
1332
|
const headers = sharedHeaders("UpdateTable");
|
|
1320
1333
|
let body;
|
|
@@ -3419,6 +3432,50 @@ var de_UpdateItemCommandError = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3419
3432
|
});
|
|
3420
3433
|
}
|
|
3421
3434
|
}, "de_UpdateItemCommandError");
|
|
3435
|
+
var de_UpdateKinesisStreamingDestinationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3436
|
+
if (output.statusCode >= 300) {
|
|
3437
|
+
return de_UpdateKinesisStreamingDestinationCommandError(output, context);
|
|
3438
|
+
}
|
|
3439
|
+
const data = await parseBody(output.body, context);
|
|
3440
|
+
let contents = {};
|
|
3441
|
+
contents = (0, import_smithy_client._json)(data);
|
|
3442
|
+
const response = {
|
|
3443
|
+
$metadata: deserializeMetadata(output),
|
|
3444
|
+
...contents
|
|
3445
|
+
};
|
|
3446
|
+
return response;
|
|
3447
|
+
}, "de_UpdateKinesisStreamingDestinationCommand");
|
|
3448
|
+
var de_UpdateKinesisStreamingDestinationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3449
|
+
const parsedOutput = {
|
|
3450
|
+
...output,
|
|
3451
|
+
body: await parseErrorBody(output.body, context)
|
|
3452
|
+
};
|
|
3453
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3454
|
+
switch (errorCode) {
|
|
3455
|
+
case "InternalServerError":
|
|
3456
|
+
case "com.amazonaws.dynamodb#InternalServerError":
|
|
3457
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
3458
|
+
case "InvalidEndpointException":
|
|
3459
|
+
case "com.amazonaws.dynamodb#InvalidEndpointException":
|
|
3460
|
+
throw await de_InvalidEndpointExceptionRes(parsedOutput, context);
|
|
3461
|
+
case "LimitExceededException":
|
|
3462
|
+
case "com.amazonaws.dynamodb#LimitExceededException":
|
|
3463
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3464
|
+
case "ResourceInUseException":
|
|
3465
|
+
case "com.amazonaws.dynamodb#ResourceInUseException":
|
|
3466
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
3467
|
+
case "ResourceNotFoundException":
|
|
3468
|
+
case "com.amazonaws.dynamodb#ResourceNotFoundException":
|
|
3469
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3470
|
+
default:
|
|
3471
|
+
const parsedBody = parsedOutput.body;
|
|
3472
|
+
return throwDefaultError({
|
|
3473
|
+
output,
|
|
3474
|
+
parsedBody,
|
|
3475
|
+
errorCode
|
|
3476
|
+
});
|
|
3477
|
+
}
|
|
3478
|
+
}, "de_UpdateKinesisStreamingDestinationCommandError");
|
|
3422
3479
|
var de_UpdateTableCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3423
3480
|
if (output.statusCode >= 300) {
|
|
3424
3481
|
return de_UpdateTableCommandError(output, context);
|
|
@@ -6352,6 +6409,23 @@ var _UpdateItemCommand = class _UpdateItemCommand extends import_smithy_client.C
|
|
|
6352
6409
|
__name(_UpdateItemCommand, "UpdateItemCommand");
|
|
6353
6410
|
var UpdateItemCommand = _UpdateItemCommand;
|
|
6354
6411
|
|
|
6412
|
+
// src/commands/UpdateKinesisStreamingDestinationCommand.ts
|
|
6413
|
+
|
|
6414
|
+
|
|
6415
|
+
|
|
6416
|
+
|
|
6417
|
+
var _UpdateKinesisStreamingDestinationCommand = class _UpdateKinesisStreamingDestinationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
6418
|
+
...commonParams
|
|
6419
|
+
}).m(function(Command, cs, config, o) {
|
|
6420
|
+
return [
|
|
6421
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6422
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6423
|
+
];
|
|
6424
|
+
}).s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {}).n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand").f(void 0, void 0).ser(se_UpdateKinesisStreamingDestinationCommand).de(de_UpdateKinesisStreamingDestinationCommand).build() {
|
|
6425
|
+
};
|
|
6426
|
+
__name(_UpdateKinesisStreamingDestinationCommand, "UpdateKinesisStreamingDestinationCommand");
|
|
6427
|
+
var UpdateKinesisStreamingDestinationCommand = _UpdateKinesisStreamingDestinationCommand;
|
|
6428
|
+
|
|
6355
6429
|
// src/commands/UpdateTableCommand.ts
|
|
6356
6430
|
|
|
6357
6431
|
|
|
@@ -6455,6 +6529,7 @@ var commands = {
|
|
|
6455
6529
|
UpdateGlobalTableCommand,
|
|
6456
6530
|
UpdateGlobalTableSettingsCommand,
|
|
6457
6531
|
UpdateItemCommand,
|
|
6532
|
+
UpdateKinesisStreamingDestinationCommand,
|
|
6458
6533
|
UpdateTableCommand,
|
|
6459
6534
|
UpdateTableReplicaAutoScalingCommand,
|
|
6460
6535
|
UpdateTimeToLiveCommand
|
|
@@ -6551,26 +6626,16 @@ var waitUntilTableNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6551
6626
|
// src/index.ts
|
|
6552
6627
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
6553
6628
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6629
|
+
|
|
6554
6630
|
0 && (module.exports = {
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
BackupType,
|
|
6561
|
-
BackupTypeFilter,
|
|
6631
|
+
DynamoDBServiceException,
|
|
6632
|
+
__Client,
|
|
6633
|
+
DynamoDBClient,
|
|
6634
|
+
DynamoDB,
|
|
6635
|
+
$Command,
|
|
6562
6636
|
BatchExecuteStatementCommand,
|
|
6563
6637
|
BatchGetItemCommand,
|
|
6564
|
-
BatchStatementErrorCodeEnum,
|
|
6565
6638
|
BatchWriteItemCommand,
|
|
6566
|
-
BillingMode,
|
|
6567
|
-
ComparisonOperator,
|
|
6568
|
-
ConditionalCheckFailedException,
|
|
6569
|
-
ConditionalOperator,
|
|
6570
|
-
ContinuousBackupsStatus,
|
|
6571
|
-
ContinuousBackupsUnavailableException,
|
|
6572
|
-
ContributorInsightsAction,
|
|
6573
|
-
ContributorInsightsStatus,
|
|
6574
6639
|
CreateBackupCommand,
|
|
6575
6640
|
CreateGlobalTableCommand,
|
|
6576
6641
|
CreateTableCommand,
|
|
@@ -6590,42 +6655,13 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6590
6655
|
DescribeTableCommand,
|
|
6591
6656
|
DescribeTableReplicaAutoScalingCommand,
|
|
6592
6657
|
DescribeTimeToLiveCommand,
|
|
6593
|
-
DestinationStatus,
|
|
6594
6658
|
DisableKinesisStreamingDestinationCommand,
|
|
6595
|
-
DuplicateItemException,
|
|
6596
|
-
DynamoDB,
|
|
6597
|
-
DynamoDBClient,
|
|
6598
|
-
DynamoDBServiceException,
|
|
6599
6659
|
EnableKinesisStreamingDestinationCommand,
|
|
6600
6660
|
ExecuteStatementCommand,
|
|
6601
6661
|
ExecuteTransactionCommand,
|
|
6602
|
-
ExportConflictException,
|
|
6603
|
-
ExportFormat,
|
|
6604
|
-
ExportNotFoundException,
|
|
6605
|
-
ExportStatus,
|
|
6606
6662
|
ExportTableToPointInTimeCommand,
|
|
6607
|
-
ExportType,
|
|
6608
|
-
ExportViewType,
|
|
6609
6663
|
GetItemCommand,
|
|
6610
|
-
GlobalTableAlreadyExistsException,
|
|
6611
|
-
GlobalTableNotFoundException,
|
|
6612
|
-
GlobalTableStatus,
|
|
6613
|
-
IdempotentParameterMismatchException,
|
|
6614
|
-
ImportConflictException,
|
|
6615
|
-
ImportNotFoundException,
|
|
6616
|
-
ImportStatus,
|
|
6617
6664
|
ImportTableCommand,
|
|
6618
|
-
IndexNotFoundException,
|
|
6619
|
-
IndexStatus,
|
|
6620
|
-
InputCompressionType,
|
|
6621
|
-
InputFormat,
|
|
6622
|
-
InternalServerError,
|
|
6623
|
-
InvalidEndpointException,
|
|
6624
|
-
InvalidExportTimeException,
|
|
6625
|
-
InvalidRestoreTimeException,
|
|
6626
|
-
ItemCollectionSizeLimitExceededException,
|
|
6627
|
-
KeyType,
|
|
6628
|
-
LimitExceededException,
|
|
6629
6665
|
ListBackupsCommand,
|
|
6630
6666
|
ListContributorInsightsCommand,
|
|
6631
6667
|
ListExportsCommand,
|
|
@@ -6633,53 +6669,24 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6633
6669
|
ListImportsCommand,
|
|
6634
6670
|
ListTablesCommand,
|
|
6635
6671
|
ListTagsOfResourceCommand,
|
|
6636
|
-
PointInTimeRecoveryStatus,
|
|
6637
|
-
PointInTimeRecoveryUnavailableException,
|
|
6638
|
-
ProjectionType,
|
|
6639
|
-
ProvisionedThroughputExceededException,
|
|
6640
6672
|
PutItemCommand,
|
|
6641
6673
|
QueryCommand,
|
|
6642
|
-
ReplicaAlreadyExistsException,
|
|
6643
|
-
ReplicaNotFoundException,
|
|
6644
|
-
ReplicaStatus,
|
|
6645
|
-
RequestLimitExceeded,
|
|
6646
|
-
ResourceInUseException,
|
|
6647
|
-
ResourceNotFoundException,
|
|
6648
6674
|
RestoreTableFromBackupCommand,
|
|
6649
6675
|
RestoreTableToPointInTimeCommand,
|
|
6650
|
-
ReturnConsumedCapacity,
|
|
6651
|
-
ReturnItemCollectionMetrics,
|
|
6652
|
-
ReturnValue,
|
|
6653
|
-
ReturnValuesOnConditionCheckFailure,
|
|
6654
|
-
S3SseAlgorithm,
|
|
6655
|
-
SSEStatus,
|
|
6656
|
-
SSEType,
|
|
6657
|
-
ScalarAttributeType,
|
|
6658
6676
|
ScanCommand,
|
|
6659
|
-
Select,
|
|
6660
|
-
StreamViewType,
|
|
6661
|
-
TableAlreadyExistsException,
|
|
6662
|
-
TableClass,
|
|
6663
|
-
TableInUseException,
|
|
6664
|
-
TableNotFoundException,
|
|
6665
|
-
TableStatus,
|
|
6666
6677
|
TagResourceCommand,
|
|
6667
|
-
TimeToLiveStatus,
|
|
6668
6678
|
TransactGetItemsCommand,
|
|
6669
6679
|
TransactWriteItemsCommand,
|
|
6670
|
-
TransactionCanceledException,
|
|
6671
|
-
TransactionConflictException,
|
|
6672
|
-
TransactionInProgressException,
|
|
6673
6680
|
UntagResourceCommand,
|
|
6674
6681
|
UpdateContinuousBackupsCommand,
|
|
6675
6682
|
UpdateContributorInsightsCommand,
|
|
6676
6683
|
UpdateGlobalTableCommand,
|
|
6677
6684
|
UpdateGlobalTableSettingsCommand,
|
|
6678
6685
|
UpdateItemCommand,
|
|
6686
|
+
UpdateKinesisStreamingDestinationCommand,
|
|
6679
6687
|
UpdateTableCommand,
|
|
6680
6688
|
UpdateTableReplicaAutoScalingCommand,
|
|
6681
6689
|
UpdateTimeToLiveCommand,
|
|
6682
|
-
__Client,
|
|
6683
6690
|
paginateListContributorInsights,
|
|
6684
6691
|
paginateListExports,
|
|
6685
6692
|
paginateListImports,
|
|
@@ -6687,7 +6694,80 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6687
6694
|
paginateQuery,
|
|
6688
6695
|
paginateScan,
|
|
6689
6696
|
waitForTableExists,
|
|
6690
|
-
waitForTableNotExists,
|
|
6691
6697
|
waitUntilTableExists,
|
|
6692
|
-
|
|
6698
|
+
waitForTableNotExists,
|
|
6699
|
+
waitUntilTableNotExists,
|
|
6700
|
+
ApproximateCreationDateTimePrecision,
|
|
6701
|
+
AttributeAction,
|
|
6702
|
+
ScalarAttributeType,
|
|
6703
|
+
BackupStatus,
|
|
6704
|
+
BackupType,
|
|
6705
|
+
BillingMode,
|
|
6706
|
+
KeyType,
|
|
6707
|
+
ProjectionType,
|
|
6708
|
+
SSEType,
|
|
6709
|
+
SSEStatus,
|
|
6710
|
+
StreamViewType,
|
|
6711
|
+
TimeToLiveStatus,
|
|
6712
|
+
BackupInUseException,
|
|
6713
|
+
BackupNotFoundException,
|
|
6714
|
+
BackupTypeFilter,
|
|
6715
|
+
ReturnConsumedCapacity,
|
|
6716
|
+
ReturnValuesOnConditionCheckFailure,
|
|
6717
|
+
BatchStatementErrorCodeEnum,
|
|
6718
|
+
InternalServerError,
|
|
6719
|
+
RequestLimitExceeded,
|
|
6720
|
+
InvalidEndpointException,
|
|
6721
|
+
ProvisionedThroughputExceededException,
|
|
6722
|
+
ResourceNotFoundException,
|
|
6723
|
+
ReturnItemCollectionMetrics,
|
|
6724
|
+
ItemCollectionSizeLimitExceededException,
|
|
6725
|
+
ComparisonOperator,
|
|
6726
|
+
ConditionalOperator,
|
|
6727
|
+
ContinuousBackupsStatus,
|
|
6728
|
+
PointInTimeRecoveryStatus,
|
|
6729
|
+
ContinuousBackupsUnavailableException,
|
|
6730
|
+
ContributorInsightsAction,
|
|
6731
|
+
ContributorInsightsStatus,
|
|
6732
|
+
LimitExceededException,
|
|
6733
|
+
TableInUseException,
|
|
6734
|
+
TableNotFoundException,
|
|
6735
|
+
GlobalTableStatus,
|
|
6736
|
+
ReplicaStatus,
|
|
6737
|
+
TableClass,
|
|
6738
|
+
GlobalTableAlreadyExistsException,
|
|
6739
|
+
IndexStatus,
|
|
6740
|
+
TableStatus,
|
|
6741
|
+
ResourceInUseException,
|
|
6742
|
+
ReturnValue,
|
|
6743
|
+
TransactionConflictException,
|
|
6744
|
+
ExportFormat,
|
|
6745
|
+
ExportStatus,
|
|
6746
|
+
ExportType,
|
|
6747
|
+
ExportViewType,
|
|
6748
|
+
S3SseAlgorithm,
|
|
6749
|
+
ExportNotFoundException,
|
|
6750
|
+
GlobalTableNotFoundException,
|
|
6751
|
+
ImportStatus,
|
|
6752
|
+
InputCompressionType,
|
|
6753
|
+
InputFormat,
|
|
6754
|
+
ImportNotFoundException,
|
|
6755
|
+
DestinationStatus,
|
|
6756
|
+
DuplicateItemException,
|
|
6757
|
+
IdempotentParameterMismatchException,
|
|
6758
|
+
TransactionInProgressException,
|
|
6759
|
+
ExportConflictException,
|
|
6760
|
+
InvalidExportTimeException,
|
|
6761
|
+
PointInTimeRecoveryUnavailableException,
|
|
6762
|
+
ImportConflictException,
|
|
6763
|
+
Select,
|
|
6764
|
+
TableAlreadyExistsException,
|
|
6765
|
+
InvalidRestoreTimeException,
|
|
6766
|
+
ReplicaAlreadyExistsException,
|
|
6767
|
+
ReplicaNotFoundException,
|
|
6768
|
+
IndexNotFoundException,
|
|
6769
|
+
AttributeValue,
|
|
6770
|
+
ConditionalCheckFailedException,
|
|
6771
|
+
TransactionCanceledException
|
|
6693
6772
|
});
|
|
6773
|
+
|
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
|
/**
|
|
@@ -50,6 +50,7 @@ import { UpdateContributorInsightsCommandInput, UpdateContributorInsightsCommand
|
|
|
50
50
|
import { UpdateGlobalTableCommandInput, UpdateGlobalTableCommandOutput } from "../commands/UpdateGlobalTableCommand";
|
|
51
51
|
import { UpdateGlobalTableSettingsCommandInput, UpdateGlobalTableSettingsCommandOutput } from "../commands/UpdateGlobalTableSettingsCommand";
|
|
52
52
|
import { UpdateItemCommandInput, UpdateItemCommandOutput } from "../commands/UpdateItemCommand";
|
|
53
|
+
import { UpdateKinesisStreamingDestinationCommandInput, UpdateKinesisStreamingDestinationCommandOutput } from "../commands/UpdateKinesisStreamingDestinationCommand";
|
|
53
54
|
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "../commands/UpdateTableCommand";
|
|
54
55
|
import { UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput } from "../commands/UpdateTableReplicaAutoScalingCommand";
|
|
55
56
|
import { UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput } from "../commands/UpdateTimeToLiveCommand";
|
|
@@ -253,6 +254,10 @@ export declare const se_UpdateGlobalTableSettingsCommand: (input: UpdateGlobalTa
|
|
|
253
254
|
* serializeAws_json1_0UpdateItemCommand
|
|
254
255
|
*/
|
|
255
256
|
export declare const se_UpdateItemCommand: (input: UpdateItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
257
|
+
/**
|
|
258
|
+
* serializeAws_json1_0UpdateKinesisStreamingDestinationCommand
|
|
259
|
+
*/
|
|
260
|
+
export declare const se_UpdateKinesisStreamingDestinationCommand: (input: UpdateKinesisStreamingDestinationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
256
261
|
/**
|
|
257
262
|
* serializeAws_json1_0UpdateTableCommand
|
|
258
263
|
*/
|
|
@@ -465,6 +470,10 @@ export declare const de_UpdateGlobalTableSettingsCommand: (output: __HttpRespons
|
|
|
465
470
|
* deserializeAws_json1_0UpdateItemCommand
|
|
466
471
|
*/
|
|
467
472
|
export declare const de_UpdateItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateItemCommandOutput>;
|
|
473
|
+
/**
|
|
474
|
+
* deserializeAws_json1_0UpdateKinesisStreamingDestinationCommand
|
|
475
|
+
*/
|
|
476
|
+
export declare const de_UpdateKinesisStreamingDestinationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateKinesisStreamingDestinationCommandOutput>;
|
|
468
477
|
/**
|
|
469
478
|
* deserializeAws_json1_0UpdateTableCommand
|
|
470
479
|
*/
|
|
@@ -193,6 +193,10 @@ import {
|
|
|
193
193
|
UpdateItemCommandInput,
|
|
194
194
|
UpdateItemCommandOutput,
|
|
195
195
|
} from "./commands/UpdateItemCommand";
|
|
196
|
+
import {
|
|
197
|
+
UpdateKinesisStreamingDestinationCommandInput,
|
|
198
|
+
UpdateKinesisStreamingDestinationCommandOutput,
|
|
199
|
+
} from "./commands/UpdateKinesisStreamingDestinationCommand";
|
|
196
200
|
import {
|
|
197
201
|
UpdateTableCommandInput,
|
|
198
202
|
UpdateTableCommandOutput,
|
|
@@ -875,6 +879,25 @@ export interface DynamoDB {
|
|
|
875
879
|
options: __HttpHandlerOptions,
|
|
876
880
|
cb: (err: any, data?: UpdateItemCommandOutput) => void
|
|
877
881
|
): void;
|
|
882
|
+
updateKinesisStreamingDestination(
|
|
883
|
+
args: UpdateKinesisStreamingDestinationCommandInput,
|
|
884
|
+
options?: __HttpHandlerOptions
|
|
885
|
+
): Promise<UpdateKinesisStreamingDestinationCommandOutput>;
|
|
886
|
+
updateKinesisStreamingDestination(
|
|
887
|
+
args: UpdateKinesisStreamingDestinationCommandInput,
|
|
888
|
+
cb: (
|
|
889
|
+
err: any,
|
|
890
|
+
data?: UpdateKinesisStreamingDestinationCommandOutput
|
|
891
|
+
) => void
|
|
892
|
+
): void;
|
|
893
|
+
updateKinesisStreamingDestination(
|
|
894
|
+
args: UpdateKinesisStreamingDestinationCommandInput,
|
|
895
|
+
options: __HttpHandlerOptions,
|
|
896
|
+
cb: (
|
|
897
|
+
err: any,
|
|
898
|
+
data?: UpdateKinesisStreamingDestinationCommandOutput
|
|
899
|
+
) => void
|
|
900
|
+
): void;
|
|
878
901
|
updateTable(
|
|
879
902
|
args: UpdateTableCommandInput,
|
|
880
903
|
options?: __HttpHandlerOptions
|
|
@@ -243,6 +243,10 @@ import {
|
|
|
243
243
|
UpdateItemCommandInput,
|
|
244
244
|
UpdateItemCommandOutput,
|
|
245
245
|
} from "./commands/UpdateItemCommand";
|
|
246
|
+
import {
|
|
247
|
+
UpdateKinesisStreamingDestinationCommandInput,
|
|
248
|
+
UpdateKinesisStreamingDestinationCommandOutput,
|
|
249
|
+
} from "./commands/UpdateKinesisStreamingDestinationCommand";
|
|
246
250
|
import {
|
|
247
251
|
UpdateTableCommandInput,
|
|
248
252
|
UpdateTableCommandOutput,
|
|
@@ -313,6 +317,7 @@ export type ServiceInputTypes =
|
|
|
313
317
|
| UpdateGlobalTableCommandInput
|
|
314
318
|
| UpdateGlobalTableSettingsCommandInput
|
|
315
319
|
| UpdateItemCommandInput
|
|
320
|
+
| UpdateKinesisStreamingDestinationCommandInput
|
|
316
321
|
| UpdateTableCommandInput
|
|
317
322
|
| UpdateTableReplicaAutoScalingCommandInput
|
|
318
323
|
| UpdateTimeToLiveCommandInput;
|
|
@@ -367,6 +372,7 @@ export type ServiceOutputTypes =
|
|
|
367
372
|
| UpdateGlobalTableCommandOutput
|
|
368
373
|
| UpdateGlobalTableSettingsCommandOutput
|
|
369
374
|
| UpdateItemCommandOutput
|
|
375
|
+
| UpdateKinesisStreamingDestinationCommandOutput
|
|
370
376
|
| UpdateTableCommandOutput
|
|
371
377
|
| UpdateTableReplicaAutoScalingCommandOutput
|
|
372
378
|
| UpdateTimeToLiveCommandOutput;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DynamoDBClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DynamoDBClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateKinesisStreamingDestinationInput,
|
|
10
|
+
UpdateKinesisStreamingDestinationOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface UpdateKinesisStreamingDestinationCommandInput
|
|
14
|
+
extends UpdateKinesisStreamingDestinationInput {}
|
|
15
|
+
export interface UpdateKinesisStreamingDestinationCommandOutput
|
|
16
|
+
extends UpdateKinesisStreamingDestinationOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateKinesisStreamingDestinationCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateKinesisStreamingDestinationCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateKinesisStreamingDestinationCommandInput,
|
|
23
|
+
UpdateKinesisStreamingDestinationCommandOutput,
|
|
24
|
+
DynamoDBClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class UpdateKinesisStreamingDestinationCommand extends UpdateKinesisStreamingDestinationCommand_base {}
|
|
@@ -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,11 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException";
|
|
3
|
+
export declare const ApproximateCreationDateTimePrecision: {
|
|
4
|
+
readonly MICROSECOND: "MICROSECOND";
|
|
5
|
+
readonly MILLISECOND: "MILLISECOND";
|
|
6
|
+
};
|
|
7
|
+
export type ApproximateCreationDateTimePrecision =
|
|
8
|
+
(typeof ApproximateCreationDateTimePrecision)[keyof typeof ApproximateCreationDateTimePrecision];
|
|
3
9
|
export interface ArchivalSummary {
|
|
4
10
|
ArchivalDateTime?: Date;
|
|
5
11
|
ArchivalReason?: string;
|
|
@@ -898,6 +904,7 @@ export declare const DestinationStatus: {
|
|
|
898
904
|
readonly DISABLING: "DISABLING";
|
|
899
905
|
readonly ENABLE_FAILED: "ENABLE_FAILED";
|
|
900
906
|
readonly ENABLING: "ENABLING";
|
|
907
|
+
readonly UPDATING: "UPDATING";
|
|
901
908
|
};
|
|
902
909
|
export type DestinationStatus =
|
|
903
910
|
(typeof DestinationStatus)[keyof typeof DestinationStatus];
|
|
@@ -905,6 +912,7 @@ export interface KinesisDataStreamDestination {
|
|
|
905
912
|
StreamArn?: string;
|
|
906
913
|
DestinationStatus?: DestinationStatus;
|
|
907
914
|
DestinationStatusDescription?: string;
|
|
915
|
+
ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
|
|
908
916
|
}
|
|
909
917
|
export interface DescribeKinesisStreamingDestinationOutput {
|
|
910
918
|
TableName?: string;
|
|
@@ -953,14 +961,19 @@ export interface DescribeTimeToLiveInput {
|
|
|
953
961
|
export interface DescribeTimeToLiveOutput {
|
|
954
962
|
TimeToLiveDescription?: TimeToLiveDescription;
|
|
955
963
|
}
|
|
964
|
+
export interface EnableKinesisStreamingConfiguration {
|
|
965
|
+
ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
|
|
966
|
+
}
|
|
956
967
|
export interface KinesisStreamingDestinationInput {
|
|
957
968
|
TableName: string | undefined;
|
|
958
969
|
StreamArn: string | undefined;
|
|
970
|
+
EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration;
|
|
959
971
|
}
|
|
960
972
|
export interface KinesisStreamingDestinationOutput {
|
|
961
973
|
TableName?: string;
|
|
962
974
|
StreamArn?: string;
|
|
963
975
|
DestinationStatus?: DestinationStatus;
|
|
976
|
+
EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration;
|
|
964
977
|
}
|
|
965
978
|
export declare class DuplicateItemException extends __BaseException {
|
|
966
979
|
readonly name: "DuplicateItemException";
|
|
@@ -1268,6 +1281,20 @@ export interface UpdateGlobalTableSettingsOutput {
|
|
|
1268
1281
|
GlobalTableName?: string;
|
|
1269
1282
|
ReplicaSettings?: ReplicaSettingsDescription[];
|
|
1270
1283
|
}
|
|
1284
|
+
export interface UpdateKinesisStreamingConfiguration {
|
|
1285
|
+
ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision;
|
|
1286
|
+
}
|
|
1287
|
+
export interface UpdateKinesisStreamingDestinationInput {
|
|
1288
|
+
TableName: string | undefined;
|
|
1289
|
+
StreamArn: string | undefined;
|
|
1290
|
+
UpdateKinesisStreamingConfiguration?: UpdateKinesisStreamingConfiguration;
|
|
1291
|
+
}
|
|
1292
|
+
export interface UpdateKinesisStreamingDestinationOutput {
|
|
1293
|
+
TableName?: string;
|
|
1294
|
+
StreamArn?: string;
|
|
1295
|
+
DestinationStatus?: DestinationStatus;
|
|
1296
|
+
UpdateKinesisStreamingConfiguration?: UpdateKinesisStreamingConfiguration;
|
|
1297
|
+
}
|
|
1271
1298
|
export interface UpdateGlobalSecondaryIndexAction {
|
|
1272
1299
|
IndexName: string | undefined;
|
|
1273
1300
|
ProvisionedThroughput: ProvisionedThroughput | undefined;
|
|
@@ -200,6 +200,10 @@ import {
|
|
|
200
200
|
UpdateItemCommandInput,
|
|
201
201
|
UpdateItemCommandOutput,
|
|
202
202
|
} from "../commands/UpdateItemCommand";
|
|
203
|
+
import {
|
|
204
|
+
UpdateKinesisStreamingDestinationCommandInput,
|
|
205
|
+
UpdateKinesisStreamingDestinationCommandOutput,
|
|
206
|
+
} from "../commands/UpdateKinesisStreamingDestinationCommand";
|
|
203
207
|
import {
|
|
204
208
|
UpdateTableCommandInput,
|
|
205
209
|
UpdateTableCommandOutput,
|
|
@@ -412,6 +416,10 @@ export declare const se_UpdateItemCommand: (
|
|
|
412
416
|
input: UpdateItemCommandInput,
|
|
413
417
|
context: __SerdeContext
|
|
414
418
|
) => Promise<__HttpRequest>;
|
|
419
|
+
export declare const se_UpdateKinesisStreamingDestinationCommand: (
|
|
420
|
+
input: UpdateKinesisStreamingDestinationCommandInput,
|
|
421
|
+
context: __SerdeContext
|
|
422
|
+
) => Promise<__HttpRequest>;
|
|
415
423
|
export declare const se_UpdateTableCommand: (
|
|
416
424
|
input: UpdateTableCommandInput,
|
|
417
425
|
context: __SerdeContext
|
|
@@ -624,6 +632,10 @@ export declare const de_UpdateItemCommand: (
|
|
|
624
632
|
output: __HttpResponse,
|
|
625
633
|
context: __SerdeContext
|
|
626
634
|
) => Promise<UpdateItemCommandOutput>;
|
|
635
|
+
export declare const de_UpdateKinesisStreamingDestinationCommand: (
|
|
636
|
+
output: __HttpResponse,
|
|
637
|
+
context: __SerdeContext
|
|
638
|
+
) => Promise<UpdateKinesisStreamingDestinationCommandOutput>;
|
|
627
639
|
export declare const de_UpdateTableCommand: (
|
|
628
640
|
output: __HttpResponse,
|
|
629
641
|
context: __SerdeContext
|
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.499.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
@@ -20,50 +20,50 @@
|
|
|
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/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.1.
|
|
37
|
-
"@smithy/core": "^1.3.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.4.
|
|
39
|
-
"@smithy/hash-node": "^2.1.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.1.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.1.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
43
|
-
"@smithy/middleware-retry": "^2.1.
|
|
44
|
-
"@smithy/middleware-serde": "^2.1.
|
|
45
|
-
"@smithy/middleware-stack": "^2.1.
|
|
46
|
-
"@smithy/node-config-provider": "^2.2.
|
|
47
|
-
"@smithy/node-http-handler": "^2.3.
|
|
48
|
-
"@smithy/protocol-http": "^3.1.
|
|
49
|
-
"@smithy/smithy-client": "^2.3.
|
|
50
|
-
"@smithy/types": "^2.9.
|
|
51
|
-
"@smithy/url-parser": "^2.1.
|
|
52
|
-
"@smithy/util-base64": "^2.1.
|
|
53
|
-
"@smithy/util-body-length-browser": "^2.1.
|
|
54
|
-
"@smithy/util-body-length-node": "^2.2.
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.1.
|
|
57
|
-
"@smithy/util-endpoints": "^1.1.
|
|
58
|
-
"@smithy/util-middleware": "^2.1.
|
|
59
|
-
"@smithy/util-retry": "^2.1.
|
|
60
|
-
"@smithy/util-utf8": "^2.1.
|
|
61
|
-
"@smithy/util-waiter": "^2.1.
|
|
23
|
+
"@aws-sdk/client-sts": "3.499.0",
|
|
24
|
+
"@aws-sdk/core": "3.496.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.499.0",
|
|
26
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.496.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.496.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.496.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.496.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.496.0",
|
|
32
|
+
"@aws-sdk/types": "3.496.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.496.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.496.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.496.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.1.1",
|
|
37
|
+
"@smithy/core": "^1.3.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.4.1",
|
|
39
|
+
"@smithy/hash-node": "^2.1.1",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.1.1",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.4.1",
|
|
43
|
+
"@smithy/middleware-retry": "^2.1.1",
|
|
44
|
+
"@smithy/middleware-serde": "^2.1.1",
|
|
45
|
+
"@smithy/middleware-stack": "^2.1.1",
|
|
46
|
+
"@smithy/node-config-provider": "^2.2.1",
|
|
47
|
+
"@smithy/node-http-handler": "^2.3.1",
|
|
48
|
+
"@smithy/protocol-http": "^3.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^2.3.1",
|
|
50
|
+
"@smithy/types": "^2.9.1",
|
|
51
|
+
"@smithy/url-parser": "^2.1.1",
|
|
52
|
+
"@smithy/util-base64": "^2.1.1",
|
|
53
|
+
"@smithy/util-body-length-browser": "^2.1.1",
|
|
54
|
+
"@smithy/util-body-length-node": "^2.2.1",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.1.1",
|
|
57
|
+
"@smithy/util-endpoints": "^1.1.1",
|
|
58
|
+
"@smithy/util-middleware": "^2.1.1",
|
|
59
|
+
"@smithy/util-retry": "^2.1.1",
|
|
60
|
+
"@smithy/util-utf8": "^2.1.1",
|
|
61
|
+
"@smithy/util-waiter": "^2.1.1",
|
|
62
62
|
"tslib": "^2.5.0",
|
|
63
63
|
"uuid": "^8.3.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@smithy/service-client-documentation-generator": "^2.1.
|
|
66
|
+
"@smithy/service-client-documentation-generator": "^2.1.1",
|
|
67
67
|
"@tsconfig/node14": "1.0.3",
|
|
68
68
|
"@types/node": "^14.14.31",
|
|
69
69
|
"@types/uuid": "^8.3.0",
|