Skip to content

Commit 622fd95

Browse files
update generated code (#1130)
1 parent 647caae commit 622fd95

14 files changed

+45
-41
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- AWS api-change: Added `us-iso-west-1` region
88
- AWS api-change: Added `ca-central-1` region
99
- AWS api-change: Use specific configuration for `us` regions
10+
- AWS enhancement: Updated Help section for "dynamodb update-contributor-insights" API
1011

1112
## 1.1.1
1213

src/DynamoDbClient.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,9 @@ public function batchWriteItem($input): BatchWriteItemOutput
138138
}
139139

140140
/**
141-
* The `CreateTable` operation adds a new table to your account. In an AWS account, table names must be unique within
142-
* each Region. That is, you can have two tables with same name if you create the tables in different Regions.
141+
* The `CreateTable` operation adds a new table to your account. In an Amazon Web Services account, table names must be
142+
* unique within each Region. That is, you can have two tables with same name if you create the tables in different
143+
* Regions.
143144
*
144145
* @see https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html
145146
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-dynamodb-2012-08-10.html#createtable
@@ -388,8 +389,9 @@ public function putItem($input): PutItemOutput
388389
}
389390

390391
/**
391-
* The `Query` operation finds items based on primary key values. You can query any table or secondary index that has a
392-
* composite primary key (a partition key and a sort key).
392+
* You must provide the name of the partition key attribute and a single value for that attribute. `Query` returns all
393+
* items with that partition key value. Optionally, you can provide a sort key attribute and use a comparison operator
394+
* to refine the search results.
393395
*
394396
* @see https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html
395397
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-dynamodb-2012-08-10.html#query

src/Enum/ReplicaStatus.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
* - `UPDATING` - The replica is being updated.
1010
* - `DELETING` - The replica is being deleted.
1111
* - `ACTIVE` - The replica is ready for use.
12-
* - `REGION_DISABLED` - The replica is inaccessible because the AWS Region has been disabled.
12+
* - `REGION_DISABLED` - The replica is inaccessible because the Amazon Web Services Region has been disabled.
1313
*
14-
* > If the AWS Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the
15-
* > replication group. The replica will not be deleted and replication will stop from and to this region.
14+
* > If the Amazon Web Services Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica
15+
* > from the replication group. The replica will not be deleted and replication will stop from and to this region.
1616
*
17-
* - `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The AWS KMS key used to encrypt the table is inaccessible.
17+
* - `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The KMS key used to encrypt the table is inaccessible.
1818
*
19-
* > If the AWS KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the
19+
* > If the KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the
2020
* > replication group. The replica will not be deleted and replication will stop from and to this region.
2121
*/
2222
final class ReplicaStatus

src/Enum/SSEType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
/**
66
* Server-side encryption type. The only supported value is:.
77
*
8-
* - `KMS` - Server-side encryption that uses AWS Key Management Service. The key is stored in your account and is
9-
* managed by AWS KMS (AWS KMS charges apply).
8+
* - `KMS` - Server-side encryption that uses Key Management Service. The key is stored in your account and is managed
9+
* by KMS (KMS charges apply).
1010
*/
1111
final class SSEType
1212
{

src/Enum/TableStatus.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* - `UPDATING` - The table is being updated.
1010
* - `DELETING` - The table is being deleted.
1111
* - `ACTIVE` - The table is ready for use.
12-
* - `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The AWS KMS key used to encrypt the table in inaccessible. Table operations
13-
* may fail due to failure to use the AWS KMS key. DynamoDB will initiate the table archival process when a table's
14-
* AWS KMS key remains inaccessible for more than seven days.
12+
* - `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to encrypt the table in inaccessible. Table operations may
13+
* fail due to failure to use the KMS key. DynamoDB will initiate the table archival process when a table's KMS key
14+
* remains inaccessible for more than seven days.
1515
* - `ARCHIVING` - The table is being archived. Operations are not allowed until archival is complete.
1616
* - `ARCHIVED` - The table has been archived. See the ArchivalReason for more information.
1717
*/

src/Exception/ProvisionedThroughputExceededException.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
use Symfony\Contracts\HttpClient\ResponseInterface;
77

88
/**
9-
* Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception.
10-
* Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of
11-
* requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the
12-
* *Amazon DynamoDB Developer Guide*.
9+
* Your request rate is too high. The Amazon Web Services SDKs for DynamoDB automatically retry requests that receive
10+
* this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the
11+
* frequency of requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff
12+
* in the *Amazon DynamoDB Developer Guide*.
1313
*
1414
* @see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff
1515
*/

src/Exception/RequestLimitExceededException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Symfony\Contracts\HttpClient\ResponseInterface;
77

88
/**
9-
* Throughput exceeds the current throughput quota for your account. Please contact AWS Support at AWS Support to
9+
* Throughput exceeds the current throughput quota for your account. Please contact Amazon Web Services Support to
1010
* request a quota increase.
1111
*
1212
* @see https://aws.amazon.com/support

src/ValueObject/CreateReplicationGroupMemberAction.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ final class CreateReplicationGroupMemberAction
1515
private $regionName;
1616

1717
/**
18-
* The AWS KMS customer master key (CMK) that should be used for AWS KMS encryption in the new replica. To specify a
19-
* CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this
20-
* parameter if the key is different from the default DynamoDB KMS master key alias/aws/dynamodb.
18+
* The KMS key that should be used for KMS encryption in the new replica. To specify a key, use its key ID, Amazon
19+
* Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is
20+
* different from the default DynamoDB KMS key `alias/aws/dynamodb`.
2121
*/
2222
private $kmsMasterKeyId;
2323

src/ValueObject/ReplicaDescription.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class ReplicaDescription
3030
private $replicaStatusPercentProgress;
3131

3232
/**
33-
* The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption.
33+
* The KMS key of the replica that will be used for KMS encryption.
3434
*/
3535
private $kmsMasterKeyId;
3636

src/ValueObject/SSEDescription.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ final class SSEDescription
2121
private $sseType;
2222

2323
/**
24-
* The AWS KMS customer master key (CMK) ARN used for the AWS KMS encryption.
24+
* The KMS key ARN used for the KMS encryption.
2525
*/
2626
private $kmsMasterKeyArn;
2727

2828
/**
29-
* Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's AWS KMS key was inaccessible.
30-
* This attribute will automatically be cleared when DynamoDB detects that the table's AWS KMS key is accessible again.
31-
* DynamoDB will initiate the table archival process when table's AWS KMS key remains inaccessible for more than seven
32-
* days from this date.
29+
* Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's KMS key was inaccessible. This
30+
* attribute will automatically be cleared when DynamoDB detects that the table's KMS key is accessible again. DynamoDB
31+
* will initiate the table archival process when table's KMS key remains inaccessible for more than seven days from this
32+
* date.
3333
*/
3434
private $inaccessibleEncryptionDateTime;
3535

0 commit comments

Comments
 (0)