Skip to content

/AWS1/CL_MD2=>CREATEHARVESTJOB()

About CreateHarvestJob

Creates a new harvest job to export content from a MediaPackage v2 channel to an S3 bucket.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELGROUPNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name of the channel group containing the channel from which to harvest content.

IV_CHANNELNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name of the channel from which to harvest content.

IV_ORIGINENDPOINTNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

The name of the origin endpoint from which to harvest content.

IO_HARVESTEDMANIFESTS TYPE REF TO /AWS1/CL_MD2HARVESTEDMANIFESTS /AWS1/CL_MD2HARVESTEDMANIFESTS

A list of manifests to be harvested.

IO_SCHEDULECONFIGURATION TYPE REF TO /AWS1/CL_MD2HARVESTERSCHDCONF /AWS1/CL_MD2HARVESTERSCHDCONF

The configuration for when the harvest job should run, including start and end times.

IO_DESTINATION TYPE REF TO /AWS1/CL_MD2DESTINATION /AWS1/CL_MD2DESTINATION

The S3 destination where the harvested content will be placed.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/MD2RESOURCEDESCRIPTION /AWS1/MD2RESOURCEDESCRIPTION

An optional description for the harvest job.

IV_CLIENTTOKEN TYPE /AWS1/MD2IDEMPOTENCYTOKEN /AWS1/MD2IDEMPOTENCYTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

IV_HARVESTJOBNAME TYPE /AWS1/MD2RESOURCENAME /AWS1/MD2RESOURCENAME

A name for the harvest job. This name must be unique within the channel.

IT_TAGS TYPE /AWS1/CL_MD2TAGMAP_W=>TT_TAGMAP TT_TAGMAP

A collection of tags associated with the harvest job.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MD2CREHARVESTJOBRSP /AWS1/CL_MD2CREHARVESTJOBRSP