|
14 | 14 | * into the index. If the index is configured to project all attributes, this return value is equivalent to specifying
|
15 | 15 | * `ALL_ATTRIBUTES`.
|
16 | 16 | * - `COUNT` - Returns the number of matching items, rather than the matching items themselves.
|
17 |
| - * - `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in `AttributesToGet`. This return value is equivalent to |
18 |
| - * specifying `AttributesToGet` without specifying any value for `Select`. |
| 17 | + * - `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in `ProjectionExpression`. This return value is |
| 18 | + * equivalent to specifying `ProjectionExpression` without specifying any value for `Select`. |
19 | 19 | * If you query or scan a local secondary index and request only attributes that are projected into that index, the
|
20 | 20 | * operation will read only the index and not the table. If any of the requested attributes are not projected into the
|
21 | 21 | * local secondary index, DynamoDB fetches each of these attributes from the parent table. This extra fetching incurs
|
22 | 22 | * additional throughput cost and latency.
|
23 | 23 | * If you query or scan a global secondary index, you can only request attributes that are projected into the index.
|
24 | 24 | * Global secondary index queries cannot fetch attributes from the parent table.
|
25 | 25 | *
|
26 |
| - * If neither `Select` nor `AttributesToGet` are specified, DynamoDB defaults to `ALL_ATTRIBUTES` when accessing a |
27 |
| - * table, and `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use both `Select` and `AttributesToGet` |
28 |
| - * together in a single request, unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is equivalent to |
29 |
| - * specifying `AttributesToGet` without any value for `Select`.) |
| 26 | + * If neither `Select` nor `ProjectionExpression` are specified, DynamoDB defaults to `ALL_ATTRIBUTES` when accessing a |
| 27 | + * table, and `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use both `Select` and |
| 28 | + * `ProjectionExpression` together in a single request, unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This |
| 29 | + * usage is equivalent to specifying `ProjectionExpression` without any value for `Select`.) |
30 | 30 | *
|
31 | 31 | * > If you use the `ProjectionExpression` parameter, then the value for `Select` can only be `SPECIFIC_ATTRIBUTES`. Any
|
32 | 32 | * > other value for `Select` will return an error.
|
|
0 commit comments