@aws-sdk/client-dynamodb 3.42.0 → 3.46.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 +50 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +28 -17
- package/dist-cjs/protocols/Aws_json1_0.js +40 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +17 -8
- package/dist-es/protocols/Aws_json1_0.js +46 -14
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/models/models_0.d.ts +223 -83
- package/dist-types/ts3.4/models/models_0.d.ts +82 -39
- package/package.json +38 -45
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,56 @@
|
|
|
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.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **clients:** update clients as of 2021/12/01 ([#3078](https://github.com/aws/aws-sdk-js-v3/issues/3078)) ([9c44188](https://github.com/aws/aws-sdk-js-v3/commit/9c44188265ea484d55c50848d7daae5571007ce0))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Features
|
|
49
|
+
|
|
50
|
+
* **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))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
6
56
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
57
|
|
|
8
58
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.TransactWriteItemsInput = exports.TransactWriteItem = exports.UpdateItemInput = exports.BatchWriteItemOutput = exports.QueryInput = exports.PutItemInput = exports.DeleteItemInput = exports.BatchWriteItemInput = exports.ScanInput = exports.BatchGetItemOutput = exports.WriteRequest = exports.UpdateItemOutput = exports.ScanOutput = exports.QueryOutput = exports.PutItemOutput = exports.DeleteItemOutput = exports.Update = exports.Put = exports.Delete = exports.ConditionCheck = exports.TransactWriteItemsOutput = exports.TransactGetItemsInput = exports.ExpectedAttributeValue = exports.BatchGetItemInput = exports.TransactionCanceledException = void 0;
|
|
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
|
+
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.TableClassSummary = exports.TableClass = exports.ReplicaGlobalSecondaryIndexDescription = void 0;
|
|
5
|
+
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 = exports.ReplicaSettingsDescription = exports.ReplicaGlobalSecondaryIndexSettingsDescription = void 0;
|
|
6
|
+
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 = exports.UpdateContinuousBackupsOutput = exports.UpdateContinuousBackupsInput = void 0;
|
|
7
|
+
exports.TransactWriteItemsInput = exports.TransactWriteItem = exports.UpdateItemInput = exports.BatchWriteItemOutput = exports.QueryInput = exports.PutItemInput = exports.DeleteItemInput = exports.BatchWriteItemInput = exports.ScanInput = exports.BatchGetItemOutput = exports.WriteRequest = exports.UpdateItemOutput = exports.ScanOutput = exports.QueryOutput = exports.PutItemOutput = exports.DeleteItemOutput = exports.Update = exports.Put = exports.Delete = exports.ConditionCheck = exports.TransactWriteItemsOutput = exports.TransactGetItemsInput = exports.ExpectedAttributeValue = exports.BatchGetItemInput = exports.TransactionCanceledException = exports.TransactGetItemsOutput = exports.ExecuteTransactionOutput = void 0;
|
|
8
8
|
var ArchivalSummary;
|
|
9
9
|
(function (ArchivalSummary) {
|
|
10
10
|
ArchivalSummary.filterSensitiveLog = (obj) => ({
|
|
@@ -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) => ({
|
|
@@ -320,6 +320,17 @@ var ReplicaGlobalSecondaryIndexDescription;
|
|
|
320
320
|
...obj,
|
|
321
321
|
});
|
|
322
322
|
})(ReplicaGlobalSecondaryIndexDescription = exports.ReplicaGlobalSecondaryIndexDescription || (exports.ReplicaGlobalSecondaryIndexDescription = {}));
|
|
323
|
+
var TableClass;
|
|
324
|
+
(function (TableClass) {
|
|
325
|
+
TableClass["STANDARD"] = "STANDARD";
|
|
326
|
+
TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
|
|
327
|
+
})(TableClass = exports.TableClass || (exports.TableClass = {}));
|
|
328
|
+
var TableClassSummary;
|
|
329
|
+
(function (TableClassSummary) {
|
|
330
|
+
TableClassSummary.filterSensitiveLog = (obj) => ({
|
|
331
|
+
...obj,
|
|
332
|
+
});
|
|
333
|
+
})(TableClassSummary = exports.TableClassSummary || (exports.TableClassSummary = {}));
|
|
323
334
|
var ReplicaDescription;
|
|
324
335
|
(function (ReplicaDescription) {
|
|
325
336
|
ReplicaDescription.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
|
};
|
|
@@ -4824,6 +4826,8 @@ const serializeAws_json1_0CreateReplicationGroupMemberAction = (input, context)
|
|
|
4824
4826
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
|
|
4825
4827
|
}),
|
|
4826
4828
|
...(input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }),
|
|
4829
|
+
...(input.TableClassOverride !== undefined &&
|
|
4830
|
+
input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }),
|
|
4827
4831
|
};
|
|
4828
4832
|
};
|
|
4829
4833
|
const serializeAws_json1_0CreateTableInput = (input, context) => {
|
|
@@ -4855,6 +4859,7 @@ const serializeAws_json1_0CreateTableInput = (input, context) => {
|
|
|
4855
4859
|
input.StreamSpecification !== null && {
|
|
4856
4860
|
StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
|
|
4857
4861
|
}),
|
|
4862
|
+
...(input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass }),
|
|
4858
4863
|
...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
|
|
4859
4864
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
4860
4865
|
};
|
|
@@ -5002,6 +5007,8 @@ const serializeAws_json1_0ExecuteStatementInput = (input, context) => {
|
|
|
5002
5007
|
input.Parameters !== null && {
|
|
5003
5008
|
Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
|
|
5004
5009
|
}),
|
|
5010
|
+
...(input.ReturnConsumedCapacity !== undefined &&
|
|
5011
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
|
|
5005
5012
|
...(input.Statement !== undefined && input.Statement !== null && { Statement: input.Statement }),
|
|
5006
5013
|
};
|
|
5007
5014
|
};
|
|
@@ -5009,6 +5016,8 @@ const serializeAws_json1_0ExecuteTransactionInput = (input, context) => {
|
|
|
5009
5016
|
var _a;
|
|
5010
5017
|
return {
|
|
5011
5018
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5019
|
+
...(input.ReturnConsumedCapacity !== undefined &&
|
|
5020
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity }),
|
|
5012
5021
|
...(input.TransactStatements !== undefined &&
|
|
5013
5022
|
input.TransactStatements !== null && {
|
|
5014
5023
|
TransactStatements: serializeAws_json1_0ParameterizedStatements(input.TransactStatements, context),
|
|
@@ -5683,6 +5692,8 @@ const serializeAws_json1_0ReplicaSettingsUpdate = (input, context) => {
|
|
|
5683
5692
|
input.ReplicaProvisionedReadCapacityUnits !== null && {
|
|
5684
5693
|
ReplicaProvisionedReadCapacityUnits: input.ReplicaProvisionedReadCapacityUnits,
|
|
5685
5694
|
}),
|
|
5695
|
+
...(input.ReplicaTableClass !== undefined &&
|
|
5696
|
+
input.ReplicaTableClass !== null && { ReplicaTableClass: input.ReplicaTableClass }),
|
|
5686
5697
|
};
|
|
5687
5698
|
};
|
|
5688
5699
|
const serializeAws_json1_0ReplicaSettingsUpdateList = (input, context) => {
|
|
@@ -6092,6 +6103,8 @@ const serializeAws_json1_0UpdateReplicationGroupMemberAction = (input, context)
|
|
|
6092
6103
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
|
|
6093
6104
|
}),
|
|
6094
6105
|
...(input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }),
|
|
6106
|
+
...(input.TableClassOverride !== undefined &&
|
|
6107
|
+
input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }),
|
|
6095
6108
|
};
|
|
6096
6109
|
};
|
|
6097
6110
|
const serializeAws_json1_0UpdateTableInput = (input, context) => {
|
|
@@ -6121,6 +6134,7 @@ const serializeAws_json1_0UpdateTableInput = (input, context) => {
|
|
|
6121
6134
|
input.StreamSpecification !== null && {
|
|
6122
6135
|
StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
|
|
6123
6136
|
}),
|
|
6137
|
+
...(input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass }),
|
|
6124
6138
|
...(input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }),
|
|
6125
6139
|
};
|
|
6126
6140
|
};
|
|
@@ -6367,6 +6381,9 @@ const deserializeAws_json1_0BackupSummary = (output, context) => {
|
|
|
6367
6381
|
};
|
|
6368
6382
|
const deserializeAws_json1_0BatchExecuteStatementOutput = (output, context) => {
|
|
6369
6383
|
return {
|
|
6384
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6385
|
+
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6386
|
+
: undefined,
|
|
6370
6387
|
Responses: output.Responses !== undefined && output.Responses !== null
|
|
6371
6388
|
? deserializeAws_json1_0PartiQLBatchResponse(output.Responses, context)
|
|
6372
6389
|
: undefined,
|
|
@@ -6736,6 +6753,9 @@ const deserializeAws_json1_0Endpoints = (output, context) => {
|
|
|
6736
6753
|
};
|
|
6737
6754
|
const deserializeAws_json1_0ExecuteStatementOutput = (output, context) => {
|
|
6738
6755
|
return {
|
|
6756
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6757
|
+
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
6758
|
+
: undefined,
|
|
6739
6759
|
Items: output.Items !== undefined && output.Items !== null
|
|
6740
6760
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
6741
6761
|
: undefined,
|
|
@@ -6744,6 +6764,9 @@ const deserializeAws_json1_0ExecuteStatementOutput = (output, context) => {
|
|
|
6744
6764
|
};
|
|
6745
6765
|
const deserializeAws_json1_0ExecuteTransactionOutput = (output, context) => {
|
|
6746
6766
|
return {
|
|
6767
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6768
|
+
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6769
|
+
: undefined,
|
|
6747
6770
|
Responses: output.Responses !== undefined && output.Responses !== null
|
|
6748
6771
|
? deserializeAws_json1_0ItemResponseList(output.Responses, context)
|
|
6749
6772
|
: undefined,
|
|
@@ -7423,6 +7446,9 @@ const deserializeAws_json1_0ReplicaDescription = (output, context) => {
|
|
|
7423
7446
|
ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
|
|
7424
7447
|
ReplicaStatusDescription: smithy_client_1.expectString(output.ReplicaStatusDescription),
|
|
7425
7448
|
ReplicaStatusPercentProgress: smithy_client_1.expectString(output.ReplicaStatusPercentProgress),
|
|
7449
|
+
ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
|
|
7450
|
+
? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
|
|
7451
|
+
: undefined,
|
|
7426
7452
|
};
|
|
7427
7453
|
};
|
|
7428
7454
|
const deserializeAws_json1_0ReplicaDescriptionList = (output, context) => {
|
|
@@ -7538,6 +7564,9 @@ const deserializeAws_json1_0ReplicaSettingsDescription = (output, context) => {
|
|
|
7538
7564
|
: undefined,
|
|
7539
7565
|
ReplicaProvisionedWriteCapacityUnits: smithy_client_1.expectLong(output.ReplicaProvisionedWriteCapacityUnits),
|
|
7540
7566
|
ReplicaStatus: smithy_client_1.expectString(output.ReplicaStatus),
|
|
7567
|
+
ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
|
|
7568
|
+
? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
|
|
7569
|
+
: undefined,
|
|
7541
7570
|
};
|
|
7542
7571
|
};
|
|
7543
7572
|
const deserializeAws_json1_0ReplicaSettingsDescriptionList = (output, context) => {
|
|
@@ -7693,6 +7722,14 @@ const deserializeAws_json1_0TableAutoScalingDescription = (output, context) => {
|
|
|
7693
7722
|
TableStatus: smithy_client_1.expectString(output.TableStatus),
|
|
7694
7723
|
};
|
|
7695
7724
|
};
|
|
7725
|
+
const deserializeAws_json1_0TableClassSummary = (output, context) => {
|
|
7726
|
+
return {
|
|
7727
|
+
LastUpdateDateTime: output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
|
|
7728
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateDateTime)))
|
|
7729
|
+
: undefined,
|
|
7730
|
+
TableClass: smithy_client_1.expectString(output.TableClass),
|
|
7731
|
+
};
|
|
7732
|
+
};
|
|
7696
7733
|
const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
7697
7734
|
return {
|
|
7698
7735
|
ArchivalSummary: output.ArchivalSummary !== undefined && output.ArchivalSummary !== null
|
|
@@ -7736,6 +7773,9 @@ const deserializeAws_json1_0TableDescription = (output, context) => {
|
|
|
7736
7773
|
? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
|
|
7737
7774
|
: undefined,
|
|
7738
7775
|
TableArn: smithy_client_1.expectString(output.TableArn),
|
|
7776
|
+
TableClassSummary: output.TableClassSummary !== undefined && output.TableClassSummary !== null
|
|
7777
|
+
? deserializeAws_json1_0TableClassSummary(output.TableClassSummary, context)
|
|
7778
|
+
: undefined,
|
|
7739
7779
|
TableId: smithy_client_1.expectString(output.TableId),
|
|
7740
7780
|
TableName: smithy_client_1.expectString(output.TableName),
|
|
7741
7781
|
TableSizeBytes: smithy_client_1.expectLong(output.TableSizeBytes),
|
|
@@ -16,10 +16,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
16
16
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
17
17
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
22
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
23
21
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
22
|
return {
|
|
25
23
|
...clientSharedValues,
|
package/dist-es/endpoints.js
CHANGED
|
@@ -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)); };
|
|
@@ -218,6 +218,15 @@ export var ReplicaGlobalSecondaryIndexDescription;
|
|
|
218
218
|
(function (ReplicaGlobalSecondaryIndexDescription) {
|
|
219
219
|
ReplicaGlobalSecondaryIndexDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
220
|
})(ReplicaGlobalSecondaryIndexDescription || (ReplicaGlobalSecondaryIndexDescription = {}));
|
|
221
|
+
export var TableClass;
|
|
222
|
+
(function (TableClass) {
|
|
223
|
+
TableClass["STANDARD"] = "STANDARD";
|
|
224
|
+
TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
|
|
225
|
+
})(TableClass || (TableClass = {}));
|
|
226
|
+
export var TableClassSummary;
|
|
227
|
+
(function (TableClassSummary) {
|
|
228
|
+
TableClassSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
})(TableClassSummary || (TableClassSummary = {}));
|
|
221
230
|
export var ReplicaDescription;
|
|
222
231
|
(function (ReplicaDescription) {
|
|
223
232
|
ReplicaDescription.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) {
|
|
@@ -5192,17 +5193,18 @@ var serializeAws_json1_0CreateReplicaAction = function (input, context) {
|
|
|
5192
5193
|
return __assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
|
|
5193
5194
|
};
|
|
5194
5195
|
var serializeAws_json1_0CreateReplicationGroupMemberAction = function (input, context) {
|
|
5195
|
-
return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
|
|
5196
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
|
|
5196
5197
|
input.GlobalSecondaryIndexes !== null && {
|
|
5197
5198
|
GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
|
|
5198
5199
|
})), (input.KMSMasterKeyId !== undefined &&
|
|
5199
5200
|
input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
|
|
5200
5201
|
input.ProvisionedThroughputOverride !== null && {
|
|
5201
5202
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
|
|
5202
|
-
})), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }))
|
|
5203
|
+
})), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.TableClassOverride !== undefined &&
|
|
5204
|
+
input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }));
|
|
5203
5205
|
};
|
|
5204
5206
|
var serializeAws_json1_0CreateTableInput = function (input, context) {
|
|
5205
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
|
|
5207
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
|
|
5206
5208
|
input.AttributeDefinitions !== null && {
|
|
5207
5209
|
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
5208
5210
|
})), (input.BillingMode !== undefined && input.BillingMode !== null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexes !== undefined &&
|
|
@@ -5221,7 +5223,7 @@ var serializeAws_json1_0CreateTableInput = function (input, context) {
|
|
|
5221
5223
|
})), (input.StreamSpecification !== undefined &&
|
|
5222
5224
|
input.StreamSpecification !== null && {
|
|
5223
5225
|
StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
|
|
5224
|
-
})), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
5226
|
+
})), (input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
5225
5227
|
};
|
|
5226
5228
|
var serializeAws_json1_0Delete = function (input, context) {
|
|
5227
5229
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ConditionExpression !== undefined &&
|
|
@@ -5307,15 +5309,17 @@ var serializeAws_json1_0DescribeTimeToLiveInput = function (input, context) {
|
|
|
5307
5309
|
return __assign({}, (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
5308
5310
|
};
|
|
5309
5311
|
var serializeAws_json1_0ExecuteStatementInput = function (input, context) {
|
|
5310
|
-
return __assign(__assign(__assign(__assign({}, (input.ConsistentRead !== undefined &&
|
|
5312
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ConsistentRead !== undefined &&
|
|
5311
5313
|
input.ConsistentRead !== null && { ConsistentRead: input.ConsistentRead })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Parameters !== undefined &&
|
|
5312
5314
|
input.Parameters !== null && {
|
|
5313
5315
|
Parameters: serializeAws_json1_0PreparedStatementParameters(input.Parameters, context),
|
|
5314
|
-
})), (input.
|
|
5316
|
+
})), (input.ReturnConsumedCapacity !== undefined &&
|
|
5317
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.Statement !== undefined && input.Statement !== null && { Statement: input.Statement }));
|
|
5315
5318
|
};
|
|
5316
5319
|
var serializeAws_json1_0ExecuteTransactionInput = function (input, context) {
|
|
5317
5320
|
var _a;
|
|
5318
|
-
return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.
|
|
5321
|
+
return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ReturnConsumedCapacity !== undefined &&
|
|
5322
|
+
input.ReturnConsumedCapacity !== null && { ReturnConsumedCapacity: input.ReturnConsumedCapacity })), (input.TransactStatements !== undefined &&
|
|
5319
5323
|
input.TransactStatements !== null && {
|
|
5320
5324
|
TransactStatements: serializeAws_json1_0ParameterizedStatements(input.TransactStatements, context),
|
|
5321
5325
|
}));
|
|
@@ -5814,7 +5818,7 @@ var serializeAws_json1_0ReplicaList = function (input, context) {
|
|
|
5814
5818
|
});
|
|
5815
5819
|
};
|
|
5816
5820
|
var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
|
|
5817
|
-
return __assign(__assign(__assign(__assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.ReplicaGlobalSecondaryIndexSettingsUpdate !== undefined &&
|
|
5821
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.ReplicaGlobalSecondaryIndexSettingsUpdate !== undefined &&
|
|
5818
5822
|
input.ReplicaGlobalSecondaryIndexSettingsUpdate !== null && {
|
|
5819
5823
|
ReplicaGlobalSecondaryIndexSettingsUpdate: serializeAws_json1_0ReplicaGlobalSecondaryIndexSettingsUpdateList(input.ReplicaGlobalSecondaryIndexSettingsUpdate, context),
|
|
5820
5824
|
})), (input.ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate !== undefined &&
|
|
@@ -5823,7 +5827,8 @@ var serializeAws_json1_0ReplicaSettingsUpdate = function (input, context) {
|
|
|
5823
5827
|
})), (input.ReplicaProvisionedReadCapacityUnits !== undefined &&
|
|
5824
5828
|
input.ReplicaProvisionedReadCapacityUnits !== null && {
|
|
5825
5829
|
ReplicaProvisionedReadCapacityUnits: input.ReplicaProvisionedReadCapacityUnits,
|
|
5826
|
-
}))
|
|
5830
|
+
})), (input.ReplicaTableClass !== undefined &&
|
|
5831
|
+
input.ReplicaTableClass !== null && { ReplicaTableClass: input.ReplicaTableClass }));
|
|
5827
5832
|
};
|
|
5828
5833
|
var serializeAws_json1_0ReplicaSettingsUpdateList = function (input, context) {
|
|
5829
5834
|
return input
|
|
@@ -6102,17 +6107,18 @@ var serializeAws_json1_0UpdateItemInput = function (input, context) {
|
|
|
6102
6107
|
input.UpdateExpression !== null && { UpdateExpression: input.UpdateExpression }));
|
|
6103
6108
|
};
|
|
6104
6109
|
var serializeAws_json1_0UpdateReplicationGroupMemberAction = function (input, context) {
|
|
6105
|
-
return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
|
|
6110
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexes !== undefined &&
|
|
6106
6111
|
input.GlobalSecondaryIndexes !== null && {
|
|
6107
6112
|
GlobalSecondaryIndexes: serializeAws_json1_0ReplicaGlobalSecondaryIndexList(input.GlobalSecondaryIndexes, context),
|
|
6108
6113
|
})), (input.KMSMasterKeyId !== undefined &&
|
|
6109
6114
|
input.KMSMasterKeyId !== null && { KMSMasterKeyId: input.KMSMasterKeyId })), (input.ProvisionedThroughputOverride !== undefined &&
|
|
6110
6115
|
input.ProvisionedThroughputOverride !== null && {
|
|
6111
6116
|
ProvisionedThroughputOverride: serializeAws_json1_0ProvisionedThroughputOverride(input.ProvisionedThroughputOverride, context),
|
|
6112
|
-
})), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }))
|
|
6117
|
+
})), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName })), (input.TableClassOverride !== undefined &&
|
|
6118
|
+
input.TableClassOverride !== null && { TableClassOverride: input.TableClassOverride }));
|
|
6113
6119
|
};
|
|
6114
6120
|
var serializeAws_json1_0UpdateTableInput = function (input, context) {
|
|
6115
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
|
|
6121
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AttributeDefinitions !== undefined &&
|
|
6116
6122
|
input.AttributeDefinitions !== null && {
|
|
6117
6123
|
AttributeDefinitions: serializeAws_json1_0AttributeDefinitions(input.AttributeDefinitions, context),
|
|
6118
6124
|
})), (input.BillingMode !== undefined && input.BillingMode !== null && { BillingMode: input.BillingMode })), (input.GlobalSecondaryIndexUpdates !== undefined &&
|
|
@@ -6130,7 +6136,7 @@ var serializeAws_json1_0UpdateTableInput = function (input, context) {
|
|
|
6130
6136
|
})), (input.StreamSpecification !== undefined &&
|
|
6131
6137
|
input.StreamSpecification !== null && {
|
|
6132
6138
|
StreamSpecification: serializeAws_json1_0StreamSpecification(input.StreamSpecification, context),
|
|
6133
|
-
})), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
6139
|
+
})), (input.TableClass !== undefined && input.TableClass !== null && { TableClass: input.TableClass })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
6134
6140
|
};
|
|
6135
6141
|
var serializeAws_json1_0UpdateTableReplicaAutoScalingInput = function (input, context) {
|
|
6136
6142
|
return __assign(__assign(__assign(__assign({}, (input.GlobalSecondaryIndexUpdates !== undefined &&
|
|
@@ -6363,6 +6369,9 @@ var deserializeAws_json1_0BackupSummary = function (output, context) {
|
|
|
6363
6369
|
};
|
|
6364
6370
|
var deserializeAws_json1_0BatchExecuteStatementOutput = function (output, context) {
|
|
6365
6371
|
return {
|
|
6372
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6373
|
+
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6374
|
+
: undefined,
|
|
6366
6375
|
Responses: output.Responses !== undefined && output.Responses !== null
|
|
6367
6376
|
? deserializeAws_json1_0PartiQLBatchResponse(output.Responses, context)
|
|
6368
6377
|
: undefined,
|
|
@@ -6729,6 +6738,9 @@ var deserializeAws_json1_0Endpoints = function (output, context) {
|
|
|
6729
6738
|
};
|
|
6730
6739
|
var deserializeAws_json1_0ExecuteStatementOutput = function (output, context) {
|
|
6731
6740
|
return {
|
|
6741
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6742
|
+
? deserializeAws_json1_0ConsumedCapacity(output.ConsumedCapacity, context)
|
|
6743
|
+
: undefined,
|
|
6732
6744
|
Items: output.Items !== undefined && output.Items !== null
|
|
6733
6745
|
? deserializeAws_json1_0ItemList(output.Items, context)
|
|
6734
6746
|
: undefined,
|
|
@@ -6737,6 +6749,9 @@ var deserializeAws_json1_0ExecuteStatementOutput = function (output, context) {
|
|
|
6737
6749
|
};
|
|
6738
6750
|
var deserializeAws_json1_0ExecuteTransactionOutput = function (output, context) {
|
|
6739
6751
|
return {
|
|
6752
|
+
ConsumedCapacity: output.ConsumedCapacity !== undefined && output.ConsumedCapacity !== null
|
|
6753
|
+
? deserializeAws_json1_0ConsumedCapacityMultiple(output.ConsumedCapacity, context)
|
|
6754
|
+
: undefined,
|
|
6740
6755
|
Responses: output.Responses !== undefined && output.Responses !== null
|
|
6741
6756
|
? deserializeAws_json1_0ItemResponseList(output.Responses, context)
|
|
6742
6757
|
: undefined,
|
|
@@ -7410,6 +7425,9 @@ var deserializeAws_json1_0ReplicaDescription = function (output, context) {
|
|
|
7410
7425
|
ReplicaStatus: __expectString(output.ReplicaStatus),
|
|
7411
7426
|
ReplicaStatusDescription: __expectString(output.ReplicaStatusDescription),
|
|
7412
7427
|
ReplicaStatusPercentProgress: __expectString(output.ReplicaStatusPercentProgress),
|
|
7428
|
+
ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
|
|
7429
|
+
? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
|
|
7430
|
+
: undefined,
|
|
7413
7431
|
};
|
|
7414
7432
|
};
|
|
7415
7433
|
var deserializeAws_json1_0ReplicaDescriptionList = function (output, context) {
|
|
@@ -7525,6 +7543,9 @@ var deserializeAws_json1_0ReplicaSettingsDescription = function (output, context
|
|
|
7525
7543
|
: undefined,
|
|
7526
7544
|
ReplicaProvisionedWriteCapacityUnits: __expectLong(output.ReplicaProvisionedWriteCapacityUnits),
|
|
7527
7545
|
ReplicaStatus: __expectString(output.ReplicaStatus),
|
|
7546
|
+
ReplicaTableClassSummary: output.ReplicaTableClassSummary !== undefined && output.ReplicaTableClassSummary !== null
|
|
7547
|
+
? deserializeAws_json1_0TableClassSummary(output.ReplicaTableClassSummary, context)
|
|
7548
|
+
: undefined,
|
|
7528
7549
|
};
|
|
7529
7550
|
};
|
|
7530
7551
|
var deserializeAws_json1_0ReplicaSettingsDescriptionList = function (output, context) {
|
|
@@ -7679,6 +7700,14 @@ var deserializeAws_json1_0TableAutoScalingDescription = function (output, contex
|
|
|
7679
7700
|
TableStatus: __expectString(output.TableStatus),
|
|
7680
7701
|
};
|
|
7681
7702
|
};
|
|
7703
|
+
var deserializeAws_json1_0TableClassSummary = function (output, context) {
|
|
7704
|
+
return {
|
|
7705
|
+
LastUpdateDateTime: output.LastUpdateDateTime !== undefined && output.LastUpdateDateTime !== null
|
|
7706
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateDateTime)))
|
|
7707
|
+
: undefined,
|
|
7708
|
+
TableClass: __expectString(output.TableClass),
|
|
7709
|
+
};
|
|
7710
|
+
};
|
|
7682
7711
|
var deserializeAws_json1_0TableDescription = function (output, context) {
|
|
7683
7712
|
return {
|
|
7684
7713
|
ArchivalSummary: output.ArchivalSummary !== undefined && output.ArchivalSummary !== null
|
|
@@ -7722,6 +7751,9 @@ var deserializeAws_json1_0TableDescription = function (output, context) {
|
|
|
7722
7751
|
? deserializeAws_json1_0StreamSpecification(output.StreamSpecification, context)
|
|
7723
7752
|
: undefined,
|
|
7724
7753
|
TableArn: __expectString(output.TableArn),
|
|
7754
|
+
TableClassSummary: output.TableClassSummary !== undefined && output.TableClassSummary !== null
|
|
7755
|
+
? deserializeAws_json1_0TableClassSummary(output.TableClassSummary, context)
|
|
7756
|
+
: undefined,
|
|
7725
7757
|
TableId: __expectString(output.TableId),
|
|
7726
7758
|
TableName: __expectString(output.TableName),
|
|
7727
7759
|
TableSizeBytes: __expectLong(output.TableSizeBytes),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -13,10 +13,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
13
13
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
14
14
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
15
15
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
16
|
export var getRuntimeConfig = function (config) {
|
|
18
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
19
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
20
18
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
19
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new NodeHttpHandler(), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
|
|
22
20
|
};
|