Skip to content

Commit d4127fd

Browse files
committed
update generated code
1 parent b0ce8ed commit d4127fd

20 files changed

+151
-48
lines changed

manifest.json

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

src/Service/Comprehend/CHANGELOG.md

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

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: TODO
8+
59
## 1.1.4
610

711
### Changed

src/Service/Comprehend/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"extra": {
2929
"branch-alias": {
30-
"dev-master": "1.1-dev"
30+
"dev-master": "1.2-dev"
3131
}
3232
}
3333
}

src/Service/Comprehend/src/ComprehendClient.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ protected function getEndpointMetadata(?string $region): array
9292
'signService' => 'comprehend',
9393
'signVersions' => ['v4'],
9494
];
95+
case 'fips-us-iso-east-1':
96+
return [
97+
'endpoint' => 'https://comprehend-fips.us-iso-east-1.c2s.ic.gov',
98+
'signRegion' => 'us-iso-east-1',
99+
'signService' => 'comprehend',
100+
'signVersions' => ['v4'],
101+
];
95102
}
96103

97104
return [

src/Service/MediaConvert/CHANGELOG.md

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

77
- AWS api-change: This release adds support for inserting timecode tracks into MP4 container outputs.
88
- AWS api-change: use regionalized endpoints
9+
- AWS api-change: This release adds support for the AVC3 codec and fixes an alignment issue with Japanese vertical captions.
910

1011
## 1.4.1
1112

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?php
2+
3+
namespace AsyncAws\MediaConvert\Enum;
4+
5+
/**
6+
* Specify how SPS and PPS NAL units are written in your output MP4 container, according to ISO/IEC 14496-15. If the
7+
* location of these parameters doesn't matter in your workflow: Keep the default value, AVC1. MediaConvert writes SPS
8+
* and PPS NAL units in the sample description ('stsd') box (but not into samples directly). To write SPS and PPS NAL
9+
* units directly into samples (but not in the 'stsd' box): Choose AVC3. When you do, note that your output might not
10+
* play properly with some downstream systems or players.
11+
*/
12+
final class H264WriteMp4PackagingType
13+
{
14+
public const AVC1 = 'AVC1';
15+
public const AVC3 = 'AVC3';
16+
17+
public static function exists(string $value): bool
18+
{
19+
return isset([
20+
self::AVC1 => true,
21+
self::AVC3 => true,
22+
][$value]);
23+
}
24+
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,7 @@ private function populateResultH264Settings(array $json): H264Settings
10691069
'Telecine' => isset($json['telecine']) ? (string) $json['telecine'] : null,
10701070
'TemporalAdaptiveQuantization' => isset($json['temporalAdaptiveQuantization']) ? (string) $json['temporalAdaptiveQuantization'] : null,
10711071
'UnregisteredSeiTimecode' => isset($json['unregisteredSeiTimecode']) ? (string) $json['unregisteredSeiTimecode'] : null,
1072+
'WriteMp4PackagingType' => isset($json['writeMp4PackagingType']) ? (string) $json['writeMp4PackagingType'] : null,
10721073
]);
10731074
}
10741075

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,6 +1069,7 @@ private function populateResultH264Settings(array $json): H264Settings
10691069
'Telecine' => isset($json['telecine']) ? (string) $json['telecine'] : null,
10701070
'TemporalAdaptiveQuantization' => isset($json['temporalAdaptiveQuantization']) ? (string) $json['temporalAdaptiveQuantization'] : null,
10711071
'UnregisteredSeiTimecode' => isset($json['unregisteredSeiTimecode']) ? (string) $json['unregisteredSeiTimecode'] : null,
1072+
'WriteMp4PackagingType' => isset($json['writeMp4PackagingType']) ? (string) $json['writeMp4PackagingType'] : null,
10721073
]);
10731074
}
10741075

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,7 @@ private function populateResultH264Settings(array $json): H264Settings
11361136
'Telecine' => isset($json['telecine']) ? (string) $json['telecine'] : null,
11371137
'TemporalAdaptiveQuantization' => isset($json['temporalAdaptiveQuantization']) ? (string) $json['temporalAdaptiveQuantization'] : null,
11381138
'UnregisteredSeiTimecode' => isset($json['unregisteredSeiTimecode']) ? (string) $json['unregisteredSeiTimecode'] : null,
1139+
'WriteMp4PackagingType' => isset($json['writeMp4PackagingType']) ? (string) $json['writeMp4PackagingType'] : null,
11391140
]);
11401141
}
11411142

src/Service/MediaConvert/src/ValueObject/H264Settings.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
use AsyncAws\MediaConvert\Enum\H264Telecine;
3030
use AsyncAws\MediaConvert\Enum\H264TemporalAdaptiveQuantization;
3131
use AsyncAws\MediaConvert\Enum\H264UnregisteredSeiTimecode;
32+
use AsyncAws\MediaConvert\Enum\H264WriteMp4PackagingType;
3233

3334
/**
3435
* Required when you set Codec to the value H_264.
@@ -494,6 +495,17 @@ final class H264Settings
494495
*/
495496
private $unregisteredSeiTimecode;
496497

498+
/**
499+
* Specify how SPS and PPS NAL units are written in your output MP4 container, according to ISO/IEC 14496-15. If the
500+
* location of these parameters doesn't matter in your workflow: Keep the default value, AVC1. MediaConvert writes SPS
501+
* and PPS NAL units in the sample description ('stsd') box (but not into samples directly). To write SPS and PPS NAL
502+
* units directly into samples (but not in the 'stsd' box): Choose AVC3. When you do, note that your output might not
503+
* play properly with some downstream systems or players.
504+
*
505+
* @var H264WriteMp4PackagingType::*|null
506+
*/
507+
private $writeMp4PackagingType;
508+
497509
/**
498510
* @param array{
499511
* AdaptiveQuantization?: null|H264AdaptiveQuantization::*,
@@ -540,6 +552,7 @@ final class H264Settings
540552
* Telecine?: null|H264Telecine::*,
541553
* TemporalAdaptiveQuantization?: null|H264TemporalAdaptiveQuantization::*,
542554
* UnregisteredSeiTimecode?: null|H264UnregisteredSeiTimecode::*,
555+
* WriteMp4PackagingType?: null|H264WriteMp4PackagingType::*,
543556
* } $input
544557
*/
545558
public function __construct(array $input)
@@ -588,6 +601,7 @@ public function __construct(array $input)
588601
$this->telecine = $input['Telecine'] ?? null;
589602
$this->temporalAdaptiveQuantization = $input['TemporalAdaptiveQuantization'] ?? null;
590603
$this->unregisteredSeiTimecode = $input['UnregisteredSeiTimecode'] ?? null;
604+
$this->writeMp4PackagingType = $input['WriteMp4PackagingType'] ?? null;
591605
}
592606

593607
/**
@@ -636,6 +650,7 @@ public function __construct(array $input)
636650
* Telecine?: null|H264Telecine::*,
637651
* TemporalAdaptiveQuantization?: null|H264TemporalAdaptiveQuantization::*,
638652
* UnregisteredSeiTimecode?: null|H264UnregisteredSeiTimecode::*,
653+
* WriteMp4PackagingType?: null|H264WriteMp4PackagingType::*,
639654
* }|H264Settings $input
640655
*/
641656
public static function create($input): self
@@ -941,6 +956,14 @@ public function getUnregisteredSeiTimecode(): ?string
941956
return $this->unregisteredSeiTimecode;
942957
}
943958

959+
/**
960+
* @return H264WriteMp4PackagingType::*|null
961+
*/
962+
public function getWriteMp4PackagingType(): ?string
963+
{
964+
return $this->writeMp4PackagingType;
965+
}
966+
944967
/**
945968
* @internal
946969
*/
@@ -1157,6 +1180,12 @@ public function requestBody(): array
11571180
}
11581181
$payload['unregisteredSeiTimecode'] = $v;
11591182
}
1183+
if (null !== $v = $this->writeMp4PackagingType) {
1184+
if (!H264WriteMp4PackagingType::exists($v)) {
1185+
throw new InvalidArgument(\sprintf('Invalid parameter "writeMp4PackagingType" for "%s". The value "%s" is not a valid "H264WriteMp4PackagingType".', __CLASS__, $v));
1186+
}
1187+
$payload['writeMp4PackagingType'] = $v;
1188+
}
11601189

11611190
return $payload;
11621191
}

0 commit comments

Comments
 (0)