Skip to content

Commit b52ef56

Browse files
Update generated code (#1751)
* update generated code * Update src/Service/CodeBuild/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <jeremy@derusse.com>
1 parent 6712539 commit b52ef56

File tree

8 files changed

+44
-15
lines changed

8 files changed

+44
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Changed
66

77
- Enable compiler optimization for the `sprintf` function.
8+
- AWS enhancement: Documentation updates.
89

910
## 2.5.1
1011

src/Exception/PreconditionFailedException.php

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

88
/**
9-
* The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the `GetFunction`
10-
* or the `GetAlias` API operation to retrieve the latest RevisionId for your resource.
9+
* The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.
10+
*
11+
* - **For AddPermission and RemovePermission API operations:** Call `GetPolicy` to retrieve the latest RevisionId for
12+
* your resource.
13+
* - **For all other API operations:** Call `GetFunction` or `GetAlias` to retrieve the latest RevisionId for your
14+
* resource.
1115
*/
1216
final class PreconditionFailedException extends ClientException
1317
{

src/Input/ListLayerVersionsRequest.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@
1212
final class ListLayerVersionsRequest extends Input
1313
{
1414
/**
15-
* A runtime identifier. For example, `java21`.
15+
* A runtime identifier.
1616
*
17-
* The following list includes deprecated runtimes. For more information, see Runtime deprecation policy [^1].
17+
* The following list includes deprecated runtimes. For more information, see Runtime use after deprecation [^1].
1818
*
19-
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
19+
* For a list of all currently supported runtimes, see Supported runtimes [^2].
20+
*
21+
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels
22+
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported
2023
*
2124
* @var Runtime::*|null
2225
*/

src/Input/UpdateFunctionConfigurationRequest.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,16 @@ final class UpdateFunctionConfigurationRequest extends Input
102102

103103
/**
104104
* The identifier of the function's runtime [^1]. Runtime is required if the deployment package is a .zip file archive.
105+
* Specifying a runtime results in an error if you're deploying a function using a container image.
105106
*
106-
* The following list includes deprecated runtimes. For more information, see Runtime deprecation policy [^2].
107+
* The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions
108+
* shortly after each runtime is deprecated. For more information, see Runtime use after deprecation [^2].
109+
*
110+
* For a list of all currently supported runtimes, see Supported runtimes [^3].
107111
*
108112
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
109-
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
113+
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels
114+
* [^3]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported
110115
*
111116
* @var Runtime::*|null
112117
*/

src/Result/FunctionConfiguration.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,16 @@ class FunctionConfiguration extends Result
4848

4949
/**
5050
* The identifier of the function's runtime [^1]. Runtime is required if the deployment package is a .zip file archive.
51+
* Specifying a runtime results in an error if you're deploying a function using a container image.
5152
*
52-
* The following list includes deprecated runtimes. For more information, see Runtime deprecation policy [^2].
53+
* The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions
54+
* shortly after each runtime is deprecated. For more information, see Runtime use after deprecation [^2].
55+
*
56+
* For a list of all currently supported runtimes, see Supported runtimes [^3].
5357
*
5458
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
55-
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
59+
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels
60+
* [^3]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported
5661
*
5762
* @var Runtime::*|null
5863
*/

src/Result/PublishLayerVersionResponse.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,12 @@ class PublishLayerVersionResponse extends Result
5757
/**
5858
* The layer's compatible runtimes.
5959
*
60-
* The following list includes deprecated runtimes. For more information, see Runtime deprecation policy [^1].
60+
* The following list includes deprecated runtimes. For more information, see Runtime use after deprecation [^1].
6161
*
62-
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
62+
* For a list of all currently supported runtimes, see Supported runtimes [^2].
63+
*
64+
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels
65+
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported
6366
*
6467
* @var list<Runtime::*>
6568
*/

src/ValueObject/FunctionConfiguration.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,16 @@ final class FunctionConfiguration
3131

3232
/**
3333
* The identifier of the function's runtime [^1]. Runtime is required if the deployment package is a .zip file archive.
34+
* Specifying a runtime results in an error if you're deploying a function using a container image.
3435
*
35-
* The following list includes deprecated runtimes. For more information, see Runtime deprecation policy [^2].
36+
* The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions
37+
* shortly after each runtime is deprecated. For more information, see Runtime use after deprecation [^2].
38+
*
39+
* For a list of all currently supported runtimes, see Supported runtimes [^3].
3640
*
3741
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
38-
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
42+
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels
43+
* [^3]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported
3944
*
4045
* @var Runtime::*|null
4146
*/

src/ValueObject/LayerVersionsListItem.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ final class LayerVersionsListItem
4343
/**
4444
* The layer's compatible runtimes.
4545
*
46-
* The following list includes deprecated runtimes. For more information, see Runtime deprecation policy [^1].
46+
* The following list includes deprecated runtimes. For more information, see Runtime use after deprecation [^1].
4747
*
48-
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
48+
* For a list of all currently supported runtimes, see Supported runtimes [^2].
49+
*
50+
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels
51+
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported
4952
*
5053
* @var list<Runtime::*>|null
5154
*/

0 commit comments

Comments
 (0)