Skip to content

Commit c2e389e

Browse files
committed
update generated code
1 parent 774e8cf commit c2e389e

File tree

70 files changed

+856
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+856
-305
lines changed

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"variables": {
3-
"${LATEST}": "3.284.1"
3+
"${LATEST}": "3.285.4"
44
},
55
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
66
"services": {

src/Service/CloudFormation/src/CloudFormationClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function describeStackEvents($input = []): DescribeStackEventsOutput
7777
* Returns the description for the specified stack; if no stack name was specified, then it returns the description for
7878
* all the stacks created.
7979
*
80-
* > If the stack doesn't exist, an `ValidationError` is returned.
80+
* > If the stack doesn't exist, a `ValidationError` is returned.
8181
*
8282
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStacks.html
8383
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cloudformation-2010-05-15.html#describestacks

src/Service/Lambda/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
### Added
66

77
- AWS api-change: Adds support for Lambda functions to access Dual-Stack subnets over IPv6, via an opt-in flag in CreateFunction and UpdateFunctionConfiguration APIs
8+
- AWS api-change: Add Custom runtime on Amazon Linux 2023 (provided.al2023) support to AWS Lambda.
9+
- AWS api-change: Add Node 20 (nodejs20.x) support to AWS Lambda.
810

911
## 2.1.0
1012

src/Service/Lambda/src/Enum/Runtime.php

+4
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ final class Runtime
2020
public const NODEJS_14_X = 'nodejs14.x';
2121
public const NODEJS_16_X = 'nodejs16.x';
2222
public const NODEJS_18_X = 'nodejs18.x';
23+
public const NODEJS_20_X = 'nodejs20.x';
2324
public const NODEJS_4_3 = 'nodejs4.3';
2425
public const NODEJS_4_3_EDGE = 'nodejs4.3-edge';
2526
public const NODEJS_6_10 = 'nodejs6.10';
2627
public const NODEJS_8_10 = 'nodejs8.10';
2728
public const PROVIDED = 'provided';
2829
public const PROVIDED_AL_2 = 'provided.al2';
30+
public const PROVIDED_AL_2023 = 'provided.al2023';
2931
public const PYTHON_2_7 = 'python2.7';
3032
public const PYTHON_3_10 = 'python3.10';
3133
public const PYTHON_3_11 = 'python3.11';
@@ -56,12 +58,14 @@ public static function exists(string $value): bool
5658
self::NODEJS_14_X => true,
5759
self::NODEJS_16_X => true,
5860
self::NODEJS_18_X => true,
61+
self::NODEJS_20_X => true,
5962
self::NODEJS_4_3 => true,
6063
self::NODEJS_4_3_EDGE => true,
6164
self::NODEJS_6_10 => true,
6265
self::NODEJS_8_10 => true,
6366
self::PROVIDED => true,
6467
self::PROVIDED_AL_2 => true,
68+
self::PROVIDED_AL_2023 => true,
6569
self::PYTHON_2_7 => true,
6670
self::PYTHON_3_10 => true,
6771
self::PYTHON_3_11 => true,

src/Service/Lambda/src/Input/UpdateFunctionConfigurationRequest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ final class UpdateFunctionConfigurationRequest extends Input
181181

182182
/**
183183
* The size of the function's `/tmp` directory in MB. The default value is 512, but can be any whole number between 512
184-
* and 10,240 MB.
184+
* and 10,240 MB. For more information, see Configuring ephemeral storage (console) [^1].
185+
*
186+
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
185187
*
186188
* @var EphemeralStorage|null
187189
*/

src/Service/Lambda/src/LambdaClient.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,10 @@ public function getFunctionConfiguration($input): FunctionConfiguration
196196
}
197197

198198
/**
199-
* Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To
200-
* invoke a function asynchronously, set `InvocationType` to `Event`.
199+
* Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By
200+
* default, Lambda invokes your function synchronously (i.e. the`InvocationType` is `RequestResponse`). To invoke a
201+
* function asynchronously, set `InvocationType` to `Event`. Lambda passes the `ClientContext` object to your function
202+
* for synchronous invocations only.
201203
*
202204
* For synchronous invocation [^1], details about the function response, including errors, are included in the response
203205
* body and headers. For either invocation type, you can find more information in the execution log [^2] and trace [^3].

src/Service/Lambda/src/Result/FunctionConfiguration.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,10 @@ class FunctionConfiguration extends Result
277277
private $architectures;
278278

279279
/**
280-
* The size of the function’s `/tmp` directory in MB. The default value is 512, but it can be any whole number between
281-
* 512 and 10,240 MB.
280+
* The size of the function's `/tmp` directory in MB. The default value is 512, but can be any whole number between 512
281+
* and 10,240 MB. For more information, see Configuring ephemeral storage (console) [^1].
282+
*
283+
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
282284
*
283285
* @var EphemeralStorage|null
284286
*/

src/Service/Lambda/src/ValueObject/EphemeralStorage.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
use AsyncAws\Core\Exception\InvalidArgument;
66

77
/**
8-
* The size of the function's `/tmp` directory in MB. The default value is 512, but it can be any whole number between
9-
* 512 and 10,240 MB.
8+
* The size of the function's `/tmp` directory in MB. The default value is 512, but can be any whole number between 512
9+
* and 10,240 MB. For more information, see Configuring ephemeral storage (console) [^1].
10+
*
11+
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
1012
*/
1113
final class EphemeralStorage
1214
{

src/Service/Lambda/src/ValueObject/FunctionConfiguration.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,10 @@ final class FunctionConfiguration
261261
private $architectures;
262262

263263
/**
264-
* The size of the function’s `/tmp` directory in MB. The default value is 512, but it can be any whole number between
265-
* 512 and 10,240 MB.
264+
* The size of the function's `/tmp` directory in MB. The default value is 512, but can be any whole number between 512
265+
* and 10,240 MB. For more information, see Configuring ephemeral storage (console) [^1].
266+
*
267+
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
266268
*
267269
* @var EphemeralStorage|null
268270
*/

src/Service/MediaConvert/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- AWS api-change: This release includes additional audio channel tags in Quicktime outputs, support for film grain synthesis for AV1 outputs, ability to create audio-only FLAC outputs, and ability to specify Amazon S3 destination storage class.
88
- AWS api-change: This release supports the creation of of audio-only tracks in CMAF output groups.
99
- AWS api-change: This release adds the ability to replace video frames without modifying the audio essence.
10+
- AWS api-change: This release includes the ability to specify any input source as the primary input for corresponding follow modes, and allows users to specify fit and fill behaviors without resizing content.
1011

1112
### Changed
1213

src/Service/MediaConvert/src/Enum/AudioChannelTag.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* You can add a tag for this mono-channel audio track to mimic its placement in a multi-channel layout. For example, if
7-
* this track is the left surround channel, choose Left surround (LS).
6+
* Specify the QuickTime audio channel layout tags for the audio channels in this audio track. Enter channel layout tags
7+
* in the same order as your output's audio channel order. For example, if your output audio track has a left and a
8+
* right channel, enter Left (L) for the first channel and Right (R) for the second. If your output has multiple
9+
* single-channel audio tracks, enter a single channel layout tag for each track.
810
*/
911
final class AudioChannelTag
1012
{

src/Service/MediaConvert/src/Enum/F4vMoovPlacement.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for
7-
* progressive downloading. Otherwise it is placed normally at the end.
6+
* To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank or
7+
* choose Progressive download. To place the MOOV at the end of your output: Choose Normal.
88
*/
99
final class F4vMoovPlacement
1010
{

src/Service/MediaConvert/src/Enum/Mp4MoovPlacement.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for
7-
* progressive downloading. Otherwise it is placed normally at the end.
6+
* To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank or
7+
* choose Progressive download. To place the MOOV at the end of your output: Choose Normal.
88
*/
99
final class Mp4MoovPlacement
1010
{

src/Service/MediaConvert/src/Enum/ScalingBehavior.php

+8-4
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,24 @@
33
namespace AsyncAws\MediaConvert\Enum;
44

55
/**
6-
* Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio. Choose
7-
* Stretch to output to have the service stretch your video image to fit. Keep the setting Default to have the service
8-
* letterbox your video instead. This setting overrides any value that you specify for the setting Selection placement
9-
* in this output.
6+
* Specify the video Scaling behavior when your output has a different resolution than your input. For more information,
7+
* see https://docs.aws.amazon.com/mediaconvert/latest/ug/video-scaling.html.
108
*/
119
final class ScalingBehavior
1210
{
1311
public const DEFAULT = 'DEFAULT';
12+
public const FILL = 'FILL';
13+
public const FIT = 'FIT';
14+
public const FIT_NO_UPSCALE = 'FIT_NO_UPSCALE';
1415
public const STRETCH_TO_OUTPUT = 'STRETCH_TO_OUTPUT';
1516

1617
public static function exists(string $value): bool
1718
{
1819
return isset([
1920
self::DEFAULT => true,
21+
self::FILL => true,
22+
self::FIT => true,
23+
self::FIT_NO_UPSCALE => true,
2024
self::STRETCH_TO_OUTPUT => true,
2125
][$value]);
2226
}

src/Service/MediaConvert/src/Result/CreateJobResponse.php

+19
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use AsyncAws\Core\Response;
66
use AsyncAws\Core\Result;
7+
use AsyncAws\MediaConvert\Enum\AudioChannelTag;
78
use AsyncAws\MediaConvert\Enum\HlsAdMarkers;
89
use AsyncAws\MediaConvert\Enum\TeletextPageType;
910
use AsyncAws\MediaConvert\ValueObject\AacSettings;
@@ -278,6 +279,7 @@ private function populateResultAudioChannelTaggingSettings(array $json): AudioCh
278279
{
279280
return new AudioChannelTaggingSettings([
280281
'ChannelTag' => isset($json['channelTag']) ? (string) $json['channelTag'] : null,
282+
'ChannelTags' => !isset($json['channelTags']) ? null : $this->populateResult__listOfAudioChannelTag($json['channelTags']),
281283
]);
282284
}
283285

@@ -1373,6 +1375,7 @@ private function populateResultJobSettings(array $json): JobSettings
13731375
'AvailBlanking' => empty($json['availBlanking']) ? null : $this->populateResultAvailBlanking($json['availBlanking']),
13741376
'Esam' => empty($json['esam']) ? null : $this->populateResultEsamSettings($json['esam']),
13751377
'ExtendedDataServices' => empty($json['extendedDataServices']) ? null : $this->populateResultExtendedDataServices($json['extendedDataServices']),
1378+
'FollowSource' => isset($json['followSource']) ? (int) $json['followSource'] : null,
13761379
'Inputs' => !isset($json['inputs']) ? null : $this->populateResult__listOfInput($json['inputs']),
13771380
'KantarWatermark' => empty($json['kantarWatermark']) ? null : $this->populateResultKantarWatermarkSettings($json['kantarWatermark']),
13781381
'MotionImageInserter' => empty($json['motionImageInserter']) ? null : $this->populateResultMotionImageInserter($json['motionImageInserter']),
@@ -2295,6 +2298,22 @@ private function populateResult__listOfAllowedRenditionSize(array $json): array
22952298
return $items;
22962299
}
22972300

2301+
/**
2302+
* @return list<AudioChannelTag::*>
2303+
*/
2304+
private function populateResult__listOfAudioChannelTag(array $json): array
2305+
{
2306+
$items = [];
2307+
foreach ($json as $item) {
2308+
$a = isset($item) ? (string) $item : null;
2309+
if (null !== $a) {
2310+
$items[] = $a;
2311+
}
2312+
}
2313+
2314+
return $items;
2315+
}
2316+
22982317
/**
22992318
* @return AudioDescription[]
23002319
*/

src/Service/MediaConvert/src/Result/GetJobResponse.php

+19
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use AsyncAws\Core\Response;
66
use AsyncAws\Core\Result;
7+
use AsyncAws\MediaConvert\Enum\AudioChannelTag;
78
use AsyncAws\MediaConvert\Enum\HlsAdMarkers;
89
use AsyncAws\MediaConvert\Enum\TeletextPageType;
910
use AsyncAws\MediaConvert\ValueObject\AacSettings;
@@ -278,6 +279,7 @@ private function populateResultAudioChannelTaggingSettings(array $json): AudioCh
278279
{
279280
return new AudioChannelTaggingSettings([
280281
'ChannelTag' => isset($json['channelTag']) ? (string) $json['channelTag'] : null,
282+
'ChannelTags' => !isset($json['channelTags']) ? null : $this->populateResult__listOfAudioChannelTag($json['channelTags']),
281283
]);
282284
}
283285

@@ -1373,6 +1375,7 @@ private function populateResultJobSettings(array $json): JobSettings
13731375
'AvailBlanking' => empty($json['availBlanking']) ? null : $this->populateResultAvailBlanking($json['availBlanking']),
13741376
'Esam' => empty($json['esam']) ? null : $this->populateResultEsamSettings($json['esam']),
13751377
'ExtendedDataServices' => empty($json['extendedDataServices']) ? null : $this->populateResultExtendedDataServices($json['extendedDataServices']),
1378+
'FollowSource' => isset($json['followSource']) ? (int) $json['followSource'] : null,
13761379
'Inputs' => !isset($json['inputs']) ? null : $this->populateResult__listOfInput($json['inputs']),
13771380
'KantarWatermark' => empty($json['kantarWatermark']) ? null : $this->populateResultKantarWatermarkSettings($json['kantarWatermark']),
13781381
'MotionImageInserter' => empty($json['motionImageInserter']) ? null : $this->populateResultMotionImageInserter($json['motionImageInserter']),
@@ -2295,6 +2298,22 @@ private function populateResult__listOfAllowedRenditionSize(array $json): array
22952298
return $items;
22962299
}
22972300

2301+
/**
2302+
* @return list<AudioChannelTag::*>
2303+
*/
2304+
private function populateResult__listOfAudioChannelTag(array $json): array
2305+
{
2306+
$items = [];
2307+
foreach ($json as $item) {
2308+
$a = isset($item) ? (string) $item : null;
2309+
if (null !== $a) {
2310+
$items[] = $a;
2311+
}
2312+
}
2313+
2314+
return $items;
2315+
}
2316+
22982317
/**
22992318
* @return AudioDescription[]
23002319
*/

src/Service/MediaConvert/src/Result/ListJobsResponse.php

+19
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use AsyncAws\Core\Exception\InvalidArgument;
66
use AsyncAws\Core\Response;
77
use AsyncAws\Core\Result;
8+
use AsyncAws\MediaConvert\Enum\AudioChannelTag;
89
use AsyncAws\MediaConvert\Enum\HlsAdMarkers;
910
use AsyncAws\MediaConvert\Enum\TeletextPageType;
1011
use AsyncAws\MediaConvert\Input\ListJobsRequest;
@@ -345,6 +346,7 @@ private function populateResultAudioChannelTaggingSettings(array $json): AudioCh
345346
{
346347
return new AudioChannelTaggingSettings([
347348
'ChannelTag' => isset($json['channelTag']) ? (string) $json['channelTag'] : null,
349+
'ChannelTags' => !isset($json['channelTags']) ? null : $this->populateResult__listOfAudioChannelTag($json['channelTags']),
348350
]);
349351
}
350352

@@ -1440,6 +1442,7 @@ private function populateResultJobSettings(array $json): JobSettings
14401442
'AvailBlanking' => empty($json['availBlanking']) ? null : $this->populateResultAvailBlanking($json['availBlanking']),
14411443
'Esam' => empty($json['esam']) ? null : $this->populateResultEsamSettings($json['esam']),
14421444
'ExtendedDataServices' => empty($json['extendedDataServices']) ? null : $this->populateResultExtendedDataServices($json['extendedDataServices']),
1445+
'FollowSource' => isset($json['followSource']) ? (int) $json['followSource'] : null,
14431446
'Inputs' => !isset($json['inputs']) ? null : $this->populateResult__listOfInput($json['inputs']),
14441447
'KantarWatermark' => empty($json['kantarWatermark']) ? null : $this->populateResultKantarWatermarkSettings($json['kantarWatermark']),
14451448
'MotionImageInserter' => empty($json['motionImageInserter']) ? null : $this->populateResultMotionImageInserter($json['motionImageInserter']),
@@ -2362,6 +2365,22 @@ private function populateResult__listOfAllowedRenditionSize(array $json): array
23622365
return $items;
23632366
}
23642367

2368+
/**
2369+
* @return list<AudioChannelTag::*>
2370+
*/
2371+
private function populateResult__listOfAudioChannelTag(array $json): array
2372+
{
2373+
$items = [];
2374+
foreach ($json as $item) {
2375+
$a = isset($item) ? (string) $item : null;
2376+
if (null !== $a) {
2377+
$items[] = $a;
2378+
}
2379+
}
2380+
2381+
return $items;
2382+
}
2383+
23652384
/**
23662385
* @return AudioDescription[]
23672386
*/

src/Service/MediaConvert/src/ValueObject/AiffSettings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ final class AiffSettings
2323
private $channels;
2424

2525
/**
26-
* Sample rate in hz.
26+
* Sample rate in Hz.
2727
*
2828
* @var int|null
2929
*/

0 commit comments

Comments
 (0)