Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.348.1"
"${LATEST}": "3.348.2"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
4 changes: 4 additions & 0 deletions src/Service/BedrockRuntime/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Changed

- AWS enhancement: Documentation updates.

## 1.1.0

### Added
Expand Down
6 changes: 3 additions & 3 deletions src/Service/BedrockRuntime/src/Input/InvokeModelRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ final class InvokeModelRequest extends Input
* see Supported Regions and models for cross-region inference [^2] in the Amazon Bedrock User Guide.
* - If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see Run
* inference using a Provisioned Throughput [^3] in the Amazon Bedrock User Guide.
* - If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting
* provisioned model. For more information, see Use a custom model in Amazon Bedrock [^4] in the Amazon Bedrock User
* Guide.
* - If you use a custom model, specify the ARN of the custom model deployment (for on-demand inference) or the ARN of
* your provisioned model (for Provisioned Throughput). For more information, see Use a custom model in Amazon Bedrock
* [^4] in the Amazon Bedrock User Guide.
* - If you use an imported model [^5], specify the ARN of the imported model. You can get the model ARN from a
* successful call to CreateModelImportJob [^6] or from the Imported models page in the Amazon Bedrock console.
*
Expand Down
4 changes: 4 additions & 0 deletions src/Service/CloudFormation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Changed

- AWS enhancement: Documentation updates.

## 1.9.0

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class DescribeStackDriftDetectionStatusOutput extends Result
* or more of its resources have drifted.
* - `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs from its expected template configuration.
* - `IN_SYNC`: The stack's actual configuration matches its expected template configuration.
* - `UNKNOWN`: This value is reserved for future use.
* - `UNKNOWN`: CloudFormation could not run drift detection for a resource in the stack. See the
* `DetectionStatusReason` for details.
*
* @var StackDriftStatus::*|null
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace AsyncAws\CloudFormation\ValueObject;

/**
* Structure containing the rollback triggers for CloudFormation to monitor during stack creation and updating
* Structure that contains the rollback triggers for CloudFormation to monitor during stack creation and updating
* operations, and for the specified monitoring period afterwards.
*
* Rollback triggers enable you to have CloudFormation monitor the state of your application during stack creation and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ final class RollbackTrigger
* The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm [^1] or
* AWS::CloudWatch::CompositeAlarm [^2] resource types.
*
* [^1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html
* [^2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html
* [^1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-alarm.html
* [^2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-compositealarm.html
*
* @var string
*/
Expand Down
13 changes: 5 additions & 8 deletions src/Service/CloudFormation/src/ValueObject/Stack.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,10 @@ final class Stack
private $enableTerminationProtection;

/**
* For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack.
* For the first level of nested stacks, the root stack is also the parent stack.
* For nested stacks, the stack ID of the direct parent of this stack. For the first level of nested stacks, the root
* stack is also the parent stack.
*
* For more information, see Embed stacks within other stacks using nested stacks [^1] in the *CloudFormation User
* Guide*.
* For more information, see Nested stacks [^1] in the *CloudFormation User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
*
Expand All @@ -172,11 +171,9 @@ final class Stack
private $parentId;

/**
* For nested stacks--stacks created as resources for another stack--the stack ID of the top-level stack to which the
* nested stack ultimately belongs.
* For nested stacks, the stack ID of the top-level stack to which the nested stack ultimately belongs.
*
* For more information, see Embed stacks within other stacks using nested stacks [^1] in the *CloudFormation User
* Guide*.
* For more information, see Nested stacks [^1] in the *CloudFormation User Guide*.
*
* [^1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class StackDriftInformation
* or more of its resources have drifted.
* - `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs from its expected template configuration.
* - `IN_SYNC`: The stack's actual configuration matches its expected template configuration.
* - `UNKNOWN`: This value is reserved for future use.
* - `UNKNOWN`: CloudFormation could not run drift detection for a resource in the stack.
*
* @var StackDriftStatus::*
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/src/ValueObject/StackEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ final class StackEvent
private $hookFailureMode;

/**
* An optional field containing information about the detailed status of the stack event.
* An optional field that contains information about the detailed status of the stack event.
*
* - `CONFIGURATION_COMPLETE` - all of the resources in the stack have reached that event. For more information, see
* Understand CloudFormation stack creation events [^1] in the *CloudFormation User Guide*.
Expand Down
3 changes: 2 additions & 1 deletion src/Service/CloudFormation/src/ValueObject/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ final class Tag
private $key;

/**
* *Required*. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
* *Required*. A string that contains the value for this tag. You can specify a maximum of 256 characters for a tag
* value.
*
* @var string
*/
Expand Down
4 changes: 4 additions & 0 deletions src/Service/DynamoDb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: This change adds support for witnesses in global tables. It also adds a new table status, REPLICATION_NOT_AUTHORIZED. This status will indicate scenarios where global replicas table can't be utilized for data plane operations.

## 3.6.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Service/DynamoDb/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "3.6-dev"
"dev-master": "3.7-dev"
}
}
}
10 changes: 4 additions & 6 deletions src/Service/DynamoDb/src/DynamoDbClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
use AsyncAws\DynamoDb\ValueObject\ExpectedAttributeValue;
use AsyncAws\DynamoDb\ValueObject\GlobalSecondaryIndex;
use AsyncAws\DynamoDb\ValueObject\GlobalSecondaryIndexUpdate;
use AsyncAws\DynamoDb\ValueObject\GlobalTableWitnessGroupUpdate;
use AsyncAws\DynamoDb\ValueObject\KeysAndAttributes;
use AsyncAws\DynamoDb\ValueObject\KeySchemaElement;
use AsyncAws\DynamoDb\ValueObject\LocalSecondaryIndex;
Expand Down Expand Up @@ -241,6 +242,7 @@ public function batchGetItem($input): BatchGetItemOutput
* @throws InternalServerErrorException
* @throws ItemCollectionSizeLimitExceededException
* @throws ProvisionedThroughputExceededException
* @throws ReplicatedWriteConflictException
* @throws RequestLimitExceededException
* @throws ResourceNotFoundException
*/
Expand All @@ -251,6 +253,7 @@ public function batchWriteItem($input): BatchWriteItemOutput
'InternalServerError' => InternalServerErrorException::class,
'ItemCollectionSizeLimitExceededException' => ItemCollectionSizeLimitExceededException::class,
'ProvisionedThroughputExceededException' => ProvisionedThroughputExceededException::class,
'ReplicatedWriteConflictException' => ReplicatedWriteConflictException::class,
'RequestLimitExceeded' => RequestLimitExceededException::class,
'ResourceNotFoundException' => ResourceNotFoundException::class,
], 'usesEndpointDiscovery' => true]));
Expand Down Expand Up @@ -375,8 +378,6 @@ public function deleteItem($input): DeleteItemOutput
* specified table does not exist, DynamoDB returns a `ResourceNotFoundException`. If table is already in the `DELETING`
* state, no error is returned.
*
* ! For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version).
*
* > DynamoDB might continue to accept data read and write operations, such as `GetItem` and `PutItem`, on a table in
* > the `DELETING` state until the table deletion is complete. For the full list of table states, see TableStatus [^1].
*
Expand Down Expand Up @@ -440,8 +441,6 @@ public function describeEndpoints($input = []): DescribeEndpointsResponse
* Returns information about the table, including the current status of the table, when it was created, the primary key
* schema, and any indexes on the table.
*
* ! For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version).
*
* > If you issue a `DescribeTable` request immediately after a `CreateTable` request, DynamoDB might return a
* > `ResourceNotFoundException`. This is because `DescribeTable` uses an eventually consistent query, and the metadata
* > for your table might not be available at that moment. Wait for a few seconds, and then try the `DescribeTable`
Expand Down Expand Up @@ -984,8 +983,6 @@ public function updateItem($input): UpdateItemOutput
* Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given
* table.
*
* ! For global tables, this operation only applies to global tables using Version 2019.11.21 (Current version).
*
* You can only perform one of the following operations at once:
*
* - Modify the provisioned throughput settings of the table.
Expand All @@ -1012,6 +1009,7 @@ public function updateItem($input): UpdateItemOutput
* TableClass?: null|TableClass::*,
* DeletionProtectionEnabled?: null|bool,
* MultiRegionConsistency?: null|MultiRegionConsistency::*,
* GlobalTableWitnessUpdates?: null|array<GlobalTableWitnessGroupUpdate|array>,
* OnDemandThroughput?: null|OnDemandThroughput|array,
* WarmThroughput?: null|WarmThroughput|array,
* '@region'?: string|null,
Expand Down
6 changes: 6 additions & 0 deletions src/Service/DynamoDb/src/Enum/ReplicaStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
final class ReplicaStatus
{
public const ACTIVE = 'ACTIVE';
public const ARCHIVED = 'ARCHIVED';
public const ARCHIVING = 'ARCHIVING';
public const CREATING = 'CREATING';
public const CREATION_FAILED = 'CREATION_FAILED';
public const DELETING = 'DELETING';
public const INACCESSIBLE_ENCRYPTION_CREDENTIALS = 'INACCESSIBLE_ENCRYPTION_CREDENTIALS';
public const REGION_DISABLED = 'REGION_DISABLED';
public const REPLICATION_NOT_AUTHORIZED = 'REPLICATION_NOT_AUTHORIZED';
public const UPDATING = 'UPDATING';

public static function exists(string $value): bool
{
return isset([
self::ACTIVE => true,
self::ARCHIVED => true,
self::ARCHIVING => true,
self::CREATING => true,
self::CREATION_FAILED => true,
self::DELETING => true,
self::INACCESSIBLE_ENCRYPTION_CREDENTIALS => true,
self::REGION_DISABLED => true,
self::REPLICATION_NOT_AUTHORIZED => true,
self::UPDATING => true,
][$value]);
}
Expand Down
2 changes: 2 additions & 0 deletions src/Service/DynamoDb/src/Enum/TableStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ final class TableStatus
public const CREATING = 'CREATING';
public const DELETING = 'DELETING';
public const INACCESSIBLE_ENCRYPTION_CREDENTIALS = 'INACCESSIBLE_ENCRYPTION_CREDENTIALS';
public const REPLICATION_NOT_AUTHORIZED = 'REPLICATION_NOT_AUTHORIZED';
public const UPDATING = 'UPDATING';

public static function exists(string $value): bool
Expand All @@ -21,6 +22,7 @@ public static function exists(string $value): bool
self::CREATING => true,
self::DELETING => true,
self::INACCESSIBLE_ENCRYPTION_CREDENTIALS => true,
self::REPLICATION_NOT_AUTHORIZED => true,
self::UPDATING => true,
][$value]);
}
Expand Down
19 changes: 19 additions & 0 deletions src/Service/DynamoDb/src/Enum/WitnessStatus.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace AsyncAws\DynamoDb\Enum;

final class WitnessStatus
{
public const ACTIVE = 'ACTIVE';
public const CREATING = 'CREATING';
public const DELETING = 'DELETING';

public static function exists(string $value): bool
{
return isset([
self::ACTIVE => true,
self::CREATING => true,
self::DELETING => true,
][$value]);
}
}
Loading