@aws-sdk/client-dynamodb 3.567.0 → 3.568.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/dist-cjs/index.js +5 -0
- package/dist-es/protocols/Aws_json1_0.js +5 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +6 -0
- package/dist-types/commands/CreateTableCommand.d.ts +22 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +8 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +14 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +8 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +6 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +8 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +14 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/ImportTableCommand.d.ts +16 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +22 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +22 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +38 -0
- package/dist-types/models/models_0.d.ts +135 -9
- package/dist-types/ts3.4/models/models_0.d.ts +25 -1
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -3005,6 +3005,7 @@ var se_RestoreTableToPointInTimeInput = /* @__PURE__ */ __name((input, context)
|
|
|
3005
3005
|
BillingModeOverride: [],
|
|
3006
3006
|
GlobalSecondaryIndexOverride: import_smithy_client._json,
|
|
3007
3007
|
LocalSecondaryIndexOverride: import_smithy_client._json,
|
|
3008
|
+
OnDemandThroughputOverride: import_smithy_client._json,
|
|
3008
3009
|
ProvisionedThroughputOverride: import_smithy_client._json,
|
|
3009
3010
|
RestoreDateTime: (_) => Math.round(_.getTime() / 1e3),
|
|
3010
3011
|
SSESpecificationOverride: import_smithy_client._json,
|
|
@@ -3528,6 +3529,7 @@ var de_GlobalSecondaryIndexDescription = /* @__PURE__ */ __name((output, context
|
|
|
3528
3529
|
IndexStatus: import_smithy_client.expectString,
|
|
3529
3530
|
ItemCount: import_smithy_client.expectLong,
|
|
3530
3531
|
KeySchema: import_smithy_client._json,
|
|
3532
|
+
OnDemandThroughput: import_smithy_client._json,
|
|
3531
3533
|
Projection: import_smithy_client._json,
|
|
3532
3534
|
ProvisionedThroughput: (_) => de_ProvisionedThroughputDescription(_, context)
|
|
3533
3535
|
});
|
|
@@ -3775,6 +3777,7 @@ var de_ReplicaDescription = /* @__PURE__ */ __name((output, context) => {
|
|
|
3775
3777
|
return (0, import_smithy_client.take)(output, {
|
|
3776
3778
|
GlobalSecondaryIndexes: import_smithy_client._json,
|
|
3777
3779
|
KMSMasterKeyId: import_smithy_client.expectString,
|
|
3780
|
+
OnDemandThroughputOverride: import_smithy_client._json,
|
|
3778
3781
|
ProvisionedThroughputOverride: import_smithy_client._json,
|
|
3779
3782
|
RegionName: import_smithy_client.expectString,
|
|
3780
3783
|
ReplicaInaccessibleDateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -3880,6 +3883,7 @@ var de_SourceTableDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
3880
3883
|
BillingMode: import_smithy_client.expectString,
|
|
3881
3884
|
ItemCount: import_smithy_client.expectLong,
|
|
3882
3885
|
KeySchema: import_smithy_client._json,
|
|
3886
|
+
OnDemandThroughput: import_smithy_client._json,
|
|
3883
3887
|
ProvisionedThroughput: import_smithy_client._json,
|
|
3884
3888
|
TableArn: import_smithy_client.expectString,
|
|
3885
3889
|
TableCreationDateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -3932,6 +3936,7 @@ var de_TableDescription = /* @__PURE__ */ __name((output, context) => {
|
|
|
3932
3936
|
LatestStreamArn: import_smithy_client.expectString,
|
|
3933
3937
|
LatestStreamLabel: import_smithy_client.expectString,
|
|
3934
3938
|
LocalSecondaryIndexes: import_smithy_client._json,
|
|
3939
|
+
OnDemandThroughput: import_smithy_client._json,
|
|
3935
3940
|
ProvisionedThroughput: (_) => de_ProvisionedThroughputDescription(_, context),
|
|
3936
3941
|
Replicas: (_) => de_ReplicaDescriptionList(_, context),
|
|
3937
3942
|
RestoreSummary: (_) => de_RestoreSummary(_, context),
|
|
@@ -1992,6 +1992,7 @@ const se_RestoreTableToPointInTimeInput = (input, context) => {
|
|
|
1992
1992
|
BillingModeOverride: [],
|
|
1993
1993
|
GlobalSecondaryIndexOverride: _json,
|
|
1994
1994
|
LocalSecondaryIndexOverride: _json,
|
|
1995
|
+
OnDemandThroughputOverride: _json,
|
|
1995
1996
|
ProvisionedThroughputOverride: _json,
|
|
1996
1997
|
RestoreDateTime: (_) => Math.round(_.getTime() / 1000),
|
|
1997
1998
|
SSESpecificationOverride: _json,
|
|
@@ -2528,6 +2529,7 @@ const de_GlobalSecondaryIndexDescription = (output, context) => {
|
|
|
2528
2529
|
IndexStatus: __expectString,
|
|
2529
2530
|
ItemCount: __expectLong,
|
|
2530
2531
|
KeySchema: _json,
|
|
2532
|
+
OnDemandThroughput: _json,
|
|
2531
2533
|
Projection: _json,
|
|
2532
2534
|
ProvisionedThroughput: (_) => de_ProvisionedThroughputDescription(_, context),
|
|
2533
2535
|
});
|
|
@@ -2795,6 +2797,7 @@ const de_ReplicaDescription = (output, context) => {
|
|
|
2795
2797
|
return take(output, {
|
|
2796
2798
|
GlobalSecondaryIndexes: _json,
|
|
2797
2799
|
KMSMasterKeyId: __expectString,
|
|
2800
|
+
OnDemandThroughputOverride: _json,
|
|
2798
2801
|
ProvisionedThroughputOverride: _json,
|
|
2799
2802
|
RegionName: __expectString,
|
|
2800
2803
|
ReplicaInaccessibleDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -2908,6 +2911,7 @@ const de_SourceTableDetails = (output, context) => {
|
|
|
2908
2911
|
BillingMode: __expectString,
|
|
2909
2912
|
ItemCount: __expectLong,
|
|
2910
2913
|
KeySchema: _json,
|
|
2914
|
+
OnDemandThroughput: _json,
|
|
2911
2915
|
ProvisionedThroughput: _json,
|
|
2912
2916
|
TableArn: __expectString,
|
|
2913
2917
|
TableCreationDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -2960,6 +2964,7 @@ const de_TableDescription = (output, context) => {
|
|
|
2960
2964
|
LatestStreamArn: __expectString,
|
|
2961
2965
|
LatestStreamLabel: __expectString,
|
|
2962
2966
|
LocalSecondaryIndexes: _json,
|
|
2967
|
+
OnDemandThroughput: _json,
|
|
2963
2968
|
ProvisionedThroughput: (_) => de_ProvisionedThroughputDescription(_, context),
|
|
2964
2969
|
Replicas: (_) => de_ReplicaDescriptionList(_, context),
|
|
2965
2970
|
RestoreSummary: (_) => de_RestoreSummary(_, context),
|
|
@@ -117,12 +117,18 @@ declare const CreateGlobalTableCommand_base: {
|
|
|
117
117
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
118
118
|
* // ReadCapacityUnits: Number("long"),
|
|
119
119
|
* // },
|
|
120
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
121
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
122
|
+
* // },
|
|
120
123
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
121
124
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
122
125
|
* // IndexName: "STRING_VALUE",
|
|
123
126
|
* // ProvisionedThroughputOverride: {
|
|
124
127
|
* // ReadCapacityUnits: Number("long"),
|
|
125
128
|
* // },
|
|
129
|
+
* // OnDemandThroughputOverride: {
|
|
130
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
131
|
+
* // },
|
|
126
132
|
* // },
|
|
127
133
|
* // ],
|
|
128
134
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -95,6 +95,10 @@ declare const CreateTableCommand_base: {
|
|
|
95
95
|
* ReadCapacityUnits: Number("long"), // required
|
|
96
96
|
* WriteCapacityUnits: Number("long"), // required
|
|
97
97
|
* },
|
|
98
|
+
* OnDemandThroughput: { // OnDemandThroughput
|
|
99
|
+
* MaxReadRequestUnits: Number("long"),
|
|
100
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
101
|
+
* },
|
|
98
102
|
* },
|
|
99
103
|
* ],
|
|
100
104
|
* BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
@@ -120,6 +124,10 @@ declare const CreateTableCommand_base: {
|
|
|
120
124
|
* TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
121
125
|
* DeletionProtectionEnabled: true || false,
|
|
122
126
|
* ResourcePolicy: "STRING_VALUE",
|
|
127
|
+
* OnDemandThroughput: {
|
|
128
|
+
* MaxReadRequestUnits: Number("long"),
|
|
129
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
130
|
+
* },
|
|
123
131
|
* };
|
|
124
132
|
* const command = new CreateTableCommand(input);
|
|
125
133
|
* const response = await client.send(command);
|
|
@@ -202,6 +210,10 @@ declare const CreateTableCommand_base: {
|
|
|
202
210
|
* // IndexSizeBytes: Number("long"),
|
|
203
211
|
* // ItemCount: Number("long"),
|
|
204
212
|
* // IndexArn: "STRING_VALUE",
|
|
213
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
214
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
215
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
216
|
+
* // },
|
|
205
217
|
* // },
|
|
206
218
|
* // ],
|
|
207
219
|
* // StreamSpecification: { // StreamSpecification
|
|
@@ -221,12 +233,18 @@ declare const CreateTableCommand_base: {
|
|
|
221
233
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
222
234
|
* // ReadCapacityUnits: Number("long"),
|
|
223
235
|
* // },
|
|
236
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
237
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
238
|
+
* // },
|
|
224
239
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
225
240
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
226
241
|
* // IndexName: "STRING_VALUE",
|
|
227
242
|
* // ProvisionedThroughputOverride: {
|
|
228
243
|
* // ReadCapacityUnits: Number("long"),
|
|
229
244
|
* // },
|
|
245
|
+
* // OnDemandThroughputOverride: {
|
|
246
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
247
|
+
* // },
|
|
230
248
|
* // },
|
|
231
249
|
* // ],
|
|
232
250
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -258,6 +276,10 @@ declare const CreateTableCommand_base: {
|
|
|
258
276
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
259
277
|
* // },
|
|
260
278
|
* // DeletionProtectionEnabled: true || false,
|
|
279
|
+
* // OnDemandThroughput: {
|
|
280
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
281
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
282
|
+
* // },
|
|
261
283
|
* // },
|
|
262
284
|
* // };
|
|
263
285
|
*
|
|
@@ -67,6 +67,10 @@ declare const DeleteBackupCommand_base: {
|
|
|
67
67
|
* // ReadCapacityUnits: Number("long"), // required
|
|
68
68
|
* // WriteCapacityUnits: Number("long"), // required
|
|
69
69
|
* // },
|
|
70
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
71
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
72
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
73
|
+
* // },
|
|
70
74
|
* // ItemCount: Number("long"),
|
|
71
75
|
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
72
76
|
* // },
|
|
@@ -107,6 +111,10 @@ declare const DeleteBackupCommand_base: {
|
|
|
107
111
|
* // ReadCapacityUnits: Number("long"), // required
|
|
108
112
|
* // WriteCapacityUnits: Number("long"), // required
|
|
109
113
|
* // },
|
|
114
|
+
* // OnDemandThroughput: {
|
|
115
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
116
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
117
|
+
* // },
|
|
110
118
|
* // },
|
|
111
119
|
* // ],
|
|
112
120
|
* // StreamDescription: { // StreamSpecification
|
|
@@ -139,6 +139,10 @@ declare const DeleteTableCommand_base: {
|
|
|
139
139
|
* // IndexSizeBytes: Number("long"),
|
|
140
140
|
* // ItemCount: Number("long"),
|
|
141
141
|
* // IndexArn: "STRING_VALUE",
|
|
142
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
143
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
144
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
145
|
+
* // },
|
|
142
146
|
* // },
|
|
143
147
|
* // ],
|
|
144
148
|
* // StreamSpecification: { // StreamSpecification
|
|
@@ -158,12 +162,18 @@ declare const DeleteTableCommand_base: {
|
|
|
158
162
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
159
163
|
* // ReadCapacityUnits: Number("long"),
|
|
160
164
|
* // },
|
|
165
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
166
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
167
|
+
* // },
|
|
161
168
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
162
169
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
163
170
|
* // IndexName: "STRING_VALUE",
|
|
164
171
|
* // ProvisionedThroughputOverride: {
|
|
165
172
|
* // ReadCapacityUnits: Number("long"),
|
|
166
173
|
* // },
|
|
174
|
+
* // OnDemandThroughputOverride: {
|
|
175
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
176
|
+
* // },
|
|
167
177
|
* // },
|
|
168
178
|
* // ],
|
|
169
179
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -195,6 +205,10 @@ declare const DeleteTableCommand_base: {
|
|
|
195
205
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
196
206
|
* // },
|
|
197
207
|
* // DeletionProtectionEnabled: true || false,
|
|
208
|
+
* // OnDemandThroughput: {
|
|
209
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
210
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
211
|
+
* // },
|
|
198
212
|
* // },
|
|
199
213
|
* // };
|
|
200
214
|
*
|
|
@@ -67,6 +67,10 @@ declare const DescribeBackupCommand_base: {
|
|
|
67
67
|
* // ReadCapacityUnits: Number("long"), // required
|
|
68
68
|
* // WriteCapacityUnits: Number("long"), // required
|
|
69
69
|
* // },
|
|
70
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
71
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
72
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
73
|
+
* // },
|
|
70
74
|
* // ItemCount: Number("long"),
|
|
71
75
|
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
72
76
|
* // },
|
|
@@ -107,6 +111,10 @@ declare const DescribeBackupCommand_base: {
|
|
|
107
111
|
* // ReadCapacityUnits: Number("long"), // required
|
|
108
112
|
* // WriteCapacityUnits: Number("long"), // required
|
|
109
113
|
* // },
|
|
114
|
+
* // OnDemandThroughput: {
|
|
115
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
116
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
117
|
+
* // },
|
|
110
118
|
* // },
|
|
111
119
|
* // ],
|
|
112
120
|
* // StreamDescription: { // StreamSpecification
|
|
@@ -62,12 +62,18 @@ declare const DescribeGlobalTableCommand_base: {
|
|
|
62
62
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
63
63
|
* // ReadCapacityUnits: Number("long"),
|
|
64
64
|
* // },
|
|
65
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
66
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
67
|
+
* // },
|
|
65
68
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
66
69
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
67
70
|
* // IndexName: "STRING_VALUE",
|
|
68
71
|
* // ProvisionedThroughputOverride: {
|
|
69
72
|
* // ReadCapacityUnits: Number("long"),
|
|
70
73
|
* // },
|
|
74
|
+
* // OnDemandThroughputOverride: {
|
|
75
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
76
|
+
* // },
|
|
71
77
|
* // },
|
|
72
78
|
* // ],
|
|
73
79
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -81,6 +81,10 @@ declare const DescribeImportCommand_base: {
|
|
|
81
81
|
* // ReadCapacityUnits: Number("long"), // required
|
|
82
82
|
* // WriteCapacityUnits: Number("long"), // required
|
|
83
83
|
* // },
|
|
84
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
85
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
86
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
87
|
+
* // },
|
|
84
88
|
* // SSESpecification: { // SSESpecification
|
|
85
89
|
* // Enabled: true || false,
|
|
86
90
|
* // SSEType: "AES256" || "KMS",
|
|
@@ -105,6 +109,10 @@ declare const DescribeImportCommand_base: {
|
|
|
105
109
|
* // ReadCapacityUnits: Number("long"), // required
|
|
106
110
|
* // WriteCapacityUnits: Number("long"), // required
|
|
107
111
|
* // },
|
|
112
|
+
* // OnDemandThroughput: {
|
|
113
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
114
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
115
|
+
* // },
|
|
108
116
|
* // },
|
|
109
117
|
* // ],
|
|
110
118
|
* // },
|
|
@@ -131,6 +131,10 @@ declare const DescribeTableCommand_base: {
|
|
|
131
131
|
* // IndexSizeBytes: Number("long"),
|
|
132
132
|
* // ItemCount: Number("long"),
|
|
133
133
|
* // IndexArn: "STRING_VALUE",
|
|
134
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
135
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
136
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
137
|
+
* // },
|
|
134
138
|
* // },
|
|
135
139
|
* // ],
|
|
136
140
|
* // StreamSpecification: { // StreamSpecification
|
|
@@ -150,12 +154,18 @@ declare const DescribeTableCommand_base: {
|
|
|
150
154
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
151
155
|
* // ReadCapacityUnits: Number("long"),
|
|
152
156
|
* // },
|
|
157
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
158
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
159
|
+
* // },
|
|
153
160
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
154
161
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
155
162
|
* // IndexName: "STRING_VALUE",
|
|
156
163
|
* // ProvisionedThroughputOverride: {
|
|
157
164
|
* // ReadCapacityUnits: Number("long"),
|
|
158
165
|
* // },
|
|
166
|
+
* // OnDemandThroughputOverride: {
|
|
167
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
168
|
+
* // },
|
|
159
169
|
* // },
|
|
160
170
|
* // ],
|
|
161
171
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -187,6 +197,10 @@ declare const DescribeTableCommand_base: {
|
|
|
187
197
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
188
198
|
* // },
|
|
189
199
|
* // DeletionProtectionEnabled: true || false,
|
|
200
|
+
* // OnDemandThroughput: {
|
|
201
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
202
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
203
|
+
* // },
|
|
190
204
|
* // },
|
|
191
205
|
* // };
|
|
192
206
|
*
|
|
@@ -43,7 +43,7 @@ declare const GetResourcePolicyCommand_base: {
|
|
|
43
43
|
* </li>
|
|
44
44
|
* </ul>
|
|
45
45
|
* <p>Because <code>GetResourcePolicy</code> uses an <i>eventually consistent</i> query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the <code>GetResourcePolicy</code> request.</p>
|
|
46
|
-
* <p>After a <code>GetResourcePolicy</code> request returns a policy created using the <code>PutResourcePolicy</code> request,
|
|
46
|
+
* <p>After a <code>GetResourcePolicy</code> request returns a policy created using the <code>PutResourcePolicy</code> request, the policy will be applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the <code>CreateTable</code> request will always be applied to all requests for that table.</p>
|
|
47
47
|
* @example
|
|
48
48
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
49
|
* ```javascript
|
|
@@ -69,6 +69,10 @@ declare const ImportTableCommand_base: {
|
|
|
69
69
|
* ReadCapacityUnits: Number("long"), // required
|
|
70
70
|
* WriteCapacityUnits: Number("long"), // required
|
|
71
71
|
* },
|
|
72
|
+
* OnDemandThroughput: { // OnDemandThroughput
|
|
73
|
+
* MaxReadRequestUnits: Number("long"),
|
|
74
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
75
|
+
* },
|
|
72
76
|
* SSESpecification: { // SSESpecification
|
|
73
77
|
* Enabled: true || false,
|
|
74
78
|
* SSEType: "AES256" || "KMS",
|
|
@@ -93,6 +97,10 @@ declare const ImportTableCommand_base: {
|
|
|
93
97
|
* ReadCapacityUnits: Number("long"), // required
|
|
94
98
|
* WriteCapacityUnits: Number("long"), // required
|
|
95
99
|
* },
|
|
100
|
+
* OnDemandThroughput: {
|
|
101
|
+
* MaxReadRequestUnits: Number("long"),
|
|
102
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
103
|
+
* },
|
|
96
104
|
* },
|
|
97
105
|
* ],
|
|
98
106
|
* },
|
|
@@ -142,6 +150,10 @@ declare const ImportTableCommand_base: {
|
|
|
142
150
|
* // ReadCapacityUnits: Number("long"), // required
|
|
143
151
|
* // WriteCapacityUnits: Number("long"), // required
|
|
144
152
|
* // },
|
|
153
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
154
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
155
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
156
|
+
* // },
|
|
145
157
|
* // SSESpecification: { // SSESpecification
|
|
146
158
|
* // Enabled: true || false,
|
|
147
159
|
* // SSEType: "AES256" || "KMS",
|
|
@@ -166,6 +178,10 @@ declare const ImportTableCommand_base: {
|
|
|
166
178
|
* // ReadCapacityUnits: Number("long"), // required
|
|
167
179
|
* // WriteCapacityUnits: Number("long"), // required
|
|
168
180
|
* // },
|
|
181
|
+
* // OnDemandThroughput: {
|
|
182
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
183
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
184
|
+
* // },
|
|
169
185
|
* // },
|
|
170
186
|
* // ],
|
|
171
187
|
* // },
|
|
@@ -30,7 +30,7 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
30
30
|
* <i>eventually consistent</i>
|
|
31
31
|
* </a>.</p>
|
|
32
32
|
* <p>
|
|
33
|
-
* <code>PutResourcePolicy</code> is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an <code>ExpectedRevisionId</code>
|
|
33
|
+
* <code>PutResourcePolicy</code> is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an <code>ExpectedRevisionId</code> that doesn't match the current policy's <code>RevisionId</code>, the <code>PolicyNotFoundException</code> will be returned.</p>
|
|
34
34
|
* <note>
|
|
35
35
|
* <p>
|
|
36
36
|
* <code>PutResourcePolicy</code> is an asynchronous operation. If you issue a <code>GetResourcePolicy</code> request immediately after a <code>PutResourcePolicy</code> request, DynamoDB might return your previous policy, if there was one, or return the <code>PolicyNotFoundException</code>. This is because <code>GetResourcePolicy</code> uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the <code>GetResourcePolicy</code> request again.</p>
|
|
@@ -80,6 +80,10 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
80
80
|
* ReadCapacityUnits: Number("long"), // required
|
|
81
81
|
* WriteCapacityUnits: Number("long"), // required
|
|
82
82
|
* },
|
|
83
|
+
* OnDemandThroughput: { // OnDemandThroughput
|
|
84
|
+
* MaxReadRequestUnits: Number("long"),
|
|
85
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
86
|
+
* },
|
|
83
87
|
* },
|
|
84
88
|
* ],
|
|
85
89
|
* LocalSecondaryIndexOverride: [ // LocalSecondaryIndexList
|
|
@@ -103,6 +107,10 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
103
107
|
* ReadCapacityUnits: Number("long"), // required
|
|
104
108
|
* WriteCapacityUnits: Number("long"), // required
|
|
105
109
|
* },
|
|
110
|
+
* OnDemandThroughputOverride: {
|
|
111
|
+
* MaxReadRequestUnits: Number("long"),
|
|
112
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
113
|
+
* },
|
|
106
114
|
* SSESpecificationOverride: { // SSESpecification
|
|
107
115
|
* Enabled: true || false,
|
|
108
116
|
* SSEType: "AES256" || "KMS",
|
|
@@ -190,6 +198,10 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
190
198
|
* // IndexSizeBytes: Number("long"),
|
|
191
199
|
* // ItemCount: Number("long"),
|
|
192
200
|
* // IndexArn: "STRING_VALUE",
|
|
201
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
202
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
203
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
204
|
+
* // },
|
|
193
205
|
* // },
|
|
194
206
|
* // ],
|
|
195
207
|
* // StreamSpecification: { // StreamSpecification
|
|
@@ -209,12 +221,18 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
209
221
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
210
222
|
* // ReadCapacityUnits: Number("long"),
|
|
211
223
|
* // },
|
|
224
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
225
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
226
|
+
* // },
|
|
212
227
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
213
228
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
214
229
|
* // IndexName: "STRING_VALUE",
|
|
215
230
|
* // ProvisionedThroughputOverride: {
|
|
216
231
|
* // ReadCapacityUnits: Number("long"),
|
|
217
232
|
* // },
|
|
233
|
+
* // OnDemandThroughputOverride: {
|
|
234
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
235
|
+
* // },
|
|
218
236
|
* // },
|
|
219
237
|
* // ],
|
|
220
238
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -246,6 +264,10 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
246
264
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
247
265
|
* // },
|
|
248
266
|
* // DeletionProtectionEnabled: true || false,
|
|
267
|
+
* // OnDemandThroughput: {
|
|
268
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
269
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
270
|
+
* // },
|
|
249
271
|
* // },
|
|
250
272
|
* // };
|
|
251
273
|
*
|
|
@@ -108,6 +108,10 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
108
108
|
* ReadCapacityUnits: Number("long"), // required
|
|
109
109
|
* WriteCapacityUnits: Number("long"), // required
|
|
110
110
|
* },
|
|
111
|
+
* OnDemandThroughput: { // OnDemandThroughput
|
|
112
|
+
* MaxReadRequestUnits: Number("long"),
|
|
113
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
114
|
+
* },
|
|
111
115
|
* },
|
|
112
116
|
* ],
|
|
113
117
|
* LocalSecondaryIndexOverride: [ // LocalSecondaryIndexList
|
|
@@ -131,6 +135,10 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
131
135
|
* ReadCapacityUnits: Number("long"), // required
|
|
132
136
|
* WriteCapacityUnits: Number("long"), // required
|
|
133
137
|
* },
|
|
138
|
+
* OnDemandThroughputOverride: {
|
|
139
|
+
* MaxReadRequestUnits: Number("long"),
|
|
140
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
141
|
+
* },
|
|
134
142
|
* SSESpecificationOverride: { // SSESpecification
|
|
135
143
|
* Enabled: true || false,
|
|
136
144
|
* SSEType: "AES256" || "KMS",
|
|
@@ -218,6 +226,10 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
218
226
|
* // IndexSizeBytes: Number("long"),
|
|
219
227
|
* // ItemCount: Number("long"),
|
|
220
228
|
* // IndexArn: "STRING_VALUE",
|
|
229
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
230
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
231
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
232
|
+
* // },
|
|
221
233
|
* // },
|
|
222
234
|
* // ],
|
|
223
235
|
* // StreamSpecification: { // StreamSpecification
|
|
@@ -237,12 +249,18 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
237
249
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
238
250
|
* // ReadCapacityUnits: Number("long"),
|
|
239
251
|
* // },
|
|
252
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
253
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
254
|
+
* // },
|
|
240
255
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
241
256
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
242
257
|
* // IndexName: "STRING_VALUE",
|
|
243
258
|
* // ProvisionedThroughputOverride: {
|
|
244
259
|
* // ReadCapacityUnits: Number("long"),
|
|
245
260
|
* // },
|
|
261
|
+
* // OnDemandThroughputOverride: {
|
|
262
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
263
|
+
* // },
|
|
246
264
|
* // },
|
|
247
265
|
* // ],
|
|
248
266
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -274,6 +292,10 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
274
292
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
275
293
|
* // },
|
|
276
294
|
* // DeletionProtectionEnabled: true || false,
|
|
295
|
+
* // OnDemandThroughput: {
|
|
296
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
297
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
298
|
+
* // },
|
|
277
299
|
* // },
|
|
278
300
|
* // };
|
|
279
301
|
*
|
|
@@ -102,12 +102,18 @@ declare const UpdateGlobalTableCommand_base: {
|
|
|
102
102
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
103
103
|
* // ReadCapacityUnits: Number("long"),
|
|
104
104
|
* // },
|
|
105
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
106
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
107
|
+
* // },
|
|
105
108
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
106
109
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
107
110
|
* // IndexName: "STRING_VALUE",
|
|
108
111
|
* // ProvisionedThroughputOverride: {
|
|
109
112
|
* // ReadCapacityUnits: Number("long"),
|
|
110
113
|
* // },
|
|
114
|
+
* // OnDemandThroughputOverride: {
|
|
115
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
116
|
+
* // },
|
|
111
117
|
* // },
|
|
112
118
|
* // ],
|
|
113
119
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -80,6 +80,10 @@ declare const UpdateTableCommand_base: {
|
|
|
80
80
|
* ReadCapacityUnits: Number("long"), // required
|
|
81
81
|
* WriteCapacityUnits: Number("long"), // required
|
|
82
82
|
* },
|
|
83
|
+
* OnDemandThroughput: { // OnDemandThroughput
|
|
84
|
+
* MaxReadRequestUnits: Number("long"),
|
|
85
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
86
|
+
* },
|
|
83
87
|
* },
|
|
84
88
|
* Create: { // CreateGlobalSecondaryIndexAction
|
|
85
89
|
* IndexName: "STRING_VALUE", // required
|
|
@@ -99,6 +103,10 @@ declare const UpdateTableCommand_base: {
|
|
|
99
103
|
* ReadCapacityUnits: Number("long"), // required
|
|
100
104
|
* WriteCapacityUnits: Number("long"), // required
|
|
101
105
|
* },
|
|
106
|
+
* OnDemandThroughput: {
|
|
107
|
+
* MaxReadRequestUnits: Number("long"),
|
|
108
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
109
|
+
* },
|
|
102
110
|
* },
|
|
103
111
|
* Delete: { // DeleteGlobalSecondaryIndexAction
|
|
104
112
|
* IndexName: "STRING_VALUE", // required
|
|
@@ -122,12 +130,18 @@ declare const UpdateTableCommand_base: {
|
|
|
122
130
|
* ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
123
131
|
* ReadCapacityUnits: Number("long"),
|
|
124
132
|
* },
|
|
133
|
+
* OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
134
|
+
* MaxReadRequestUnits: Number("long"),
|
|
135
|
+
* },
|
|
125
136
|
* GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexList
|
|
126
137
|
* { // ReplicaGlobalSecondaryIndex
|
|
127
138
|
* IndexName: "STRING_VALUE", // required
|
|
128
139
|
* ProvisionedThroughputOverride: {
|
|
129
140
|
* ReadCapacityUnits: Number("long"),
|
|
130
141
|
* },
|
|
142
|
+
* OnDemandThroughputOverride: {
|
|
143
|
+
* MaxReadRequestUnits: Number("long"),
|
|
144
|
+
* },
|
|
131
145
|
* },
|
|
132
146
|
* ],
|
|
133
147
|
* TableClassOverride: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
@@ -138,12 +152,18 @@ declare const UpdateTableCommand_base: {
|
|
|
138
152
|
* ProvisionedThroughputOverride: {
|
|
139
153
|
* ReadCapacityUnits: Number("long"),
|
|
140
154
|
* },
|
|
155
|
+
* OnDemandThroughputOverride: {
|
|
156
|
+
* MaxReadRequestUnits: Number("long"),
|
|
157
|
+
* },
|
|
141
158
|
* GlobalSecondaryIndexes: [
|
|
142
159
|
* {
|
|
143
160
|
* IndexName: "STRING_VALUE", // required
|
|
144
161
|
* ProvisionedThroughputOverride: {
|
|
145
162
|
* ReadCapacityUnits: Number("long"),
|
|
146
163
|
* },
|
|
164
|
+
* OnDemandThroughputOverride: {
|
|
165
|
+
* MaxReadRequestUnits: Number("long"),
|
|
166
|
+
* },
|
|
147
167
|
* },
|
|
148
168
|
* ],
|
|
149
169
|
* TableClassOverride: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
@@ -155,6 +175,10 @@ declare const UpdateTableCommand_base: {
|
|
|
155
175
|
* ],
|
|
156
176
|
* TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
157
177
|
* DeletionProtectionEnabled: true || false,
|
|
178
|
+
* OnDemandThroughput: {
|
|
179
|
+
* MaxReadRequestUnits: Number("long"),
|
|
180
|
+
* MaxWriteRequestUnits: Number("long"),
|
|
181
|
+
* },
|
|
158
182
|
* };
|
|
159
183
|
* const command = new UpdateTableCommand(input);
|
|
160
184
|
* const response = await client.send(command);
|
|
@@ -237,6 +261,10 @@ declare const UpdateTableCommand_base: {
|
|
|
237
261
|
* // IndexSizeBytes: Number("long"),
|
|
238
262
|
* // ItemCount: Number("long"),
|
|
239
263
|
* // IndexArn: "STRING_VALUE",
|
|
264
|
+
* // OnDemandThroughput: { // OnDemandThroughput
|
|
265
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
266
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
267
|
+
* // },
|
|
240
268
|
* // },
|
|
241
269
|
* // ],
|
|
242
270
|
* // StreamSpecification: { // StreamSpecification
|
|
@@ -256,12 +284,18 @@ declare const UpdateTableCommand_base: {
|
|
|
256
284
|
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
257
285
|
* // ReadCapacityUnits: Number("long"),
|
|
258
286
|
* // },
|
|
287
|
+
* // OnDemandThroughputOverride: { // OnDemandThroughputOverride
|
|
288
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
289
|
+
* // },
|
|
259
290
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
260
291
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
261
292
|
* // IndexName: "STRING_VALUE",
|
|
262
293
|
* // ProvisionedThroughputOverride: {
|
|
263
294
|
* // ReadCapacityUnits: Number("long"),
|
|
264
295
|
* // },
|
|
296
|
+
* // OnDemandThroughputOverride: {
|
|
297
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
298
|
+
* // },
|
|
265
299
|
* // },
|
|
266
300
|
* // ],
|
|
267
301
|
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
@@ -293,6 +327,10 @@ declare const UpdateTableCommand_base: {
|
|
|
293
327
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
294
328
|
* // },
|
|
295
329
|
* // DeletionProtectionEnabled: true || false,
|
|
330
|
+
* // OnDemandThroughput: {
|
|
331
|
+
* // MaxReadRequestUnits: Number("long"),
|
|
332
|
+
* // MaxWriteRequestUnits: Number("long"),
|
|
333
|
+
* // },
|
|
296
334
|
* // },
|
|
297
335
|
* // };
|
|
298
336
|
*
|
|
@@ -438,6 +438,24 @@ export interface KeySchemaElement {
|
|
|
438
438
|
*/
|
|
439
439
|
KeyType: KeyType | undefined;
|
|
440
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
* <p>Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
export interface OnDemandThroughput {
|
|
446
|
+
/**
|
|
447
|
+
* <p>Maximum number of read request units for the specified table.</p>
|
|
448
|
+
* <p>To specify a maximum <code>OnDemandThroughput</code> on your table, set the value of <code>MaxReadRequestUnits</code> as greater than or equal to 1. To remove the maximum <code>OnDemandThroughput</code> that is currently set on your table, set the value of <code>MaxReadRequestUnits</code> to -1.</p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
MaxReadRequestUnits?: number;
|
|
452
|
+
/**
|
|
453
|
+
* <p>Maximum number of write request units for the specified table.</p>
|
|
454
|
+
* <p>To specify a maximum <code>OnDemandThroughput</code> on your table, set the value of <code>MaxWriteRequestUnits</code> as greater than or equal to 1. To remove the maximum <code>OnDemandThroughput</code> that is currently set on your table, set the value of <code>MaxWriteRequestUnits</code> to -1.</p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
MaxWriteRequestUnits?: number;
|
|
458
|
+
}
|
|
441
459
|
/**
|
|
442
460
|
* <p>Represents the provisioned throughput settings for a specified table or index. The
|
|
443
461
|
* settings can be modified using the <code>UpdateTable</code> operation.</p>
|
|
@@ -506,6 +524,11 @@ export interface SourceTableDetails {
|
|
|
506
524
|
* @public
|
|
507
525
|
*/
|
|
508
526
|
ProvisionedThroughput: ProvisionedThroughput | undefined;
|
|
527
|
+
/**
|
|
528
|
+
* <p>Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
529
|
+
* @public
|
|
530
|
+
*/
|
|
531
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
509
532
|
/**
|
|
510
533
|
* <p>Number of items in the table. Note that this is an approximate value. </p>
|
|
511
534
|
* @public
|
|
@@ -635,6 +658,11 @@ export interface GlobalSecondaryIndexInfo {
|
|
|
635
658
|
* @public
|
|
636
659
|
*/
|
|
637
660
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
661
|
+
/**
|
|
662
|
+
* <p>Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
663
|
+
* @public
|
|
664
|
+
*/
|
|
665
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
638
666
|
}
|
|
639
667
|
/**
|
|
640
668
|
* <p>Represents the properties of a local secondary index for the table when the backup was
|
|
@@ -1538,6 +1566,11 @@ export interface CreateGlobalSecondaryIndexAction {
|
|
|
1538
1566
|
* @public
|
|
1539
1567
|
*/
|
|
1540
1568
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
1569
|
+
/**
|
|
1570
|
+
* <p>The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
1571
|
+
* @public
|
|
1572
|
+
*/
|
|
1573
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
1541
1574
|
}
|
|
1542
1575
|
/**
|
|
1543
1576
|
* <p>Represents the properties of a replica.</p>
|
|
@@ -1579,6 +1612,17 @@ export declare const GlobalTableStatus: {
|
|
|
1579
1612
|
* @public
|
|
1580
1613
|
*/
|
|
1581
1614
|
export type GlobalTableStatus = (typeof GlobalTableStatus)[keyof typeof GlobalTableStatus];
|
|
1615
|
+
/**
|
|
1616
|
+
* <p>Overrides the on-demand throughput settings for this replica table. If you don't specify a value for this parameter, it uses the source table's on-demand throughput settings.</p>
|
|
1617
|
+
* @public
|
|
1618
|
+
*/
|
|
1619
|
+
export interface OnDemandThroughputOverride {
|
|
1620
|
+
/**
|
|
1621
|
+
* <p>Maximum number of read request units for the specified replica table.</p>
|
|
1622
|
+
* @public
|
|
1623
|
+
*/
|
|
1624
|
+
MaxReadRequestUnits?: number;
|
|
1625
|
+
}
|
|
1582
1626
|
/**
|
|
1583
1627
|
* <p>Replica-specific provisioned throughput settings. If not specified, uses the source
|
|
1584
1628
|
* table's provisioned throughput settings.</p>
|
|
@@ -1607,6 +1651,11 @@ export interface ReplicaGlobalSecondaryIndexDescription {
|
|
|
1607
1651
|
* @public
|
|
1608
1652
|
*/
|
|
1609
1653
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
1654
|
+
/**
|
|
1655
|
+
* <p>Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.</p>
|
|
1656
|
+
* @public
|
|
1657
|
+
*/
|
|
1658
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
1610
1659
|
}
|
|
1611
1660
|
/**
|
|
1612
1661
|
* @public
|
|
@@ -1731,6 +1780,11 @@ export interface ReplicaDescription {
|
|
|
1731
1780
|
* @public
|
|
1732
1781
|
*/
|
|
1733
1782
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
1783
|
+
/**
|
|
1784
|
+
* <p>Overrides the maximum on-demand throughput settings for the specified replica table.</p>
|
|
1785
|
+
* @public
|
|
1786
|
+
*/
|
|
1787
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
1734
1788
|
/**
|
|
1735
1789
|
* <p>Replica-specific global secondary index settings.</p>
|
|
1736
1790
|
* @public
|
|
@@ -1846,6 +1900,11 @@ export interface ReplicaGlobalSecondaryIndex {
|
|
|
1846
1900
|
* @public
|
|
1847
1901
|
*/
|
|
1848
1902
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
1903
|
+
/**
|
|
1904
|
+
* <p>Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.</p>
|
|
1905
|
+
* @public
|
|
1906
|
+
*/
|
|
1907
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
1849
1908
|
}
|
|
1850
1909
|
/**
|
|
1851
1910
|
* <p>Represents a replica to be created.</p>
|
|
@@ -1872,6 +1931,12 @@ export interface CreateReplicationGroupMemberAction {
|
|
|
1872
1931
|
* @public
|
|
1873
1932
|
*/
|
|
1874
1933
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
1934
|
+
/**
|
|
1935
|
+
* <p>The maximum on-demand throughput settings for the specified replica table being created. You can only modify <code>MaxReadRequestUnits</code>, because you can't modify <code>MaxWriteRequestUnits</code> for individual replica tables.
|
|
1936
|
+
* </p>
|
|
1937
|
+
* @public
|
|
1938
|
+
*/
|
|
1939
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
1875
1940
|
/**
|
|
1876
1941
|
* <p>Replica-specific global secondary index settings.</p>
|
|
1877
1942
|
* @public
|
|
@@ -1937,6 +2002,11 @@ export interface GlobalSecondaryIndex {
|
|
|
1937
2002
|
* @public
|
|
1938
2003
|
*/
|
|
1939
2004
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
2005
|
+
/**
|
|
2006
|
+
* <p>The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
2007
|
+
* @public
|
|
2008
|
+
*/
|
|
2009
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
1940
2010
|
}
|
|
1941
2011
|
/**
|
|
1942
2012
|
* <p>Represents the properties of a local secondary index.</p>
|
|
@@ -2327,11 +2397,16 @@ export interface CreateTableInput {
|
|
|
2327
2397
|
DeletionProtectionEnabled?: boolean;
|
|
2328
2398
|
/**
|
|
2329
2399
|
* <p>An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.</p>
|
|
2330
|
-
* <p>When you attach a resource-based policy while creating a table, the policy
|
|
2331
|
-
* <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit.
|
|
2400
|
+
* <p>When you attach a resource-based policy while creating a table, the policy application is <i>strongly consistent</i>.</p>
|
|
2401
|
+
* <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html">Resource-based policy considerations</a>.</p>
|
|
2332
2402
|
* @public
|
|
2333
2403
|
*/
|
|
2334
2404
|
ResourcePolicy?: string;
|
|
2405
|
+
/**
|
|
2406
|
+
* <p>Sets the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
2407
|
+
* @public
|
|
2408
|
+
*/
|
|
2409
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
2335
2410
|
}
|
|
2336
2411
|
/**
|
|
2337
2412
|
* @public
|
|
@@ -2498,6 +2573,11 @@ export interface GlobalSecondaryIndexDescription {
|
|
|
2498
2573
|
* @public
|
|
2499
2574
|
*/
|
|
2500
2575
|
IndexArn?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* <p>The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
2578
|
+
* @public
|
|
2579
|
+
*/
|
|
2580
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
2501
2581
|
}
|
|
2502
2582
|
/**
|
|
2503
2583
|
* <p>Represents the properties of a local secondary index.</p>
|
|
@@ -3010,6 +3090,11 @@ export interface TableDescription {
|
|
|
3010
3090
|
* @public
|
|
3011
3091
|
*/
|
|
3012
3092
|
DeletionProtectionEnabled?: boolean;
|
|
3093
|
+
/**
|
|
3094
|
+
* <p>The maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
3095
|
+
* @public
|
|
3096
|
+
*/
|
|
3097
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
3013
3098
|
}
|
|
3014
3099
|
/**
|
|
3015
3100
|
* <p>Represents the output of a <code>CreateTable</code> operation.</p>
|
|
@@ -3156,7 +3241,7 @@ export interface DeleteResourcePolicyInput {
|
|
|
3156
3241
|
*/
|
|
3157
3242
|
export interface DeleteResourcePolicyOutput {
|
|
3158
3243
|
/**
|
|
3159
|
-
* <p>A unique string that represents the revision ID of the policy. If you
|
|
3244
|
+
* <p>A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.</p>
|
|
3160
3245
|
* <p>This value will be empty if you make a request against a resource without a policy.</p>
|
|
3161
3246
|
* @public
|
|
3162
3247
|
*/
|
|
@@ -3913,6 +3998,11 @@ export interface TableCreationParameters {
|
|
|
3913
3998
|
* @public
|
|
3914
3999
|
*/
|
|
3915
4000
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
4001
|
+
/**
|
|
4002
|
+
* <p>Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
4003
|
+
* @public
|
|
4004
|
+
*/
|
|
4005
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
3916
4006
|
/**
|
|
3917
4007
|
* <p>Represents the settings used to enable server-side encryption.</p>
|
|
3918
4008
|
* @public
|
|
@@ -4689,7 +4779,7 @@ export interface GetResourcePolicyOutput {
|
|
|
4689
4779
|
*/
|
|
4690
4780
|
Policy?: string;
|
|
4691
4781
|
/**
|
|
4692
|
-
* <p>A unique string that represents the revision ID of the policy. If you
|
|
4782
|
+
* <p>A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.</p>
|
|
4693
4783
|
* @public
|
|
4694
4784
|
*/
|
|
4695
4785
|
RevisionId?: string;
|
|
@@ -5181,13 +5271,24 @@ export interface PutResourcePolicyInput {
|
|
|
5181
5271
|
ResourceArn: string | undefined;
|
|
5182
5272
|
/**
|
|
5183
5273
|
* <p>An Amazon Web Services resource-based policy document in JSON format.</p>
|
|
5184
|
-
* <
|
|
5274
|
+
* <ul>
|
|
5275
|
+
* <li>
|
|
5276
|
+
* <p>The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit.</p>
|
|
5277
|
+
* </li>
|
|
5278
|
+
* <li>
|
|
5279
|
+
* <p>Within a resource-based policy, if the action for a DynamoDB service-linked role (SLR) to replicate data for a global table is denied, adding or deleting a replica will fail with an error.</p>
|
|
5280
|
+
* </li>
|
|
5281
|
+
* </ul>
|
|
5282
|
+
* <p>For a full list of all considerations that apply while attaching a resource-based policy, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html">Resource-based policy considerations</a>.</p>
|
|
5185
5283
|
* @public
|
|
5186
5284
|
*/
|
|
5187
5285
|
Policy: string | undefined;
|
|
5188
5286
|
/**
|
|
5189
|
-
* <p>A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy
|
|
5190
|
-
* <
|
|
5287
|
+
* <p>A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy.</p>
|
|
5288
|
+
* <note>
|
|
5289
|
+
* <p>When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a <code>PolicyNotFoundException</code>.</p>
|
|
5290
|
+
* </note>
|
|
5291
|
+
* <p>To conditionally attach a policy when no policy exists for the resource, specify <code>NO_POLICY</code> for the revision ID.</p>
|
|
5191
5292
|
* @public
|
|
5192
5293
|
*/
|
|
5193
5294
|
ExpectedRevisionId?: string;
|
|
@@ -5202,7 +5303,7 @@ export interface PutResourcePolicyInput {
|
|
|
5202
5303
|
*/
|
|
5203
5304
|
export interface PutResourcePolicyOutput {
|
|
5204
5305
|
/**
|
|
5205
|
-
* <p>A unique string that represents the revision ID of the policy. If you
|
|
5306
|
+
* <p>A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.</p>
|
|
5206
5307
|
* @public
|
|
5207
5308
|
*/
|
|
5208
5309
|
RevisionId?: string;
|
|
@@ -5259,6 +5360,11 @@ export interface RestoreTableFromBackupInput {
|
|
|
5259
5360
|
* @public
|
|
5260
5361
|
*/
|
|
5261
5362
|
ProvisionedThroughputOverride?: ProvisionedThroughput;
|
|
5363
|
+
/**
|
|
5364
|
+
* <p>Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
5365
|
+
* @public
|
|
5366
|
+
*/
|
|
5367
|
+
OnDemandThroughputOverride?: OnDemandThroughput;
|
|
5262
5368
|
/**
|
|
5263
5369
|
* <p>The new server-side encryption settings for the restored table.</p>
|
|
5264
5370
|
* @public
|
|
@@ -5355,6 +5461,11 @@ export interface RestoreTableToPointInTimeInput {
|
|
|
5355
5461
|
* @public
|
|
5356
5462
|
*/
|
|
5357
5463
|
ProvisionedThroughputOverride?: ProvisionedThroughput;
|
|
5464
|
+
/**
|
|
5465
|
+
* <p>Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
5466
|
+
* @public
|
|
5467
|
+
*/
|
|
5468
|
+
OnDemandThroughputOverride?: OnDemandThroughput;
|
|
5358
5469
|
/**
|
|
5359
5470
|
* <p>The new server-side encryption settings for the restored table.</p>
|
|
5360
5471
|
* @public
|
|
@@ -5801,7 +5912,12 @@ export interface UpdateGlobalSecondaryIndexAction {
|
|
|
5801
5912
|
* Guide</i>.</p>
|
|
5802
5913
|
* @public
|
|
5803
5914
|
*/
|
|
5804
|
-
ProvisionedThroughput
|
|
5915
|
+
ProvisionedThroughput?: ProvisionedThroughput;
|
|
5916
|
+
/**
|
|
5917
|
+
* <p>Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
5918
|
+
* @public
|
|
5919
|
+
*/
|
|
5920
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
5805
5921
|
}
|
|
5806
5922
|
/**
|
|
5807
5923
|
* <p>Represents one of the following:</p>
|
|
@@ -5890,6 +6006,11 @@ export interface UpdateReplicationGroupMemberAction {
|
|
|
5890
6006
|
* @public
|
|
5891
6007
|
*/
|
|
5892
6008
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
6009
|
+
/**
|
|
6010
|
+
* <p>Overrides the maximum on-demand throughput for the replica table.</p>
|
|
6011
|
+
* @public
|
|
6012
|
+
*/
|
|
6013
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
5893
6014
|
/**
|
|
5894
6015
|
* <p>Replica-specific global secondary index settings.</p>
|
|
5895
6016
|
* @public
|
|
@@ -6050,6 +6171,11 @@ export interface UpdateTableInput {
|
|
|
6050
6171
|
* @public
|
|
6051
6172
|
*/
|
|
6052
6173
|
DeletionProtectionEnabled?: boolean;
|
|
6174
|
+
/**
|
|
6175
|
+
* <p>Updates the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.</p>
|
|
6176
|
+
* @public
|
|
6177
|
+
*/
|
|
6178
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
6053
6179
|
}
|
|
6054
6180
|
/**
|
|
6055
6181
|
* <p>Represents the output of an <code>UpdateTable</code> operation.</p>
|
|
@@ -100,6 +100,10 @@ export interface KeySchemaElement {
|
|
|
100
100
|
AttributeName: string | undefined;
|
|
101
101
|
KeyType: KeyType | undefined;
|
|
102
102
|
}
|
|
103
|
+
export interface OnDemandThroughput {
|
|
104
|
+
MaxReadRequestUnits?: number;
|
|
105
|
+
MaxWriteRequestUnits?: number;
|
|
106
|
+
}
|
|
103
107
|
export interface ProvisionedThroughput {
|
|
104
108
|
ReadCapacityUnits: number | undefined;
|
|
105
109
|
WriteCapacityUnits: number | undefined;
|
|
@@ -112,6 +116,7 @@ export interface SourceTableDetails {
|
|
|
112
116
|
KeySchema: KeySchemaElement[] | undefined;
|
|
113
117
|
TableCreationDateTime: Date | undefined;
|
|
114
118
|
ProvisionedThroughput: ProvisionedThroughput | undefined;
|
|
119
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
115
120
|
ItemCount?: number;
|
|
116
121
|
BillingMode?: BillingMode;
|
|
117
122
|
}
|
|
@@ -131,6 +136,7 @@ export interface GlobalSecondaryIndexInfo {
|
|
|
131
136
|
KeySchema?: KeySchemaElement[];
|
|
132
137
|
Projection?: Projection;
|
|
133
138
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
139
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
134
140
|
}
|
|
135
141
|
export interface LocalSecondaryIndexInfo {
|
|
136
142
|
IndexName?: string;
|
|
@@ -434,6 +440,7 @@ export interface CreateGlobalSecondaryIndexAction {
|
|
|
434
440
|
KeySchema: KeySchemaElement[] | undefined;
|
|
435
441
|
Projection: Projection | undefined;
|
|
436
442
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
443
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
437
444
|
}
|
|
438
445
|
export interface Replica {
|
|
439
446
|
RegionName?: string;
|
|
@@ -450,12 +457,16 @@ export declare const GlobalTableStatus: {
|
|
|
450
457
|
};
|
|
451
458
|
export type GlobalTableStatus =
|
|
452
459
|
(typeof GlobalTableStatus)[keyof typeof GlobalTableStatus];
|
|
460
|
+
export interface OnDemandThroughputOverride {
|
|
461
|
+
MaxReadRequestUnits?: number;
|
|
462
|
+
}
|
|
453
463
|
export interface ProvisionedThroughputOverride {
|
|
454
464
|
ReadCapacityUnits?: number;
|
|
455
465
|
}
|
|
456
466
|
export interface ReplicaGlobalSecondaryIndexDescription {
|
|
457
467
|
IndexName?: string;
|
|
458
468
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
469
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
459
470
|
}
|
|
460
471
|
export declare const ReplicaStatus: {
|
|
461
472
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -483,6 +494,7 @@ export interface ReplicaDescription {
|
|
|
483
494
|
ReplicaStatusPercentProgress?: string;
|
|
484
495
|
KMSMasterKeyId?: string;
|
|
485
496
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
497
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
486
498
|
GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndexDescription[];
|
|
487
499
|
ReplicaInaccessibleDateTime?: Date;
|
|
488
500
|
ReplicaTableClassSummary?: TableClassSummary;
|
|
@@ -513,11 +525,13 @@ export interface CreateReplicaAction {
|
|
|
513
525
|
export interface ReplicaGlobalSecondaryIndex {
|
|
514
526
|
IndexName: string | undefined;
|
|
515
527
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
528
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
516
529
|
}
|
|
517
530
|
export interface CreateReplicationGroupMemberAction {
|
|
518
531
|
RegionName: string | undefined;
|
|
519
532
|
KMSMasterKeyId?: string;
|
|
520
533
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
534
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
521
535
|
GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[];
|
|
522
536
|
TableClassOverride?: TableClass;
|
|
523
537
|
}
|
|
@@ -526,6 +540,7 @@ export interface GlobalSecondaryIndex {
|
|
|
526
540
|
KeySchema: KeySchemaElement[] | undefined;
|
|
527
541
|
Projection: Projection | undefined;
|
|
528
542
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
543
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
529
544
|
}
|
|
530
545
|
export interface LocalSecondaryIndex {
|
|
531
546
|
IndexName: string | undefined;
|
|
@@ -555,6 +570,7 @@ export interface CreateTableInput {
|
|
|
555
570
|
TableClass?: TableClass;
|
|
556
571
|
DeletionProtectionEnabled?: boolean;
|
|
557
572
|
ResourcePolicy?: string;
|
|
573
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
558
574
|
}
|
|
559
575
|
export declare const IndexStatus: {
|
|
560
576
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -580,6 +596,7 @@ export interface GlobalSecondaryIndexDescription {
|
|
|
580
596
|
IndexSizeBytes?: number;
|
|
581
597
|
ItemCount?: number;
|
|
582
598
|
IndexArn?: string;
|
|
599
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
583
600
|
}
|
|
584
601
|
export interface LocalSecondaryIndexDescription {
|
|
585
602
|
IndexName?: string;
|
|
@@ -629,6 +646,7 @@ export interface TableDescription {
|
|
|
629
646
|
ArchivalSummary?: ArchivalSummary;
|
|
630
647
|
TableClassSummary?: TableClassSummary;
|
|
631
648
|
DeletionProtectionEnabled?: boolean;
|
|
649
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
632
650
|
}
|
|
633
651
|
export interface CreateTableOutput {
|
|
634
652
|
TableDescription?: TableDescription;
|
|
@@ -876,6 +894,7 @@ export interface TableCreationParameters {
|
|
|
876
894
|
KeySchema: KeySchemaElement[] | undefined;
|
|
877
895
|
BillingMode?: BillingMode;
|
|
878
896
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
897
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
879
898
|
SSESpecification?: SSESpecification;
|
|
880
899
|
GlobalSecondaryIndexes?: GlobalSecondaryIndex[];
|
|
881
900
|
}
|
|
@@ -1187,6 +1206,7 @@ export interface RestoreTableFromBackupInput {
|
|
|
1187
1206
|
GlobalSecondaryIndexOverride?: GlobalSecondaryIndex[];
|
|
1188
1207
|
LocalSecondaryIndexOverride?: LocalSecondaryIndex[];
|
|
1189
1208
|
ProvisionedThroughputOverride?: ProvisionedThroughput;
|
|
1209
|
+
OnDemandThroughputOverride?: OnDemandThroughput;
|
|
1190
1210
|
SSESpecificationOverride?: SSESpecification;
|
|
1191
1211
|
}
|
|
1192
1212
|
export interface RestoreTableFromBackupOutput {
|
|
@@ -1216,6 +1236,7 @@ export interface RestoreTableToPointInTimeInput {
|
|
|
1216
1236
|
GlobalSecondaryIndexOverride?: GlobalSecondaryIndex[];
|
|
1217
1237
|
LocalSecondaryIndexOverride?: LocalSecondaryIndex[];
|
|
1218
1238
|
ProvisionedThroughputOverride?: ProvisionedThroughput;
|
|
1239
|
+
OnDemandThroughputOverride?: OnDemandThroughput;
|
|
1219
1240
|
SSESpecificationOverride?: SSESpecification;
|
|
1220
1241
|
}
|
|
1221
1242
|
export interface RestoreTableToPointInTimeOutput {
|
|
@@ -1328,7 +1349,8 @@ export interface UpdateKinesisStreamingDestinationOutput {
|
|
|
1328
1349
|
}
|
|
1329
1350
|
export interface UpdateGlobalSecondaryIndexAction {
|
|
1330
1351
|
IndexName: string | undefined;
|
|
1331
|
-
ProvisionedThroughput
|
|
1352
|
+
ProvisionedThroughput?: ProvisionedThroughput;
|
|
1353
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
1332
1354
|
}
|
|
1333
1355
|
export interface GlobalSecondaryIndexUpdate {
|
|
1334
1356
|
Update?: UpdateGlobalSecondaryIndexAction;
|
|
@@ -1339,6 +1361,7 @@ export interface UpdateReplicationGroupMemberAction {
|
|
|
1339
1361
|
RegionName: string | undefined;
|
|
1340
1362
|
KMSMasterKeyId?: string;
|
|
1341
1363
|
ProvisionedThroughputOverride?: ProvisionedThroughputOverride;
|
|
1364
|
+
OnDemandThroughputOverride?: OnDemandThroughputOverride;
|
|
1342
1365
|
GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[];
|
|
1343
1366
|
TableClassOverride?: TableClass;
|
|
1344
1367
|
}
|
|
@@ -1358,6 +1381,7 @@ export interface UpdateTableInput {
|
|
|
1358
1381
|
ReplicaUpdates?: ReplicationGroupUpdate[];
|
|
1359
1382
|
TableClass?: TableClass;
|
|
1360
1383
|
DeletionProtectionEnabled?: boolean;
|
|
1384
|
+
OnDemandThroughput?: OnDemandThroughput;
|
|
1361
1385
|
}
|
|
1362
1386
|
export interface UpdateTableOutput {
|
|
1363
1387
|
TableDescription?: TableDescription;
|
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.568.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
23
|
"@aws-sdk/core": "3.567.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.568.0",
|
|
25
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.568.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.567.0",
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.568.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.567.0",
|
|
29
29
|
"@aws-sdk/middleware-user-agent": "3.567.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.567.0",
|
|
31
31
|
"@aws-sdk/types": "3.567.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.567.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.567.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.568.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
36
|
"@smithy/core": "^1.4.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@tsconfig/node16": "16.1.3",
|
|
66
|
-
"@types/node": "^
|
|
66
|
+
"@types/node": "^16.18.96",
|
|
67
67
|
"@types/uuid": "^9.0.4",
|
|
68
68
|
"concurrently": "7.0.0",
|
|
69
69
|
"downlevel-dts": "0.10.1",
|