@aws-sdk/client-dynamodb 3.39.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 +44 -0
- package/README.md +18 -16
- package/dist-cjs/endpoints.js +157 -27
- package/dist-cjs/models/models_0.js +13 -13
- package/dist-cjs/protocols/Aws_json1_0.js +15 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +157 -27
- package/dist-es/models/models_0.js +8 -8
- package/dist-es/protocols/Aws_json1_0.js +16 -4
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/DynamoDB.d.ts +606 -567
- package/dist-types/DynamoDBClient.d.ts +24 -15
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +7 -4
- package/dist-types/commands/BatchGetItemCommand.d.ts +27 -26
- package/dist-types/commands/BatchWriteItemCommand.d.ts +51 -47
- package/dist-types/commands/CreateBackupCommand.d.ts +19 -19
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +32 -43
- package/dist-types/commands/CreateTableCommand.d.ts +14 -14
- package/dist-types/commands/DeleteBackupCommand.d.ts +3 -2
- package/dist-types/commands/DeleteItemCommand.d.ts +12 -7
- package/dist-types/commands/DeleteTableCommand.d.ts +18 -16
- package/dist-types/commands/DescribeBackupCommand.d.ts +3 -2
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +12 -11
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +6 -5
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +5 -4
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLimitsCommand.d.ts +51 -41
- package/dist-types/commands/DescribeTableCommand.d.ts +11 -8
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +5 -4
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +1 -1
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +1 -1
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +5 -5
- package/dist-types/commands/ExecuteStatementCommand.d.ts +3 -4
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +9 -4
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +1 -1
- package/dist-types/commands/GetItemCommand.d.ts +9 -8
- package/dist-types/commands/ListBackupsCommand.d.ts +7 -7
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +3 -2
- package/dist-types/commands/ListExportsCommand.d.ts +1 -1
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +5 -4
- package/dist-types/commands/ListTablesCommand.d.ts +4 -4
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +5 -5
- package/dist-types/commands/PutItemCommand.d.ts +52 -45
- package/dist-types/commands/QueryCommand.d.ts +40 -44
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +19 -19
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +36 -41
- package/dist-types/commands/ScanCommand.d.ts +17 -16
- package/dist-types/commands/TagResourceCommand.d.ts +3 -4
- package/dist-types/commands/TransactGetItemsCommand.d.ts +12 -11
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +49 -47
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +10 -10
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +7 -2
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +12 -17
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateItemCommand.d.ts +8 -4
- package/dist-types/commands/UpdateTableCommand.d.ts +15 -13
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +5 -4
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +15 -15
- package/dist-types/models/models_0.d.ts +3552 -2839
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -39
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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
|
+
|
|
17
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **clients:** merge default variants by comparing tags ([#3044](https://github.com/aws/aws-sdk-js-v3/issues/3044)) ([d65a310](https://github.com/aws/aws-sdk-js-v3/commit/d65a310ed5a471e72633a18ae6f3c98390e20783))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
51
|
|
|
8
52
|
**Note:** Version bump only for package @aws-sdk/client-dynamodb
|
package/README.md
CHANGED
|
@@ -9,22 +9,24 @@ AWS SDK for JavaScript DynamoDB Client for Node.js, Browser and React Native.
|
|
|
9
9
|
|
|
10
10
|
<fullname>Amazon DynamoDB</fullname>
|
|
11
11
|
|
|
12
|
-
<p>Amazon DynamoDB is a fully managed NoSQL database service that provides fast
|
|
13
|
-
predictable performance with seamless scalability. DynamoDB lets you
|
|
14
|
-
administrative burdens of operating and scaling a distributed database, so
|
|
15
|
-
to worry about hardware provisioning, setup and configuration,
|
|
16
|
-
or cluster scaling.</p>
|
|
17
|
-
|
|
18
|
-
<p>With DynamoDB, you can create database tables that can store and retrieve
|
|
19
|
-
data, and serve any level of request traffic. You can scale up or scale
|
|
20
|
-
throughput capacity without downtime or performance degradation, and
|
|
21
|
-
Console to monitor resource utilization and performance
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
12
|
+
<p>Amazon DynamoDB is a fully managed NoSQL database service that provides fast
|
|
13
|
+
and predictable performance with seamless scalability. DynamoDB lets you
|
|
14
|
+
offload the administrative burdens of operating and scaling a distributed database, so
|
|
15
|
+
that you don't have to worry about hardware provisioning, setup and configuration,
|
|
16
|
+
replication, software patching, or cluster scaling.</p>
|
|
17
|
+
|
|
18
|
+
<p>With DynamoDB, you can create database tables that can store and retrieve
|
|
19
|
+
any amount of data, and serve any level of request traffic. You can scale up or scale
|
|
20
|
+
down your tables' throughput capacity without downtime or performance degradation, and
|
|
21
|
+
use the Amazon Web Services Management Console to monitor resource utilization and performance
|
|
22
|
+
metrics.</p>
|
|
23
|
+
|
|
24
|
+
<p>DynamoDB automatically spreads the data and traffic for your tables over
|
|
25
|
+
a sufficient number of servers to handle your throughput and storage requirements, while
|
|
26
|
+
maintaining consistent and fast performance. All of your data is stored on solid state
|
|
27
|
+
disks (SSDs) and automatically replicated across multiple Availability Zones in an
|
|
28
|
+
Amazon Web Services Region, providing built-in high availability and data
|
|
29
|
+
durability.</p>
|
|
28
30
|
|
|
29
31
|
## Installing
|
|
30
32
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,37 +3,98 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"ca-central-1
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"ca-central-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "dynamodb.ca-central-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "dynamodb-fips.ca-central-1.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
9
17
|
},
|
|
10
18
|
local: {
|
|
11
|
-
|
|
19
|
+
variants: [
|
|
20
|
+
{
|
|
21
|
+
hostname: "localhost:8000",
|
|
22
|
+
tags: [],
|
|
23
|
+
},
|
|
24
|
+
],
|
|
12
25
|
signingRegion: "us-east-1",
|
|
13
26
|
},
|
|
14
|
-
"us-east-1
|
|
15
|
-
|
|
16
|
-
|
|
27
|
+
"us-east-1": {
|
|
28
|
+
variants: [
|
|
29
|
+
{
|
|
30
|
+
hostname: "dynamodb.us-east-1.amazonaws.com",
|
|
31
|
+
tags: [],
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
hostname: "dynamodb-fips.us-east-1.amazonaws.com",
|
|
35
|
+
tags: ["fips"],
|
|
36
|
+
},
|
|
37
|
+
],
|
|
17
38
|
},
|
|
18
|
-
"us-east-2
|
|
19
|
-
|
|
20
|
-
|
|
39
|
+
"us-east-2": {
|
|
40
|
+
variants: [
|
|
41
|
+
{
|
|
42
|
+
hostname: "dynamodb.us-east-2.amazonaws.com",
|
|
43
|
+
tags: [],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
hostname: "dynamodb-fips.us-east-2.amazonaws.com",
|
|
47
|
+
tags: ["fips"],
|
|
48
|
+
},
|
|
49
|
+
],
|
|
21
50
|
},
|
|
22
|
-
"us-gov-east-1
|
|
23
|
-
|
|
24
|
-
|
|
51
|
+
"us-gov-east-1": {
|
|
52
|
+
variants: [
|
|
53
|
+
{
|
|
54
|
+
hostname: "dynamodb.us-gov-east-1.amazonaws.com",
|
|
55
|
+
tags: [],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hostname: "dynamodb.us-gov-east-1.amazonaws.com",
|
|
59
|
+
tags: ["fips"],
|
|
60
|
+
},
|
|
61
|
+
],
|
|
25
62
|
},
|
|
26
|
-
"us-gov-west-1
|
|
27
|
-
|
|
28
|
-
|
|
63
|
+
"us-gov-west-1": {
|
|
64
|
+
variants: [
|
|
65
|
+
{
|
|
66
|
+
hostname: "dynamodb.us-gov-west-1.amazonaws.com",
|
|
67
|
+
tags: [],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
hostname: "dynamodb.us-gov-west-1.amazonaws.com",
|
|
71
|
+
tags: ["fips"],
|
|
72
|
+
},
|
|
73
|
+
],
|
|
29
74
|
},
|
|
30
|
-
"us-west-1
|
|
31
|
-
|
|
32
|
-
|
|
75
|
+
"us-west-1": {
|
|
76
|
+
variants: [
|
|
77
|
+
{
|
|
78
|
+
hostname: "dynamodb.us-west-1.amazonaws.com",
|
|
79
|
+
tags: [],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
hostname: "dynamodb-fips.us-west-1.amazonaws.com",
|
|
83
|
+
tags: ["fips"],
|
|
84
|
+
},
|
|
85
|
+
],
|
|
33
86
|
},
|
|
34
|
-
"us-west-2
|
|
35
|
-
|
|
36
|
-
|
|
87
|
+
"us-west-2": {
|
|
88
|
+
variants: [
|
|
89
|
+
{
|
|
90
|
+
hostname: "dynamodb.us-west-2.amazonaws.com",
|
|
91
|
+
tags: [],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
hostname: "dynamodb-fips.us-west-2.amazonaws.com",
|
|
95
|
+
tags: ["fips"],
|
|
96
|
+
},
|
|
97
|
+
],
|
|
37
98
|
},
|
|
38
99
|
};
|
|
39
100
|
const partitionHash = {
|
|
@@ -68,27 +129,96 @@ const partitionHash = {
|
|
|
68
129
|
"us-west-2-fips",
|
|
69
130
|
],
|
|
70
131
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
71
|
-
|
|
132
|
+
variants: [
|
|
133
|
+
{
|
|
134
|
+
hostname: "dynamodb.{region}.amazonaws.com",
|
|
135
|
+
tags: [],
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
hostname: "dynamodb-fips.{region}.amazonaws.com",
|
|
139
|
+
tags: ["fips"],
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
hostname: "dynamodb-fips.{region}.api.aws",
|
|
143
|
+
tags: ["dualstack", "fips"],
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
hostname: "dynamodb.{region}.api.aws",
|
|
147
|
+
tags: ["dualstack"],
|
|
148
|
+
},
|
|
149
|
+
],
|
|
72
150
|
},
|
|
73
151
|
"aws-cn": {
|
|
74
152
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
75
153
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
76
|
-
|
|
154
|
+
variants: [
|
|
155
|
+
{
|
|
156
|
+
hostname: "dynamodb.{region}.amazonaws.com.cn",
|
|
157
|
+
tags: [],
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
hostname: "dynamodb-fips.{region}.amazonaws.com.cn",
|
|
161
|
+
tags: ["fips"],
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
hostname: "dynamodb-fips.{region}.api.amazonwebservices.com.cn",
|
|
165
|
+
tags: ["dualstack", "fips"],
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
hostname: "dynamodb.{region}.api.amazonwebservices.com.cn",
|
|
169
|
+
tags: ["dualstack"],
|
|
170
|
+
},
|
|
171
|
+
],
|
|
77
172
|
},
|
|
78
173
|
"aws-iso": {
|
|
79
174
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
80
175
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
81
|
-
|
|
176
|
+
variants: [
|
|
177
|
+
{
|
|
178
|
+
hostname: "dynamodb.{region}.c2s.ic.gov",
|
|
179
|
+
tags: [],
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
hostname: "dynamodb-fips.{region}.c2s.ic.gov",
|
|
183
|
+
tags: ["fips"],
|
|
184
|
+
},
|
|
185
|
+
],
|
|
82
186
|
},
|
|
83
187
|
"aws-iso-b": {
|
|
84
188
|
regions: ["us-isob-east-1"],
|
|
85
189
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
86
|
-
|
|
190
|
+
variants: [
|
|
191
|
+
{
|
|
192
|
+
hostname: "dynamodb.{region}.sc2s.sgov.gov",
|
|
193
|
+
tags: [],
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
hostname: "dynamodb-fips.{region}.sc2s.sgov.gov",
|
|
197
|
+
tags: ["fips"],
|
|
198
|
+
},
|
|
199
|
+
],
|
|
87
200
|
},
|
|
88
201
|
"aws-us-gov": {
|
|
89
202
|
regions: ["us-gov-east-1", "us-gov-east-1-fips", "us-gov-west-1", "us-gov-west-1-fips"],
|
|
90
203
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
91
|
-
|
|
204
|
+
variants: [
|
|
205
|
+
{
|
|
206
|
+
hostname: "dynamodb.{region}.amazonaws.com",
|
|
207
|
+
tags: [],
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
hostname: "dynamodb.{region}.amazonaws.com",
|
|
211
|
+
tags: ["fips"],
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
hostname: "dynamodb-fips.{region}.api.aws",
|
|
215
|
+
tags: ["dualstack", "fips"],
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
hostname: "dynamodb.{region}.api.aws",
|
|
219
|
+
tags: ["dualstack"],
|
|
220
|
+
},
|
|
221
|
+
],
|
|
92
222
|
},
|
|
93
223
|
};
|
|
94
224
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
@@ -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,
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -31,8 +32,10 @@ const getRuntimeConfig = (config) => {
|
|
|
31
32
|
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
32
33
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
33
34
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
+
useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
+
utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.fromUtf8,
|
|
38
|
+
utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : util_utf8_browser_1.toUtf8,
|
|
36
39
|
};
|
|
37
40
|
};
|
|
38
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -18,7 +18,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
18
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
19
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
21
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
22
22
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
23
23
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
24
|
return {
|
|
@@ -37,8 +37,10 @@ const getRuntimeConfig = (config) => {
|
|
|
37
37
|
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
38
38
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
39
39
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
41
|
+
useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.fromUtf8,
|
|
43
|
+
utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : util_utf8_node_1.toUtf8,
|
|
42
44
|
};
|
|
43
45
|
};
|
|
44
46
|
exports.getRuntimeConfig = getRuntimeConfig;
|