diff --git a/docs/authentication/hard-coded.md b/docs/authentication/hard-coded.md index 8182430ce..b8cefa23a 100644 --- a/docs/authentication/hard-coded.md +++ b/docs/authentication/hard-coded.md @@ -30,7 +30,7 @@ $client = new AwsClientFactory([ 'accessKeyId' => 'AKIAIOSFODNN7EXAMPLE', 'accessKeySecret' => 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY', 'roleArn' => 'arn:aws:iam::1234567891011:role/name-of-my-role', - 'roleSessionName' => 'my-session-name', // Optionnal + 'roleSessionName' => 'my-session-name', // Optional ]); ``` diff --git a/docs/clients/code-deploy.md b/docs/clients/code-deploy.md index ca1937cf6..ffe07fbd5 100644 --- a/docs/clients/code-deploy.md +++ b/docs/clients/code-deploy.md @@ -28,7 +28,7 @@ $deployment = $codeDeploy->createDeployment(new CreateDeploymentInput([ ], ])); -echo 'DepoymentId: '. $deployment->getDeploymentId(); +echo 'DeploymentId: '. $deployment->getDeploymentId(); ``` diff --git a/docs/clients/rds-data-service.md b/docs/clients/rds-data-service.md index 50182c901..d21c95302 100644 --- a/docs/clients/rds-data-service.md +++ b/docs/clients/rds-data-service.md @@ -72,7 +72,7 @@ try { 'transaction' => $transaction->getTransactionId(), ]); } catch (\Throwable $e) { - // Make sure to allways rollback since there is no connection. + // Make sure to always roll back since there is no connection. // If you forget than the transaction might block tables for up to 5 minutes. $client->rollbackTransaction($database + [ 'transaction' => $transaction->getTransactionId(), diff --git a/src/CodeGenerator/src/Generator/PaginationGenerator.php b/src/CodeGenerator/src/Generator/PaginationGenerator.php index 9181b1633..e22ee06ef 100644 --- a/src/CodeGenerator/src/Generator/PaginationGenerator.php +++ b/src/CodeGenerator/src/Generator/PaginationGenerator.php @@ -298,7 +298,7 @@ private function generateGetter(string $property, string $expression, bool $useG $last = true; } if (!preg_match('/^[a-z]++$/i', $part)) { - throw new LogicException(\sprintf('The part "%s" of the getter expression "%s" is n9ot yet supported', $part, $expression)); + throw new LogicException(\sprintf('The part "%s" of the getter expression "%s" is not yet supported', $part, $expression)); } if (!$useGetter && $getter === $property) { diff --git a/src/CodeGenerator/src/Generator/RequestSerializer/QuerySerializer.php b/src/CodeGenerator/src/Generator/RequestSerializer/QuerySerializer.php index c92db6456..c9e597e4c 100644 --- a/src/CodeGenerator/src/Generator/RequestSerializer/QuerySerializer.php +++ b/src/CodeGenerator/src/Generator/RequestSerializer/QuerySerializer.php @@ -167,7 +167,7 @@ protected function getName(Member $member): string if ($member instanceof StructureMember) { $name = $this->getQueryName($member, $member->getName()); } else { - throw new \RuntimeException('Guessing the name fot this member not yet implemented'); + throw new \RuntimeException('Guessing the name for this member not yet implemented'); } $shape = $member->getShape(); diff --git a/src/CodeGenerator/src/Generator/ResponseParser/RestJsonParser.php b/src/CodeGenerator/src/Generator/ResponseParser/RestJsonParser.php index 26471c770..e4939e2a8 100644 --- a/src/CodeGenerator/src/Generator/ResponseParser/RestJsonParser.php +++ b/src/CodeGenerator/src/Generator/ResponseParser/RestJsonParser.php @@ -127,17 +127,17 @@ public function generateForPath(StructureShape $shape, string $path, string $out $input = '$response->toArray()'; } $path = explode('.', $path); - $accesor = ''; + $accessor = ''; while (\count($path) > 0) { $item = array_shift($path); $member = $shape->getMember($item); $shape = $member->getShape(); - $accesor .= '[' . var_export($this->getInputAccessorName($member), true) . ']'; + $accessor .= '[' . var_export($this->getInputAccessorName($member), true) . ']'; } $body .= strtr('OUTPUT = INPUTPATH ?? null', [ 'INPUT' => $input, - 'PATH' => $accesor, + 'PATH' => $accessor, 'OUTPUT' => $output, ]); diff --git a/src/CodeGenerator/src/Generator/ResponseParser/RestXmlParser.php b/src/CodeGenerator/src/Generator/ResponseParser/RestXmlParser.php index 0321dddac..0a3f9227c 100644 --- a/src/CodeGenerator/src/Generator/ResponseParser/RestXmlParser.php +++ b/src/CodeGenerator/src/Generator/ResponseParser/RestXmlParser.php @@ -126,16 +126,16 @@ public function generateForPath(StructureShape $shape, string $path, string $out $body .= strtr('$data = $data->WRAPPER;' . "\n", ['WRAPPER' => $wrapper]); } $path = explode('.', $path); - $accesor = '$data'; + $accessor = '$data'; while (\count($path) > 0) { $item = array_shift($path); $member = $shape->getMember($item); $shape = $member->getShape(); - $accesor = $this->getInputAccessor($accesor, $member); + $accessor = $this->getInputAccessor($accessor, $member); } $body .= strtr('OUTPUT = PATH', [ - 'PATH' => $this->parseXmlElement($accesor, $shape, true, false), + 'PATH' => $this->parseXmlElement($accessor, $shape, true, false), 'OUTPUT' => $output, ]); diff --git a/src/Core/CHANGELOG.md b/src/Core/CHANGELOG.md index 5aed54864..38b000066 100644 --- a/src/Core/CHANGELOG.md +++ b/src/Core/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Fixed + +- Fix typos. + ## 1.29.1 ### Changed @@ -398,14 +402,14 @@ - Support for EventBridge in `AwsClientFactory` - Support for IAM in `AwsClientFactory` -- Add a `PsrCacheProvider` and `SymfonyCacheProvider` to persists crendentials in a cache pool +- Add a `PsrCacheProvider` and `SymfonyCacheProvider` to persist credentials in a cache pool - Add a `Credential::adjustExpireDate` method for adjusting the time according to the time difference with AWS clock - Support for global and regional endpoints - Add a `Configuration::optionExists` to allow third parties to check if an option is available (needed by libraries supporting several versions of core) ### Deprecated -- Clients extending `AbstractApi` should override `getEndpointMetata`. The method will be abstract in 2.0 +- Clients extending `AbstractApi` should override `getEndpointMetadata`. The method will be abstract in 2.0 - Custom endpoints should not contain `%region%` and `%service` placeholder. They won't be replaced anymore in 2.0 - Protected methods `getServiceCode`, `getSignatureVersion` and `getSignatureScopeName` of AbstractApi are deprecated and will be removed in 2.0 diff --git a/src/Core/src/Credentials/ConfigurationProvider.php b/src/Core/src/Credentials/ConfigurationProvider.php index 3dca53444..143c3baa8 100644 --- a/src/Core/src/Credentials/ConfigurationProvider.php +++ b/src/Core/src/Credentials/ConfigurationProvider.php @@ -74,7 +74,7 @@ private function getCredentialsFromRole(Credentials $credentials, string $region try { if (null === $credentials = $result->getCredentials()) { - throw new RuntimeException('The AsumeRole response does not contains credentials'); + throw new RuntimeException('The AssumeRole response does not contain credentials'); } } catch (\Exception $e) { $this->logger->warning('Failed to get credentials from assumed role: {exception}".', ['exception' => $e]); diff --git a/src/Core/src/Credentials/SsoTokenProvider.php b/src/Core/src/Credentials/SsoTokenProvider.php index 9b1ec7d90..655c8381c 100644 --- a/src/Core/src/Credentials/SsoTokenProvider.php +++ b/src/Core/src/Credentials/SsoTokenProvider.php @@ -154,8 +154,8 @@ private function loadSsoToken(string $sessionName): ?array ); } catch (\JsonException $e) { $this->logger->warning( - 'The sso cache file {path} contains invalide JSON.', - ['path' => $filepath, 'ecxeption' => $e] + 'The sso cache file {path} contains invalid JSON.', + ['path' => $filepath, 'exception' => $e] ); return null; diff --git a/src/Integration/Monolog/CloudWatch/CHANGELOG.md b/src/Integration/Monolog/CloudWatch/CHANGELOG.md index 577d64151..b00db8203 100644 --- a/src/Integration/Monolog/CloudWatch/CHANGELOG.md +++ b/src/Integration/Monolog/CloudWatch/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Fixed + +- Fix `async-aws` keyword typo. + ## 1.3.0 ### Dependency bumped diff --git a/src/Integration/Monolog/CloudWatch/composer.json b/src/Integration/Monolog/CloudWatch/composer.json index 8b63603fb..5dbcb218a 100644 --- a/src/Integration/Monolog/CloudWatch/composer.json +++ b/src/Integration/Monolog/CloudWatch/composer.json @@ -5,7 +5,7 @@ "type": "library", "keywords": [ "aws", - "aync-aws", + "async-aws", "Monolog", "CloudWatch", "Logs" diff --git a/src/Service/Athena/CHANGELOG.md b/src/Service/Athena/CHANGELOG.md index aaea71e31..0b7061a2d 100644 --- a/src/Service/Athena/CHANGELOG.md +++ b/src/Service/Athena/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Fixed + +- Fix typos. + ## 3.5.1 ### Changed diff --git a/src/Service/Athena/tests/Unit/AthenaClientTest.php b/src/Service/Athena/tests/Unit/AthenaClientTest.php index 6765b47a9..705bea213 100644 --- a/src/Service/Athena/tests/Unit/AthenaClientTest.php +++ b/src/Service/Athena/tests/Unit/AthenaClientTest.php @@ -267,7 +267,7 @@ public function testStartQueryExecution(): void $client = new AthenaClient([], new NullProvider(), new MockHttpClient()); $input = new StartQueryExecutionInput([ - 'QueryString' => 'SELECT * FROM iadDatabase.catalog LIMT 10', + 'QueryString' => 'SELECT * FROM iadDatabase.catalog LIMIT 10', ]); $result = $client->startQueryExecution($input); diff --git a/src/Service/Athena/tests/Unit/Result/ListTableMetadataOutputTest.php b/src/Service/Athena/tests/Unit/Result/ListTableMetadataOutputTest.php index a03020c5b..021c98e96 100644 --- a/src/Service/Athena/tests/Unit/Result/ListTableMetadataOutputTest.php +++ b/src/Service/Athena/tests/Unit/Result/ListTableMetadataOutputTest.php @@ -57,7 +57,7 @@ public function testListTableMetadataOutput(): void new AthenaClient(), new ListTableMetadataInput([ 'CatalogName' => 'iadCatalog', - 'DatabaseName' => 'iadDatbase', + 'DatabaseName' => 'iadDatabase', ]) ); diff --git a/src/Service/CodeDeploy/CHANGELOG.md b/src/Service/CodeDeploy/CHANGELOG.md index 5579b9507..55e7cd756 100644 --- a/src/Service/CodeDeploy/CHANGELOG.md +++ b/src/Service/CodeDeploy/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Fixed + +- Fix typos. + ## 2.4.1 ### Changed diff --git a/src/Service/CodeDeploy/tests/Unit/Input/CreateDeploymentInputTest.php b/src/Service/CodeDeploy/tests/Unit/Input/CreateDeploymentInputTest.php index c5f15ce62..62857edde 100644 --- a/src/Service/CodeDeploy/tests/Unit/Input/CreateDeploymentInputTest.php +++ b/src/Service/CodeDeploy/tests/Unit/Input/CreateDeploymentInputTest.php @@ -54,7 +54,7 @@ public function testRequest(): void 'targetInstances' => new TargetInstances([ 'tagFilters' => [new EC2TagFilter([ 'Key' => 'key', - 'Value' => 'valu3', + 'Value' => 'value3', 'Type' => EC2TagFilterType::KEY_AND_VALUE, ])], 'autoScalingGroups' => ['auto-scaling-groups'], @@ -135,7 +135,7 @@ public function testRequest(): void { "Key": "key", "Type": "KEY_AND_VALUE", - "Value": "valu3" + "Value": "value3" } ] }, diff --git a/src/Service/CodeDeploy/tests/Unit/Result/GetDeploymentOutputTest.php b/src/Service/CodeDeploy/tests/Unit/Result/GetDeploymentOutputTest.php index 198161d45..566dcc732 100644 --- a/src/Service/CodeDeploy/tests/Unit/Result/GetDeploymentOutputTest.php +++ b/src/Service/CodeDeploy/tests/Unit/Result/GetDeploymentOutputTest.php @@ -109,7 +109,7 @@ public function testGetDeploymentOutput(): void "sha256": "sha256" }, "gitHubLocation": { - "commitId": "commmit-id", + "commitId": "commit-id", "repository": "repository" }, "revisionType": "GitHub", @@ -239,7 +239,7 @@ public function testGetDeploymentOutput(): void self::assertSame('content', $info->getPreviousRevision()->getAppSpecContent()->getContent()); self::assertSame('sha256', $info->getPreviousRevision()->getAppSpecContent()->getSha256()); - self::assertSame('commmit-id', $info->getPreviousRevision()->getGitHubLocation()->getCommitId()); + self::assertSame('commit-id', $info->getPreviousRevision()->getGitHubLocation()->getCommitId()); self::assertSame('repository', $info->getPreviousRevision()->getGitHubLocation()->getRepository()); self::assertSame(RevisionLocationType::GIT_HUB, $info->getPreviousRevision()->getRevisionType()); diff --git a/src/Service/ElastiCache/CHANGELOG.md b/src/Service/ElastiCache/CHANGELOG.md index 09ec84094..161c92b86 100644 --- a/src/Service/ElastiCache/CHANGELOG.md +++ b/src/Service/ElastiCache/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Fixed + +- Fix typos. + ## 1.5.0 ### Added diff --git a/src/Service/ElastiCache/src/ValueObject/CacheCluster.php b/src/Service/ElastiCache/src/ValueObject/CacheCluster.php index b98dbc678..9553a0c98 100644 --- a/src/Service/ElastiCache/src/ValueObject/CacheCluster.php +++ b/src/Service/ElastiCache/src/ValueObject/CacheCluster.php @@ -240,7 +240,7 @@ final class CacheCluster /** *  If you are running Valkey or Redis OSS engine version 6.0 or later, set this parameter to yes if you want to opt-in - * to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. . + * to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. * * @var bool|null */ diff --git a/src/Service/Iot/CHANGELOG.md b/src/Service/Iot/CHANGELOG.md index eeac340d7..21115b70b 100644 --- a/src/Service/Iot/CHANGELOG.md +++ b/src/Service/Iot/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Fixed + +- Fix typos. + ## 2.2.1 ### Changed diff --git a/src/Service/Iot/tests/Unit/Input/CreateThingTypeRequestTest.php b/src/Service/Iot/tests/Unit/Input/CreateThingTypeRequestTest.php index 795007619..33a373584 100644 --- a/src/Service/Iot/tests/Unit/Input/CreateThingTypeRequestTest.php +++ b/src/Service/Iot/tests/Unit/Input/CreateThingTypeRequestTest.php @@ -15,7 +15,7 @@ public function testRequest(): void 'thingTypeName' => 'hvac', 'thingTypeProperties' => new ThingTypeProperties([ 'thingTypeDescription' => 'HVAC', - 'searchableAttributes' => ['air-conditionner'], + 'searchableAttributes' => ['air-conditioner'], ]), 'tags' => [new Tag([ 'Key' => 'default_temperature', @@ -37,7 +37,7 @@ public function testRequest(): void } ], "thingTypeProperties": { - "searchableAttributes": [ "air-conditionner" ], + "searchableAttributes": [ "air-conditioner" ], "thingTypeDescription": "HVAC" } } diff --git a/src/Service/Lambda/CHANGELOG.md b/src/Service/Lambda/CHANGELOG.md index e4a718ea9..6e49f7a94 100644 --- a/src/Service/Lambda/CHANGELOG.md +++ b/src/Service/Lambda/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Fixed + +- Fix typos. + ### Added - AWS api-change: AWS Lambda Durable Functions now supports customer managed KMS keys. This allows customers to configure a KMS key in Durable Config to have all their durable execution data encrypted. @@ -65,7 +69,7 @@ ### Added - AWS api-change: Rework regions configuration -- AWS api-change: remove trailling `/` in `ListFunctions` request +- AWS api-change: remove trailing `/` in `ListFunctions` request ### Changed diff --git a/src/Service/RdsDataService/CHANGELOG.md b/src/Service/RdsDataService/CHANGELOG.md index cfca2957e..332a33962 100644 --- a/src/Service/RdsDataService/CHANGELOG.md +++ b/src/Service/RdsDataService/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Fixed + +- Fix typos. + ## 3.0.3 ### Changed @@ -49,7 +53,7 @@ ### Added -- AWS api-change: Addded InvalidResourceStateException. +- AWS api-change: Added InvalidResourceStateException. ## 2.2.1 diff --git a/src/Service/S3/CHANGELOG.md b/src/Service/S3/CHANGELOG.md index 1f1e98683..fcd5482a7 100644 --- a/src/Service/S3/CHANGELOG.md +++ b/src/Service/S3/CHANGELOG.md @@ -2,9 +2,20 @@ ## NOT RELEASED +### Fixed + +- Fix typos. + ### Changed - AWS enhancement: Documentation updates. +### Changed + +- AWS enhancement: Documentation updates. + +### Fixed + +- Fix typos. ## 3.4.0 @@ -355,7 +366,7 @@ ### Fixed -- Fixed an issue in Metadata not beeing sent to AWS in `PutObject`, `CopyObject` and `CreateMultipartUpload` +- Fixed an issue in Metadata not being sent to AWS in `PutObject`, `CopyObject` and `CreateMultipartUpload` - Internal AWS prefix were added to Metadata's name in `GetObject` and `HeadObject`. ## 1.2.0 diff --git a/src/Service/S3/tests/Integration/S3ClientTest.php b/src/Service/S3/tests/Integration/S3ClientTest.php index d065ab7f9..954f7e37f 100644 --- a/src/Service/S3/tests/Integration/S3ClientTest.php +++ b/src/Service/S3/tests/Integration/S3ClientTest.php @@ -487,7 +487,7 @@ public function testGetObjectConsistent(): void 'Key' => 'bar', ]); self::assertEquals('content', $result->getBody()->getContentAsString()); - // calling it twice to ensure consitency + // calling it twice to ensure consistency self::assertEquals('content', $result->getBody()->getContentAsString()); self::assertEquals('content', stream_get_contents($result->getBody()->getContentAsResource())); self::assertEquals('content', implode('', iterator_to_array($result->getBody()->getChunks())));