Class: Aws::ElasticTranscoder::Types::CreateJobRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elastictranscoder/types.rb

Overview

The ‘CreateJobRequest` structure.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#inputTypes::JobInput

A section of the request body that provides information about the file that is being transcoded.

Returns:



910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 910

class CreateJobRequest < Struct.new(
  :pipeline_id,
  :input,
  :inputs,
  :output,
  :outputs,
  :output_key_prefix,
  :playlists,
  :user_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#inputsArray<Types::JobInput>

A section of the request body that provides information about the files that are being transcoded.

Returns:



910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 910

class CreateJobRequest < Struct.new(
  :pipeline_id,
  :input,
  :inputs,
  :output,
  :outputs,
  :output_key_prefix,
  :playlists,
  :user_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#outputTypes::CreateJobOutput

A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the ‘Outputs` syntax instead of the `Output` syntax.



910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 910

class CreateJobRequest < Struct.new(
  :pipeline_id,
  :input,
  :inputs,
  :output,
  :outputs,
  :output_key_prefix,
  :playlists,
  :user_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#output_key_prefixString

The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.

Returns:

  • (String)


910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 910

class CreateJobRequest < Struct.new(
  :pipeline_id,
  :input,
  :inputs,
  :output,
  :outputs,
  :output_key_prefix,
  :playlists,
  :user_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#outputsArray<Types::CreateJobOutput>

A section of the request body that provides information about the transcoded (target) files. We recommend that you use the ‘Outputs` syntax instead of the `Output` syntax.

Returns:



910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 910

class CreateJobRequest < Struct.new(
  :pipeline_id,
  :input,
  :inputs,
  :output,
  :outputs,
  :output_key_prefix,
  :playlists,
  :user_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#pipeline_idString

The ‘Id` of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

Returns:

  • (String)


910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 910

class CreateJobRequest < Struct.new(
  :pipeline_id,
  :input,
  :inputs,
  :output,
  :outputs,
  :output_key_prefix,
  :playlists,
  :user_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#playlistsArray<Types::CreateJobPlaylist>

If you specify a preset in ‘PresetId` for which the value of `Container` is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

The maximum number of master playlists in a job is 30.

Returns:



910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 910

class CreateJobRequest < Struct.new(
  :pipeline_id,
  :input,
  :inputs,
  :output,
  :outputs,
  :output_key_prefix,
  :playlists,
  :user_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#user_metadataHash<String,String>

User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in ‘key/value` pairs, and you can add up to 10 `key/value` pairs per job. Elastic Transcoder does not guarantee that `key/value` pairs are returned in the same order in which you specify them.

Returns:

  • (Hash<String,String>)


910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/aws-sdk-elastictranscoder/types.rb', line 910

class CreateJobRequest < Struct.new(
  :pipeline_id,
  :input,
  :inputs,
  :output,
  :outputs,
  :output_key_prefix,
  :playlists,
  :user_metadata)
  SENSITIVE = []
  include Aws::Structure
end