Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.359.9"
"${LATEST}": "3.359.12"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
4 changes: 4 additions & 0 deletions src/Service/CloudFormation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## NOT RELEASED

### BC-BREAK

- AWS api-change: The `stackName` parameter is now required in `DescribeStackEvents` operation.

### Added

- AWS api-change: Update endpoint ruleset parameters casing
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.11-dev"
"dev-master": "2.0-dev"
}
}
}
4 changes: 2 additions & 2 deletions src/Service/CloudFormation/src/CloudFormationClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ public function describeStackDriftDetectionStatus($input): DescribeStackDriftDet
* @see https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cloudformation-2010-05-15.html#describestackevents
*
* @param array{
* StackName?: string|null,
* StackName: string,
* NextToken?: string|null,
* '@region'?: string|null,
* }|DescribeStackEventsInput $input
*/
public function describeStackEvents($input = []): DescribeStackEventsOutput
public function describeStackEvents($input): DescribeStackEventsOutput
{
$input = DescribeStackEventsInput::create($input);
$response = $this->getResponse($input->request(), new RequestContext(['operation' => 'DescribeStackEvents', 'region' => $input->getRegion()]));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace AsyncAws\CloudFormation\Input;

use AsyncAws\Core\Exception\InvalidArgument;
use AsyncAws\Core\Input;
use AsyncAws\Core\Request;
use AsyncAws\Core\Stream\StreamFactory;
Expand All @@ -17,20 +18,22 @@ final class DescribeStackEventsInput extends Input
* - Running stacks: You can specify either the stack's name or its unique stack ID.
* - Deleted stacks: You must specify the unique stack ID.
*
* @required
*
* @var string|null
*/
private $stackName;

/**
* A string that identifies the next page of events that you want to retrieve.
* The token for the next set of items to return. (You received this token from a previous call.).
*
* @var string|null
*/
private $nextToken;

/**
* @param array{
* StackName?: string|null,
* StackName?: string,
* NextToken?: string|null,
* '@region'?: string|null,
* } $input
Expand All @@ -44,7 +47,7 @@ public function __construct(array $input = [])

/**
* @param array{
* StackName?: string|null,
* StackName?: string,
* NextToken?: string|null,
* '@region'?: string|null,
* }|DescribeStackEventsInput $input
Expand Down Expand Up @@ -102,9 +105,10 @@ public function setStackName(?string $value): self
private function requestBody(): array
{
$payload = [];
if (null !== $v = $this->stackName) {
$payload['StackName'] = $v;
if (null === $v = $this->stackName) {
throw new InvalidArgument(\sprintf('Missing parameter "StackName" for "%s". The value cannot be null.', __CLASS__));
}
$payload['StackName'] = $v;
if (null !== $v = $this->nextToken) {
$payload['NextToken'] = $v;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class DescribeStacksInput extends Input
private $stackName;

/**
* A string that identifies the next page of stacks that you want to retrieve.
* The token for the next set of items to return. (You received this token from a previous call.).
*
* @var string|null
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/src/ValueObject/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace AsyncAws\CloudFormation\ValueObject;

/**
* The Output data type.
* The `Output` data type.
*/
final class Output
{
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/src/ValueObject/Parameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace AsyncAws\CloudFormation\ValueObject;

/**
* The Parameter data type.
* The `Parameter` data type.
*/
final class Parameter
{
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/src/ValueObject/Stack.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use AsyncAws\Core\Exception\InvalidArgument;

/**
* The Stack data type.
* The `Stack` data type.
*/
final class Stack
{
Expand Down
2 changes: 1 addition & 1 deletion src/Service/CloudFormation/src/ValueObject/StackEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use AsyncAws\Core\Exception\InvalidArgument;

/**
* The StackEvent data type.
* The `StackEvent` data type.
*/
final class StackEvent
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function testDescribeStackEvents(): void
$client = new CloudFormationClient([], new NullProvider(), new MockHttpClient());

$input = new DescribeStackEventsInput([
'StackName' => 'demo',
]);
$result = $client->DescribeStackEvents($input);

Expand Down
1 change: 1 addition & 0 deletions src/Service/MediaConvert/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- AWS api-change: This release adds the ability to set resolution for the black video generator.
- AWS api-change: Adds SlowPalPitchCorrection to audio pitch correction settings. Enables opacity for VideoOverlays. Adds REMUX_ALL option to enable multi-rendition passthrough to VideoSelector for allow listed accounts.
- AWS api-change: Lowers minimum duration for black video generator. Adds support for embedding and signing C2PA content credentials in DASH and CMAF HLS outputs.

### Dependency bumped

Expand Down
21 changes: 21 additions & 0 deletions src/Service/MediaConvert/src/Enum/CmfcC2paManifest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace AsyncAws\MediaConvert\Enum;

/**
* When enabled, a C2PA compliant manifest will be generated, signed and embeded in the output. For more information on
* C2PA, see https://c2pa.org/specifications/specifications/2.1/index.html.
*/
final class CmfcC2paManifest
{
public const EXCLUDE = 'EXCLUDE';
public const INCLUDE = 'INCLUDE';

public static function exists(string $value): bool
{
return isset([
self::EXCLUDE => true,
self::INCLUDE => true,
][$value]);
}
}
26 changes: 26 additions & 0 deletions src/Service/MediaConvert/src/Enum/FrameControl.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

namespace AsyncAws\MediaConvert\Enum;

/**
* Choose how MediaConvert handles start and end times for input clipping with video passthrough. Your input video codec
* must be H.264 or H.265 to use IFRAME. To clip at the nearest IDR-frame: Choose Nearest IDR. If an IDR-frame is not
* found at the frame that you specify, MediaConvert uses the next compatible IDR-frame. Note that your output may be
* shorter than your input clip duration. To clip at the nearest I-frame: Choose Nearest I-frame. If an I-frame is not
* found at the frame that you specify, MediaConvert uses the next compatible I-frame. Note that your output may be
* shorter than your input clip duration. We only recommend this setting for special workflows, and when you choose this
* setting your output may not be compatible with most players.
*/
final class FrameControl
{
public const NEAREST_IDRFRAME = 'NEAREST_IDRFRAME';
public const NEAREST_IFRAME = 'NEAREST_IFRAME';

public static function exists(string $value): bool
{
return isset([
self::NEAREST_IDRFRAME => true,
self::NEAREST_IFRAME => true,
][$value]);
}
}
21 changes: 21 additions & 0 deletions src/Service/MediaConvert/src/Enum/MpdC2paManifest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace AsyncAws\MediaConvert\Enum;

/**
* When enabled, a C2PA compliant manifest will be generated, signed and embeded in the output. For more information on
* C2PA, see https://c2pa.org/specifications/specifications/2.1/index.html.
*/
final class MpdC2paManifest
{
public const EXCLUDE = 'EXCLUDE';
public const INCLUDE = 'INCLUDE';

public static function exists(string $value): bool
{
return isset([
self::EXCLUDE => true,
self::INCLUDE => true,
][$value]);
}
}
7 changes: 7 additions & 0 deletions src/Service/MediaConvert/src/Result/CreateJobResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,15 @@ private function populateResultCmfcSettings(array $json): CmfcSettings
'AudioGroupId' => isset($json['audioGroupId']) ? (string) $json['audioGroupId'] : null,
'AudioRenditionSets' => isset($json['audioRenditionSets']) ? (string) $json['audioRenditionSets'] : null,
'AudioTrackType' => isset($json['audioTrackType']) ? (string) $json['audioTrackType'] : null,
'C2paManifest' => isset($json['c2paManifest']) ? (string) $json['c2paManifest'] : null,
'CertificateSecret' => isset($json['certificateSecret']) ? (string) $json['certificateSecret'] : null,
'DescriptiveVideoServiceFlag' => isset($json['descriptiveVideoServiceFlag']) ? (string) $json['descriptiveVideoServiceFlag'] : null,
'IFrameOnlyManifest' => isset($json['iFrameOnlyManifest']) ? (string) $json['iFrameOnlyManifest'] : null,
'KlvMetadata' => isset($json['klvMetadata']) ? (string) $json['klvMetadata'] : null,
'ManifestMetadataSignaling' => isset($json['manifestMetadataSignaling']) ? (string) $json['manifestMetadataSignaling'] : null,
'Scte35Esam' => isset($json['scte35Esam']) ? (string) $json['scte35Esam'] : null,
'Scte35Source' => isset($json['scte35Source']) ? (string) $json['scte35Source'] : null,
'SigningKmsKey' => isset($json['signingKmsKey']) ? (string) $json['signingKmsKey'] : null,
'TimedMetadata' => isset($json['timedMetadata']) ? (string) $json['timedMetadata'] : null,
'TimedMetadataBoxVersion' => isset($json['timedMetadataBoxVersion']) ? (string) $json['timedMetadataBoxVersion'] : null,
'TimedMetadataSchemeIdUri' => isset($json['timedMetadataSchemeIdUri']) ? (string) $json['timedMetadataSchemeIdUri'] : null,
Expand Down Expand Up @@ -1695,11 +1698,14 @@ private function populateResultMpdSettings(array $json): MpdSettings
return new MpdSettings([
'AccessibilityCaptionHints' => isset($json['accessibilityCaptionHints']) ? (string) $json['accessibilityCaptionHints'] : null,
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
'C2paManifest' => isset($json['c2paManifest']) ? (string) $json['c2paManifest'] : null,
'CaptionContainerType' => isset($json['captionContainerType']) ? (string) $json['captionContainerType'] : null,
'CertificateSecret' => isset($json['certificateSecret']) ? (string) $json['certificateSecret'] : null,
'KlvMetadata' => isset($json['klvMetadata']) ? (string) $json['klvMetadata'] : null,
'ManifestMetadataSignaling' => isset($json['manifestMetadataSignaling']) ? (string) $json['manifestMetadataSignaling'] : null,
'Scte35Esam' => isset($json['scte35Esam']) ? (string) $json['scte35Esam'] : null,
'Scte35Source' => isset($json['scte35Source']) ? (string) $json['scte35Source'] : null,
'SigningKmsKey' => isset($json['signingKmsKey']) ? (string) $json['signingKmsKey'] : null,
'TimedMetadata' => isset($json['timedMetadata']) ? (string) $json['timedMetadata'] : null,
'TimedMetadataBoxVersion' => isset($json['timedMetadataBoxVersion']) ? (string) $json['timedMetadataBoxVersion'] : null,
'TimedMetadataSchemeIdUri' => isset($json['timedMetadataSchemeIdUri']) ? (string) $json['timedMetadataSchemeIdUri'] : null,
Expand Down Expand Up @@ -1952,6 +1958,7 @@ private function populateResultPartnerWatermarking(array $json): PartnerWatermar
private function populateResultPassthroughSettings(array $json): PassthroughSettings
{
return new PassthroughSettings([
'FrameControl' => isset($json['frameControl']) ? (string) $json['frameControl'] : null,
'VideoSelectorMode' => isset($json['videoSelectorMode']) ? (string) $json['videoSelectorMode'] : null,
]);
}
Expand Down
7 changes: 7 additions & 0 deletions src/Service/MediaConvert/src/Result/GetJobResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,15 @@ private function populateResultCmfcSettings(array $json): CmfcSettings
'AudioGroupId' => isset($json['audioGroupId']) ? (string) $json['audioGroupId'] : null,
'AudioRenditionSets' => isset($json['audioRenditionSets']) ? (string) $json['audioRenditionSets'] : null,
'AudioTrackType' => isset($json['audioTrackType']) ? (string) $json['audioTrackType'] : null,
'C2paManifest' => isset($json['c2paManifest']) ? (string) $json['c2paManifest'] : null,
'CertificateSecret' => isset($json['certificateSecret']) ? (string) $json['certificateSecret'] : null,
'DescriptiveVideoServiceFlag' => isset($json['descriptiveVideoServiceFlag']) ? (string) $json['descriptiveVideoServiceFlag'] : null,
'IFrameOnlyManifest' => isset($json['iFrameOnlyManifest']) ? (string) $json['iFrameOnlyManifest'] : null,
'KlvMetadata' => isset($json['klvMetadata']) ? (string) $json['klvMetadata'] : null,
'ManifestMetadataSignaling' => isset($json['manifestMetadataSignaling']) ? (string) $json['manifestMetadataSignaling'] : null,
'Scte35Esam' => isset($json['scte35Esam']) ? (string) $json['scte35Esam'] : null,
'Scte35Source' => isset($json['scte35Source']) ? (string) $json['scte35Source'] : null,
'SigningKmsKey' => isset($json['signingKmsKey']) ? (string) $json['signingKmsKey'] : null,
'TimedMetadata' => isset($json['timedMetadata']) ? (string) $json['timedMetadata'] : null,
'TimedMetadataBoxVersion' => isset($json['timedMetadataBoxVersion']) ? (string) $json['timedMetadataBoxVersion'] : null,
'TimedMetadataSchemeIdUri' => isset($json['timedMetadataSchemeIdUri']) ? (string) $json['timedMetadataSchemeIdUri'] : null,
Expand Down Expand Up @@ -1695,11 +1698,14 @@ private function populateResultMpdSettings(array $json): MpdSettings
return new MpdSettings([
'AccessibilityCaptionHints' => isset($json['accessibilityCaptionHints']) ? (string) $json['accessibilityCaptionHints'] : null,
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
'C2paManifest' => isset($json['c2paManifest']) ? (string) $json['c2paManifest'] : null,
'CaptionContainerType' => isset($json['captionContainerType']) ? (string) $json['captionContainerType'] : null,
'CertificateSecret' => isset($json['certificateSecret']) ? (string) $json['certificateSecret'] : null,
'KlvMetadata' => isset($json['klvMetadata']) ? (string) $json['klvMetadata'] : null,
'ManifestMetadataSignaling' => isset($json['manifestMetadataSignaling']) ? (string) $json['manifestMetadataSignaling'] : null,
'Scte35Esam' => isset($json['scte35Esam']) ? (string) $json['scte35Esam'] : null,
'Scte35Source' => isset($json['scte35Source']) ? (string) $json['scte35Source'] : null,
'SigningKmsKey' => isset($json['signingKmsKey']) ? (string) $json['signingKmsKey'] : null,
'TimedMetadata' => isset($json['timedMetadata']) ? (string) $json['timedMetadata'] : null,
'TimedMetadataBoxVersion' => isset($json['timedMetadataBoxVersion']) ? (string) $json['timedMetadataBoxVersion'] : null,
'TimedMetadataSchemeIdUri' => isset($json['timedMetadataSchemeIdUri']) ? (string) $json['timedMetadataSchemeIdUri'] : null,
Expand Down Expand Up @@ -1952,6 +1958,7 @@ private function populateResultPartnerWatermarking(array $json): PartnerWatermar
private function populateResultPassthroughSettings(array $json): PassthroughSettings
{
return new PassthroughSettings([
'FrameControl' => isset($json['frameControl']) ? (string) $json['frameControl'] : null,
'VideoSelectorMode' => isset($json['videoSelectorMode']) ? (string) $json['videoSelectorMode'] : null,
]);
}
Expand Down
7 changes: 7 additions & 0 deletions src/Service/MediaConvert/src/Result/ListJobsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -724,12 +724,15 @@ private function populateResultCmfcSettings(array $json): CmfcSettings
'AudioGroupId' => isset($json['audioGroupId']) ? (string) $json['audioGroupId'] : null,
'AudioRenditionSets' => isset($json['audioRenditionSets']) ? (string) $json['audioRenditionSets'] : null,
'AudioTrackType' => isset($json['audioTrackType']) ? (string) $json['audioTrackType'] : null,
'C2paManifest' => isset($json['c2paManifest']) ? (string) $json['c2paManifest'] : null,
'CertificateSecret' => isset($json['certificateSecret']) ? (string) $json['certificateSecret'] : null,
'DescriptiveVideoServiceFlag' => isset($json['descriptiveVideoServiceFlag']) ? (string) $json['descriptiveVideoServiceFlag'] : null,
'IFrameOnlyManifest' => isset($json['iFrameOnlyManifest']) ? (string) $json['iFrameOnlyManifest'] : null,
'KlvMetadata' => isset($json['klvMetadata']) ? (string) $json['klvMetadata'] : null,
'ManifestMetadataSignaling' => isset($json['manifestMetadataSignaling']) ? (string) $json['manifestMetadataSignaling'] : null,
'Scte35Esam' => isset($json['scte35Esam']) ? (string) $json['scte35Esam'] : null,
'Scte35Source' => isset($json['scte35Source']) ? (string) $json['scte35Source'] : null,
'SigningKmsKey' => isset($json['signingKmsKey']) ? (string) $json['signingKmsKey'] : null,
'TimedMetadata' => isset($json['timedMetadata']) ? (string) $json['timedMetadata'] : null,
'TimedMetadataBoxVersion' => isset($json['timedMetadataBoxVersion']) ? (string) $json['timedMetadataBoxVersion'] : null,
'TimedMetadataSchemeIdUri' => isset($json['timedMetadataSchemeIdUri']) ? (string) $json['timedMetadataSchemeIdUri'] : null,
Expand Down Expand Up @@ -1762,11 +1765,14 @@ private function populateResultMpdSettings(array $json): MpdSettings
return new MpdSettings([
'AccessibilityCaptionHints' => isset($json['accessibilityCaptionHints']) ? (string) $json['accessibilityCaptionHints'] : null,
'AudioDuration' => isset($json['audioDuration']) ? (string) $json['audioDuration'] : null,
'C2paManifest' => isset($json['c2paManifest']) ? (string) $json['c2paManifest'] : null,
'CaptionContainerType' => isset($json['captionContainerType']) ? (string) $json['captionContainerType'] : null,
'CertificateSecret' => isset($json['certificateSecret']) ? (string) $json['certificateSecret'] : null,
'KlvMetadata' => isset($json['klvMetadata']) ? (string) $json['klvMetadata'] : null,
'ManifestMetadataSignaling' => isset($json['manifestMetadataSignaling']) ? (string) $json['manifestMetadataSignaling'] : null,
'Scte35Esam' => isset($json['scte35Esam']) ? (string) $json['scte35Esam'] : null,
'Scte35Source' => isset($json['scte35Source']) ? (string) $json['scte35Source'] : null,
'SigningKmsKey' => isset($json['signingKmsKey']) ? (string) $json['signingKmsKey'] : null,
'TimedMetadata' => isset($json['timedMetadata']) ? (string) $json['timedMetadata'] : null,
'TimedMetadataBoxVersion' => isset($json['timedMetadataBoxVersion']) ? (string) $json['timedMetadataBoxVersion'] : null,
'TimedMetadataSchemeIdUri' => isset($json['timedMetadataSchemeIdUri']) ? (string) $json['timedMetadataSchemeIdUri'] : null,
Expand Down Expand Up @@ -2019,6 +2025,7 @@ private function populateResultPartnerWatermarking(array $json): PartnerWatermar
private function populateResultPassthroughSettings(array $json): PassthroughSettings
{
return new PassthroughSettings([
'FrameControl' => isset($json['frameControl']) ? (string) $json['frameControl'] : null,
'VideoSelectorMode' => isset($json['videoSelectorMode']) ? (string) $json['videoSelectorMode'] : null,
]);
}
Expand Down
Loading