NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $mediapackage = Paws->service('MediaPackage');
my $CreateHarvestJobResponse = $mediapackage->CreateHarvestJob(
  EndTime          => 'My__string',
  Id               => 'My__string',
  OriginEndpointId => 'My__string',
  S3Destination    => {
    BucketName  => 'My__string',
    ManifestKey => 'My__string',
    RoleArn     => 'My__string',

  },
  StartTime => 'My__string',

);

# Results:
my $Arn              = $CreateHarvestJobResponse->Arn;
my $ChannelId        = $CreateHarvestJobResponse->ChannelId;
my $CreatedAt        = $CreateHarvestJobResponse->CreatedAt;
my $EndTime          = $CreateHarvestJobResponse->EndTime;
my $Id               = $CreateHarvestJobResponse->Id;
my $OriginEndpointId = $CreateHarvestJobResponse->OriginEndpointId;
my $S3Destination    = $CreateHarvestJobResponse->S3Destination;
my $StartTime        = $CreateHarvestJobResponse->StartTime;
my $Status           = $CreateHarvestJobResponse->Status;

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

ATTRIBUTES

REQUIRED EndTime => Str

The end of the time-window which will be harvested

REQUIRED Id => Str

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

REQUIRED OriginEndpointId => Str

The ID of the OriginEndpoint that the HarvestJob will harvest from. This cannot be changed after the HarvestJob is submitted.

REQUIRED S3Destination => Paws::MediaPackage::S3Destination

REQUIRED StartTime => Str

The start of the time-window which will be harvested

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateHarvestJob 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