Skip to content

Commit 1e1484c

Browse files
Update generated code (#1042)
* update generated code * Update src/Service/Lambda/CHANGELOG.md Co-authored-by: Jérémy Derussé <jeremy@derusse.com>
1 parent 9c3ae7e commit 1e1484c

18 files changed

+40
-24
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- Assert the provided Input can be json-encoded.
88

9+
### Changed
10+
11+
- AWS enhancement: Documentation updates for Amazon Lambda.
12+
913
## 1.4.0
1014

1115
### Added

src/Exception/EC2ThrottledException.php

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

88
/**
9-
* AWS Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for
10-
* the Lambda function.
9+
* Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the
10+
* Lambda function.
1111
*/
1212
final class EC2ThrottledException extends ServerException
1313
{

src/Exception/EC2UnexpectedException.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-
* AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
9+
* Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
1010
*/
1111
final class EC2UnexpectedException extends ServerException
1212
{

src/Exception/ENILimitReachedException.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-
* AWS Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda function
9+
* Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda function
1010
* configuration, because the limit for network interfaces has been reached.
1111
*/
1212
final class ENILimitReachedException extends ServerException

src/Exception/InvalidZipFileException.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-
* AWS Lambda could not unzip the deployment package.
9+
* Lambda could not unzip the deployment package.
1010
*/
1111
final class InvalidZipFileException extends ServerException
1212
{

src/Exception/ServiceException.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-
* The AWS Lambda service encountered an internal error.
9+
* The Lambda service encountered an internal error.
1010
*/
1111
final class ServiceException extends ServerException
1212
{

src/Exception/SubnetIPAddressLimitReachedException.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-
* AWS Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets has no
9+
* Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets has no
1010
* available IP addresses.
1111
*/
1212
final class SubnetIPAddressLimitReachedException extends ServerException

src/Input/AddLayerVersionPermissionRequest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ final class AddLayerVersionPermissionRequest extends Input
4646
private $action;
4747

4848
/**
49-
* An account ID, or `*` to grant permission to all AWS accounts.
49+
* An account ID, or `*` to grant layer usage permission to all accounts in an organization, or all Amazon Web Services
50+
* accounts (if `organizationId` is not specified). For the last case, make sure that you really do want all Amazon Web
51+
* Services accounts to have usage permission to this layer.
5052
*
5153
* @required
5254
*

src/Input/ListFunctionsRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
final class ListFunctionsRequest extends Input
1212
{
1313
/**
14-
* For Lambda@Edge functions, the AWS Region of the master function. For example, `us-east-1` filters the list of
15-
* functions to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If
16-
* specified, you must set `FunctionVersion` to `ALL`.
14+
* For Lambda@Edge functions, the Region of the master function. For example, `us-east-1` filters the list of functions
15+
* to only include Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you
16+
* must set `FunctionVersion` to `ALL`.
1717
*
1818
* @var string|null
1919
*/

src/Input/ListVersionsByFunctionRequest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ final class ListVersionsByFunctionRequest extends Input
2626
private $marker;
2727

2828
/**
29-
* The maximum number of versions to return.
29+
* The maximum number of versions to return. Note that `ListVersionsByFunction` returns a maximum of 50 items in each
30+
* response, even if you set the number higher.
3031
*
3132
* @var int|null
3233
*/

0 commit comments

Comments
 (0)