@aws-sdk/client-dynamodb 3.99.0 → 3.109.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 +27 -0
- package/dist-cjs/DynamoDBClient.js +2 -0
- package/dist-es/DynamoDBClient.js +2 -0
- package/dist-types/models/models_0.d.ts +67 -203
- package/dist-types/ts3.4/models/models_0.d.ts +67 -203
- package/package.json +31 -30
|
@@ -943,16 +943,12 @@ export interface ConsumedCapacity {
|
|
|
943
943
|
* <p>The amount of throughput consumed on each local index affected by the
|
|
944
944
|
* operation.</p>
|
|
945
945
|
*/
|
|
946
|
-
LocalSecondaryIndexes?:
|
|
947
|
-
[key: string]: Capacity;
|
|
948
|
-
};
|
|
946
|
+
LocalSecondaryIndexes?: Record<string, Capacity>;
|
|
949
947
|
/**
|
|
950
948
|
* <p>The amount of throughput consumed on each global index affected by the
|
|
951
949
|
* operation.</p>
|
|
952
950
|
*/
|
|
953
|
-
GlobalSecondaryIndexes?:
|
|
954
|
-
[key: string]: Capacity;
|
|
955
|
-
};
|
|
951
|
+
GlobalSecondaryIndexes?: Record<string, Capacity>;
|
|
956
952
|
}
|
|
957
953
|
export declare namespace ConsumedCapacity {
|
|
958
954
|
/**
|
|
@@ -5275,9 +5271,7 @@ export declare namespace AttributeValue {
|
|
|
5275
5271
|
SS?: never;
|
|
5276
5272
|
NS?: never;
|
|
5277
5273
|
BS?: never;
|
|
5278
|
-
M:
|
|
5279
|
-
[key: string]: AttributeValue;
|
|
5280
|
-
};
|
|
5274
|
+
M: Record<string, AttributeValue>;
|
|
5281
5275
|
L?: never;
|
|
5282
5276
|
NULL?: never;
|
|
5283
5277
|
BOOL?: never;
|
|
@@ -5360,9 +5354,7 @@ export declare namespace AttributeValue {
|
|
|
5360
5354
|
SS: (value: string[]) => T;
|
|
5361
5355
|
NS: (value: string[]) => T;
|
|
5362
5356
|
BS: (value: Uint8Array[]) => T;
|
|
5363
|
-
M: (value:
|
|
5364
|
-
[key: string]: AttributeValue;
|
|
5365
|
-
}) => T;
|
|
5357
|
+
M: (value: Record<string, AttributeValue>) => T;
|
|
5366
5358
|
L: (value: AttributeValue[]) => T;
|
|
5367
5359
|
NULL: (value: boolean) => T;
|
|
5368
5360
|
BOOL: (value: boolean) => T;
|
|
@@ -5540,9 +5532,7 @@ export interface BatchStatementResponse {
|
|
|
5540
5532
|
/**
|
|
5541
5533
|
* <p> A DynamoDB item associated with a BatchStatementResponse </p>
|
|
5542
5534
|
*/
|
|
5543
|
-
Item?:
|
|
5544
|
-
[key: string]: AttributeValue;
|
|
5545
|
-
};
|
|
5535
|
+
Item?: Record<string, AttributeValue>;
|
|
5546
5536
|
}
|
|
5547
5537
|
export declare namespace BatchStatementResponse {
|
|
5548
5538
|
/**
|
|
@@ -5560,9 +5550,7 @@ export interface CancellationReason {
|
|
|
5560
5550
|
/**
|
|
5561
5551
|
* <p>Item in the request which caused the transaction to get cancelled.</p>
|
|
5562
5552
|
*/
|
|
5563
|
-
Item?:
|
|
5564
|
-
[key: string]: AttributeValue;
|
|
5565
|
-
};
|
|
5553
|
+
Item?: Record<string, AttributeValue>;
|
|
5566
5554
|
/**
|
|
5567
5555
|
* <p>Status code for the result of the cancelled transaction.</p>
|
|
5568
5556
|
*/
|
|
@@ -5818,9 +5806,7 @@ export interface DeleteRequest {
|
|
|
5818
5806
|
* to delete. All of the table's primary key attributes must be specified, and their data
|
|
5819
5807
|
* types must match those of the table's key schema.</p>
|
|
5820
5808
|
*/
|
|
5821
|
-
Key:
|
|
5822
|
-
[key: string]: AttributeValue;
|
|
5823
|
-
} | undefined;
|
|
5809
|
+
Key: Record<string, AttributeValue> | undefined;
|
|
5824
5810
|
}
|
|
5825
5811
|
export declare namespace DeleteRequest {
|
|
5826
5812
|
/**
|
|
@@ -5902,9 +5888,7 @@ export interface Get {
|
|
|
5902
5888
|
* <p>A map of attribute names to <code>AttributeValue</code> objects that specifies the
|
|
5903
5889
|
* primary key of the item to retrieve.</p>
|
|
5904
5890
|
*/
|
|
5905
|
-
Key:
|
|
5906
|
-
[key: string]: AttributeValue;
|
|
5907
|
-
} | undefined;
|
|
5891
|
+
Key: Record<string, AttributeValue> | undefined;
|
|
5908
5892
|
/**
|
|
5909
5893
|
* <p>The name of the table from which to retrieve the specified item.</p>
|
|
5910
5894
|
*/
|
|
@@ -5920,9 +5904,7 @@ export interface Get {
|
|
|
5920
5904
|
* <p>One or more substitution tokens for attribute names in the ProjectionExpression
|
|
5921
5905
|
* parameter.</p>
|
|
5922
5906
|
*/
|
|
5923
|
-
ExpressionAttributeNames?:
|
|
5924
|
-
[key: string]: string;
|
|
5925
|
-
};
|
|
5907
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
5926
5908
|
}
|
|
5927
5909
|
export declare namespace Get {
|
|
5928
5910
|
/**
|
|
@@ -5946,9 +5928,7 @@ export interface GetItemInput {
|
|
|
5946
5928
|
* composite primary key, you must provide values for both the partition key and the sort
|
|
5947
5929
|
* key.</p>
|
|
5948
5930
|
*/
|
|
5949
|
-
Key:
|
|
5950
|
-
[key: string]: AttributeValue;
|
|
5951
|
-
} | undefined;
|
|
5931
|
+
Key: Record<string, AttributeValue> | undefined;
|
|
5952
5932
|
/**
|
|
5953
5933
|
* <p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more
|
|
5954
5934
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html">AttributesToGet</a> in the <i>Amazon DynamoDB Developer
|
|
@@ -6052,9 +6032,7 @@ export interface GetItemInput {
|
|
|
6052
6032
|
* <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer
|
|
6053
6033
|
* Guide</i>.</p>
|
|
6054
6034
|
*/
|
|
6055
|
-
ExpressionAttributeNames?:
|
|
6056
|
-
[key: string]: string;
|
|
6057
|
-
};
|
|
6035
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
6058
6036
|
}
|
|
6059
6037
|
export declare namespace GetItemInput {
|
|
6060
6038
|
/**
|
|
@@ -6070,9 +6048,7 @@ export interface GetItemOutput {
|
|
|
6070
6048
|
* <p>A map of attribute names to <code>AttributeValue</code> objects, as specified by
|
|
6071
6049
|
* <code>ProjectionExpression</code>.</p>
|
|
6072
6050
|
*/
|
|
6073
|
-
Item?:
|
|
6074
|
-
[key: string]: AttributeValue;
|
|
6075
|
-
};
|
|
6051
|
+
Item?: Record<string, AttributeValue>;
|
|
6076
6052
|
/**
|
|
6077
6053
|
* <p>The capacity units consumed by the <code>GetItem</code> operation. The data returned
|
|
6078
6054
|
* includes the total provisioned throughput consumed, along with statistics for the table
|
|
@@ -6100,9 +6076,7 @@ export interface ItemCollectionMetrics {
|
|
|
6100
6076
|
* <p>The partition key value of the item collection. This value is the same as the
|
|
6101
6077
|
* partition key value of the item.</p>
|
|
6102
6078
|
*/
|
|
6103
|
-
ItemCollectionKey?:
|
|
6104
|
-
[key: string]: AttributeValue;
|
|
6105
|
-
};
|
|
6079
|
+
ItemCollectionKey?: Record<string, AttributeValue>;
|
|
6106
6080
|
/**
|
|
6107
6081
|
* <p>An estimate of item collection size, in gigabytes. This value is a two-element array
|
|
6108
6082
|
* containing a lower bound and an upper bound for the estimate. The estimate includes the
|
|
@@ -6127,9 +6101,7 @@ export interface ItemResponse {
|
|
|
6127
6101
|
/**
|
|
6128
6102
|
* <p>Map of attribute data consisting of the data type and attribute value.</p>
|
|
6129
6103
|
*/
|
|
6130
|
-
Item?:
|
|
6131
|
-
[key: string]: AttributeValue;
|
|
6132
|
-
};
|
|
6104
|
+
Item?: Record<string, AttributeValue>;
|
|
6133
6105
|
}
|
|
6134
6106
|
export declare namespace ItemResponse {
|
|
6135
6107
|
/**
|
|
@@ -6167,9 +6139,7 @@ export interface PutRequest {
|
|
|
6167
6139
|
* attributes are present in the item that are part of an index key schema for the table,
|
|
6168
6140
|
* their types must match the index key schema.</p>
|
|
6169
6141
|
*/
|
|
6170
|
-
Item:
|
|
6171
|
-
[key: string]: AttributeValue;
|
|
6172
|
-
} | undefined;
|
|
6142
|
+
Item: Record<string, AttributeValue> | undefined;
|
|
6173
6143
|
}
|
|
6174
6144
|
export declare namespace PutRequest {
|
|
6175
6145
|
/**
|
|
@@ -6190,9 +6160,7 @@ export interface KeysAndAttributes {
|
|
|
6190
6160
|
* <p>The primary key attribute values that define the items and the attributes associated
|
|
6191
6161
|
* with the items.</p>
|
|
6192
6162
|
*/
|
|
6193
|
-
Keys:
|
|
6194
|
-
[key: string]: AttributeValue;
|
|
6195
|
-
}[] | undefined;
|
|
6163
|
+
Keys: Record<string, AttributeValue>[] | undefined;
|
|
6196
6164
|
/**
|
|
6197
6165
|
* <p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more
|
|
6198
6166
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html">Legacy
|
|
@@ -6268,9 +6236,7 @@ export interface KeysAndAttributes {
|
|
|
6268
6236
|
* <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Accessing Item Attributes</a> in the <i>Amazon DynamoDB Developer
|
|
6269
6237
|
* Guide</i>.</p>
|
|
6270
6238
|
*/
|
|
6271
|
-
ExpressionAttributeNames?:
|
|
6272
|
-
[key: string]: string;
|
|
6273
|
-
};
|
|
6239
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
6274
6240
|
}
|
|
6275
6241
|
export declare namespace KeysAndAttributes {
|
|
6276
6242
|
/**
|
|
@@ -6775,9 +6741,7 @@ export interface BatchGetItemInput {
|
|
|
6775
6741
|
* </li>
|
|
6776
6742
|
* </ul>
|
|
6777
6743
|
*/
|
|
6778
|
-
RequestItems:
|
|
6779
|
-
[key: string]: KeysAndAttributes;
|
|
6780
|
-
} | undefined;
|
|
6744
|
+
RequestItems: Record<string, KeysAndAttributes> | undefined;
|
|
6781
6745
|
/**
|
|
6782
6746
|
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
6783
6747
|
* consumption that is returned in the response:</p>
|
|
@@ -7127,9 +7091,7 @@ export interface TransactWriteItemsOutput {
|
|
|
7127
7091
|
* <code>UpdateItem</code>, <code>PutItem</code>, or <code>DeleteItem</code>
|
|
7128
7092
|
* operations. </p>
|
|
7129
7093
|
*/
|
|
7130
|
-
ItemCollectionMetrics?:
|
|
7131
|
-
[key: string]: ItemCollectionMetrics[];
|
|
7132
|
-
};
|
|
7094
|
+
ItemCollectionMetrics?: Record<string, ItemCollectionMetrics[]>;
|
|
7133
7095
|
}
|
|
7134
7096
|
export declare namespace TransactWriteItemsOutput {
|
|
7135
7097
|
/**
|
|
@@ -7146,9 +7108,7 @@ export interface ConditionCheck {
|
|
|
7146
7108
|
* <p>The primary key of the item to be checked. Each element consists of an attribute name
|
|
7147
7109
|
* and a value for that attribute.</p>
|
|
7148
7110
|
*/
|
|
7149
|
-
Key:
|
|
7150
|
-
[key: string]: AttributeValue;
|
|
7151
|
-
} | undefined;
|
|
7111
|
+
Key: Record<string, AttributeValue> | undefined;
|
|
7152
7112
|
/**
|
|
7153
7113
|
* <p>Name of the table for the check item request.</p>
|
|
7154
7114
|
*/
|
|
@@ -7161,15 +7121,11 @@ export interface ConditionCheck {
|
|
|
7161
7121
|
/**
|
|
7162
7122
|
* <p>One or more substitution tokens for attribute names in an expression.</p>
|
|
7163
7123
|
*/
|
|
7164
|
-
ExpressionAttributeNames?:
|
|
7165
|
-
[key: string]: string;
|
|
7166
|
-
};
|
|
7124
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
7167
7125
|
/**
|
|
7168
7126
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
7169
7127
|
*/
|
|
7170
|
-
ExpressionAttributeValues?:
|
|
7171
|
-
[key: string]: AttributeValue;
|
|
7172
|
-
};
|
|
7128
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
7173
7129
|
/**
|
|
7174
7130
|
* <p>Use <code>ReturnValuesOnConditionCheckFailure</code> to get the item attributes if the
|
|
7175
7131
|
* <code>ConditionCheck</code> condition fails. For
|
|
@@ -7192,9 +7148,7 @@ export interface Delete {
|
|
|
7192
7148
|
* <p>The primary key of the item to be deleted. Each element consists of an attribute name
|
|
7193
7149
|
* and a value for that attribute.</p>
|
|
7194
7150
|
*/
|
|
7195
|
-
Key:
|
|
7196
|
-
[key: string]: AttributeValue;
|
|
7197
|
-
} | undefined;
|
|
7151
|
+
Key: Record<string, AttributeValue> | undefined;
|
|
7198
7152
|
/**
|
|
7199
7153
|
* <p>Name of the table in which the item to be deleted resides.</p>
|
|
7200
7154
|
*/
|
|
@@ -7207,15 +7161,11 @@ export interface Delete {
|
|
|
7207
7161
|
/**
|
|
7208
7162
|
* <p>One or more substitution tokens for attribute names in an expression.</p>
|
|
7209
7163
|
*/
|
|
7210
|
-
ExpressionAttributeNames?:
|
|
7211
|
-
[key: string]: string;
|
|
7212
|
-
};
|
|
7164
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
7213
7165
|
/**
|
|
7214
7166
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
7215
7167
|
*/
|
|
7216
|
-
ExpressionAttributeValues?:
|
|
7217
|
-
[key: string]: AttributeValue;
|
|
7218
|
-
};
|
|
7168
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
7219
7169
|
/**
|
|
7220
7170
|
* <p>Use <code>ReturnValuesOnConditionCheckFailure</code> to get the item attributes if the
|
|
7221
7171
|
* <code>Delete</code> condition fails. For
|
|
@@ -7241,9 +7191,7 @@ export interface Put {
|
|
|
7241
7191
|
* attributes are present in the item that are part of an index key schema for the table,
|
|
7242
7192
|
* their types must match the index key schema. </p>
|
|
7243
7193
|
*/
|
|
7244
|
-
Item:
|
|
7245
|
-
[key: string]: AttributeValue;
|
|
7246
|
-
} | undefined;
|
|
7194
|
+
Item: Record<string, AttributeValue> | undefined;
|
|
7247
7195
|
/**
|
|
7248
7196
|
* <p>Name of the table in which to write the item.</p>
|
|
7249
7197
|
*/
|
|
@@ -7256,15 +7204,11 @@ export interface Put {
|
|
|
7256
7204
|
/**
|
|
7257
7205
|
* <p>One or more substitution tokens for attribute names in an expression.</p>
|
|
7258
7206
|
*/
|
|
7259
|
-
ExpressionAttributeNames?:
|
|
7260
|
-
[key: string]: string;
|
|
7261
|
-
};
|
|
7207
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
7262
7208
|
/**
|
|
7263
7209
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
7264
7210
|
*/
|
|
7265
|
-
ExpressionAttributeValues?:
|
|
7266
|
-
[key: string]: AttributeValue;
|
|
7267
|
-
};
|
|
7211
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
7268
7212
|
/**
|
|
7269
7213
|
* <p>Use <code>ReturnValuesOnConditionCheckFailure</code> to get the item attributes if the
|
|
7270
7214
|
* <code>Put</code> condition fails. For
|
|
@@ -7287,9 +7231,7 @@ export interface Update {
|
|
|
7287
7231
|
* <p>The primary key of the item to be updated. Each element consists of an attribute name
|
|
7288
7232
|
* and a value for that attribute.</p>
|
|
7289
7233
|
*/
|
|
7290
|
-
Key:
|
|
7291
|
-
[key: string]: AttributeValue;
|
|
7292
|
-
} | undefined;
|
|
7234
|
+
Key: Record<string, AttributeValue> | undefined;
|
|
7293
7235
|
/**
|
|
7294
7236
|
* <p>An expression that defines one or more attributes to be updated, the action to be
|
|
7295
7237
|
* performed on them, and new value(s) for them.</p>
|
|
@@ -7307,15 +7249,11 @@ export interface Update {
|
|
|
7307
7249
|
/**
|
|
7308
7250
|
* <p>One or more substitution tokens for attribute names in an expression.</p>
|
|
7309
7251
|
*/
|
|
7310
|
-
ExpressionAttributeNames?:
|
|
7311
|
-
[key: string]: string;
|
|
7312
|
-
};
|
|
7252
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
7313
7253
|
/**
|
|
7314
7254
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
7315
7255
|
*/
|
|
7316
|
-
ExpressionAttributeValues?:
|
|
7317
|
-
[key: string]: AttributeValue;
|
|
7318
|
-
};
|
|
7256
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
7319
7257
|
/**
|
|
7320
7258
|
* <p>Use <code>ReturnValuesOnConditionCheckFailure</code> to get the item attributes if the
|
|
7321
7259
|
* <code>Update</code> condition fails. For
|
|
@@ -7340,9 +7278,7 @@ export interface DeleteItemOutput {
|
|
|
7340
7278
|
* response only if <code>ReturnValues</code> was specified as <code>ALL_OLD</code> in the
|
|
7341
7279
|
* request.</p>
|
|
7342
7280
|
*/
|
|
7343
|
-
Attributes?:
|
|
7344
|
-
[key: string]: AttributeValue;
|
|
7345
|
-
};
|
|
7281
|
+
Attributes?: Record<string, AttributeValue>;
|
|
7346
7282
|
/**
|
|
7347
7283
|
* <p>The capacity units consumed by the <code>DeleteItem</code> operation. The data
|
|
7348
7284
|
* returned includes the total provisioned throughput consumed, along with statistics for
|
|
@@ -7392,9 +7328,7 @@ export interface ExecuteStatementOutput {
|
|
|
7392
7328
|
* operation; a map of attribute names and their values. For the write operations this
|
|
7393
7329
|
* value will be empty.</p>
|
|
7394
7330
|
*/
|
|
7395
|
-
Items?:
|
|
7396
|
-
[key: string]: AttributeValue;
|
|
7397
|
-
}[];
|
|
7331
|
+
Items?: Record<string, AttributeValue>[];
|
|
7398
7332
|
/**
|
|
7399
7333
|
* <p>If the response of a read request exceeds the response payload limit DynamoDB will set
|
|
7400
7334
|
* this value in the response. If set, you can use that this value in the subsequent
|
|
@@ -7418,9 +7352,7 @@ export interface ExecuteStatementOutput {
|
|
|
7418
7352
|
* is more data in the result set. The only way to know when you have reached the end of
|
|
7419
7353
|
* the result set is when <code>LastEvaluatedKey</code> is empty. </p>
|
|
7420
7354
|
*/
|
|
7421
|
-
LastEvaluatedKey?:
|
|
7422
|
-
[key: string]: AttributeValue;
|
|
7423
|
-
};
|
|
7355
|
+
LastEvaluatedKey?: Record<string, AttributeValue>;
|
|
7424
7356
|
}
|
|
7425
7357
|
export declare namespace ExecuteStatementOutput {
|
|
7426
7358
|
/**
|
|
@@ -7437,9 +7369,7 @@ export interface PutItemOutput {
|
|
|
7437
7369
|
* only if <code>ReturnValues</code> is specified as <code>ALL_OLD</code> in the request.
|
|
7438
7370
|
* Each element consists of an attribute name and an attribute value.</p>
|
|
7439
7371
|
*/
|
|
7440
|
-
Attributes?:
|
|
7441
|
-
[key: string]: AttributeValue;
|
|
7442
|
-
};
|
|
7372
|
+
Attributes?: Record<string, AttributeValue>;
|
|
7443
7373
|
/**
|
|
7444
7374
|
* <p>The capacity units consumed by the <code>PutItem</code> operation. The data returned
|
|
7445
7375
|
* includes the total provisioned throughput consumed, along with statistics for the table
|
|
@@ -7491,9 +7421,7 @@ export interface QueryOutput {
|
|
|
7491
7421
|
* <p>An array of item attributes that match the query criteria. Each element in this array
|
|
7492
7422
|
* consists of an attribute name and the value for that attribute.</p>
|
|
7493
7423
|
*/
|
|
7494
|
-
Items?:
|
|
7495
|
-
[key: string]: AttributeValue;
|
|
7496
|
-
}[];
|
|
7424
|
+
Items?: Record<string, AttributeValue>[];
|
|
7497
7425
|
/**
|
|
7498
7426
|
* <p>The number of items in the response.</p>
|
|
7499
7427
|
* <p>If you used a <code>QueryFilter</code> in the request, then <code>Count</code> is the
|
|
@@ -7523,9 +7451,7 @@ export interface QueryOutput {
|
|
|
7523
7451
|
* is more data in the result set. The only way to know when you have reached the end of
|
|
7524
7452
|
* the result set is when <code>LastEvaluatedKey</code> is empty.</p>
|
|
7525
7453
|
*/
|
|
7526
|
-
LastEvaluatedKey?:
|
|
7527
|
-
[key: string]: AttributeValue;
|
|
7528
|
-
};
|
|
7454
|
+
LastEvaluatedKey?: Record<string, AttributeValue>;
|
|
7529
7455
|
/**
|
|
7530
7456
|
* <p>The capacity units consumed by the <code>Query</code> operation. The data returned
|
|
7531
7457
|
* includes the total provisioned throughput consumed, along with statistics for the table
|
|
@@ -7550,9 +7476,7 @@ export interface ScanOutput {
|
|
|
7550
7476
|
* <p>An array of item attributes that match the scan criteria. Each element in this array
|
|
7551
7477
|
* consists of an attribute name and the value for that attribute.</p>
|
|
7552
7478
|
*/
|
|
7553
|
-
Items?:
|
|
7554
|
-
[key: string]: AttributeValue;
|
|
7555
|
-
}[];
|
|
7479
|
+
Items?: Record<string, AttributeValue>[];
|
|
7556
7480
|
/**
|
|
7557
7481
|
* <p>The number of items in the response.</p>
|
|
7558
7482
|
* <p>If you set <code>ScanFilter</code> in the request, then <code>Count</code> is the
|
|
@@ -7582,9 +7506,7 @@ export interface ScanOutput {
|
|
|
7582
7506
|
* is more data in the result set. The only way to know when you have reached the end of
|
|
7583
7507
|
* the result set is when <code>LastEvaluatedKey</code> is empty.</p>
|
|
7584
7508
|
*/
|
|
7585
|
-
LastEvaluatedKey?:
|
|
7586
|
-
[key: string]: AttributeValue;
|
|
7587
|
-
};
|
|
7509
|
+
LastEvaluatedKey?: Record<string, AttributeValue>;
|
|
7588
7510
|
/**
|
|
7589
7511
|
* <p>The capacity units consumed by the <code>Scan</code> operation. The data returned
|
|
7590
7512
|
* includes the total provisioned throughput consumed, along with statistics for the table
|
|
@@ -7612,9 +7534,7 @@ export interface UpdateItemOutput {
|
|
|
7612
7534
|
* specified as something other than <code>NONE</code> in the request. Each element
|
|
7613
7535
|
* represents one attribute.</p>
|
|
7614
7536
|
*/
|
|
7615
|
-
Attributes?:
|
|
7616
|
-
[key: string]: AttributeValue;
|
|
7617
|
-
};
|
|
7537
|
+
Attributes?: Record<string, AttributeValue>;
|
|
7618
7538
|
/**
|
|
7619
7539
|
* <p>The capacity units consumed by the <code>UpdateItem</code> operation. The data
|
|
7620
7540
|
* returned includes the total provisioned throughput consumed, along with statistics for
|
|
@@ -7689,11 +7609,7 @@ export interface BatchGetItemOutput {
|
|
|
7689
7609
|
* of a table name, along with a map of attribute data consisting of the data type and
|
|
7690
7610
|
* attribute value.</p>
|
|
7691
7611
|
*/
|
|
7692
|
-
Responses?:
|
|
7693
|
-
[key: string]: {
|
|
7694
|
-
[key: string]: AttributeValue;
|
|
7695
|
-
}[];
|
|
7696
|
-
};
|
|
7612
|
+
Responses?: Record<string, Record<string, AttributeValue>[]>;
|
|
7697
7613
|
/**
|
|
7698
7614
|
* <p>A map of tables and their respective keys that were not processed with the current
|
|
7699
7615
|
* response. The <code>UnprocessedKeys</code> value is in the same form as
|
|
@@ -7723,9 +7639,7 @@ export interface BatchGetItemOutput {
|
|
|
7723
7639
|
* <p>If there are no unprocessed keys remaining, the response contains an empty
|
|
7724
7640
|
* <code>UnprocessedKeys</code> map.</p>
|
|
7725
7641
|
*/
|
|
7726
|
-
UnprocessedKeys?:
|
|
7727
|
-
[key: string]: KeysAndAttributes;
|
|
7728
|
-
};
|
|
7642
|
+
UnprocessedKeys?: Record<string, KeysAndAttributes>;
|
|
7729
7643
|
/**
|
|
7730
7644
|
* <p>The read capacity units consumed by the entire <code>BatchGetItem</code>
|
|
7731
7645
|
* operation.</p>
|
|
@@ -7844,9 +7758,7 @@ export interface ScanInput {
|
|
|
7844
7758
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ScanFilter.html">ScanFilter</a> in the <i>Amazon DynamoDB Developer
|
|
7845
7759
|
* Guide</i>.</p>
|
|
7846
7760
|
*/
|
|
7847
|
-
ScanFilter?:
|
|
7848
|
-
[key: string]: Condition;
|
|
7849
|
-
};
|
|
7761
|
+
ScanFilter?: Record<string, Condition>;
|
|
7850
7762
|
/**
|
|
7851
7763
|
* <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more
|
|
7852
7764
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer
|
|
@@ -7863,9 +7775,7 @@ export interface ScanInput {
|
|
|
7863
7775
|
* <code>Scan</code> returned the corresponding value of
|
|
7864
7776
|
* <code>LastEvaluatedKey</code>.</p>
|
|
7865
7777
|
*/
|
|
7866
|
-
ExclusiveStartKey?:
|
|
7867
|
-
[key: string]: AttributeValue;
|
|
7868
|
-
};
|
|
7778
|
+
ExclusiveStartKey?: Record<string, AttributeValue>;
|
|
7869
7779
|
/**
|
|
7870
7780
|
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
7871
7781
|
* consumption that is returned in the response:</p>
|
|
@@ -8000,9 +7910,7 @@ export interface ScanInput {
|
|
|
8000
7910
|
* <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer
|
|
8001
7911
|
* Guide</i>.</p>
|
|
8002
7912
|
*/
|
|
8003
|
-
ExpressionAttributeNames?:
|
|
8004
|
-
[key: string]: string;
|
|
8005
|
-
};
|
|
7913
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
8006
7914
|
/**
|
|
8007
7915
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
8008
7916
|
* <p>Use the <b>:</b> (colon) character in an expression to
|
|
@@ -8024,9 +7932,7 @@ export interface ScanInput {
|
|
|
8024
7932
|
* <p>For more information on expression attribute values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html">Condition Expressions</a> in the <i>Amazon DynamoDB Developer
|
|
8025
7933
|
* Guide</i>.</p>
|
|
8026
7934
|
*/
|
|
8027
|
-
ExpressionAttributeValues?:
|
|
8028
|
-
[key: string]: AttributeValue;
|
|
8029
|
-
};
|
|
7935
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
8030
7936
|
/**
|
|
8031
7937
|
* <p>A Boolean value that determines the read consistency model during the scan:</p>
|
|
8032
7938
|
* <ul>
|
|
@@ -8104,9 +8010,7 @@ export interface BatchWriteItemInput {
|
|
|
8104
8010
|
* </li>
|
|
8105
8011
|
* </ul>
|
|
8106
8012
|
*/
|
|
8107
|
-
RequestItems:
|
|
8108
|
-
[key: string]: WriteRequest[];
|
|
8109
|
-
} | undefined;
|
|
8013
|
+
RequestItems: Record<string, WriteRequest[]> | undefined;
|
|
8110
8014
|
/**
|
|
8111
8015
|
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
8112
8016
|
* consumption that is returned in the response:</p>
|
|
@@ -8165,17 +8069,13 @@ export interface DeleteItemInput {
|
|
|
8165
8069
|
* composite primary key, you must provide values for both the partition key and the sort
|
|
8166
8070
|
* key.</p>
|
|
8167
8071
|
*/
|
|
8168
|
-
Key:
|
|
8169
|
-
[key: string]: AttributeValue;
|
|
8170
|
-
} | undefined;
|
|
8072
|
+
Key: Record<string, AttributeValue> | undefined;
|
|
8171
8073
|
/**
|
|
8172
8074
|
* <p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more
|
|
8173
8075
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html">Expected</a> in the <i>Amazon DynamoDB Developer
|
|
8174
8076
|
* Guide</i>.</p>
|
|
8175
8077
|
*/
|
|
8176
|
-
Expected?:
|
|
8177
|
-
[key: string]: ExpectedAttributeValue;
|
|
8178
|
-
};
|
|
8078
|
+
Expected?: Record<string, ExpectedAttributeValue>;
|
|
8179
8079
|
/**
|
|
8180
8080
|
* <p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more
|
|
8181
8081
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer
|
|
@@ -8318,9 +8218,7 @@ export interface DeleteItemInput {
|
|
|
8318
8218
|
* <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer
|
|
8319
8219
|
* Guide</i>.</p>
|
|
8320
8220
|
*/
|
|
8321
|
-
ExpressionAttributeNames?:
|
|
8322
|
-
[key: string]: string;
|
|
8323
|
-
};
|
|
8221
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
8324
8222
|
/**
|
|
8325
8223
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
8326
8224
|
* <p>Use the <b>:</b> (colon) character in an expression to
|
|
@@ -8342,9 +8240,7 @@ export interface DeleteItemInput {
|
|
|
8342
8240
|
* <p>For more information on expression attribute values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html">Condition Expressions</a> in the <i>Amazon DynamoDB Developer
|
|
8343
8241
|
* Guide</i>.</p>
|
|
8344
8242
|
*/
|
|
8345
|
-
ExpressionAttributeValues?:
|
|
8346
|
-
[key: string]: AttributeValue;
|
|
8347
|
-
};
|
|
8243
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
8348
8244
|
}
|
|
8349
8245
|
export declare namespace DeleteItemInput {
|
|
8350
8246
|
/**
|
|
@@ -8380,17 +8276,13 @@ export interface PutItemInput {
|
|
|
8380
8276
|
* <p>Each element in the <code>Item</code> map is an <code>AttributeValue</code>
|
|
8381
8277
|
* object.</p>
|
|
8382
8278
|
*/
|
|
8383
|
-
Item:
|
|
8384
|
-
[key: string]: AttributeValue;
|
|
8385
|
-
} | undefined;
|
|
8279
|
+
Item: Record<string, AttributeValue> | undefined;
|
|
8386
8280
|
/**
|
|
8387
8281
|
* <p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more
|
|
8388
8282
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html">Expected</a> in the <i>Amazon DynamoDB Developer
|
|
8389
8283
|
* Guide</i>.</p>
|
|
8390
8284
|
*/
|
|
8391
|
-
Expected?:
|
|
8392
|
-
[key: string]: ExpectedAttributeValue;
|
|
8393
|
-
};
|
|
8285
|
+
Expected?: Record<string, ExpectedAttributeValue>;
|
|
8394
8286
|
/**
|
|
8395
8287
|
* <p>Use <code>ReturnValues</code> if you want to get the item attributes as they appeared
|
|
8396
8288
|
* before they were updated with the <code>PutItem</code> request. For
|
|
@@ -8536,9 +8428,7 @@ export interface PutItemInput {
|
|
|
8536
8428
|
* <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer
|
|
8537
8429
|
* Guide</i>.</p>
|
|
8538
8430
|
*/
|
|
8539
|
-
ExpressionAttributeNames?:
|
|
8540
|
-
[key: string]: string;
|
|
8541
|
-
};
|
|
8431
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
8542
8432
|
/**
|
|
8543
8433
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
8544
8434
|
* <p>Use the <b>:</b> (colon) character in an expression to
|
|
@@ -8560,9 +8450,7 @@ export interface PutItemInput {
|
|
|
8560
8450
|
* <p>For more information on expression attribute values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html">Condition Expressions</a> in the <i>Amazon DynamoDB Developer
|
|
8561
8451
|
* Guide</i>.</p>
|
|
8562
8452
|
*/
|
|
8563
|
-
ExpressionAttributeValues?:
|
|
8564
|
-
[key: string]: AttributeValue;
|
|
8565
|
-
};
|
|
8453
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
8566
8454
|
}
|
|
8567
8455
|
export declare namespace PutItemInput {
|
|
8568
8456
|
/**
|
|
@@ -8673,17 +8561,13 @@ export interface QueryInput {
|
|
|
8673
8561
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html">KeyConditions</a> in the <i>Amazon DynamoDB Developer
|
|
8674
8562
|
* Guide</i>.</p>
|
|
8675
8563
|
*/
|
|
8676
|
-
KeyConditions?:
|
|
8677
|
-
[key: string]: Condition;
|
|
8678
|
-
};
|
|
8564
|
+
KeyConditions?: Record<string, Condition>;
|
|
8679
8565
|
/**
|
|
8680
8566
|
* <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more
|
|
8681
8567
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html">QueryFilter</a> in the <i>Amazon DynamoDB Developer
|
|
8682
8568
|
* Guide</i>.</p>
|
|
8683
8569
|
*/
|
|
8684
|
-
QueryFilter?:
|
|
8685
|
-
[key: string]: Condition;
|
|
8686
|
-
};
|
|
8570
|
+
QueryFilter?: Record<string, Condition>;
|
|
8687
8571
|
/**
|
|
8688
8572
|
* <p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more
|
|
8689
8573
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer
|
|
@@ -8710,9 +8594,7 @@ export interface QueryInput {
|
|
|
8710
8594
|
* <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No
|
|
8711
8595
|
* set data types are allowed.</p>
|
|
8712
8596
|
*/
|
|
8713
|
-
ExclusiveStartKey?:
|
|
8714
|
-
[key: string]: AttributeValue;
|
|
8715
|
-
};
|
|
8597
|
+
ExclusiveStartKey?: Record<string, AttributeValue>;
|
|
8716
8598
|
/**
|
|
8717
8599
|
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
8718
8600
|
* consumption that is returned in the response:</p>
|
|
@@ -8944,9 +8826,7 @@ export interface QueryInput {
|
|
|
8944
8826
|
* <p>For more information on expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer
|
|
8945
8827
|
* Guide</i>.</p>
|
|
8946
8828
|
*/
|
|
8947
|
-
ExpressionAttributeNames?:
|
|
8948
|
-
[key: string]: string;
|
|
8949
|
-
};
|
|
8829
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
8950
8830
|
/**
|
|
8951
8831
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
8952
8832
|
* <p>Use the <b>:</b> (colon) character in an expression to
|
|
@@ -8968,9 +8848,7 @@ export interface QueryInput {
|
|
|
8968
8848
|
* <p>For more information on expression attribute values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html">Specifying Conditions</a> in the <i>Amazon DynamoDB Developer
|
|
8969
8849
|
* Guide</i>.</p>
|
|
8970
8850
|
*/
|
|
8971
|
-
ExpressionAttributeValues?:
|
|
8972
|
-
[key: string]: AttributeValue;
|
|
8973
|
-
};
|
|
8851
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
8974
8852
|
}
|
|
8975
8853
|
export declare namespace QueryInput {
|
|
8976
8854
|
/**
|
|
@@ -9030,9 +8908,7 @@ export interface BatchWriteItemOutput {
|
|
|
9030
8908
|
* <p>If there are no unprocessed items remaining, the response contains an empty
|
|
9031
8909
|
* <code>UnprocessedItems</code> map.</p>
|
|
9032
8910
|
*/
|
|
9033
|
-
UnprocessedItems?:
|
|
9034
|
-
[key: string]: WriteRequest[];
|
|
9035
|
-
};
|
|
8911
|
+
UnprocessedItems?: Record<string, WriteRequest[]>;
|
|
9036
8912
|
/**
|
|
9037
8913
|
* <p>A list of tables that were processed by <code>BatchWriteItem</code> and, for each
|
|
9038
8914
|
* table, information about any item collections that were affected by individual
|
|
@@ -9057,9 +8933,7 @@ export interface BatchWriteItemOutput {
|
|
|
9057
8933
|
* </li>
|
|
9058
8934
|
* </ul>
|
|
9059
8935
|
*/
|
|
9060
|
-
ItemCollectionMetrics?:
|
|
9061
|
-
[key: string]: ItemCollectionMetrics[];
|
|
9062
|
-
};
|
|
8936
|
+
ItemCollectionMetrics?: Record<string, ItemCollectionMetrics[]>;
|
|
9063
8937
|
/**
|
|
9064
8938
|
* <p>The capacity units consumed by the entire <code>BatchWriteItem</code>
|
|
9065
8939
|
* operation.</p>
|
|
@@ -9100,25 +8974,19 @@ export interface UpdateItemInput {
|
|
|
9100
8974
|
* composite primary key, you must provide values for both the partition key and the sort
|
|
9101
8975
|
* key.</p>
|
|
9102
8976
|
*/
|
|
9103
|
-
Key:
|
|
9104
|
-
[key: string]: AttributeValue;
|
|
9105
|
-
} | undefined;
|
|
8977
|
+
Key: Record<string, AttributeValue> | undefined;
|
|
9106
8978
|
/**
|
|
9107
8979
|
* <p>This is a legacy parameter. Use <code>UpdateExpression</code> instead. For more
|
|
9108
8980
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributeUpdates.html">AttributeUpdates</a> in the <i>Amazon DynamoDB Developer
|
|
9109
8981
|
* Guide</i>.</p>
|
|
9110
8982
|
*/
|
|
9111
|
-
AttributeUpdates?:
|
|
9112
|
-
[key: string]: AttributeValueUpdate;
|
|
9113
|
-
};
|
|
8983
|
+
AttributeUpdates?: Record<string, AttributeValueUpdate>;
|
|
9114
8984
|
/**
|
|
9115
8985
|
* <p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more
|
|
9116
8986
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html">Expected</a> in the <i>Amazon DynamoDB Developer
|
|
9117
8987
|
* Guide</i>.</p>
|
|
9118
8988
|
*/
|
|
9119
|
-
Expected?:
|
|
9120
|
-
[key: string]: ExpectedAttributeValue;
|
|
9121
|
-
};
|
|
8989
|
+
Expected?: Record<string, ExpectedAttributeValue>;
|
|
9122
8990
|
/**
|
|
9123
8991
|
* <p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more
|
|
9124
8992
|
* information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer
|
|
@@ -9383,9 +9251,7 @@ export interface UpdateItemInput {
|
|
|
9383
9251
|
* <p>For more information about expression attribute names, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer
|
|
9384
9252
|
* Guide</i>.</p>
|
|
9385
9253
|
*/
|
|
9386
|
-
ExpressionAttributeNames?:
|
|
9387
|
-
[key: string]: string;
|
|
9388
|
-
};
|
|
9254
|
+
ExpressionAttributeNames?: Record<string, string>;
|
|
9389
9255
|
/**
|
|
9390
9256
|
* <p>One or more values that can be substituted in an expression.</p>
|
|
9391
9257
|
* <p>Use the <b>:</b> (colon) character in an expression to
|
|
@@ -9407,9 +9273,7 @@ export interface UpdateItemInput {
|
|
|
9407
9273
|
* <p>For more information on expression attribute values, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html">Condition Expressions</a> in the <i>Amazon DynamoDB Developer
|
|
9408
9274
|
* Guide</i>.</p>
|
|
9409
9275
|
*/
|
|
9410
|
-
ExpressionAttributeValues?:
|
|
9411
|
-
[key: string]: AttributeValue;
|
|
9412
|
-
};
|
|
9276
|
+
ExpressionAttributeValues?: Record<string, AttributeValue>;
|
|
9413
9277
|
}
|
|
9414
9278
|
export declare namespace UpdateItemInput {
|
|
9415
9279
|
/**
|