Paws

 view release on metacpan or  search on metacpan

lib/Paws/MediaLive/BatchUpdateSchedule.pm  view on Meta::CPAN


package Paws::MediaLive::BatchUpdateSchedule;
  use Moose;
  has ChannelId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'channelId', required => 1);
  has Creates => (is => 'ro', isa => 'Paws::MediaLive::BatchScheduleActionCreateRequest', traits => ['NameInRequest'], request_name => 'creates');
  has Deletes => (is => 'ro', isa => 'Paws::MediaLive::BatchScheduleActionDeleteRequest', traits => ['NameInRequest'], request_name => 'deletes');

  use MooseX::ClassAttribute;

  class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchUpdateSchedule');
  class_has _api_uri  => (isa => 'Str', is => 'ro', default => '/prod/channels/{channelId}/schedule');
  class_has _api_method  => (isa => 'Str', is => 'ro', default => 'PUT');
  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaLive::BatchUpdateScheduleResponse');
1;

### main pod documentation begin ###

=head1 NAME

Paws::MediaLive::BatchUpdateSchedule - Arguments for method BatchUpdateSchedule on L<Paws::MediaLive>

=head1 DESCRIPTION

This class represents the parameters used for calling the method BatchUpdateSchedule on the
L<AWS Elemental MediaLive|Paws::MediaLive> service. Use the attributes of this class
as arguments to method BatchUpdateSchedule.

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

=head1 SYNOPSIS

    my $medialive = Paws->service('MediaLive');
    my $BatchUpdateScheduleResponse = $medialive->BatchUpdateSchedule(
      ChannelId => 'My__string',
      Creates   => {
        ScheduleActions => [
          {
            ActionName             => 'My__string',
            ScheduleActionSettings => {
              HlsId3SegmentTaggingSettings => {
                Tag => 'My__string',

              },    # OPTIONAL
              HlsTimedMetadataSettings => {
                Id3 => 'My__string',

              },    # OPTIONAL
              InputPrepareSettings => {
                InputAttachmentNameReference => 'My__string',
                InputClippingSettings        => {
                  InputTimecodeSource =>
                    'ZEROBASED',    # values: ZEROBASED, EMBEDDED
                  StartTimecode => { Timecode => 'My__string', },    # OPTIONAL
                  StopTimecode  => {
                    LastFrameClippingBehavior => 'EXCLUDE_LAST_FRAME'
                    , # values: EXCLUDE_LAST_FRAME, INCLUDE_LAST_FRAME; OPTIONAL
                    Timecode => 'My__string',
                  },    # OPTIONAL
                },    # OPTIONAL
                UrlPath => [ 'My__string', ... ],    # OPTIONAL
              },    # OPTIONAL
              InputSwitchSettings => {
                InputAttachmentNameReference => 'My__string',
                InputClippingSettings        => {
                  InputTimecodeSource =>
                    'ZEROBASED',    # values: ZEROBASED, EMBEDDED
                  StartTimecode => { Timecode => 'My__string', },    # OPTIONAL
                  StopTimecode  => {
                    LastFrameClippingBehavior => 'EXCLUDE_LAST_FRAME'
                    , # values: EXCLUDE_LAST_FRAME, INCLUDE_LAST_FRAME; OPTIONAL
                    Timecode => 'My__string',
                  },    # OPTIONAL
                },    # OPTIONAL
                UrlPath => [ 'My__string', ... ],    # OPTIONAL
              },    # OPTIONAL
              MotionGraphicsImageActivateSettings => {
                Duration      => 1,              # max: 86400000; OPTIONAL
                PasswordParam => 'My__string',
                Url           => 'My__string',
                Username      => 'My__string',
              },    # OPTIONAL
              MotionGraphicsImageDeactivateSettings => {

              },    # OPTIONAL
              PauseStateSettings => {
                Pipelines => [
                  {
                    PipelineId => 'PIPELINE_0', # values: PIPELINE_0, PIPELINE_1

                  },
                  ...
                ],    # OPTIONAL
              },    # OPTIONAL
              Scte35ReturnToNetworkSettings => {
                SpliceEventId => 1,    # max: 4294967295

              },    # OPTIONAL
              Scte35SpliceInsertSettings => {
                SpliceEventId => 1,    # max: 4294967295
                Duration      => 1,    # max: 8589934591; OPTIONAL
              },    # OPTIONAL
              Scte35TimeSignalSettings => {
                Scte35Descriptors => [
                  {
                    Scte35DescriptorSettings => {
                      SegmentationDescriptorScte35DescriptorSettings => {
                        SegmentationCancelIndicator =>
                          'SEGMENTATION_EVENT_NOT_CANCELED'
                        , # values: SEGMENTATION_EVENT_NOT_CANCELED, SEGMENTATION_EVENT_CANCELED
                        SegmentationEventId  => 1,    # max: 4294967295
                        DeliveryRestrictions => {
                          ArchiveAllowedFlag => 'ARCHIVE_NOT_ALLOWED'
                          ,    # values: ARCHIVE_NOT_ALLOWED, ARCHIVE_ALLOWED
                          DeviceRestrictions => 'NONE'
                          , # values: NONE, RESTRICT_GROUP0, RESTRICT_GROUP1, RESTRICT_GROUP2
                          NoRegionalBlackoutFlag => 'REGIONAL_BLACKOUT'
                          ,    # values: REGIONAL_BLACKOUT, NO_REGIONAL_BLACKOUT
                          WebDeliveryAllowedFlag => 'WEB_DELIVERY_NOT_ALLOWED'
                          , # values: WEB_DELIVERY_NOT_ALLOWED, WEB_DELIVERY_ALLOWED

                        },    # OPTIONAL
                        SegmentNum           => 1,    # max: 255; OPTIONAL
                        SegmentationDuration =>
                          1,    # max: 1099511627775; OPTIONAL
                        SegmentationTypeId => 1,            # max: 255; OPTIONAL
                        SegmentationUpid   => 'My__string',



( run in 0.972 second using v1.01-cache-2.11-cpan-71847e10f99 )