@aws-sdk/client-dynamodb 3.42.0 → 3.43.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/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +13 -13
- package/dist-cjs/protocols/Aws_json1_0.js +15 -0
- package/dist-es/models/models_0.js +8 -8
- package/dist-es/protocols/Aws_json1_0.js +16 -4
- package/dist-types/models/models_0.d.ts +162 -83
- package/dist-types/ts3.4/models/models_0.d.ts +51 -39
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProvisionedThroughputOverride = exports.CreateGlobalTableInput = exports.Replica = exports.CreateGlobalSecondaryIndexAction = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.CreateBackupOutput = exports.CreateBackupInput = exports.ContributorInsightsSummary = exports.ContinuousBackupsUnavailableException = exports.ContinuousBackupsDescription = exports.PointInTimeRecoveryDescription = exports.ConditionalCheckFailedException = exports.BillingModeSummary = exports.ItemCollectionSizeLimitExceededException = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.
|
|
3
|
+
exports.ProvisionedThroughputOverride = exports.CreateGlobalTableInput = exports.Replica = exports.CreateGlobalSecondaryIndexAction = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.CreateBackupOutput = exports.CreateBackupInput = exports.ContributorInsightsSummary = exports.ContinuousBackupsUnavailableException = exports.ContinuousBackupsDescription = exports.PointInTimeRecoveryDescription = exports.ConditionalCheckFailedException = exports.BillingModeSummary = exports.ItemCollectionSizeLimitExceededException = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementError = exports.BatchStatementErrorCodeEnum = exports.ConsumedCapacity = exports.Capacity = exports.BackupTypeFilter = exports.BackupSummary = exports.BackupNotFoundException = exports.BackupInUseException = exports.BackupDescription = exports.SourceTableFeatureDetails = exports.TimeToLiveDescription = exports.StreamSpecification = exports.SSEDescription = exports.LocalSecondaryIndexInfo = exports.GlobalSecondaryIndexInfo = exports.Projection = exports.SourceTableDetails = exports.ProvisionedThroughput = exports.KeySchemaElement = exports.BackupDetails = exports.BackupType = exports.AutoScalingSettingsUpdate = exports.AutoScalingSettingsDescription = exports.AutoScalingPolicyUpdate = exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = exports.AutoScalingPolicyDescription = exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription = exports.AttributeDefinition = exports.ArchivalSummary = void 0;
|
|
4
4
|
exports.ReplicaSettingsDescription = exports.ReplicaGlobalSecondaryIndexSettingsDescription = exports.DescribeGlobalTableSettingsInput = exports.GlobalTableNotFoundException = exports.DescribeGlobalTableOutput = exports.DescribeGlobalTableInput = exports.ExportNotFoundException = exports.DescribeExportOutput = exports.ExportDescription = exports.ExportStatus = exports.ExportFormat = exports.DescribeExportInput = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DescribeContributorInsightsOutput = exports.FailureException = exports.DescribeContributorInsightsInput = exports.DescribeContinuousBackupsOutput = exports.DescribeContinuousBackupsInput = exports.DescribeBackupOutput = exports.DescribeBackupInput = exports.DeleteTableOutput = exports.DeleteTableInput = exports.DeleteReplicationGroupMemberAction = exports.DeleteReplicaAction = exports.TransactionConflictException = exports.DeleteGlobalSecondaryIndexAction = exports.DeleteBackupOutput = exports.DeleteBackupInput = exports.ResourceInUseException = exports.CreateTableOutput = exports.TableDescription = exports.RestoreSummary = exports.LocalSecondaryIndexDescription = exports.GlobalSecondaryIndexDescription = exports.ProvisionedThroughputDescription = exports.CreateTableInput = exports.Tag = exports.SSESpecification = exports.LocalSecondaryIndex = exports.GlobalSecondaryIndex = exports.CreateReplicationGroupMemberAction = exports.ReplicaGlobalSecondaryIndex = exports.CreateReplicaAction = exports.GlobalTableAlreadyExistsException = exports.CreateGlobalTableOutput = exports.GlobalTableDescription = exports.ReplicaDescription = exports.ReplicaGlobalSecondaryIndexDescription = void 0;
|
|
5
5
|
exports.UpdateContinuousBackupsOutput = exports.UpdateContinuousBackupsInput = exports.PointInTimeRecoverySpecification = exports.UntagResourceInput = exports.TagResourceInput = exports.RestoreTableToPointInTimeOutput = exports.RestoreTableToPointInTimeInput = exports.InvalidRestoreTimeException = exports.TableAlreadyExistsException = exports.RestoreTableFromBackupOutput = exports.RestoreTableFromBackupInput = exports.ListTagsOfResourceOutput = exports.ListTagsOfResourceInput = exports.ListTablesOutput = exports.ListTablesInput = exports.ListGlobalTablesOutput = exports.GlobalTable = exports.ListGlobalTablesInput = exports.ListExportsOutput = exports.ExportSummary = exports.ListExportsInput = exports.ListContributorInsightsOutput = exports.ListContributorInsightsInput = exports.ListBackupsOutput = exports.ListBackupsInput = exports.PointInTimeRecoveryUnavailableException = exports.InvalidExportTimeException = exports.ExportTableToPointInTimeOutput = exports.ExportTableToPointInTimeInput = exports.ExportConflictException = exports.TransactionInProgressException = exports.IdempotentParameterMismatchException = exports.DuplicateItemException = exports.KinesisStreamingDestinationOutput = exports.KinesisStreamingDestinationInput = exports.DescribeTimeToLiveOutput = exports.DescribeTimeToLiveInput = exports.DescribeTableReplicaAutoScalingOutput = exports.TableAutoScalingDescription = exports.ReplicaAutoScalingDescription = exports.ReplicaGlobalSecondaryIndexAutoScalingDescription = exports.DescribeTableReplicaAutoScalingInput = exports.DescribeTableOutput = exports.DescribeTableInput = exports.DescribeLimitsOutput = exports.DescribeLimitsInput = exports.DescribeKinesisStreamingDestinationOutput = exports.KinesisDataStreamDestination = exports.DescribeKinesisStreamingDestinationInput = exports.DescribeGlobalTableSettingsOutput = void 0;
|
|
6
6
|
exports.TransactGetItemsOutput = exports.ExecuteTransactionOutput = exports.ExecuteTransactionInput = exports.BatchExecuteStatementOutput = exports.BatchExecuteStatementInput = exports.TransactGetItem = exports.KeysAndAttributes = exports.ExecuteStatementOutput = exports.PutRequest = exports.ParameterizedStatement = exports.ItemResponse = exports.ItemCollectionMetrics = exports.GetItemOutput = exports.GetItemInput = exports.Get = exports.ExecuteStatementInput = exports.DeleteRequest = exports.Condition = exports.CancellationReason = exports.BatchStatementResponse = exports.BatchStatementRequest = exports.AttributeValueUpdate = exports.AttributeValue = exports.UpdateTimeToLiveOutput = exports.UpdateTimeToLiveInput = exports.TimeToLiveSpecification = exports.UpdateTableReplicaAutoScalingOutput = exports.UpdateTableReplicaAutoScalingInput = exports.ReplicaAutoScalingUpdate = exports.ReplicaGlobalSecondaryIndexAutoScalingUpdate = exports.GlobalSecondaryIndexAutoScalingUpdate = exports.UpdateTableOutput = exports.UpdateTableInput = exports.ReplicationGroupUpdate = exports.UpdateReplicationGroupMemberAction = exports.GlobalSecondaryIndexUpdate = exports.UpdateGlobalSecondaryIndexAction = exports.UpdateGlobalTableSettingsOutput = exports.UpdateGlobalTableSettingsInput = exports.ReplicaSettingsUpdate = exports.ReplicaGlobalSecondaryIndexSettingsUpdate = exports.GlobalTableGlobalSecondaryIndexSettingsUpdate = exports.IndexNotFoundException = exports.UpdateGlobalTableOutput = exports.UpdateGlobalTableInput = exports.ReplicaUpdate = exports.ReplicaNotFoundException = exports.ReplicaAlreadyExistsException = exports.UpdateContributorInsightsOutput = exports.UpdateContributorInsightsInput = void 0;
|
|
@@ -156,6 +156,18 @@ var BackupTypeFilter;
|
|
|
156
156
|
BackupTypeFilter["SYSTEM"] = "SYSTEM";
|
|
157
157
|
BackupTypeFilter["USER"] = "USER";
|
|
158
158
|
})(BackupTypeFilter = exports.BackupTypeFilter || (exports.BackupTypeFilter = {}));
|
|
159
|
+
var Capacity;
|
|
160
|
+
(function (Capacity) {
|
|
161
|
+
Capacity.filterSensitiveLog = (obj) => ({
|
|
162
|
+
...obj,
|
|
163
|
+
});
|
|
164
|
+
})(Capacity = exports.Capacity || (exports.Capacity = {}));
|
|
165
|
+
var ConsumedCapacity;
|
|
166
|
+
(function (ConsumedCapacity) {
|
|
167
|
+
ConsumedCapacity.filterSensitiveLog = (obj) => ({
|
|
168
|
+
...obj,
|
|
169
|
+
});
|
|
170
|
+
})(ConsumedCapacity = exports.ConsumedCapacity || (exports.ConsumedCapacity = {}));
|
|
159
171
|
var BatchStatementErrorCodeEnum;
|
|
160
172
|
(function (BatchStatementErrorCodeEnum) {
|
|
161
173
|
BatchStatementErrorCodeEnum["AccessDenied"] = "AccessDenied";
|
|
@@ -188,18 +200,6 @@ var RequestLimitExceeded;
|
|
|
188
200
|
...obj,
|
|
189
201
|
});
|
|
190
202
|
})(RequestLimitExceeded = exports.RequestLimitExceeded || (exports.RequestLimitExceeded = {}));
|
|
191
|
-
var Capacity;
|
|
192
|
-
(function (Capacity) {
|
|
193
|
-
Capacity.filterSensitiveLog = (obj) => ({
|
|
194
|
-
...obj,
|
|
195
|
-
});
|
|
196
|
-
})(Capacity = exports.Capacity || (exports.Capacity = {}));
|
|
197
|
-
var ConsumedCapacity;
|
|
198
|
-
(function (ConsumedCapacity) {
|
|
199
|
-
ConsumedCapacity.filterSensitiveLog = (obj) => ({
|
|
200
|
-
...obj,
|
|
201
|
-
});
|
|
202
|
-
})(ConsumedCapacity = exports.ConsumedCapacity || (exports.ConsumedCapacity = {}));
|
|
203
203
|
var InvalidEndpointException;
|
|
204
204
|
(function (InvalidEndpointException) {
|
|
205
205
|
InvalidEndpointException.filterSensitiveLog = (obj) => ({
|
|
@@ -4678,6 +4678,8 @@ const serializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationUpd
|
|
|
4678
4678
|
};
|
|
4679
4679
|
const serializeAws_json1_0BatchExecuteStatementInput = (input, context) => {
|
|
4680
4680
|
return {
|
|
4681
|
+
...(input.ReturnConsumedCapacity !== undefined &&
|
|
4682
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
|
|
4681
4683
|
...(input.Statements !== undefined &&
|
|
4682
4684
|
input.Statements !== null && { Statements: serializeAws_json1_0PartiQLBatchRequest(input.Statements, context) }),
|
|
4683
4685
|
};
|
|
@@ -5002,6 +5004,8 @@ const serializeAws_json1_0ExecuteStatementInput = (input, context) => {
|
|
|
5002
5004
|
input.Parameters !== null && {
|
|
5003
5005
|
Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
|
|
5004
5006
|
}),
|
|
5007
|
+
...(input.ReturnConsumedCapacity !== undefined &&
|
|
5008
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
|
|
5005
5009
|
...(input.Statement !== undefined && input.Statement !== null && { Statement: input.Statement }),
|
|
5006
5010
|
};
|
|
5007
5011
|
};
|
|
@@ -5009,6 +5013,8 @@ const serializeAws_json1_0ExecuteTransactionInput = (input, context) => {
|
|
|
5009
5013
|
var _a;
|
|
5010
5014
|
return {
|
|
5011
5015
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5016
|
+
...(input.ReturnConsumedCapacity !== undefined &&
|
|
5017
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
|
|
5012
5018
|
...(input.TransactStatements !== undefined &&
|
|
5013
5019
|
input.TransactStatements !== null && {
|
|
5014
5020
|
TransactStatements: serializeAws_json1_0ParameterizedStatements(input.TransactStatements, context),
|
|
@@ -6367,6 +6373,9 @@ const deserializeAws_json1_0BackupSummary = (output, context) => {
|
|
|
6367
6373
|
};
|
|
6368
6374
|
const deserializeAws_json1_0BatchExecuteStatementOutput = (output, context) => {
|
|
6369
6375
|
return {
|
|
6376
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6377
|
+
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6378
|
+
: undefined,
|
|
6370
6379
|
Responses: output.Responses !== undefined && output.Responses !== null
|
|
6371
6380
|
? deserializeAws_json1_0PartiQLBatchResponse(output.Responses, context)
|
|
6372
6381
|
: undefined,
|
|
@@ -6736,6 +6745,9 @@ const deserializeAws_json1_0Endpoints = (output, context) => {
|
|
|
6736
6745
|
};
|
|
6737
6746
|
const deserializeAws_json1_0ExecuteStatementOutput = (output, context) => {
|
|
6738
6747
|
return {
|
|
6748
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6749
|
+
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
6750
|
+
: undefined,
|
|
6739
6751
|
Items: output.Items !== undefined && output.Items !== null
|
|
6740
6752
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
6741
6753
|
: undefined,
|
|
@@ -6744,6 +6756,9 @@ const deserializeAws_json1_0ExecuteStatementOutput = (output, context) => {
|
|
|
6744
6756
|
};
|
|
6745
6757
|
const deserializeAws_json1_0ExecuteTransactionOutput = (output, context) => {
|
|
6746
6758
|
return {
|
|
6759
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6760
|
+
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6761
|
+
: undefined,
|
|
6747
6762
|
Responses: output.Responses !== undefined && output.Responses !== null
|
|
6748
6763
|
? deserializeAws_json1_0ItemResponseList(output.Responses, context)
|
|
6749
6764
|
: undefined,
|
|
@@ -104,6 +104,14 @@ export var BackupTypeFilter;
|
|
|
104
104
|
BackupTypeFilter["SYSTEM"] = "SYSTEM";
|
|
105
105
|
BackupTypeFilter["USER"] = "USER";
|
|
106
106
|
})(BackupTypeFilter || (BackupTypeFilter = {}));
|
|
107
|
+
export var Capacity;
|
|
108
|
+
(function (Capacity) {
|
|
109
|
+
Capacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
|
+
})(Capacity || (Capacity = {}));
|
|
111
|
+
export var ConsumedCapacity;
|
|
112
|
+
(function (ConsumedCapacity) {
|
|
113
|
+
ConsumedCapacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
+
})(ConsumedCapacity || (ConsumedCapacity = {}));
|
|
107
115
|
export var BatchStatementErrorCodeEnum;
|
|
108
116
|
(function (BatchStatementErrorCodeEnum) {
|
|
109
117
|
BatchStatementErrorCodeEnum["AccessDenied"] = "AccessDenied";
|
|
@@ -130,14 +138,6 @@ export var RequestLimitExceeded;
|
|
|
130
138
|
(function (RequestLimitExceeded) {
|
|
131
139
|
RequestLimitExceeded.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
140
|
})(RequestLimitExceeded || (RequestLimitExceeded = {}));
|
|
133
|
-
export var Capacity;
|
|
134
|
-
(function (Capacity) {
|
|
135
|
-
Capacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
-
})(Capacity || (Capacity = {}));
|
|
137
|
-
export var ConsumedCapacity;
|
|
138
|
-
(function (ConsumedCapacity) {
|
|
139
|
-
ConsumedCapacity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
-
})(ConsumedCapacity || (ConsumedCapacity = {}));
|
|
141
141
|
export var InvalidEndpointException;
|
|
142
142
|
(function (InvalidEndpointException) {
|
|
143
143
|
InvalidEndpointException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -5095,7 +5095,8 @@ var serializeAws_json1_0AutoScalingTargetTrackingScalingPolicyConfigurationUpdat
|
|
|
5095
5095
|
input.TargetValue !== null && { TargetValue: __serializeFloat(input.TargetValue) }));
|
|
5096
5096
|
};
|
|
5097
5097
|
var serializeAws_json1_0BatchExecuteStatementInput = function (input, context) {
|
|
5098
|
-
return __assign({}, (input.
|
|
5098
|
+
return __assign(__assign({}, (input.ReturnConsumedCapacity !== undefined &&
|
|
5099
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statements !== undefined &&
|
|
5099
5100
|
input.Statements !== null && { Statements: serializeAws_json1_0PartiQLBatchRequest(input.Statements, context) }));
|
|
5100
5101
|
};
|
|
5101
5102
|
var serializeAws_json1_0BatchGetItemInput = function (input, context) {
|
|
@@ -5307,15 +5308,17 @@ var serializeAws_json1_0DescribeTimeToLiveInput = function (input, context) {
|
|
|
5307
5308
|
return __assign({}, (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
5308
5309
|
};
|
|
5309
5310
|
var serializeAws_json1_0ExecuteStatementInput = function (input, context) {
|
|
5310
|
-
return __assign(__assign(__assign(__assign({}, (input.ConsistentRead !== undefined &&
|
|
5311
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConsistentRead !== undefined &&
|
|
5311
5312
|
input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Parameters !== undefined &&
|
|
5312
5313
|
input.Parameters !== null && {
|
|
5313
5314
|
Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
|
|
5314
|
-
})), (input.
|
|
5315
|
+
})), (input.ReturnConsumedCapacity !== undefined &&
|
|
5316
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statement !== undefined && input.Statement !== null && { Statement: input.Statement }));
|
|
5315
5317
|
};
|
|
5316
5318
|
var serializeAws_json1_0ExecuteTransactionInput = function (input, context) {
|
|
5317
5319
|
var _a;
|
|
5318
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.
|
|
5320
|
+
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ReturnConsumedCapacity !== undefined &&
|
|
5321
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TransactStatements !== undefined &&
|
|
5319
5322
|
input.TransactStatements !== null && {
|
|
5320
5323
|
TransactStatements: serializeAws_json1_0ParameterizedStatements(input.TransactStatements, context),
|
|
5321
5324
|
}));
|
|
@@ -6363,6 +6366,9 @@ var deserializeAws_json1_0BackupSummary = function (output, context) {
|
|
|
6363
6366
|
};
|
|
6364
6367
|
var deserializeAws_json1_0BatchExecuteStatementOutput = function (output, context) {
|
|
6365
6368
|
return {
|
|
6369
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6370
|
+
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6371
|
+
: undefined,
|
|
6366
6372
|
Responses: output.Responses !== undefined && output.Responses !== null
|
|
6367
6373
|
? deserializeAws_json1_0PartiQLBatchResponse(output.Responses, context)
|
|
6368
6374
|
: undefined,
|
|
@@ -6729,6 +6735,9 @@ var deserializeAws_json1_0Endpoints = function (output, context) {
|
|
|
6729
6735
|
};
|
|
6730
6736
|
var deserializeAws_json1_0ExecuteStatementOutput = function (output, context) {
|
|
6731
6737
|
return {
|
|
6738
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6739
|
+
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
6740
|
+
: undefined,
|
|
6732
6741
|
Items: output.Items !== undefined && output.Items !== null
|
|
6733
6742
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
6734
6743
|
: undefined,
|
|
@@ -6737,6 +6746,9 @@ var deserializeAws_json1_0ExecuteStatementOutput = function (output, context) {
|
|
|
6737
6746
|
};
|
|
6738
6747
|
var deserializeAws_json1_0ExecuteTransactionOutput = function (output, context) {
|
|
6739
6748
|
return {
|
|
6749
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6750
|
+
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6751
|
+
: undefined,
|
|
6740
6752
|
Responses: output.Responses !== undefined && output.Responses !== null
|
|
6741
6753
|
? deserializeAws_json1_0ItemResponseList(output.Responses, context)
|
|
6742
6754
|
: undefined,
|
|
@@ -891,71 +891,6 @@ export declare enum BackupTypeFilter {
|
|
|
891
891
|
SYSTEM = "SYSTEM",
|
|
892
892
|
USER = "USER"
|
|
893
893
|
}
|
|
894
|
-
export declare enum BatchStatementErrorCodeEnum {
|
|
895
|
-
AccessDenied = "AccessDenied",
|
|
896
|
-
ConditionalCheckFailed = "ConditionalCheckFailed",
|
|
897
|
-
DuplicateItem = "DuplicateItem",
|
|
898
|
-
InternalServerError = "InternalServerError",
|
|
899
|
-
ItemCollectionSizeLimitExceeded = "ItemCollectionSizeLimitExceeded",
|
|
900
|
-
ProvisionedThroughputExceeded = "ProvisionedThroughputExceeded",
|
|
901
|
-
RequestLimitExceeded = "RequestLimitExceeded",
|
|
902
|
-
ResourceNotFound = "ResourceNotFound",
|
|
903
|
-
ThrottlingError = "ThrottlingError",
|
|
904
|
-
TransactionConflict = "TransactionConflict",
|
|
905
|
-
ValidationError = "ValidationError"
|
|
906
|
-
}
|
|
907
|
-
/**
|
|
908
|
-
* <p> An error associated with a statement in a PartiQL batch that was run. </p>
|
|
909
|
-
*/
|
|
910
|
-
export interface BatchStatementError {
|
|
911
|
-
/**
|
|
912
|
-
* <p> The error code associated with the failed PartiQL batch statement. </p>
|
|
913
|
-
*/
|
|
914
|
-
Code?: BatchStatementErrorCodeEnum | string;
|
|
915
|
-
/**
|
|
916
|
-
* <p> The error message associated with the PartiQL batch resposne. </p>
|
|
917
|
-
*/
|
|
918
|
-
Message?: string;
|
|
919
|
-
}
|
|
920
|
-
export declare namespace BatchStatementError {
|
|
921
|
-
/**
|
|
922
|
-
* @internal
|
|
923
|
-
*/
|
|
924
|
-
const filterSensitiveLog: (obj: BatchStatementError) => any;
|
|
925
|
-
}
|
|
926
|
-
/**
|
|
927
|
-
* <p>An error occurred on the server side.</p>
|
|
928
|
-
*/
|
|
929
|
-
export interface InternalServerError extends __SmithyException, $MetadataBearer {
|
|
930
|
-
name: "InternalServerError";
|
|
931
|
-
$fault: "server";
|
|
932
|
-
/**
|
|
933
|
-
* <p>The server encountered an internal error trying to fulfill the request.</p>
|
|
934
|
-
*/
|
|
935
|
-
message?: string;
|
|
936
|
-
}
|
|
937
|
-
export declare namespace InternalServerError {
|
|
938
|
-
/**
|
|
939
|
-
* @internal
|
|
940
|
-
*/
|
|
941
|
-
const filterSensitiveLog: (obj: InternalServerError) => any;
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* <p>Throughput exceeds the current throughput quota for your account. Please contact
|
|
945
|
-
* <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
|
|
946
|
-
* quota increase.</p>
|
|
947
|
-
*/
|
|
948
|
-
export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer {
|
|
949
|
-
name: "RequestLimitExceeded";
|
|
950
|
-
$fault: "client";
|
|
951
|
-
message?: string;
|
|
952
|
-
}
|
|
953
|
-
export declare namespace RequestLimitExceeded {
|
|
954
|
-
/**
|
|
955
|
-
* @internal
|
|
956
|
-
*/
|
|
957
|
-
const filterSensitiveLog: (obj: RequestLimitExceeded) => any;
|
|
958
|
-
}
|
|
959
894
|
export declare type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL";
|
|
960
895
|
/**
|
|
961
896
|
* <p>Represents the amount of provisioned throughput capacity consumed on a table or an
|
|
@@ -1030,6 +965,71 @@ export declare namespace ConsumedCapacity {
|
|
|
1030
965
|
*/
|
|
1031
966
|
const filterSensitiveLog: (obj: ConsumedCapacity) => any;
|
|
1032
967
|
}
|
|
968
|
+
export declare enum BatchStatementErrorCodeEnum {
|
|
969
|
+
AccessDenied = "AccessDenied",
|
|
970
|
+
ConditionalCheckFailed = "ConditionalCheckFailed",
|
|
971
|
+
DuplicateItem = "DuplicateItem",
|
|
972
|
+
InternalServerError = "InternalServerError",
|
|
973
|
+
ItemCollectionSizeLimitExceeded = "ItemCollectionSizeLimitExceeded",
|
|
974
|
+
ProvisionedThroughputExceeded = "ProvisionedThroughputExceeded",
|
|
975
|
+
RequestLimitExceeded = "RequestLimitExceeded",
|
|
976
|
+
ResourceNotFound = "ResourceNotFound",
|
|
977
|
+
ThrottlingError = "ThrottlingError",
|
|
978
|
+
TransactionConflict = "TransactionConflict",
|
|
979
|
+
ValidationError = "ValidationError"
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* <p> An error associated with a statement in a PartiQL batch that was run. </p>
|
|
983
|
+
*/
|
|
984
|
+
export interface BatchStatementError {
|
|
985
|
+
/**
|
|
986
|
+
* <p> The error code associated with the failed PartiQL batch statement. </p>
|
|
987
|
+
*/
|
|
988
|
+
Code?: BatchStatementErrorCodeEnum | string;
|
|
989
|
+
/**
|
|
990
|
+
* <p> The error message associated with the PartiQL batch resposne. </p>
|
|
991
|
+
*/
|
|
992
|
+
Message?: string;
|
|
993
|
+
}
|
|
994
|
+
export declare namespace BatchStatementError {
|
|
995
|
+
/**
|
|
996
|
+
* @internal
|
|
997
|
+
*/
|
|
998
|
+
const filterSensitiveLog: (obj: BatchStatementError) => any;
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* <p>An error occurred on the server side.</p>
|
|
1002
|
+
*/
|
|
1003
|
+
export interface InternalServerError extends __SmithyException, $MetadataBearer {
|
|
1004
|
+
name: "InternalServerError";
|
|
1005
|
+
$fault: "server";
|
|
1006
|
+
/**
|
|
1007
|
+
* <p>The server encountered an internal error trying to fulfill the request.</p>
|
|
1008
|
+
*/
|
|
1009
|
+
message?: string;
|
|
1010
|
+
}
|
|
1011
|
+
export declare namespace InternalServerError {
|
|
1012
|
+
/**
|
|
1013
|
+
* @internal
|
|
1014
|
+
*/
|
|
1015
|
+
const filterSensitiveLog: (obj: InternalServerError) => any;
|
|
1016
|
+
}
|
|
1017
|
+
/**
|
|
1018
|
+
* <p>Throughput exceeds the current throughput quota for your account. Please contact
|
|
1019
|
+
* <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
|
|
1020
|
+
* quota increase.</p>
|
|
1021
|
+
*/
|
|
1022
|
+
export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer {
|
|
1023
|
+
name: "RequestLimitExceeded";
|
|
1024
|
+
$fault: "client";
|
|
1025
|
+
message?: string;
|
|
1026
|
+
}
|
|
1027
|
+
export declare namespace RequestLimitExceeded {
|
|
1028
|
+
/**
|
|
1029
|
+
* @internal
|
|
1030
|
+
*/
|
|
1031
|
+
const filterSensitiveLog: (obj: RequestLimitExceeded) => any;
|
|
1032
|
+
}
|
|
1033
1033
|
export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
|
|
1034
1034
|
name: "InvalidEndpointException";
|
|
1035
1035
|
$fault: "client";
|
|
@@ -5895,6 +5895,34 @@ export interface ExecuteStatementInput {
|
|
|
5895
5895
|
* statement response.</p>
|
|
5896
5896
|
*/
|
|
5897
5897
|
NextToken?: string;
|
|
5898
|
+
/**
|
|
5899
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
5900
|
+
* consumption that is returned in the response:</p>
|
|
5901
|
+
* <ul>
|
|
5902
|
+
* <li>
|
|
5903
|
+
* <p>
|
|
5904
|
+
* <code>INDEXES</code> - The response includes the aggregate
|
|
5905
|
+
* <code>ConsumedCapacity</code> for the operation, together with
|
|
5906
|
+
* <code>ConsumedCapacity</code> for each table and secondary index that was
|
|
5907
|
+
* accessed.</p>
|
|
5908
|
+
* <p>Note that some operations, such as <code>GetItem</code> and
|
|
5909
|
+
* <code>BatchGetItem</code>, do not access any indexes at all. In these cases,
|
|
5910
|
+
* specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code>
|
|
5911
|
+
* information for table(s).</p>
|
|
5912
|
+
* </li>
|
|
5913
|
+
* <li>
|
|
5914
|
+
* <p>
|
|
5915
|
+
* <code>TOTAL</code> - The response includes only the aggregate
|
|
5916
|
+
* <code>ConsumedCapacity</code> for the operation.</p>
|
|
5917
|
+
* </li>
|
|
5918
|
+
* <li>
|
|
5919
|
+
* <p>
|
|
5920
|
+
* <code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the
|
|
5921
|
+
* response.</p>
|
|
5922
|
+
* </li>
|
|
5923
|
+
* </ul>
|
|
5924
|
+
*/
|
|
5925
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
5898
5926
|
}
|
|
5899
5927
|
export declare namespace ExecuteStatementInput {
|
|
5900
5928
|
/**
|
|
@@ -5971,8 +5999,8 @@ export interface GetItemInput {
|
|
|
5971
5999
|
*/
|
|
5972
6000
|
ConsistentRead?: boolean;
|
|
5973
6001
|
/**
|
|
5974
|
-
* <p>Determines the level of detail about provisioned
|
|
5975
|
-
* returned in the response:</p>
|
|
6002
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
6003
|
+
* consumption that is returned in the response:</p>
|
|
5976
6004
|
* <ul>
|
|
5977
6005
|
* <li>
|
|
5978
6006
|
* <p>
|
|
@@ -6201,6 +6229,14 @@ export interface ExecuteStatementOutput {
|
|
|
6201
6229
|
* request to get the remaining results.</p>
|
|
6202
6230
|
*/
|
|
6203
6231
|
NextToken?: string;
|
|
6232
|
+
/**
|
|
6233
|
+
* <p>The capacity units consumed by an operation. The data returned includes the total
|
|
6234
|
+
* provisioned throughput consumed, along with statistics for the table and any indexes
|
|
6235
|
+
* involved in the operation. <code>ConsumedCapacity</code> is only returned if the request
|
|
6236
|
+
* asked for it. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer
|
|
6237
|
+
* Guide</i>.</p>
|
|
6238
|
+
*/
|
|
6239
|
+
ConsumedCapacity?: ConsumedCapacity;
|
|
6204
6240
|
}
|
|
6205
6241
|
export declare namespace ExecuteStatementOutput {
|
|
6206
6242
|
/**
|
|
@@ -6331,6 +6367,34 @@ export interface BatchExecuteStatementInput {
|
|
|
6331
6367
|
* <p>The list of PartiQL statements representing the batch to run.</p>
|
|
6332
6368
|
*/
|
|
6333
6369
|
Statements: BatchStatementRequest[] | undefined;
|
|
6370
|
+
/**
|
|
6371
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
6372
|
+
* consumption that is returned in the response:</p>
|
|
6373
|
+
* <ul>
|
|
6374
|
+
* <li>
|
|
6375
|
+
* <p>
|
|
6376
|
+
* <code>INDEXES</code> - The response includes the aggregate
|
|
6377
|
+
* <code>ConsumedCapacity</code> for the operation, together with
|
|
6378
|
+
* <code>ConsumedCapacity</code> for each table and secondary index that was
|
|
6379
|
+
* accessed.</p>
|
|
6380
|
+
* <p>Note that some operations, such as <code>GetItem</code> and
|
|
6381
|
+
* <code>BatchGetItem</code>, do not access any indexes at all. In these cases,
|
|
6382
|
+
* specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code>
|
|
6383
|
+
* information for table(s).</p>
|
|
6384
|
+
* </li>
|
|
6385
|
+
* <li>
|
|
6386
|
+
* <p>
|
|
6387
|
+
* <code>TOTAL</code> - The response includes only the aggregate
|
|
6388
|
+
* <code>ConsumedCapacity</code> for the operation.</p>
|
|
6389
|
+
* </li>
|
|
6390
|
+
* <li>
|
|
6391
|
+
* <p>
|
|
6392
|
+
* <code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the
|
|
6393
|
+
* response.</p>
|
|
6394
|
+
* </li>
|
|
6395
|
+
* </ul>
|
|
6396
|
+
*/
|
|
6397
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
6334
6398
|
}
|
|
6335
6399
|
export declare namespace BatchExecuteStatementInput {
|
|
6336
6400
|
/**
|
|
@@ -6343,6 +6407,11 @@ export interface BatchExecuteStatementOutput {
|
|
|
6343
6407
|
* <p>The response to each PartiQL statement in the batch.</p>
|
|
6344
6408
|
*/
|
|
6345
6409
|
Responses?: BatchStatementResponse[];
|
|
6410
|
+
/**
|
|
6411
|
+
* <p>The capacity units consumed by the entire operation. The values of the list are
|
|
6412
|
+
* ordered according to the ordering of the statements.</p>
|
|
6413
|
+
*/
|
|
6414
|
+
ConsumedCapacity?: ConsumedCapacity[];
|
|
6346
6415
|
}
|
|
6347
6416
|
export declare namespace BatchExecuteStatementOutput {
|
|
6348
6417
|
/**
|
|
@@ -6360,6 +6429,11 @@ export interface ExecuteTransactionInput {
|
|
|
6360
6429
|
* statement response.</p>
|
|
6361
6430
|
*/
|
|
6362
6431
|
ClientRequestToken?: string;
|
|
6432
|
+
/**
|
|
6433
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput consumption that is
|
|
6434
|
+
* returned in the response. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html">TransactGetItems</a> and <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html">TransactWriteItems</a>.</p>
|
|
6435
|
+
*/
|
|
6436
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
6363
6437
|
}
|
|
6364
6438
|
export declare namespace ExecuteTransactionInput {
|
|
6365
6439
|
/**
|
|
@@ -6372,6 +6446,11 @@ export interface ExecuteTransactionOutput {
|
|
|
6372
6446
|
* <p>The response to a PartiQL transaction.</p>
|
|
6373
6447
|
*/
|
|
6374
6448
|
Responses?: ItemResponse[];
|
|
6449
|
+
/**
|
|
6450
|
+
* <p>The capacity units consumed by the entire operation. The values of the list are
|
|
6451
|
+
* ordered according to the ordering of the statements.</p>
|
|
6452
|
+
*/
|
|
6453
|
+
ConsumedCapacity?: ConsumedCapacity[];
|
|
6375
6454
|
}
|
|
6376
6455
|
export declare namespace ExecuteTransactionOutput {
|
|
6377
6456
|
/**
|
|
@@ -6769,8 +6848,8 @@ export interface BatchGetItemInput {
|
|
|
6769
6848
|
[key: string]: KeysAndAttributes;
|
|
6770
6849
|
} | undefined;
|
|
6771
6850
|
/**
|
|
6772
|
-
* <p>Determines the level of detail about provisioned
|
|
6773
|
-
* returned in the response:</p>
|
|
6851
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
6852
|
+
* consumption that is returned in the response:</p>
|
|
6774
6853
|
* <ul>
|
|
6775
6854
|
* <li>
|
|
6776
6855
|
* <p>
|
|
@@ -7815,8 +7894,8 @@ export interface ScanInput {
|
|
|
7815
7894
|
[key: string]: AttributeValue;
|
|
7816
7895
|
};
|
|
7817
7896
|
/**
|
|
7818
|
-
* <p>Determines the level of detail about provisioned
|
|
7819
|
-
* returned in the response:</p>
|
|
7897
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
7898
|
+
* consumption that is returned in the response:</p>
|
|
7820
7899
|
* <ul>
|
|
7821
7900
|
* <li>
|
|
7822
7901
|
* <p>
|
|
@@ -8056,8 +8135,8 @@ export interface BatchWriteItemInput {
|
|
|
8056
8135
|
[key: string]: WriteRequest[];
|
|
8057
8136
|
} | undefined;
|
|
8058
8137
|
/**
|
|
8059
|
-
* <p>Determines the level of detail about provisioned
|
|
8060
|
-
* returned in the response:</p>
|
|
8138
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
8139
|
+
* consumption that is returned in the response:</p>
|
|
8061
8140
|
* <ul>
|
|
8062
8141
|
* <li>
|
|
8063
8142
|
* <p>
|
|
@@ -8153,8 +8232,8 @@ export interface DeleteItemInput {
|
|
|
8153
8232
|
*/
|
|
8154
8233
|
ReturnValues?: ReturnValue | string;
|
|
8155
8234
|
/**
|
|
8156
|
-
* <p>Determines the level of detail about provisioned
|
|
8157
|
-
* returned in the response:</p>
|
|
8235
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
8236
|
+
* consumption that is returned in the response:</p>
|
|
8158
8237
|
* <ul>
|
|
8159
8238
|
* <li>
|
|
8160
8239
|
* <p>
|
|
@@ -8365,8 +8444,8 @@ export interface PutItemInput {
|
|
|
8365
8444
|
*/
|
|
8366
8445
|
ReturnValues?: ReturnValue | string;
|
|
8367
8446
|
/**
|
|
8368
|
-
* <p>Determines the level of detail about provisioned
|
|
8369
|
-
* returned in the response:</p>
|
|
8447
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
8448
|
+
* consumption that is returned in the response:</p>
|
|
8370
8449
|
* <ul>
|
|
8371
8450
|
* <li>
|
|
8372
8451
|
* <p>
|
|
@@ -8662,8 +8741,8 @@ export interface QueryInput {
|
|
|
8662
8741
|
[key: string]: AttributeValue;
|
|
8663
8742
|
};
|
|
8664
8743
|
/**
|
|
8665
|
-
* <p>Determines the level of detail about provisioned
|
|
8666
|
-
* returned in the response:</p>
|
|
8744
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
8745
|
+
* consumption that is returned in the response:</p>
|
|
8667
8746
|
* <ul>
|
|
8668
8747
|
* <li>
|
|
8669
8748
|
* <p>
|
|
@@ -9112,8 +9191,8 @@ export interface UpdateItemInput {
|
|
|
9112
9191
|
*/
|
|
9113
9192
|
ReturnValues?: ReturnValue | string;
|
|
9114
9193
|
/**
|
|
9115
|
-
* <p>Determines the level of detail about provisioned
|
|
9116
|
-
* returned in the response:</p>
|
|
9194
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
9195
|
+
* consumption that is returned in the response:</p>
|
|
9117
9196
|
* <ul>
|
|
9118
9197
|
* <li>
|
|
9119
9198
|
* <p>
|
|
@@ -9403,8 +9482,8 @@ export interface TransactWriteItemsInput {
|
|
|
9403
9482
|
*/
|
|
9404
9483
|
TransactItems: TransactWriteItem[] | undefined;
|
|
9405
9484
|
/**
|
|
9406
|
-
* <p>Determines the level of detail about provisioned
|
|
9407
|
-
* returned in the response:</p>
|
|
9485
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
9486
|
+
* consumption that is returned in the response:</p>
|
|
9408
9487
|
* <ul>
|
|
9409
9488
|
* <li>
|
|
9410
9489
|
* <p>
|
|
@@ -351,6 +351,45 @@ export declare enum BackupTypeFilter {
|
|
|
351
351
|
SYSTEM = "SYSTEM",
|
|
352
352
|
USER = "USER"
|
|
353
353
|
}
|
|
354
|
+
export declare type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL";
|
|
355
|
+
|
|
356
|
+
export interface Capacity {
|
|
357
|
+
|
|
358
|
+
ReadCapacityUnits?: number;
|
|
359
|
+
|
|
360
|
+
WriteCapacityUnits?: number;
|
|
361
|
+
|
|
362
|
+
CapacityUnits?: number;
|
|
363
|
+
}
|
|
364
|
+
export declare namespace Capacity {
|
|
365
|
+
|
|
366
|
+
const filterSensitiveLog: (obj: Capacity) => any;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export interface ConsumedCapacity {
|
|
370
|
+
|
|
371
|
+
TableName?: string;
|
|
372
|
+
|
|
373
|
+
CapacityUnits?: number;
|
|
374
|
+
|
|
375
|
+
ReadCapacityUnits?: number;
|
|
376
|
+
|
|
377
|
+
WriteCapacityUnits?: number;
|
|
378
|
+
|
|
379
|
+
Table?: Capacity;
|
|
380
|
+
|
|
381
|
+
LocalSecondaryIndexes?: {
|
|
382
|
+
[key: string]: Capacity;
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
GlobalSecondaryIndexes?: {
|
|
386
|
+
[key: string]: Capacity;
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
export declare namespace ConsumedCapacity {
|
|
390
|
+
|
|
391
|
+
const filterSensitiveLog: (obj: ConsumedCapacity) => any;
|
|
392
|
+
}
|
|
354
393
|
export declare enum BatchStatementErrorCodeEnum {
|
|
355
394
|
AccessDenied = "AccessDenied",
|
|
356
395
|
ConditionalCheckFailed = "ConditionalCheckFailed",
|
|
@@ -396,45 +435,6 @@ export declare namespace RequestLimitExceeded {
|
|
|
396
435
|
|
|
397
436
|
const filterSensitiveLog: (obj: RequestLimitExceeded) => any;
|
|
398
437
|
}
|
|
399
|
-
export declare type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL";
|
|
400
|
-
|
|
401
|
-
export interface Capacity {
|
|
402
|
-
|
|
403
|
-
ReadCapacityUnits?: number;
|
|
404
|
-
|
|
405
|
-
WriteCapacityUnits?: number;
|
|
406
|
-
|
|
407
|
-
CapacityUnits?: number;
|
|
408
|
-
}
|
|
409
|
-
export declare namespace Capacity {
|
|
410
|
-
|
|
411
|
-
const filterSensitiveLog: (obj: Capacity) => any;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
export interface ConsumedCapacity {
|
|
415
|
-
|
|
416
|
-
TableName?: string;
|
|
417
|
-
|
|
418
|
-
CapacityUnits?: number;
|
|
419
|
-
|
|
420
|
-
ReadCapacityUnits?: number;
|
|
421
|
-
|
|
422
|
-
WriteCapacityUnits?: number;
|
|
423
|
-
|
|
424
|
-
Table?: Capacity;
|
|
425
|
-
|
|
426
|
-
LocalSecondaryIndexes?: {
|
|
427
|
-
[key: string]: Capacity;
|
|
428
|
-
};
|
|
429
|
-
|
|
430
|
-
GlobalSecondaryIndexes?: {
|
|
431
|
-
[key: string]: Capacity;
|
|
432
|
-
};
|
|
433
|
-
}
|
|
434
|
-
export declare namespace ConsumedCapacity {
|
|
435
|
-
|
|
436
|
-
const filterSensitiveLog: (obj: ConsumedCapacity) => any;
|
|
437
|
-
}
|
|
438
438
|
export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
|
|
439
439
|
name: "InvalidEndpointException";
|
|
440
440
|
$fault: "client";
|
|
@@ -2452,6 +2452,8 @@ export interface ExecuteStatementInput {
|
|
|
2452
2452
|
ConsistentRead?: boolean;
|
|
2453
2453
|
|
|
2454
2454
|
NextToken?: string;
|
|
2455
|
+
|
|
2456
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
2455
2457
|
}
|
|
2456
2458
|
export declare namespace ExecuteStatementInput {
|
|
2457
2459
|
|
|
@@ -2567,6 +2569,8 @@ export interface ExecuteStatementOutput {
|
|
|
2567
2569
|
}[];
|
|
2568
2570
|
|
|
2569
2571
|
NextToken?: string;
|
|
2572
|
+
|
|
2573
|
+
ConsumedCapacity?: ConsumedCapacity;
|
|
2570
2574
|
}
|
|
2571
2575
|
export declare namespace ExecuteStatementOutput {
|
|
2572
2576
|
|
|
@@ -2605,6 +2609,8 @@ export declare namespace TransactGetItem {
|
|
|
2605
2609
|
export interface BatchExecuteStatementInput {
|
|
2606
2610
|
|
|
2607
2611
|
Statements: BatchStatementRequest[] | undefined;
|
|
2612
|
+
|
|
2613
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
2608
2614
|
}
|
|
2609
2615
|
export declare namespace BatchExecuteStatementInput {
|
|
2610
2616
|
|
|
@@ -2613,6 +2619,8 @@ export declare namespace BatchExecuteStatementInput {
|
|
|
2613
2619
|
export interface BatchExecuteStatementOutput {
|
|
2614
2620
|
|
|
2615
2621
|
Responses?: BatchStatementResponse[];
|
|
2622
|
+
|
|
2623
|
+
ConsumedCapacity?: ConsumedCapacity[];
|
|
2616
2624
|
}
|
|
2617
2625
|
export declare namespace BatchExecuteStatementOutput {
|
|
2618
2626
|
|
|
@@ -2623,6 +2631,8 @@ export interface ExecuteTransactionInput {
|
|
|
2623
2631
|
TransactStatements: ParameterizedStatement[] | undefined;
|
|
2624
2632
|
|
|
2625
2633
|
ClientRequestToken?: string;
|
|
2634
|
+
|
|
2635
|
+
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
2626
2636
|
}
|
|
2627
2637
|
export declare namespace ExecuteTransactionInput {
|
|
2628
2638
|
|
|
@@ -2631,6 +2641,8 @@ export declare namespace ExecuteTransactionInput {
|
|
|
2631
2641
|
export interface ExecuteTransactionOutput {
|
|
2632
2642
|
|
|
2633
2643
|
Responses?: ItemResponse[];
|
|
2644
|
+
|
|
2645
|
+
ConsumedCapacity?: ConsumedCapacity[];
|
|
2634
2646
|
}
|
|
2635
2647
|
export declare namespace ExecuteTransactionOutput {
|
|
2636
2648
|
|
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.43.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.43.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|