Skip to content

Commit 3a2c922

Browse files
Update generated code (#1877)
* update generated code * Apply suggestions from code review --------- Co-authored-by: Jérémy Derussé <[email protected]>
1 parent 4d6a388 commit 3a2c922

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
### Changed
1111

1212
- Sort exception alphabetically.
13+
- AWS enhancement: Documentation updates.
1314

1415
## 3.5.0
1516

src/DynamoDbClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ class DynamoDbClient extends AbstractApi
131131
* minimum read capacity units according to the type of read. For more information, see Working with Tables [^2] in the
132132
* *Amazon DynamoDB Developer Guide*.
133133
*
134+
* > `BatchGetItem` will result in a `ValidationException` if the same key is specified multiple times.
135+
*
134136
* [^1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations
135137
* [^2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#CapacityUnitCalculations
136138
*

src/ValueObject/CreateGlobalSecondaryIndexAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ final class CreateGlobalSecondaryIndexAction
4545

4646
/**
4747
* The maximum number of read and write units for the global secondary index being created. If you use this parameter,
48-
* you must specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
48+
* you must specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. You must use either `OnDemand Throughput` or
49+
* `ProvisionedThroughput` based on your table's capacity mode.
4950
*
5051
* @var OnDemandThroughput|null
5152
*/

src/ValueObject/ProvisionedThroughput.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
use AsyncAws\Core\Exception\InvalidArgument;
66

77
/**
8-
* Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the
9-
* `UpdateTable` operation.
8+
* Represents the provisioned throughput settings for the specified global secondary index. You must use
9+
* `ProvisionedThroughput` or `OnDemandThroughput` based on your table’s capacity mode.
1010
*
1111
* For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas [^1] in the
1212
* *Amazon DynamoDB Developer Guide*.

src/ValueObject/TableWarmThroughputDescription.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
use AsyncAws\DynamoDb\Enum\TableStatus;
66

77
/**
8-
* Represents the warm throughput value (in read units per second and write units per second) of the base table.
8+
* Represents the warm throughput value (in read units per second and write units per second) of the table. Warm
9+
* throughput is applicable for DynamoDB Standard-IA tables and specifies the minimum provisioned capacity maintained
10+
* for immediate data access.
911
*/
1012
final class TableWarmThroughputDescription
1113
{
@@ -24,7 +26,7 @@ final class TableWarmThroughputDescription
2426
private $writeUnitsPerSecond;
2527

2628
/**
27-
* Represents warm throughput value of the base table..
29+
* Represents warm throughput value of the base table.
2830
*
2931
* @var TableStatus::*|null
3032
*/

0 commit comments

Comments
 (0)