Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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.342.26"
"${LATEST}": "3.342.28"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/Athena/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- AWS api-change: Added `eu-isoe-west-1` region
- AWS api-change: TODO

## 3.2.0

Expand Down
46 changes: 6 additions & 40 deletions src/Service/Athena/src/AthenaClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
use AsyncAws\Core\AwsError\AwsErrorFactoryInterface;
use AsyncAws\Core\AwsError\JsonRpcAwsErrorFactory;
use AsyncAws\Core\Configuration;
use AsyncAws\Core\Exception\UnsupportedRegion;
use AsyncAws\Core\RequestContext;

class AthenaClient extends AbstractApi
Expand Down Expand Up @@ -703,44 +702,6 @@ protected function getEndpointMetadata(?string $region): array
}

switch ($region) {
case 'af-south-1':
case 'ap-east-1':
case 'ap-northeast-1':
case 'ap-northeast-2':
case 'ap-northeast-3':
case 'ap-south-1':
case 'ap-south-2':
case 'ap-southeast-1':
case 'ap-southeast-2':
case 'ap-southeast-3':
case 'ap-southeast-4':
case 'ap-southeast-5':
case 'ca-central-1':
case 'ca-west-1':
case 'eu-central-1':
case 'eu-central-2':
case 'eu-north-1':
case 'eu-south-1':
case 'eu-south-2':
case 'eu-west-1':
case 'eu-west-2':
case 'eu-west-3':
case 'il-central-1':
case 'me-central-1':
case 'me-south-1':
case 'sa-east-1':
case 'us-east-1':
case 'us-east-2':
case 'us-gov-east-1':
case 'us-gov-west-1':
case 'us-west-1':
case 'us-west-2':
return [
'endpoint' => "https://athena.$region.amazonaws.com",
'signRegion' => $region,
'signService' => 'athena',
'signVersions' => ['v4'],
];
case 'cn-north-1':
case 'cn-northwest-1':
return [
Expand Down Expand Up @@ -829,6 +790,11 @@ protected function getEndpointMetadata(?string $region): array
];
}

throw new UnsupportedRegion(\sprintf('The region "%s" is not supported by "Athena".', $region));
return [
'endpoint' => "https://athena.$region.amazonaws.com",
'signRegion' => $region,
'signService' => 'athena',
'signVersions' => ['v4'],
];
}
}
4 changes: 4 additions & 0 deletions src/Service/Kinesis/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: TODO

### Changed

- Sort exception alphabetically.
Expand Down
2 changes: 1 addition & 1 deletion src/Service/Kinesis/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "3.2-dev"
"dev-master": "3.3-dev"
}
}
}
7 changes: 7 additions & 0 deletions src/Service/Kinesis/src/KinesisClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1633,6 +1633,13 @@ protected function getEndpointMetadata(?string $region): array
'signService' => 'kinesis',
'signVersions' => ['v4'],
];
case 'eu-isoe-west-1':
return [
'endpoint' => 'https://kinesis.eu-isoe-west-1.cloud.adc-e.uk',
'signRegion' => 'eu-isoe-west-1',
'signService' => 'kinesis',
'signVersions' => ['v4'],
];
case 'us-isob-east-1':
return [
'endpoint' => 'https://kinesis.us-isob-east-1.sc2s.sgov.gov',
Expand Down
4 changes: 4 additions & 0 deletions src/Service/SecretsManager/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### Added

- AWS api-change: TODO

### Changed

- Sort exception alphabetically.
Expand Down
2 changes: 1 addition & 1 deletion src/Service/SecretsManager/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.7-dev"
"dev-master": "2.8-dev"
}
}
}
7 changes: 7 additions & 0 deletions src/Service/SecretsManager/src/SecretsManagerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,13 @@ protected function getEndpointMetadata(?string $region): array
'signService' => 'secretsmanager',
'signVersions' => ['v4'],
];
case 'eu-isoe-west-1':
return [
'endpoint' => 'https://secretsmanager.eu-isoe-west-1.cloud.adc-e.uk',
'signRegion' => 'eu-isoe-west-1',
'signService' => 'secretsmanager',
'signVersions' => ['v4'],
];
}

throw new UnsupportedRegion(\sprintf('The region "%s" is not supported by "SecretsManager".', $region));
Expand Down
Loading