From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Paws::MediaPackageVod::CreatePackagingConfiguration - Arguments for method CreatePackagingConfiguration on Paws::MediaPackageVod

DESCRIPTION

This class represents the parameters used for calling the method CreatePackagingConfiguration on the AWS Elemental MediaPackage VOD service. Use the attributes of this class as arguments to method CreatePackagingConfiguration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePackagingConfiguration.

SYNOPSIS

my $mediapackage-vod = Paws->service('MediaPackageVod');
my $CreatePackagingConfigurationResponse =
$mediapackage -vod->CreatePackagingConfiguration(
Id => 'My__string',
PackagingGroupId => 'My__string',
CmafPackage => {
HlsManifests => [
{
AdMarkers =>
'NONE', # values: NONE, SCTE35_ENHANCED, PASSTHROUGH; OPTIONAL
IncludeIframeOnlyStream => 1, # OPTIONAL
ManifestName => 'My__string',
ProgramDateTimeIntervalSeconds => 1, # OPTIONAL
RepeatExtXKey => 1, # OPTIONAL
StreamSelection => {
MaxVideoBitsPerSecond => 1, # OPTIONAL
MinVideoBitsPerSecond => 1, # OPTIONAL
StreamOrder => 'ORIGINAL'
, # values: ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING; OPTIONAL
}, # OPTIONAL
},
...
],
Encryption => {
SpekeKeyProvider => {
RoleArn => 'My__string',
SystemIds => [ 'My__string', ... ],
Url => 'My__string',
},
ConstantInitializationVector => 'My__string',
}, # OPTIONAL
IncludeEncoderConfigurationInSegments => 1, # OPTIONAL
SegmentDurationSeconds => 1, # OPTIONAL
}, # OPTIONAL
DashPackage => {
DashManifests => [
{
ManifestLayout => 'FULL', # values: FULL, COMPACT; OPTIONAL
ManifestName => 'My__string',
MinBufferTimeSeconds => 1, # OPTIONAL
Profile => 'NONE', # values: NONE, HBBTV_1_5; OPTIONAL
StreamSelection => {
MaxVideoBitsPerSecond => 1, # OPTIONAL
MinVideoBitsPerSecond => 1, # OPTIONAL
StreamOrder => 'ORIGINAL'
, # values: ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING; OPTIONAL
}, # OPTIONAL
},
...
],
Encryption => {
SpekeKeyProvider => {
RoleArn => 'My__string',
SystemIds => [ 'My__string', ... ],
Url => 'My__string',
},
}, # OPTIONAL
IncludeEncoderConfigurationInSegments => 1, # OPTIONAL
PeriodTriggers => [
'ADS', ... # values: ADS
], # OPTIONAL
SegmentDurationSeconds => 1, # OPTIONAL
SegmentTemplateFormat => 'NUMBER_WITH_TIMELINE'
, # values: NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION; OPTIONAL
}, # OPTIONAL
HlsPackage => {
HlsManifests => [
{
AdMarkers =>
'NONE', # values: NONE, SCTE35_ENHANCED, PASSTHROUGH; OPTIONAL
IncludeIframeOnlyStream => 1, # OPTIONAL
ManifestName => 'My__string',
ProgramDateTimeIntervalSeconds => 1, # OPTIONAL
RepeatExtXKey => 1, # OPTIONAL
StreamSelection => {
MaxVideoBitsPerSecond => 1, # OPTIONAL
MinVideoBitsPerSecond => 1, # OPTIONAL
StreamOrder => 'ORIGINAL'
, # values: ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING; OPTIONAL
}, # OPTIONAL
},
...
],
Encryption => {
SpekeKeyProvider => {
RoleArn => 'My__string',
SystemIds => [ 'My__string', ... ],
Url => 'My__string',
},
ConstantInitializationVector => 'My__string',
EncryptionMethod => 'AES_128', # values: AES_128, SAMPLE_AES; OPTIONAL
}, # OPTIONAL
SegmentDurationSeconds => 1, # OPTIONAL
UseAudioRenditionGroup => 1, # OPTIONAL
}, # OPTIONAL
MssPackage => {
MssManifests => [
{
ManifestName => 'My__string',
StreamSelection => {
MaxVideoBitsPerSecond => 1, # OPTIONAL
MinVideoBitsPerSecond => 1, # OPTIONAL
StreamOrder => 'ORIGINAL'
, # values: ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING; OPTIONAL
}, # OPTIONAL
},
...
],
Encryption => {
SpekeKeyProvider => {
RoleArn => 'My__string',
SystemIds => [ 'My__string', ... ],
Url => 'My__string',
},
}, # OPTIONAL
SegmentDurationSeconds => 1, # OPTIONAL
}, # OPTIONAL
Tags => { 'My__string' => 'My__string', }, # OPTIONAL
);
# Results:
my $Arn = $CreatePackagingConfigurationResponse->Arn;
my $CmafPackage = $CreatePackagingConfigurationResponse->CmafPackage;
my $DashPackage = $CreatePackagingConfigurationResponse->DashPackage;
my $HlsPackage = $CreatePackagingConfigurationResponse->HlsPackage;
my $Id = $CreatePackagingConfigurationResponse->Id;
my $MssPackage = $CreatePackagingConfigurationResponse->MssPackage;
my $PackagingGroupId =
$CreatePackagingConfigurationResponse->PackagingGroupId;
my $Tags = $CreatePackagingConfigurationResponse->Tags;

# Returns a Paws::MediaPackageVod::CreatePackagingConfigurationResponse object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod/CreatePackagingConfiguration

ATTRIBUTES

CmafPackage => Paws::MediaPackageVod::CmafPackage

DashPackage => Paws::MediaPackageVod::DashPackage

HlsPackage => Paws::MediaPackageVod::HlsPackage

REQUIRED Id => Str

The ID of the PackagingConfiguration.

MssPackage => Paws::MediaPackageVod::MssPackage

REQUIRED PackagingGroupId => Str

The ID of a PackagingGroup.

Tags => Paws::MediaPackageVod::Tags

SEE ALSO

This class forms part of Paws, documenting arguments for method CreatePackagingConfiguration in Paws::MediaPackageVod

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues