The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::MediaTailor::CreateChannel - Arguments for method CreateChannel on Paws::MediaTailor

DESCRIPTION

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

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

SYNOPSIS

    my $api.mediatailor = Paws->service('MediaTailor');
    my $CreateChannelResponse = $api . mediatailor->CreateChannel(
      ChannelName => 'My__string',
      Outputs     => [
        {
          ManifestName         => 'My__string',
          SourceGroup          => 'My__string',
          DashPlaylistSettings => {
            ManifestWindowSeconds             => 1,    # OPTIONAL
            MinBufferTimeSeconds              => 1,    # OPTIONAL
            MinUpdatePeriodSeconds            => 1,    # OPTIONAL
            SuggestedPresentationDelaySeconds => 1,    # OPTIONAL
          },    # OPTIONAL
          HlsPlaylistSettings => {
            ManifestWindowSeconds => 1,    # OPTIONAL
          },    # OPTIONAL
        },
        ...
      ],
      PlaybackMode => 'LOOP',
      Tags         => { 'My__string' => 'My__string', },    # OPTIONAL
    );

    # Results:
    my $Arn              = $CreateChannelResponse->Arn;
    my $ChannelName      = $CreateChannelResponse->ChannelName;
    my $ChannelState     = $CreateChannelResponse->ChannelState;
    my $CreationTime     = $CreateChannelResponse->CreationTime;
    my $LastModifiedTime = $CreateChannelResponse->LastModifiedTime;
    my $Outputs          = $CreateChannelResponse->Outputs;
    my $PlaybackMode     = $CreateChannelResponse->PlaybackMode;
    my $Tags             = $CreateChannelResponse->Tags;

    # Returns a L<Paws::MediaTailor::CreateChannelResponse> 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/api.mediatailor/CreateChannel

ATTRIBUTES

REQUIRED ChannelName => Str

The identifier for the channel you are working on.

REQUIRED Outputs => ArrayRef[Paws::MediaTailor::RequestOutputItem]

The channel's output properties.

REQUIRED PlaybackMode => Str

The type of playback mode for this channel. The only supported value is LOOP.

Valid values are: "LOOP"

Tags => Paws::MediaTailor::__mapOf__string

The tags to assign to the channel.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateChannel in Paws::MediaTailor

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