Skip to content

Commit 4fd3131

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

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
### Added
66

77
- AWS api-change: Restrict the list of available regions.
8-
- AWS api-change: Added `eu-central-2` region
8+
- AWS api-change: Added `eu-central-2` and `eu-south-2` regions
9+
- AWS api-change: Add Node 18 (nodejs18.x) support to AWS Lambda.
910

1011
## 1.7.0
1112

src/Enum/Runtime.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ final class Runtime
2121
public const NODEJS_12_X = 'nodejs12.x';
2222
public const NODEJS_14_X = 'nodejs14.x';
2323
public const NODEJS_16_X = 'nodejs16.x';
24+
public const NODEJS_18_X = 'nodejs18.x';
2425
public const NODEJS_4_3 = 'nodejs4.3';
2526
public const NODEJS_4_3_EDGE = 'nodejs4.3-edge';
2627
public const NODEJS_6_10 = 'nodejs6.10';
@@ -52,6 +53,7 @@ public static function exists(string $value): bool
5253
self::NODEJS_12_X => true,
5354
self::NODEJS_14_X => true,
5455
self::NODEJS_16_X => true,
56+
self::NODEJS_18_X => true,
5557
self::NODEJS_4_3 => true,
5658
self::NODEJS_4_3_EDGE => true,
5759
self::NODEJS_6_10 => true,

src/LambdaClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ protected function getEndpointMetadata(?string $region): array
381381
case 'eu-central-2':
382382
case 'eu-north-1':
383383
case 'eu-south-1':
384+
case 'eu-south-2':
384385
case 'eu-west-1':
385386
case 'eu-west-2':
386387
case 'eu-west-3':

src/ValueObject/EnvironmentResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
namespace AsyncAws\Lambda\ValueObject;
44

55
/**
6-
* The function's environment variables.
6+
* The function's environment variables. Omitted from CloudTrail logs.
77
*
88
* @see https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
99
*/
1010
final class EnvironmentResponse
1111
{
1212
/**
13-
* Environment variable key-value pairs.
13+
* Environment variable key-value pairs. Omitted from CloudTrail logs.
1414
*/
1515
private $variables;
1616

src/ValueObject/FunctionConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ final class FunctionConfiguration
8888
private $deadLetterConfig;
8989

9090
/**
91-
* The function's environment variables.
91+
* The function's environment variables. Omitted from CloudTrail logs.
9292
*
9393
* @see https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
9494
*/

0 commit comments

Comments
 (0)