NAME

Paws::MediaPackage::CreateOriginEndpoint - Arguments for method CreateOriginEndpoint on Paws::MediaPackage

DESCRIPTION

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

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

SYNOPSIS

my $mediapackage = Paws->service('MediaPackage');
my $CreateOriginEndpointResponse = $mediapackage->CreateOriginEndpoint(
  ChannelId     => 'My__string',
  Id            => 'My__string',
  Authorization => {
    CdnIdentifierSecret => 'My__string',
    SecretsRoleArn      => 'My__string',

  },    # OPTIONAL
  CmafPackage => {
    Encryption => {
      SpekeKeyProvider => {
        ResourceId                      => 'My__string',
        RoleArn                         => 'My__string',
        SystemIds                       => [ 'My__string', ... ],
        Url                             => 'My__string',
        CertificateArn                  => 'My__string',
        EncryptionContractConfiguration => {
          PresetSpeke20Audio => 'PRESET-AUDIO-1',   # values: PRESET-AUDIO-1
          PresetSpeke20Video => 'PRESET-VIDEO-1',   # values: PRESET-VIDEO-1

        },    # OPTIONAL
      },
      ConstantInitializationVector => 'My__string',
      KeyRotationIntervalSeconds   => 1,              # OPTIONAL
    },    # OPTIONAL
    HlsManifests => [
      {
        Id        => 'My__string',
        AdMarkers => 'NONE'
        ,  # values: NONE, SCTE35_ENHANCED, PASSTHROUGH, DATERANGE; OPTIONAL
        AdTriggers => [
          'SPLICE_INSERT',
          ... # values: SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
        ],    # OPTIONAL
        AdsOnDeliveryRestrictions =>
          'NONE',   # values: NONE, RESTRICTED, UNRESTRICTED, BOTH; OPTIONAL
        IncludeIframeOnlyStream => 1,              # OPTIONAL
        ManifestName            => 'My__string',
        PlaylistType => 'NONE',    # values: NONE, EVENT, VOD; OPTIONAL
        PlaylistWindowSeconds          => 1,    # OPTIONAL
        ProgramDateTimeIntervalSeconds => 1,    # OPTIONAL
      },
      ...
    ],    # OPTIONAL
    SegmentDurationSeconds => 1,              # OPTIONAL
    SegmentPrefix          => 'My__string',
    StreamSelection        => {
      MaxVideoBitsPerSecond => 1,             # OPTIONAL
      MinVideoBitsPerSecond => 1,             # OPTIONAL
      StreamOrder           => 'ORIGINAL'
      , # values: ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING; OPTIONAL
    },    # OPTIONAL
  },    # OPTIONAL
  DashPackage => {
    AdTriggers => [
      'SPLICE_INSERT',
      ... # values: SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
    ],    # OPTIONAL
    AdsOnDeliveryRestrictions =>
      'NONE',    # values: NONE, RESTRICTED, UNRESTRICTED, BOTH; OPTIONAL
    Encryption => {
      SpekeKeyProvider => {
        ResourceId                      => 'My__string',
        RoleArn                         => 'My__string',
        SystemIds                       => [ 'My__string', ... ],
        Url                             => 'My__string',
        CertificateArn                  => 'My__string',
        EncryptionContractConfiguration => {
          PresetSpeke20Audio => 'PRESET-AUDIO-1',   # values: PRESET-AUDIO-1
          PresetSpeke20Video => 'PRESET-VIDEO-1',   # values: PRESET-VIDEO-1

        },    # OPTIONAL
      },
      KeyRotationIntervalSeconds => 1,    # OPTIONAL
    },    # OPTIONAL
    ManifestLayout         => 'FULL',    # values: FULL, COMPACT; OPTIONAL
    ManifestWindowSeconds  => 1,         # OPTIONAL
    MinBufferTimeSeconds   => 1,         # OPTIONAL
    MinUpdatePeriodSeconds => 1,         # OPTIONAL
    PeriodTriggers         => [
      'ADS', ...                         # values: ADS
    ],    # OPTIONAL
    Profile                => 'NONE',    # values: NONE, HBBTV_1_5; OPTIONAL
    SegmentDurationSeconds => 1,         # OPTIONAL
    SegmentTemplateFormat  => 'NUMBER_WITH_TIMELINE'
    , # values: NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION; OPTIONAL
    StreamSelection => {
      MaxVideoBitsPerSecond => 1,           # OPTIONAL
      MinVideoBitsPerSecond => 1,           # OPTIONAL
      StreamOrder           => 'ORIGINAL'
      , # values: ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING; OPTIONAL
    },    # OPTIONAL
    SuggestedPresentationDelaySeconds => 1,    # OPTIONAL
    UtcTiming    => 'NONE',    # values: NONE, HTTP-HEAD, HTTP-ISO; OPTIONAL
    UtcTimingUri => 'My__string',
  },    # OPTIONAL
  Description => 'My__string',    # OPTIONAL
  HlsPackage  => {
    AdMarkers => 'NONE'
    ,    # values: NONE, SCTE35_ENHANCED, PASSTHROUGH, DATERANGE; OPTIONAL
    AdTriggers => [
      'SPLICE_INSERT',
      ... # values: SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
    ],    # OPTIONAL
    AdsOnDeliveryRestrictions =>
      'NONE',    # values: NONE, RESTRICTED, UNRESTRICTED, BOTH; OPTIONAL
    Encryption => {
      SpekeKeyProvider => {
        ResourceId                      => 'My__string',
        RoleArn                         => 'My__string',
        SystemIds                       => [ 'My__string', ... ],
        Url                             => 'My__string',
        CertificateArn                  => 'My__string',
        EncryptionContractConfiguration => {
          PresetSpeke20Audio => 'PRESET-AUDIO-1',   # values: PRESET-AUDIO-1
          PresetSpeke20Video => 'PRESET-VIDEO-1',   # values: PRESET-VIDEO-1

        },    # OPTIONAL
      },
      ConstantInitializationVector => 'My__string',
      EncryptionMethod => 'AES_128', # values: AES_128, SAMPLE_AES; OPTIONAL
      KeyRotationIntervalSeconds => 1,    # OPTIONAL
      RepeatExtXKey              => 1,    # OPTIONAL
    },    # OPTIONAL
    IncludeIframeOnlyStream => 1,       # OPTIONAL
    PlaylistType            => 'NONE',  # values: NONE, EVENT, VOD; OPTIONAL
    PlaylistWindowSeconds   => 1,       # OPTIONAL
    ProgramDateTimeIntervalSeconds => 1,    # OPTIONAL
    SegmentDurationSeconds         => 1,    # OPTIONAL
    StreamSelection                => {
      MaxVideoBitsPerSecond => 1,           # OPTIONAL
      MinVideoBitsPerSecond => 1,           # OPTIONAL
      StreamOrder           => 'ORIGINAL'
      , # values: ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING; OPTIONAL
    },    # OPTIONAL
    UseAudioRenditionGroup => 1,    # OPTIONAL
  },    # OPTIONAL
  ManifestName => 'My__string',    # OPTIONAL
  MssPackage   => {
    Encryption => {
      SpekeKeyProvider => {
        ResourceId                      => 'My__string',
        RoleArn                         => 'My__string',
        SystemIds                       => [ 'My__string', ... ],
        Url                             => 'My__string',
        CertificateArn                  => 'My__string',
        EncryptionContractConfiguration => {
          PresetSpeke20Audio => 'PRESET-AUDIO-1',   # values: PRESET-AUDIO-1
          PresetSpeke20Video => 'PRESET-VIDEO-1',   # values: PRESET-VIDEO-1

        },    # OPTIONAL
      },

    },    # OPTIONAL
    ManifestWindowSeconds  => 1,    # OPTIONAL
    SegmentDurationSeconds => 1,    # OPTIONAL
    StreamSelection        => {
      MaxVideoBitsPerSecond => 1,           # OPTIONAL
      MinVideoBitsPerSecond => 1,           # OPTIONAL
      StreamOrder           => 'ORIGINAL'
      , # values: ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING; OPTIONAL
    },    # OPTIONAL
  },    # OPTIONAL
  Origination            => 'ALLOW',                              # OPTIONAL
  StartoverWindowSeconds => 1,                                    # OPTIONAL
  Tags                   => { 'My__string' => 'My__string', },    # OPTIONAL
  TimeDelaySeconds       => 1,                                    # OPTIONAL
  Whitelist              => [ 'My__string', ... ],                # OPTIONAL
);

# Results:
my $Arn           = $CreateOriginEndpointResponse->Arn;
my $Authorization = $CreateOriginEndpointResponse->Authorization;
my $ChannelId     = $CreateOriginEndpointResponse->ChannelId;
my $CmafPackage   = $CreateOriginEndpointResponse->CmafPackage;
my $DashPackage   = $CreateOriginEndpointResponse->DashPackage;
my $Description   = $CreateOriginEndpointResponse->Description;
my $HlsPackage    = $CreateOriginEndpointResponse->HlsPackage;
my $Id            = $CreateOriginEndpointResponse->Id;
my $ManifestName  = $CreateOriginEndpointResponse->ManifestName;
my $MssPackage    = $CreateOriginEndpointResponse->MssPackage;
my $Origination   = $CreateOriginEndpointResponse->Origination;
my $StartoverWindowSeconds =
  $CreateOriginEndpointResponse->StartoverWindowSeconds;
my $Tags             = $CreateOriginEndpointResponse->Tags;
my $TimeDelaySeconds = $CreateOriginEndpointResponse->TimeDelaySeconds;
my $Url              = $CreateOriginEndpointResponse->Url;
my $Whitelist        = $CreateOriginEndpointResponse->Whitelist;

# Returns a L<Paws::MediaPackage::CreateOriginEndpointResponse> 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/CreateOriginEndpoint

ATTRIBUTES

Authorization => Paws::MediaPackage::Authorization

REQUIRED ChannelId => Str

The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.

CmafPackage => Paws::MediaPackage::CmafPackageCreateOrUpdateParameters

DashPackage => Paws::MediaPackage::DashPackage

Description => Str

A short text description of the OriginEndpoint.

HlsPackage => Paws::MediaPackage::HlsPackage

REQUIRED Id => Str

The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.

ManifestName => Str

A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").

MssPackage => Paws::MediaPackage::MssPackage

Origination => Str

Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination

Valid values are: "ALLOW", "DENY"

StartoverWindowSeconds => Int

Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

Tags => Paws::MediaPackage::Tags

TimeDelaySeconds => Int

Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.

Whitelist => ArrayRef[Str|Undef]

A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateOriginEndpoint in Paws::MediaPackage

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