-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Elastic Transcoder SDK. -- -- Derived from API version 2012-09-25 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- It is recommended to use generic lenses or optics from packages such -- as generic-lens or optics to modify optional fields and -- deconstruct responses. -- -- Generated lenses can be found in -- Amazonka.ElasticTranscoder.Lens and are suitable for use with a -- lens package such as lens or lens-family-core. -- -- See Amazonka.ElasticTranscoder and the AWS documentation -- to get started. @package amazonka-elastictranscoder @version 2.0 module Amazonka.ElasticTranscoder.Types.AudioCodecOptions -- | Options associated with your audio codec. -- -- See: newAudioCodecOptions smart constructor. data AudioCodecOptions AudioCodecOptions' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AudioCodecOptions -- | You can only choose an audio bit depth when you specify flac -- or pcm for the value of Audio:Codec. -- -- The bit depth of a sample is how many bits of information are included -- in the audio samples. The higher the bit depth, the better the audio, -- but the larger the file. -- -- Valid values are 16 and 24. -- -- The most common bit depth is 24. [$sel:bitDepth:AudioCodecOptions'] :: AudioCodecOptions -> Maybe Text -- | You can only choose an audio bit order when you specify pcm -- for the value of Audio:Codec. -- -- The order the bits of a PCM sample are stored in. -- -- The supported value is LittleEndian. [$sel:bitOrder:AudioCodecOptions'] :: AudioCodecOptions -> Maybe Text -- | You can only choose an audio profile when you specify AAC for the -- value of Audio:Codec. -- -- Specify the AAC profile for the output file. Elastic Transcoder -- supports the following profiles: -- -- -- -- All outputs in a Smooth playlist must have the same value for -- Profile. -- -- If you created any presets before AAC profiles were added, Elastic -- Transcoder automatically updated your presets to use AAC-LC. You can -- change the value as required. [$sel:profile:AudioCodecOptions'] :: AudioCodecOptions -> Maybe Text -- | You can only choose whether an audio sample is signed when you specify -- pcm for the value of Audio:Codec. -- -- Whether audio samples are represented with negative and positive -- numbers (signed) or only positive numbers (unsigned). -- -- The supported value is Signed. [$sel:signed:AudioCodecOptions'] :: AudioCodecOptions -> Maybe Text -- | Create a value of AudioCodecOptions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:bitDepth:AudioCodecOptions', -- audioCodecOptions_bitDepth - You can only choose an audio bit -- depth when you specify flac or pcm for the value of -- Audio:Codec. -- -- The bit depth of a sample is how many bits of information are included -- in the audio samples. The higher the bit depth, the better the audio, -- but the larger the file. -- -- Valid values are 16 and 24. -- -- The most common bit depth is 24. -- -- $sel:bitOrder:AudioCodecOptions', -- audioCodecOptions_bitOrder - You can only choose an audio bit -- order when you specify pcm for the value of Audio:Codec. -- -- The order the bits of a PCM sample are stored in. -- -- The supported value is LittleEndian. -- -- $sel:profile:AudioCodecOptions', -- audioCodecOptions_profile - You can only choose an audio -- profile when you specify AAC for the value of Audio:Codec. -- -- Specify the AAC profile for the output file. Elastic Transcoder -- supports the following profiles: -- -- -- -- All outputs in a Smooth playlist must have the same value for -- Profile. -- -- If you created any presets before AAC profiles were added, Elastic -- Transcoder automatically updated your presets to use AAC-LC. You can -- change the value as required. -- -- $sel:signed:AudioCodecOptions', audioCodecOptions_signed -- - You can only choose whether an audio sample is signed when you -- specify pcm for the value of Audio:Codec. -- -- Whether audio samples are represented with negative and positive -- numbers (signed) or only positive numbers (unsigned). -- -- The supported value is Signed. newAudioCodecOptions :: AudioCodecOptions -- | You can only choose an audio bit depth when you specify flac -- or pcm for the value of Audio:Codec. -- -- The bit depth of a sample is how many bits of information are included -- in the audio samples. The higher the bit depth, the better the audio, -- but the larger the file. -- -- Valid values are 16 and 24. -- -- The most common bit depth is 24. audioCodecOptions_bitDepth :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose an audio bit order when you specify pcm -- for the value of Audio:Codec. -- -- The order the bits of a PCM sample are stored in. -- -- The supported value is LittleEndian. audioCodecOptions_bitOrder :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose an audio profile when you specify AAC for the -- value of Audio:Codec. -- -- Specify the AAC profile for the output file. Elastic Transcoder -- supports the following profiles: -- -- -- -- All outputs in a Smooth playlist must have the same value for -- Profile. -- -- If you created any presets before AAC profiles were added, Elastic -- Transcoder automatically updated your presets to use AAC-LC. You can -- change the value as required. audioCodecOptions_profile :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose whether an audio sample is signed when you specify -- pcm for the value of Audio:Codec. -- -- Whether audio samples are represented with negative and positive -- numbers (signed) or only positive numbers (unsigned). -- -- The supported value is Signed. audioCodecOptions_signed :: Lens' AudioCodecOptions (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.AudioCodecOptions.AudioCodecOptions instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.AudioCodecOptions.AudioCodecOptions instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.AudioCodecOptions.AudioCodecOptions instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.AudioCodecOptions.AudioCodecOptions instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.AudioCodecOptions.AudioCodecOptions instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.AudioCodecOptions.AudioCodecOptions instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.AudioCodecOptions.AudioCodecOptions instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.AudioCodecOptions.AudioCodecOptions module Amazonka.ElasticTranscoder.Types.AudioParameters -- | Parameters required for transcoding audio. -- -- See: newAudioParameters smart constructor. data AudioParameters AudioParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AudioCodecOptions -> Maybe Text -> AudioParameters -- | The method of organizing audio channels and tracks. Use -- Audio:Channels to specify the number of channels in your -- output, and Audio:AudioPackingMode to specify the number of -- tracks and their relation to the channels. If you do not specify an -- Audio:AudioPackingMode, Elastic Transcoder uses -- SingleTrack. -- -- The following values are valid: -- -- SingleTrack, OneChannelPerTrack, and -- OneChannelPerTrackWithMosTo8Tracks -- -- When you specify SingleTrack, Elastic Transcoder creates a -- single track for your output. The track can have up to eight channels. -- Use SingleTrack for all non-mxf containers. -- -- The outputs of SingleTrack for a specific channel value and -- inputs are as follows: -- -- -- -- When you specify OneChannelPerTrack, Elastic Transcoder -- creates a new track for every channel in your output. Your output can -- have up to eight single-channel tracks. -- -- The outputs of OneChannelPerTrack for a specific channel -- value and inputs are as follows: -- -- -- -- When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic -- Transcoder creates eight single-channel tracks for your output. All -- tracks that do not contain audio data from an input channel are MOS, -- or Mit Out Sound, tracks. -- -- The outputs of OneChannelPerTrackWithMosTo8Tracks for a -- specific channel value and inputs are as follows: -- -- [$sel:audioPackingMode:AudioParameters'] :: AudioParameters -> Maybe Text -- | The bit rate of the audio stream in the output file, in -- kilobits/second. Enter an integer between 64 and 320, inclusive. [$sel:bitRate:AudioParameters'] :: AudioParameters -> Maybe Text -- | The number of audio channels in the output file. The following values -- are valid: -- -- auto, 0, 1, 2 -- -- One channel carries the information played by a single speaker. For -- example, a stereo track with two channels sends one channel to the -- left speaker, and the other channel to the right speaker. The output -- channels are organized into tracks. If you want Elastic Transcoder to -- automatically detect the number of audio channels in the input file -- and use that value for the output file, select auto. -- -- The output of a specific channel value and inputs are as follows: -- -- -- -- For more information about how Elastic Transcoder organizes channels -- and tracks, see Audio:AudioPackingMode. [$sel:channels:AudioParameters'] :: AudioParameters -> Maybe Text -- | The audio codec for the output file. Valid values include -- aac, flac, mp2, mp3, pcm, -- and vorbis. [$sel:codec:AudioParameters'] :: AudioParameters -> Maybe Text -- | If you specified AAC for Audio:Codec, this is the -- AAC compression profile to use. Valid values include: -- -- auto, AAC-LC, HE-AAC, HE-AACv2 -- -- If you specify auto, Elastic Transcoder chooses a profile -- based on the bit rate of the output file. [$sel:codecOptions:AudioParameters'] :: AudioParameters -> Maybe AudioCodecOptions -- | The sample rate of the audio stream in the output file, in Hertz. -- Valid values include: -- -- auto, 22050, 32000, 44100, -- 48000, 96000 -- -- If you specify auto, Elastic Transcoder automatically detects -- the sample rate. [$sel:sampleRate:AudioParameters'] :: AudioParameters -> Maybe Text -- | Create a value of AudioParameters with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:audioPackingMode:AudioParameters', -- audioParameters_audioPackingMode - The method of organizing -- audio channels and tracks. Use Audio:Channels to specify the -- number of channels in your output, and Audio:AudioPackingMode -- to specify the number of tracks and their relation to the channels. If -- you do not specify an Audio:AudioPackingMode, Elastic -- Transcoder uses SingleTrack. -- -- The following values are valid: -- -- SingleTrack, OneChannelPerTrack, and -- OneChannelPerTrackWithMosTo8Tracks -- -- When you specify SingleTrack, Elastic Transcoder creates a -- single track for your output. The track can have up to eight channels. -- Use SingleTrack for all non-mxf containers. -- -- The outputs of SingleTrack for a specific channel value and -- inputs are as follows: -- -- -- -- When you specify OneChannelPerTrack, Elastic Transcoder -- creates a new track for every channel in your output. Your output can -- have up to eight single-channel tracks. -- -- The outputs of OneChannelPerTrack for a specific channel -- value and inputs are as follows: -- -- -- -- When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic -- Transcoder creates eight single-channel tracks for your output. All -- tracks that do not contain audio data from an input channel are MOS, -- or Mit Out Sound, tracks. -- -- The outputs of OneChannelPerTrackWithMosTo8Tracks for a -- specific channel value and inputs are as follows: -- -- -- -- $sel:bitRate:AudioParameters', audioParameters_bitRate - -- The bit rate of the audio stream in the output file, in -- kilobits/second. Enter an integer between 64 and 320, inclusive. -- -- $sel:channels:AudioParameters', audioParameters_channels -- - The number of audio channels in the output file. The following -- values are valid: -- -- auto, 0, 1, 2 -- -- One channel carries the information played by a single speaker. For -- example, a stereo track with two channels sends one channel to the -- left speaker, and the other channel to the right speaker. The output -- channels are organized into tracks. If you want Elastic Transcoder to -- automatically detect the number of audio channels in the input file -- and use that value for the output file, select auto. -- -- The output of a specific channel value and inputs are as follows: -- -- -- -- For more information about how Elastic Transcoder organizes channels -- and tracks, see Audio:AudioPackingMode. -- -- $sel:codec:AudioParameters', audioParameters_codec - The -- audio codec for the output file. Valid values include aac, -- flac, mp2, mp3, pcm, and -- vorbis. -- -- $sel:codecOptions:AudioParameters', -- audioParameters_codecOptions - If you specified AAC -- for Audio:Codec, this is the AAC compression profile -- to use. Valid values include: -- -- auto, AAC-LC, HE-AAC, HE-AACv2 -- -- If you specify auto, Elastic Transcoder chooses a profile -- based on the bit rate of the output file. -- -- $sel:sampleRate:AudioParameters', -- audioParameters_sampleRate - The sample rate of the audio -- stream in the output file, in Hertz. Valid values include: -- -- auto, 22050, 32000, 44100, -- 48000, 96000 -- -- If you specify auto, Elastic Transcoder automatically detects -- the sample rate. newAudioParameters :: AudioParameters -- | The method of organizing audio channels and tracks. Use -- Audio:Channels to specify the number of channels in your -- output, and Audio:AudioPackingMode to specify the number of -- tracks and their relation to the channels. If you do not specify an -- Audio:AudioPackingMode, Elastic Transcoder uses -- SingleTrack. -- -- The following values are valid: -- -- SingleTrack, OneChannelPerTrack, and -- OneChannelPerTrackWithMosTo8Tracks -- -- When you specify SingleTrack, Elastic Transcoder creates a -- single track for your output. The track can have up to eight channels. -- Use SingleTrack for all non-mxf containers. -- -- The outputs of SingleTrack for a specific channel value and -- inputs are as follows: -- -- -- -- When you specify OneChannelPerTrack, Elastic Transcoder -- creates a new track for every channel in your output. Your output can -- have up to eight single-channel tracks. -- -- The outputs of OneChannelPerTrack for a specific channel -- value and inputs are as follows: -- -- -- -- When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic -- Transcoder creates eight single-channel tracks for your output. All -- tracks that do not contain audio data from an input channel are MOS, -- or Mit Out Sound, tracks. -- -- The outputs of OneChannelPerTrackWithMosTo8Tracks for a -- specific channel value and inputs are as follows: -- -- audioParameters_audioPackingMode :: Lens' AudioParameters (Maybe Text) -- | The bit rate of the audio stream in the output file, in -- kilobits/second. Enter an integer between 64 and 320, inclusive. audioParameters_bitRate :: Lens' AudioParameters (Maybe Text) -- | The number of audio channels in the output file. The following values -- are valid: -- -- auto, 0, 1, 2 -- -- One channel carries the information played by a single speaker. For -- example, a stereo track with two channels sends one channel to the -- left speaker, and the other channel to the right speaker. The output -- channels are organized into tracks. If you want Elastic Transcoder to -- automatically detect the number of audio channels in the input file -- and use that value for the output file, select auto. -- -- The output of a specific channel value and inputs are as follows: -- -- -- -- For more information about how Elastic Transcoder organizes channels -- and tracks, see Audio:AudioPackingMode. audioParameters_channels :: Lens' AudioParameters (Maybe Text) -- | The audio codec for the output file. Valid values include -- aac, flac, mp2, mp3, pcm, -- and vorbis. audioParameters_codec :: Lens' AudioParameters (Maybe Text) -- | If you specified AAC for Audio:Codec, this is the -- AAC compression profile to use. Valid values include: -- -- auto, AAC-LC, HE-AAC, HE-AACv2 -- -- If you specify auto, Elastic Transcoder chooses a profile -- based on the bit rate of the output file. audioParameters_codecOptions :: Lens' AudioParameters (Maybe AudioCodecOptions) -- | The sample rate of the audio stream in the output file, in Hertz. -- Valid values include: -- -- auto, 22050, 32000, 44100, -- 48000, 96000 -- -- If you specify auto, Elastic Transcoder automatically detects -- the sample rate. audioParameters_sampleRate :: Lens' AudioParameters (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.AudioParameters.AudioParameters instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.AudioParameters.AudioParameters instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.AudioParameters.AudioParameters instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.AudioParameters.AudioParameters instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.AudioParameters.AudioParameters instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.AudioParameters.AudioParameters instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.AudioParameters.AudioParameters instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.AudioParameters.AudioParameters module Amazonka.ElasticTranscoder.Types.DetectedProperties -- | The detected properties of the input file. Elastic Transcoder -- identifies these values from the input file. -- -- See: newDetectedProperties smart constructor. data DetectedProperties DetectedProperties' :: Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Int -> Maybe Int -> DetectedProperties -- | The detected duration of the input file, in milliseconds. [$sel:durationMillis:DetectedProperties'] :: DetectedProperties -> Maybe Integer -- | The detected file size of the input file, in bytes. [$sel:fileSize:DetectedProperties'] :: DetectedProperties -> Maybe Integer -- | The detected frame rate of the input file, in frames per second. [$sel:frameRate:DetectedProperties'] :: DetectedProperties -> Maybe Text -- | The detected height of the input file, in pixels. [$sel:height:DetectedProperties'] :: DetectedProperties -> Maybe Int -- | The detected width of the input file, in pixels. [$sel:width:DetectedProperties'] :: DetectedProperties -> Maybe Int -- | Create a value of DetectedProperties with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:durationMillis:DetectedProperties', -- detectedProperties_durationMillis - The detected duration of -- the input file, in milliseconds. -- -- $sel:fileSize:DetectedProperties', -- detectedProperties_fileSize - The detected file size of the -- input file, in bytes. -- -- $sel:frameRate:DetectedProperties', -- detectedProperties_frameRate - The detected frame rate of the -- input file, in frames per second. -- -- $sel:height:DetectedProperties', -- detectedProperties_height - The detected height of the input -- file, in pixels. -- -- $sel:width:DetectedProperties', detectedProperties_width -- - The detected width of the input file, in pixels. newDetectedProperties :: DetectedProperties -- | The detected duration of the input file, in milliseconds. detectedProperties_durationMillis :: Lens' DetectedProperties (Maybe Integer) -- | The detected file size of the input file, in bytes. detectedProperties_fileSize :: Lens' DetectedProperties (Maybe Integer) -- | The detected frame rate of the input file, in frames per second. detectedProperties_frameRate :: Lens' DetectedProperties (Maybe Text) -- | The detected height of the input file, in pixels. detectedProperties_height :: Lens' DetectedProperties (Maybe Int) -- | The detected width of the input file, in pixels. detectedProperties_width :: Lens' DetectedProperties (Maybe Int) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.DetectedProperties.DetectedProperties instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.DetectedProperties.DetectedProperties instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.DetectedProperties.DetectedProperties instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.DetectedProperties.DetectedProperties instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.DetectedProperties.DetectedProperties instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.DetectedProperties.DetectedProperties instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.DetectedProperties.DetectedProperties instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.DetectedProperties.DetectedProperties module Amazonka.ElasticTranscoder.Types.Encryption -- | The encryption settings, if any, that are used for decrypting your -- input files or encrypting your output files. If your input file is -- encrypted, you must specify the mode that Elastic Transcoder uses to -- decrypt your file, otherwise you must specify the mode you want -- Elastic Transcoder to use to encrypt your output files. -- -- See: newEncryption smart constructor. data Encryption Encryption' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Encryption -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you used to encrypt your input -- files or that you want Elastic Transcoder to use to encrypt your -- output files. The initialization vector must be base64-encoded, and it -- must be exactly 16 bytes long before being base64-encoded. [$sel:initializationVector:Encryption'] :: Encryption -> Maybe Text -- | The data encryption key that you want Elastic Transcoder to use to -- encrypt your output file, or that was used to encrypt your input file. -- The key must be base64-encoded and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using the Amazon Key Management -- Service. [$sel:key:Encryption'] :: Encryption -> Maybe Text -- | The MD5 digest of the key that you used to encrypt your input file, or -- that you want Elastic Transcoder to use to encrypt your output file. -- Elastic Transcoder uses the key digest as a checksum to make sure your -- key was not corrupted in transit. The key MD5 must be base64-encoded, -- and it must be exactly 16 bytes long before being base64-encoded. [$sel:keyMd5:Encryption'] :: Encryption -> Maybe Text -- | The specific server-side encryption mode that you want Elastic -- Transcoder to use when decrypting your input files or encrypting your -- output files. Elastic Transcoder supports the following options: -- -- -- -- For all three AES options, you must provide the following settings, -- which must be base64-encoded: -- -- -- -- For the AES modes, your private encryption keys and your unencrypted -- data are never stored by AWS; therefore, it is important that you -- safely manage your encryption keys. If you lose them, you won't be -- able to unencrypt your data. [$sel:mode:Encryption'] :: Encryption -> Maybe Text -- | Create a value of Encryption with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:initializationVector:Encryption', -- encryption_initializationVector - The series of random bits -- created by a random bit generator, unique for every encryption -- operation, that you used to encrypt your input files or that you want -- Elastic Transcoder to use to encrypt your output files. The -- initialization vector must be base64-encoded, and it must be exactly -- 16 bytes long before being base64-encoded. -- -- $sel:key:Encryption', encryption_key - The data -- encryption key that you want Elastic Transcoder to use to encrypt your -- output file, or that was used to encrypt your input file. The key must -- be base64-encoded and it must be one of the following bit lengths -- before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using the Amazon Key Management -- Service. -- -- $sel:keyMd5:Encryption', encryption_keyMd5 - The MD5 -- digest of the key that you used to encrypt your input file, or that -- you want Elastic Transcoder to use to encrypt your output file. -- Elastic Transcoder uses the key digest as a checksum to make sure your -- key was not corrupted in transit. The key MD5 must be base64-encoded, -- and it must be exactly 16 bytes long before being base64-encoded. -- -- $sel:mode:Encryption', encryption_mode - The specific -- server-side encryption mode that you want Elastic Transcoder to use -- when decrypting your input files or encrypting your output files. -- Elastic Transcoder supports the following options: -- -- -- -- For all three AES options, you must provide the following settings, -- which must be base64-encoded: -- -- -- -- For the AES modes, your private encryption keys and your unencrypted -- data are never stored by AWS; therefore, it is important that you -- safely manage your encryption keys. If you lose them, you won't be -- able to unencrypt your data. newEncryption :: Encryption -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you used to encrypt your input -- files or that you want Elastic Transcoder to use to encrypt your -- output files. The initialization vector must be base64-encoded, and it -- must be exactly 16 bytes long before being base64-encoded. encryption_initializationVector :: Lens' Encryption (Maybe Text) -- | The data encryption key that you want Elastic Transcoder to use to -- encrypt your output file, or that was used to encrypt your input file. -- The key must be base64-encoded and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using the Amazon Key Management -- Service. encryption_key :: Lens' Encryption (Maybe Text) -- | The MD5 digest of the key that you used to encrypt your input file, or -- that you want Elastic Transcoder to use to encrypt your output file. -- Elastic Transcoder uses the key digest as a checksum to make sure your -- key was not corrupted in transit. The key MD5 must be base64-encoded, -- and it must be exactly 16 bytes long before being base64-encoded. encryption_keyMd5 :: Lens' Encryption (Maybe Text) -- | The specific server-side encryption mode that you want Elastic -- Transcoder to use when decrypting your input files or encrypting your -- output files. Elastic Transcoder supports the following options: -- -- -- -- For all three AES options, you must provide the following settings, -- which must be base64-encoded: -- -- -- -- For the AES modes, your private encryption keys and your unencrypted -- data are never stored by AWS; therefore, it is important that you -- safely manage your encryption keys. If you lose them, you won't be -- able to unencrypt your data. encryption_mode :: Lens' Encryption (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Encryption.Encryption instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Encryption.Encryption instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Encryption.Encryption instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Encryption.Encryption instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Encryption.Encryption instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Encryption.Encryption instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Encryption.Encryption instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.Encryption.Encryption module Amazonka.ElasticTranscoder.Types.CaptionSource -- | A source file for the input sidecar captions used during the -- transcoding process. -- -- See: newCaptionSource smart constructor. data CaptionSource CaptionSource' :: Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CaptionSource -- | The encryption settings, if any, that Elastic Transcoder needs to -- decyrpt your caption sources, or that you want Elastic Transcoder to -- apply to your caption sources. [$sel:encryption:CaptionSource'] :: CaptionSource -> Maybe Encryption -- | The name of the sidecar caption file that you want Elastic Transcoder -- to include in the output file. [$sel:key:CaptionSource'] :: CaptionSource -> Maybe Text -- | The label of the caption shown in the player when choosing a language. -- We recommend that you put the caption language name here, in the -- language of the captions. [$sel:label:CaptionSource'] :: CaptionSource -> Maybe Text -- | A string that specifies the language of the caption. If you specified -- multiple inputs with captions, the caption language must match in -- order to be included in the output. Specify this as one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. [$sel:language:CaptionSource'] :: CaptionSource -> Maybe Text -- | For clip generation or captions that do not start at the same time as -- the associated video file, the TimeOffset tells Elastic -- Transcoder how much of the video to encode before including captions. -- -- Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. [$sel:timeOffset:CaptionSource'] :: CaptionSource -> Maybe Text -- | Create a value of CaptionSource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:CaptionSource', captionSource_encryption -- - The encryption settings, if any, that Elastic Transcoder needs to -- decyrpt your caption sources, or that you want Elastic Transcoder to -- apply to your caption sources. -- -- CaptionSource, captionSource_key - The name of the -- sidecar caption file that you want Elastic Transcoder to include in -- the output file. -- -- $sel:label:CaptionSource', captionSource_label - The -- label of the caption shown in the player when choosing a language. We -- recommend that you put the caption language name here, in the language -- of the captions. -- -- $sel:language:CaptionSource', captionSource_language - A -- string that specifies the language of the caption. If you specified -- multiple inputs with captions, the caption language must match in -- order to be included in the output. Specify this as one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. -- -- $sel:timeOffset:CaptionSource', captionSource_timeOffset -- - For clip generation or captions that do not start at the same time -- as the associated video file, the TimeOffset tells Elastic -- Transcoder how much of the video to encode before including captions. -- -- Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. newCaptionSource :: CaptionSource -- | The encryption settings, if any, that Elastic Transcoder needs to -- decyrpt your caption sources, or that you want Elastic Transcoder to -- apply to your caption sources. captionSource_encryption :: Lens' CaptionSource (Maybe Encryption) -- | The name of the sidecar caption file that you want Elastic Transcoder -- to include in the output file. captionSource_key :: Lens' CaptionSource (Maybe Text) -- | The label of the caption shown in the player when choosing a language. -- We recommend that you put the caption language name here, in the -- language of the captions. captionSource_label :: Lens' CaptionSource (Maybe Text) -- | A string that specifies the language of the caption. If you specified -- multiple inputs with captions, the caption language must match in -- order to be included in the output. Specify this as one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. captionSource_language :: Lens' CaptionSource (Maybe Text) -- | For clip generation or captions that do not start at the same time as -- the associated video file, the TimeOffset tells Elastic -- Transcoder how much of the video to encode before including captions. -- -- Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. captionSource_timeOffset :: Lens' CaptionSource (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.CaptionSource.CaptionSource instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.CaptionSource.CaptionSource instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.CaptionSource.CaptionSource instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.CaptionSource.CaptionSource instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.CaptionSource.CaptionSource instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.CaptionSource.CaptionSource instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.CaptionSource.CaptionSource instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.CaptionSource.CaptionSource module Amazonka.ElasticTranscoder.Types.CaptionFormat -- | The file format of the output captions. If you leave this value blank, -- Elastic Transcoder returns an error. -- -- See: newCaptionFormat smart constructor. data CaptionFormat CaptionFormat' :: Maybe Encryption -> Maybe Text -> Maybe Text -> CaptionFormat -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. [$sel:encryption:CaptionFormat'] :: CaptionFormat -> Maybe Encryption -- | The format you specify determines whether Elastic Transcoder generates -- an embedded or sidecar caption for this output. -- -- [$sel:format:CaptionFormat'] :: CaptionFormat -> Maybe Text -- | The prefix for caption filenames, in the form -- description-{language}, where: -- -- -- -- If you don't include {language} in the file name pattern, -- Elastic Transcoder automatically appends "{language}" to the -- value that you specify for the description. In addition, Elastic -- Transcoder automatically appends the count to the end of the segment -- files. -- -- For example, suppose you're transcoding into srt format. When you -- enter "Sydney-{language}-sunrise", and the language of the captions is -- English (en), the name of the first caption file is be -- Sydney-en-sunrise00000.srt. [$sel:pattern':CaptionFormat'] :: CaptionFormat -> Maybe Text -- | Create a value of CaptionFormat with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:CaptionFormat', captionFormat_encryption -- - The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. -- -- $sel:format:CaptionFormat', captionFormat_format - The -- format you specify determines whether Elastic Transcoder generates an -- embedded or sidecar caption for this output. -- -- -- -- $sel:pattern':CaptionFormat', captionFormat_pattern - -- The prefix for caption filenames, in the form -- description-{language}, where: -- -- -- -- If you don't include {language} in the file name pattern, -- Elastic Transcoder automatically appends "{language}" to the -- value that you specify for the description. In addition, Elastic -- Transcoder automatically appends the count to the end of the segment -- files. -- -- For example, suppose you're transcoding into srt format. When you -- enter "Sydney-{language}-sunrise", and the language of the captions is -- English (en), the name of the first caption file is be -- Sydney-en-sunrise00000.srt. newCaptionFormat :: CaptionFormat -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. captionFormat_encryption :: Lens' CaptionFormat (Maybe Encryption) -- | The format you specify determines whether Elastic Transcoder generates -- an embedded or sidecar caption for this output. -- -- captionFormat_format :: Lens' CaptionFormat (Maybe Text) -- | The prefix for caption filenames, in the form -- description-{language}, where: -- -- -- -- If you don't include {language} in the file name pattern, -- Elastic Transcoder automatically appends "{language}" to the -- value that you specify for the description. In addition, Elastic -- Transcoder automatically appends the count to the end of the segment -- files. -- -- For example, suppose you're transcoding into srt format. When you -- enter "Sydney-{language}-sunrise", and the language of the captions is -- English (en), the name of the first caption file is be -- Sydney-en-sunrise00000.srt. captionFormat_pattern :: Lens' CaptionFormat (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.CaptionFormat.CaptionFormat instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.CaptionFormat.CaptionFormat instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.CaptionFormat.CaptionFormat instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.CaptionFormat.CaptionFormat instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.CaptionFormat.CaptionFormat instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.CaptionFormat.CaptionFormat instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.CaptionFormat.CaptionFormat instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.CaptionFormat.CaptionFormat module Amazonka.ElasticTranscoder.Types.Captions -- | The captions to be created, if any. -- -- See: newCaptions smart constructor. data Captions Captions' :: Maybe [CaptionFormat] -> Maybe [CaptionSource] -> Maybe Text -> Captions -- | The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. [$sel:captionFormats:Captions'] :: Captions -> Maybe [CaptionFormat] -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. [$sel:captionSources:Captions'] :: Captions -> Maybe [CaptionSource] -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. [$sel:mergePolicy:Captions'] :: Captions -> Maybe Text -- | Create a value of Captions with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:captionFormats:Captions', captions_captionFormats - -- The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. -- -- $sel:captionSources:Captions', captions_captionSources - -- Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. -- -- $sel:mergePolicy:Captions', captions_mergePolicy - A -- policy that determines how Elastic Transcoder handles the existence of -- multiple captions. -- -- -- -- MergePolicy cannot be null. newCaptions :: Captions -- | The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. captions_captionFormats :: Lens' Captions (Maybe [CaptionFormat]) -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. captions_captionSources :: Lens' Captions (Maybe [CaptionSource]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. captions_mergePolicy :: Lens' Captions (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Captions.Captions instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Captions.Captions instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Captions.Captions instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Captions.Captions instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Captions.Captions instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Captions.Captions instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Captions.Captions instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.Captions.Captions module Amazonka.ElasticTranscoder.Types.Artwork -- | The file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. -- -- To remove artwork or leave the artwork empty, you can either set -- Artwork to null, or set the Merge Policy to -- "Replace" and use an empty Artwork array. -- -- To pass through existing artwork unchanged, set the Merge -- Policy to "Prepend", "Append", or "Fallback", and use an empty -- Artwork array. -- -- See: newArtwork smart constructor. data Artwork Artwork' :: Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Artwork -- | The format of album art, if any. Valid formats are .jpg and -- .png. [$sel:albumArtFormat:Artwork'] :: Artwork -> Maybe Text -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your artwork. [$sel:encryption:Artwork'] :: Artwork -> Maybe Encryption -- | The name of the file to be used as album art. To determine which -- Amazon S3 bucket contains the specified file, Elastic Transcoder -- checks the pipeline specified by PipelineId; the -- InputBucket object in that pipeline identifies the bucket. -- -- If the file name includes a prefix, for example, -- cooking/pie.jpg, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. [$sel:inputKey:Artwork'] :: Artwork -> Maybe Text -- | The maximum height of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 3072, inclusive. [$sel:maxHeight:Artwork'] :: Artwork -> Maybe Text -- | The maximum width of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 4096, inclusive. [$sel:maxWidth:Artwork'] :: Artwork -> Maybe Text -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add white bars to the top and bottom and/or left and -- right sides of the output album art to make the total size of the -- output art match the values that you specified for MaxWidth -- and MaxHeight. [$sel:paddingPolicy:Artwork'] :: Artwork -> Maybe Text -- | Specify one of the following values to control scaling of the output -- album art: -- -- [$sel:sizingPolicy:Artwork'] :: Artwork -> Maybe Text -- | Create a value of Artwork with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArtFormat:Artwork', artwork_albumArtFormat - -- The format of album art, if any. Valid formats are .jpg and -- .png. -- -- $sel:encryption:Artwork', artwork_encryption - The -- encryption settings, if any, that you want Elastic Transcoder to apply -- to your artwork. -- -- $sel:inputKey:Artwork', artwork_inputKey - The name of -- the file to be used as album art. To determine which Amazon S3 bucket -- contains the specified file, Elastic Transcoder checks the pipeline -- specified by PipelineId; the InputBucket object in -- that pipeline identifies the bucket. -- -- If the file name includes a prefix, for example, -- cooking/pie.jpg, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. -- -- $sel:maxHeight:Artwork', artwork_maxHeight - The maximum -- height of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 3072, inclusive. -- -- $sel:maxWidth:Artwork', artwork_maxWidth - The maximum -- width of the output album art in pixels. If you specify auto, -- Elastic Transcoder uses 600 as the default value. If you specify a -- numeric value, enter an even integer between 32 and 4096, inclusive. -- -- $sel:paddingPolicy:Artwork', artwork_paddingPolicy - -- When you set PaddingPolicy to Pad, Elastic -- Transcoder may add white bars to the top and bottom and/or left and -- right sides of the output album art to make the total size of the -- output art match the values that you specified for MaxWidth -- and MaxHeight. -- -- $sel:sizingPolicy:Artwork', artwork_sizingPolicy - -- Specify one of the following values to control scaling of the output -- album art: -- -- newArtwork :: Artwork -- | The format of album art, if any. Valid formats are .jpg and -- .png. artwork_albumArtFormat :: Lens' Artwork (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your artwork. artwork_encryption :: Lens' Artwork (Maybe Encryption) -- | The name of the file to be used as album art. To determine which -- Amazon S3 bucket contains the specified file, Elastic Transcoder -- checks the pipeline specified by PipelineId; the -- InputBucket object in that pipeline identifies the bucket. -- -- If the file name includes a prefix, for example, -- cooking/pie.jpg, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. artwork_inputKey :: Lens' Artwork (Maybe Text) -- | The maximum height of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 3072, inclusive. artwork_maxHeight :: Lens' Artwork (Maybe Text) -- | The maximum width of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 4096, inclusive. artwork_maxWidth :: Lens' Artwork (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add white bars to the top and bottom and/or left and -- right sides of the output album art to make the total size of the -- output art match the values that you specified for MaxWidth -- and MaxHeight. artwork_paddingPolicy :: Lens' Artwork (Maybe Text) -- | Specify one of the following values to control scaling of the output -- album art: -- -- artwork_sizingPolicy :: Lens' Artwork (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Artwork.Artwork instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Artwork.Artwork instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Artwork.Artwork instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Artwork.Artwork instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Artwork.Artwork instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Artwork.Artwork instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Artwork.Artwork instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.Artwork.Artwork module Amazonka.ElasticTranscoder.Types.HlsContentProtection -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to your output files. -- -- See: newHlsContentProtection smart constructor. data HlsContentProtection HlsContentProtection' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> HlsContentProtection -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your output files. The initialization vector must be -- base64-encoded, and it must be exactly 16 bytes before being -- base64-encoded. [$sel:initializationVector:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | If you want Elastic Transcoder to generate a key for you, leave this -- field blank. -- -- If you choose to supply your own key, you must encrypt the key by -- using AWS KMS. The key must be base64-encoded, and it must be one of -- the following bit lengths before being base64-encoded: -- -- 128, 192, or 256. [$sel:key:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The MD5 digest of the key that you want Elastic Transcoder to use to -- encrypt your output file, and that you want Elastic Transcoder to use -- as a checksum to make sure your key was not corrupted in transit. The -- key MD5 must be base64-encoded, and it must be exactly 16 bytes before -- being base64- encoded. [$sel:keyMd5:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | Specify whether you want Elastic Transcoder to write your HLS license -- key to an Amazon S3 bucket. If you choose -- WithVariantPlaylists, LicenseAcquisitionUrl must be -- left blank and Elastic Transcoder writes your data key into the same -- bucket as the associated playlist. [$sel:keyStoragePolicy:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | The location of the license key required to decrypt your HLS playlist. -- The URL must be an absolute path, and is referenced in the URI -- attribute of the EXT-X-KEY metadata tag in the playlist file. [$sel:licenseAcquisitionUrl:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | The content protection method for your output. The only valid value -- is: aes-128. -- -- This value is written into the method attribute of the -- EXT-X-KEY metadata tag in the output playlist. [$sel:method:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | Create a value of HlsContentProtection with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:initializationVector:HlsContentProtection', -- hlsContentProtection_initializationVector - If Elastic -- Transcoder is generating your key for you, you must leave this field -- blank. -- -- The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your output files. The initialization vector must be -- base64-encoded, and it must be exactly 16 bytes before being -- base64-encoded. -- -- $sel:key:HlsContentProtection', hlsContentProtection_key -- - If you want Elastic Transcoder to generate a key for you, leave this -- field blank. -- -- If you choose to supply your own key, you must encrypt the key by -- using AWS KMS. The key must be base64-encoded, and it must be one of -- the following bit lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- $sel:keyMd5:HlsContentProtection', -- hlsContentProtection_keyMd5 - If Elastic Transcoder is -- generating your key for you, you must leave this field blank. -- -- The MD5 digest of the key that you want Elastic Transcoder to use to -- encrypt your output file, and that you want Elastic Transcoder to use -- as a checksum to make sure your key was not corrupted in transit. The -- key MD5 must be base64-encoded, and it must be exactly 16 bytes before -- being base64- encoded. -- -- $sel:keyStoragePolicy:HlsContentProtection', -- hlsContentProtection_keyStoragePolicy - Specify whether you -- want Elastic Transcoder to write your HLS license key to an Amazon S3 -- bucket. If you choose WithVariantPlaylists, -- LicenseAcquisitionUrl must be left blank and Elastic -- Transcoder writes your data key into the same bucket as the associated -- playlist. -- -- $sel:licenseAcquisitionUrl:HlsContentProtection', -- hlsContentProtection_licenseAcquisitionUrl - The location of -- the license key required to decrypt your HLS playlist. The URL must be -- an absolute path, and is referenced in the URI attribute of the -- EXT-X-KEY metadata tag in the playlist file. -- -- $sel:method:HlsContentProtection', -- hlsContentProtection_method - The content protection method for -- your output. The only valid value is: aes-128. -- -- This value is written into the method attribute of the -- EXT-X-KEY metadata tag in the output playlist. newHlsContentProtection :: HlsContentProtection -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your output files. The initialization vector must be -- base64-encoded, and it must be exactly 16 bytes before being -- base64-encoded. hlsContentProtection_initializationVector :: Lens' HlsContentProtection (Maybe Text) -- | If you want Elastic Transcoder to generate a key for you, leave this -- field blank. -- -- If you choose to supply your own key, you must encrypt the key by -- using AWS KMS. The key must be base64-encoded, and it must be one of -- the following bit lengths before being base64-encoded: -- -- 128, 192, or 256. hlsContentProtection_key :: Lens' HlsContentProtection (Maybe Text) -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The MD5 digest of the key that you want Elastic Transcoder to use to -- encrypt your output file, and that you want Elastic Transcoder to use -- as a checksum to make sure your key was not corrupted in transit. The -- key MD5 must be base64-encoded, and it must be exactly 16 bytes before -- being base64- encoded. hlsContentProtection_keyMd5 :: Lens' HlsContentProtection (Maybe Text) -- | Specify whether you want Elastic Transcoder to write your HLS license -- key to an Amazon S3 bucket. If you choose -- WithVariantPlaylists, LicenseAcquisitionUrl must be -- left blank and Elastic Transcoder writes your data key into the same -- bucket as the associated playlist. hlsContentProtection_keyStoragePolicy :: Lens' HlsContentProtection (Maybe Text) -- | The location of the license key required to decrypt your HLS playlist. -- The URL must be an absolute path, and is referenced in the URI -- attribute of the EXT-X-KEY metadata tag in the playlist file. hlsContentProtection_licenseAcquisitionUrl :: Lens' HlsContentProtection (Maybe Text) -- | The content protection method for your output. The only valid value -- is: aes-128. -- -- This value is written into the method attribute of the -- EXT-X-KEY metadata tag in the output playlist. hlsContentProtection_method :: Lens' HlsContentProtection (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.HlsContentProtection.HlsContentProtection instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.HlsContentProtection.HlsContentProtection instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.HlsContentProtection.HlsContentProtection instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.HlsContentProtection.HlsContentProtection instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.HlsContentProtection.HlsContentProtection instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.HlsContentProtection.HlsContentProtection instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.HlsContentProtection.HlsContentProtection instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.HlsContentProtection.HlsContentProtection module Amazonka.ElasticTranscoder.Types.InputCaptions -- | The captions to be created, if any. -- -- See: newInputCaptions smart constructor. data InputCaptions InputCaptions' :: Maybe [CaptionSource] -> Maybe Text -> InputCaptions -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. [$sel:captionSources:InputCaptions'] :: InputCaptions -> Maybe [CaptionSource] -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. [$sel:mergePolicy:InputCaptions'] :: InputCaptions -> Maybe Text -- | Create a value of InputCaptions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:captionSources:InputCaptions', -- inputCaptions_captionSources - Source files for the input -- sidecar captions used during the transcoding process. To omit all -- sidecar captions, leave CaptionSources blank. -- -- $sel:mergePolicy:InputCaptions', -- inputCaptions_mergePolicy - A policy that determines how -- Elastic Transcoder handles the existence of multiple captions. -- -- -- -- MergePolicy cannot be null. newInputCaptions :: InputCaptions -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. inputCaptions_captionSources :: Lens' InputCaptions (Maybe [CaptionSource]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. inputCaptions_mergePolicy :: Lens' InputCaptions (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.InputCaptions.InputCaptions instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.InputCaptions.InputCaptions instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.InputCaptions.InputCaptions instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.InputCaptions.InputCaptions instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.InputCaptions.InputCaptions instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.InputCaptions.InputCaptions instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.InputCaptions.InputCaptions instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.InputCaptions.InputCaptions module Amazonka.ElasticTranscoder.Types.JobAlbumArt -- | The .jpg or .png file associated with an audio file. -- -- See: newJobAlbumArt smart constructor. data JobAlbumArt JobAlbumArt' :: Maybe [Artwork] -> Maybe Text -> JobAlbumArt -- | The file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. Valid formats are -- .jpg and .png [$sel:artwork:JobAlbumArt'] :: JobAlbumArt -> Maybe [Artwork] -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple album artwork files. -- -- [$sel:mergePolicy:JobAlbumArt'] :: JobAlbumArt -> Maybe Text -- | Create a value of JobAlbumArt with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artwork:JobAlbumArt', jobAlbumArt_artwork - The -- file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. Valid formats are -- .jpg and .png -- -- $sel:mergePolicy:JobAlbumArt', jobAlbumArt_mergePolicy - -- A policy that determines how Elastic Transcoder handles the existence -- of multiple album artwork files. -- -- newJobAlbumArt :: JobAlbumArt -- | The file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. Valid formats are -- .jpg and .png jobAlbumArt_artwork :: Lens' JobAlbumArt (Maybe [Artwork]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple album artwork files. -- -- jobAlbumArt_mergePolicy :: Lens' JobAlbumArt (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.JobAlbumArt.JobAlbumArt instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.JobAlbumArt.JobAlbumArt instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.JobAlbumArt.JobAlbumArt instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.JobAlbumArt.JobAlbumArt instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.JobAlbumArt.JobAlbumArt instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.JobAlbumArt.JobAlbumArt instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.JobAlbumArt.JobAlbumArt instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.JobAlbumArt.JobAlbumArt module Amazonka.ElasticTranscoder.Types.JobWatermark -- | Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- See: newJobWatermark smart constructor. data JobWatermark JobWatermark' :: Maybe Encryption -> Maybe Text -> Maybe Text -> JobWatermark -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. [$sel:encryption:JobWatermark'] :: JobWatermark -> Maybe Encryption -- | The name of the .png or .jpg file that you want to use for the -- watermark. To determine which Amazon S3 bucket contains the specified -- file, Elastic Transcoder checks the pipeline specified by -- Pipeline; the Input Bucket object in that pipeline -- identifies the bucket. -- -- If the file name includes a prefix, for example, -- logos/128x64.png, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. [$sel:inputKey:JobWatermark'] :: JobWatermark -> Maybe Text -- | The ID of the watermark settings that Elastic Transcoder uses to add -- watermarks to the video during transcoding. The settings are in the -- preset specified by Preset for the current output. In that preset, the -- value of Watermarks Id tells Elastic Transcoder which settings to use. [$sel:presetWatermarkId:JobWatermark'] :: JobWatermark -> Maybe Text -- | Create a value of JobWatermark with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:JobWatermark', jobWatermark_encryption - -- The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. -- -- $sel:inputKey:JobWatermark', jobWatermark_inputKey - The -- name of the .png or .jpg file that you want to use for the watermark. -- To determine which Amazon S3 bucket contains the specified file, -- Elastic Transcoder checks the pipeline specified by Pipeline; -- the Input Bucket object in that pipeline identifies the -- bucket. -- -- If the file name includes a prefix, for example, -- logos/128x64.png, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. -- -- $sel:presetWatermarkId:JobWatermark', -- jobWatermark_presetWatermarkId - The ID of the watermark -- settings that Elastic Transcoder uses to add watermarks to the video -- during transcoding. The settings are in the preset specified by Preset -- for the current output. In that preset, the value of Watermarks Id -- tells Elastic Transcoder which settings to use. newJobWatermark :: JobWatermark -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. jobWatermark_encryption :: Lens' JobWatermark (Maybe Encryption) -- | The name of the .png or .jpg file that you want to use for the -- watermark. To determine which Amazon S3 bucket contains the specified -- file, Elastic Transcoder checks the pipeline specified by -- Pipeline; the Input Bucket object in that pipeline -- identifies the bucket. -- -- If the file name includes a prefix, for example, -- logos/128x64.png, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. jobWatermark_inputKey :: Lens' JobWatermark (Maybe Text) -- | The ID of the watermark settings that Elastic Transcoder uses to add -- watermarks to the video during transcoding. The settings are in the -- preset specified by Preset for the current output. In that preset, the -- value of Watermarks Id tells Elastic Transcoder which settings to use. jobWatermark_presetWatermarkId :: Lens' JobWatermark (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.JobWatermark.JobWatermark instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.JobWatermark.JobWatermark instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.JobWatermark.JobWatermark instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.JobWatermark.JobWatermark instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.JobWatermark.JobWatermark instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.JobWatermark.JobWatermark instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.JobWatermark.JobWatermark instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.JobWatermark.JobWatermark module Amazonka.ElasticTranscoder.Types.Notifications -- | The Amazon Simple Notification Service (Amazon SNS) topic or topics to -- notify in order to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- See: newNotifications smart constructor. data Notifications Notifications' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Notifications -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. [$sel:completed:Notifications'] :: Notifications -> Maybe Text -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. [$sel:error:Notifications'] :: Notifications -> Maybe Text -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify when Elastic Transcoder has started to process the job. [$sel:progressing:Notifications'] :: Notifications -> Maybe Text -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. [$sel:warning:Notifications'] :: Notifications -> Maybe Text -- | Create a value of Notifications with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:completed:Notifications', notifications_completed - -- The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. -- -- $sel:error:Notifications', notifications_error - The -- Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. -- -- $sel:progressing:Notifications', -- notifications_progressing - The Amazon Simple Notification -- Service (Amazon SNS) topic that you want to notify when Elastic -- Transcoder has started to process the job. -- -- $sel:warning:Notifications', notifications_warning - The -- Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. newNotifications :: Notifications -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. notifications_completed :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. notifications_error :: Lens' Notifications (Maybe Text) -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify when Elastic Transcoder has started to process the job. notifications_progressing :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. notifications_warning :: Lens' Notifications (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Notifications.Notifications instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Notifications.Notifications instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Notifications.Notifications instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Notifications.Notifications instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Notifications.Notifications instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Notifications.Notifications instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Notifications.Notifications instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.Notifications.Notifications module Amazonka.ElasticTranscoder.Types.Permission -- | The Permission structure. -- -- See: newPermission smart constructor. data Permission Permission' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Permission -- | The permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- [$sel:access:Permission'] :: Permission -> Maybe [Text] -- | The AWS user or group that you want to have access to transcoded files -- and playlists. To identify the user or group, you can specify the -- canonical user ID for an AWS account, an origin access identity for a -- CloudFront distribution, the registered email address of an AWS -- account, or a predefined Amazon S3 group. [$sel:grantee:Permission'] :: Permission -> Maybe Text -- | The type of value that appears in the Grantee object: -- -- [$sel:granteeType:Permission'] :: Permission -> Maybe Text -- | Create a value of Permission with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:access:Permission', permission_access - The -- permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- -- -- $sel:grantee:Permission', permission_grantee - The AWS -- user or group that you want to have access to transcoded files and -- playlists. To identify the user or group, you can specify the -- canonical user ID for an AWS account, an origin access identity for a -- CloudFront distribution, the registered email address of an AWS -- account, or a predefined Amazon S3 group. -- -- $sel:granteeType:Permission', permission_granteeType - -- The type of value that appears in the Grantee object: -- -- newPermission :: Permission -- | The permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- permission_access :: Lens' Permission (Maybe [Text]) -- | The AWS user or group that you want to have access to transcoded files -- and playlists. To identify the user or group, you can specify the -- canonical user ID for an AWS account, an origin access identity for a -- CloudFront distribution, the registered email address of an AWS -- account, or a predefined Amazon S3 group. permission_grantee :: Lens' Permission (Maybe Text) -- | The type of value that appears in the Grantee object: -- -- permission_granteeType :: Lens' Permission (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Permission.Permission instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Permission.Permission instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Permission.Permission instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Permission.Permission instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Permission.Permission instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Permission.Permission instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Permission.Permission instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.Permission.Permission module Amazonka.ElasticTranscoder.Types.PipelineOutputConfig -- | The PipelineOutputConfig structure. -- -- See: newPipelineOutputConfig smart constructor. data PipelineOutputConfig PipelineOutputConfig' :: Maybe Text -> Maybe [Permission] -> Maybe Text -> PipelineOutputConfig -- | The Amazon S3 bucket in which you want Elastic Transcoder to save the -- transcoded files. Specify this value when all of the following are -- true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values for -- ContentConfig and ThumbnailConfig instead. [$sel:bucket:PipelineOutputConfig'] :: PipelineOutputConfig -> Maybe Text -- | Optional. The Permissions object specifies which users and/or -- predefined Amazon S3 groups you want to have access to transcoded -- files and playlists, and the type of access you want them to have. You -- can grant permissions to a maximum of 30 users and/or predefined -- Amazon S3 groups. -- -- If you include Permissions, Elastic Transcoder grants only -- the permissions that you specify. It does not grant full permissions -- to the owner of the role specified by Role. If you want that -- user to have full control, you must explicitly grant full control to -- the user. -- -- If you omit Permissions, Elastic Transcoder grants full -- control over the transcoded files and playlists to the owner of the -- role specified by Role, and grants no other permissions to -- any other user or group. [$sel:permissions:PipelineOutputConfig'] :: PipelineOutputConfig -> Maybe [Permission] -- | The Amazon S3 storage class, Standard or -- ReducedRedundancy, that you want Elastic Transcoder to assign -- to the video files and playlists that it stores in your Amazon S3 -- bucket. [$sel:storageClass:PipelineOutputConfig'] :: PipelineOutputConfig -> Maybe Text -- | Create a value of PipelineOutputConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:bucket:PipelineOutputConfig', -- pipelineOutputConfig_bucket - The Amazon S3 bucket in which you -- want Elastic Transcoder to save the transcoded files. Specify this -- value when all of the following are true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values for -- ContentConfig and ThumbnailConfig instead. -- -- $sel:permissions:PipelineOutputConfig', -- pipelineOutputConfig_permissions - Optional. The -- Permissions object specifies which users and/or predefined -- Amazon S3 groups you want to have access to transcoded files and -- playlists, and the type of access you want them to have. You can grant -- permissions to a maximum of 30 users and/or predefined Amazon S3 -- groups. -- -- If you include Permissions, Elastic Transcoder grants only -- the permissions that you specify. It does not grant full permissions -- to the owner of the role specified by Role. If you want that -- user to have full control, you must explicitly grant full control to -- the user. -- -- If you omit Permissions, Elastic Transcoder grants full -- control over the transcoded files and playlists to the owner of the -- role specified by Role, and grants no other permissions to -- any other user or group. -- -- $sel:storageClass:PipelineOutputConfig', -- pipelineOutputConfig_storageClass - The Amazon S3 storage -- class, Standard or ReducedRedundancy, that you want -- Elastic Transcoder to assign to the video files and playlists that it -- stores in your Amazon S3 bucket. newPipelineOutputConfig :: PipelineOutputConfig -- | The Amazon S3 bucket in which you want Elastic Transcoder to save the -- transcoded files. Specify this value when all of the following are -- true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values for -- ContentConfig and ThumbnailConfig instead. pipelineOutputConfig_bucket :: Lens' PipelineOutputConfig (Maybe Text) -- | Optional. The Permissions object specifies which users and/or -- predefined Amazon S3 groups you want to have access to transcoded -- files and playlists, and the type of access you want them to have. You -- can grant permissions to a maximum of 30 users and/or predefined -- Amazon S3 groups. -- -- If you include Permissions, Elastic Transcoder grants only -- the permissions that you specify. It does not grant full permissions -- to the owner of the role specified by Role. If you want that -- user to have full control, you must explicitly grant full control to -- the user. -- -- If you omit Permissions, Elastic Transcoder grants full -- control over the transcoded files and playlists to the owner of the -- role specified by Role, and grants no other permissions to -- any other user or group. pipelineOutputConfig_permissions :: Lens' PipelineOutputConfig (Maybe [Permission]) -- | The Amazon S3 storage class, Standard or -- ReducedRedundancy, that you want Elastic Transcoder to assign -- to the video files and playlists that it stores in your Amazon S3 -- bucket. pipelineOutputConfig_storageClass :: Lens' PipelineOutputConfig (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.PipelineOutputConfig.PipelineOutputConfig instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.PipelineOutputConfig.PipelineOutputConfig instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.PipelineOutputConfig.PipelineOutputConfig instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.PipelineOutputConfig.PipelineOutputConfig instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.PipelineOutputConfig.PipelineOutputConfig instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.PipelineOutputConfig.PipelineOutputConfig instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.PipelineOutputConfig.PipelineOutputConfig instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.PipelineOutputConfig.PipelineOutputConfig module Amazonka.ElasticTranscoder.Types.Pipeline -- | The pipeline (queue) that is used to manage jobs. -- -- See: newPipeline smart constructor. data Pipeline Pipeline' :: Maybe Text -> Maybe Text -> Maybe PipelineOutputConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Notifications -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PipelineOutputConfig -> Pipeline -- | The Amazon Resource Name (ARN) for the pipeline. [$sel:arn:Pipeline'] :: Pipeline -> Maybe Text -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. [$sel:awsKmsKeyArn:Pipeline'] :: Pipeline -> Maybe Text -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save transcoded files and playlists. Either you specify -- both ContentConfig and ThumbnailConfig, or you -- specify OutputBucket. -- -- [$sel:contentConfig:Pipeline'] :: Pipeline -> Maybe PipelineOutputConfig -- | The identifier for the pipeline. You use this value to identify the -- pipeline in which you want to perform a variety of operations, such as -- creating a job or a preset. [$sel:id:Pipeline'] :: Pipeline -> Maybe Text -- | The Amazon S3 bucket from which Elastic Transcoder gets media files -- for transcoding and the graphics files, if any, that you want to use -- for watermarks. [$sel:inputBucket:Pipeline'] :: Pipeline -> Maybe Text -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters [$sel:name:Pipeline'] :: Pipeline -> Maybe Text -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- [$sel:notifications:Pipeline'] :: Pipeline -> Maybe Notifications -- | The Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files, thumbnails, and playlists. Either you specify this -- value, or you specify both ContentConfig and -- ThumbnailConfig. [$sel:outputBucket:Pipeline'] :: Pipeline -> Maybe Text -- | The IAM Amazon Resource Name (ARN) for the role that Elastic -- Transcoder uses to transcode jobs for this pipeline. [$sel:role':Pipeline'] :: Pipeline -> Maybe Text -- | The current status of the pipeline: -- -- [$sel:status:Pipeline'] :: Pipeline -> Maybe Text -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save thumbnail files. Either you specify both -- ContentConfig and ThumbnailConfig, or you specify -- OutputBucket. -- -- [$sel:thumbnailConfig:Pipeline'] :: Pipeline -> Maybe PipelineOutputConfig -- | Create a value of Pipeline with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Pipeline', pipeline_arn - The Amazon Resource -- Name (ARN) for the pipeline. -- -- $sel:awsKmsKeyArn:Pipeline', pipeline_awsKmsKeyArn - The -- AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. -- -- $sel:contentConfig:Pipeline', pipeline_contentConfig - -- Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save transcoded files and playlists. Either you specify -- both ContentConfig and ThumbnailConfig, or you -- specify OutputBucket. -- -- -- -- $sel:id:Pipeline', pipeline_id - The identifier for the -- pipeline. You use this value to identify the pipeline in which you -- want to perform a variety of operations, such as creating a job or a -- preset. -- -- $sel:inputBucket:Pipeline', pipeline_inputBucket - The -- Amazon S3 bucket from which Elastic Transcoder gets media files for -- transcoding and the graphics files, if any, that you want to use for -- watermarks. -- -- $sel:name:Pipeline', pipeline_name - The name of the -- pipeline. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters -- -- $sel:notifications:Pipeline', pipeline_notifications - -- The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- -- -- $sel:outputBucket:Pipeline', pipeline_outputBucket - The -- Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files, thumbnails, and playlists. Either you specify this -- value, or you specify both ContentConfig and -- ThumbnailConfig. -- -- $sel:role':Pipeline', pipeline_role - The IAM Amazon -- Resource Name (ARN) for the role that Elastic Transcoder uses to -- transcode jobs for this pipeline. -- -- $sel:status:Pipeline', pipeline_status - The current -- status of the pipeline: -- -- -- -- $sel:thumbnailConfig:Pipeline', pipeline_thumbnailConfig -- - Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save thumbnail files. Either you specify both -- ContentConfig and ThumbnailConfig, or you specify -- OutputBucket. -- -- newPipeline :: Pipeline -- | The Amazon Resource Name (ARN) for the pipeline. pipeline_arn :: Lens' Pipeline (Maybe Text) -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. pipeline_awsKmsKeyArn :: Lens' Pipeline (Maybe Text) -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save transcoded files and playlists. Either you specify -- both ContentConfig and ThumbnailConfig, or you -- specify OutputBucket. -- -- pipeline_contentConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) -- | The identifier for the pipeline. You use this value to identify the -- pipeline in which you want to perform a variety of operations, such as -- creating a job or a preset. pipeline_id :: Lens' Pipeline (Maybe Text) -- | The Amazon S3 bucket from which Elastic Transcoder gets media files -- for transcoding and the graphics files, if any, that you want to use -- for watermarks. pipeline_inputBucket :: Lens' Pipeline (Maybe Text) -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters pipeline_name :: Lens' Pipeline (Maybe Text) -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- pipeline_notifications :: Lens' Pipeline (Maybe Notifications) -- | The Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files, thumbnails, and playlists. Either you specify this -- value, or you specify both ContentConfig and -- ThumbnailConfig. pipeline_outputBucket :: Lens' Pipeline (Maybe Text) -- | The IAM Amazon Resource Name (ARN) for the role that Elastic -- Transcoder uses to transcode jobs for this pipeline. pipeline_role :: Lens' Pipeline (Maybe Text) -- | The current status of the pipeline: -- -- pipeline_status :: Lens' Pipeline (Maybe Text) -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save thumbnail files. Either you specify both -- ContentConfig and ThumbnailConfig, or you specify -- OutputBucket. -- -- pipeline_thumbnailConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Pipeline.Pipeline instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Pipeline.Pipeline instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Pipeline.Pipeline instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Pipeline.Pipeline instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Pipeline.Pipeline instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Pipeline.Pipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Pipeline.Pipeline module Amazonka.ElasticTranscoder.Types.PlayReadyDrm -- | The PlayReady DRM settings, if any, that you want Elastic Transcoder -- to apply to the output files associated with this playlist. -- -- PlayReady DRM encrypts your media files using aes-ctr -- encryption. -- -- If you use DRM for an HLSv3 playlist, your outputs must have -- a master playlist. -- -- See: newPlayReadyDrm smart constructor. data PlayReadyDrm PlayReadyDrm' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PlayReadyDrm -- | The type of DRM, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. [$sel:format:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your files. The initialization vector must be -- base64-encoded, and it must be exactly 8 bytes long before being -- base64-encoded. If no initialization vector is provided, Elastic -- Transcoder generates one for you. [$sel:initializationVector:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The DRM key for your file, provided by your DRM license provider. The -- key must be base64-encoded, and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using AWS KMS. [$sel:key:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The ID for your DRM key, so that your DRM license provider knows which -- key to provide. -- -- The key ID must be provided in big endian, and Elastic Transcoder -- converts it to little endian before inserting it into the PlayReady -- DRM headers. If you are unsure whether your license server provides -- your key ID in big or little endian, check with your DRM provider. [$sel:keyId:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The MD5 digest of the key used for DRM on your file, and that you want -- Elastic Transcoder to use as a checksum to make sure your key was not -- corrupted in transit. The key MD5 must be base64-encoded, and it must -- be exactly 16 bytes before being base64-encoded. [$sel:keyMd5:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The location of the license key required to play DRM content. The URL -- must be an absolute path, and is referenced by the PlayReady header. -- The PlayReady header is referenced in the protection header of the -- client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM -- and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example -- URL looks like this: https://www.example.com/exampleKey/ [$sel:licenseAcquisitionUrl:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | Create a value of PlayReadyDrm with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:format:PlayReadyDrm', playReadyDrm_format - The -- type of DRM, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:initializationVector:PlayReadyDrm', -- playReadyDrm_initializationVector - The series of random bits -- created by a random bit generator, unique for every encryption -- operation, that you want Elastic Transcoder to use to encrypt your -- files. The initialization vector must be base64-encoded, and it must -- be exactly 8 bytes long before being base64-encoded. If no -- initialization vector is provided, Elastic Transcoder generates one -- for you. -- -- $sel:key:PlayReadyDrm', playReadyDrm_key - The DRM key -- for your file, provided by your DRM license provider. The key must be -- base64-encoded, and it must be one of the following bit lengths before -- being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using AWS KMS. -- -- $sel:keyId:PlayReadyDrm', playReadyDrm_keyId - The ID -- for your DRM key, so that your DRM license provider knows which key to -- provide. -- -- The key ID must be provided in big endian, and Elastic Transcoder -- converts it to little endian before inserting it into the PlayReady -- DRM headers. If you are unsure whether your license server provides -- your key ID in big or little endian, check with your DRM provider. -- -- $sel:keyMd5:PlayReadyDrm', playReadyDrm_keyMd5 - The MD5 -- digest of the key used for DRM on your file, and that you want Elastic -- Transcoder to use as a checksum to make sure your key was not -- corrupted in transit. The key MD5 must be base64-encoded, and it must -- be exactly 16 bytes before being base64-encoded. -- -- $sel:licenseAcquisitionUrl:PlayReadyDrm', -- playReadyDrm_licenseAcquisitionUrl - The location of the -- license key required to play DRM content. The URL must be an absolute -- path, and is referenced by the PlayReady header. The PlayReady header -- is referenced in the protection header of the client manifest for -- Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO -- metadata tags for HLS playlist outputs. An example URL looks like -- this: https://www.example.com/exampleKey/ newPlayReadyDrm :: PlayReadyDrm -- | The type of DRM, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. playReadyDrm_format :: Lens' PlayReadyDrm (Maybe Text) -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your files. The initialization vector must be -- base64-encoded, and it must be exactly 8 bytes long before being -- base64-encoded. If no initialization vector is provided, Elastic -- Transcoder generates one for you. playReadyDrm_initializationVector :: Lens' PlayReadyDrm (Maybe Text) -- | The DRM key for your file, provided by your DRM license provider. The -- key must be base64-encoded, and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using AWS KMS. playReadyDrm_key :: Lens' PlayReadyDrm (Maybe Text) -- | The ID for your DRM key, so that your DRM license provider knows which -- key to provide. -- -- The key ID must be provided in big endian, and Elastic Transcoder -- converts it to little endian before inserting it into the PlayReady -- DRM headers. If you are unsure whether your license server provides -- your key ID in big or little endian, check with your DRM provider. playReadyDrm_keyId :: Lens' PlayReadyDrm (Maybe Text) -- | The MD5 digest of the key used for DRM on your file, and that you want -- Elastic Transcoder to use as a checksum to make sure your key was not -- corrupted in transit. The key MD5 must be base64-encoded, and it must -- be exactly 16 bytes before being base64-encoded. playReadyDrm_keyMd5 :: Lens' PlayReadyDrm (Maybe Text) -- | The location of the license key required to play DRM content. The URL -- must be an absolute path, and is referenced by the PlayReady header. -- The PlayReady header is referenced in the protection header of the -- client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM -- and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example -- URL looks like this: https://www.example.com/exampleKey/ playReadyDrm_licenseAcquisitionUrl :: Lens' PlayReadyDrm (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.PlayReadyDrm.PlayReadyDrm instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.PlayReadyDrm.PlayReadyDrm instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.PlayReadyDrm.PlayReadyDrm instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.PlayReadyDrm.PlayReadyDrm instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.PlayReadyDrm.PlayReadyDrm instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.PlayReadyDrm.PlayReadyDrm instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.PlayReadyDrm.PlayReadyDrm instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.PlayReadyDrm.PlayReadyDrm module Amazonka.ElasticTranscoder.Types.CreateJobPlaylist -- | Information about the master playlist. -- -- See: newCreateJobPlaylist smart constructor. data CreateJobPlaylist CreateJobPlaylist' :: Maybe Text -> Maybe HlsContentProtection -> Maybe Text -> Maybe [Text] -> Maybe PlayReadyDrm -> CreateJobPlaylist -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. [$sel:format:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe Text -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. [$sel:hlsContentProtection:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe HlsContentProtection -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. [$sel:name:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe Text -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. [$sel:outputKeys:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe [Text] -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. [$sel:playReadyDrm:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe PlayReadyDrm -- | Create a value of CreateJobPlaylist with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateJobPlaylist, createJobPlaylist_format - The format -- of the output playlist. Valid formats include HLSv3, -- HLSv4, and Smooth. -- -- $sel:hlsContentProtection:CreateJobPlaylist', -- createJobPlaylist_hlsContentProtection - The HLS content -- protection settings, if any, that you want Elastic Transcoder to apply -- to the output files associated with this playlist. -- -- $sel:name:CreateJobPlaylist', createJobPlaylist_name - -- The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. -- -- $sel:outputKeys:CreateJobPlaylist', -- createJobPlaylist_outputKeys - For each output in this job that -- you want to include in a master playlist, the value of the -- Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. -- -- $sel:playReadyDrm:CreateJobPlaylist', -- createJobPlaylist_playReadyDrm - The DRM settings, if any, that -- you want Elastic Transcoder to apply to the output files associated -- with this playlist. newCreateJobPlaylist :: CreateJobPlaylist -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. createJobPlaylist_format :: Lens' CreateJobPlaylist (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. createJobPlaylist_hlsContentProtection :: Lens' CreateJobPlaylist (Maybe HlsContentProtection) -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. createJobPlaylist_name :: Lens' CreateJobPlaylist (Maybe Text) -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. createJobPlaylist_outputKeys :: Lens' CreateJobPlaylist (Maybe [Text]) -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. createJobPlaylist_playReadyDrm :: Lens' CreateJobPlaylist (Maybe PlayReadyDrm) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.CreateJobPlaylist.CreateJobPlaylist instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.CreateJobPlaylist.CreateJobPlaylist instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.CreateJobPlaylist.CreateJobPlaylist instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.CreateJobPlaylist.CreateJobPlaylist instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.CreateJobPlaylist.CreateJobPlaylist instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.CreateJobPlaylist.CreateJobPlaylist instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.CreateJobPlaylist.CreateJobPlaylist module Amazonka.ElasticTranscoder.Types.Playlist -- | Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a -- preset 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. We -- recommend that you create only one master playlist per output format. -- The maximum number of master playlists in a job is 30. -- -- See: newPlaylist smart constructor. data Playlist Playlist' :: Maybe Text -> Maybe HlsContentProtection -> Maybe Text -> Maybe [Text] -> Maybe PlayReadyDrm -> Maybe Text -> Maybe Text -> Playlist -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. [$sel:format:Playlist'] :: Playlist -> Maybe Text -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. [$sel:hlsContentProtection:Playlist'] :: Playlist -> Maybe HlsContentProtection -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. [$sel:name:Playlist'] :: Playlist -> Maybe Text -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. [$sel:outputKeys:Playlist'] :: Playlist -> Maybe [Text] -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. [$sel:playReadyDrm:Playlist'] :: Playlist -> Maybe PlayReadyDrm -- | The status of the job with which the playlist is associated. [$sel:status:Playlist'] :: Playlist -> Maybe Text -- | Information that further explains the status. [$sel:statusDetail:Playlist'] :: Playlist -> Maybe Text -- | Create a value of Playlist with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- Playlist, playlist_format - The format of the output -- playlist. Valid formats include HLSv3, HLSv4, and -- Smooth. -- -- $sel:hlsContentProtection:Playlist', -- playlist_hlsContentProtection - The HLS content protection -- settings, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:name:Playlist', playlist_name - The name that you -- want Elastic Transcoder to assign to the master playlist, for example, -- nyc-vacation.m3u8. If the name includes a / character, the -- section of the name before the last / must be identical for -- all Name objects. If you create more than one master -- playlist, the values of all Name objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. -- -- $sel:outputKeys:Playlist', playlist_outputKeys - For -- each output in this job that you want to include in a master playlist, -- the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. -- -- $sel:playReadyDrm:Playlist', playlist_playReadyDrm - The -- DRM settings, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:status:Playlist', playlist_status - The status of -- the job with which the playlist is associated. -- -- $sel:statusDetail:Playlist', playlist_statusDetail - -- Information that further explains the status. newPlaylist :: Playlist -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. playlist_format :: Lens' Playlist (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. playlist_hlsContentProtection :: Lens' Playlist (Maybe HlsContentProtection) -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. playlist_name :: Lens' Playlist (Maybe Text) -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. playlist_outputKeys :: Lens' Playlist (Maybe [Text]) -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. playlist_playReadyDrm :: Lens' Playlist (Maybe PlayReadyDrm) -- | The status of the job with which the playlist is associated. playlist_status :: Lens' Playlist (Maybe Text) -- | Information that further explains the status. playlist_statusDetail :: Lens' Playlist (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Playlist.Playlist instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Playlist.Playlist instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Playlist.Playlist instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Playlist.Playlist instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Playlist.Playlist instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Playlist.Playlist instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Playlist.Playlist module Amazonka.ElasticTranscoder.Types.PresetWatermark -- | Settings for the size, location, and opacity of graphics that you want -- Elastic Transcoder to overlay over videos that are transcoded using -- this preset. You can specify settings for up to four watermarks. -- Watermarks appear in the specified size and location, and with the -- specified opacity for the duration of the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. -- -- See: newPresetWatermark smart constructor. data PresetWatermark PresetWatermark' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PresetWatermark -- | The horizontal position of the watermark unless you specify a non-zero -- value for HorizontalOffset: -- -- [$sel:horizontalAlign:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | The amount by which you want the horizontal position of the watermark -- to be offset from the position specified by HorizontalAlign: -- -- -- -- For example, if you specify Left for HorizontalAlign and 5px -- for HorizontalOffset, the left side of the watermark appears -- 5 pixels from the left border of the output video. -- -- HorizontalOffset is only valid when the value of -- HorizontalAlign is Left or Right. If you -- specify an offset that causes the watermark to extend beyond the left -- or right border and Elastic Transcoder has not added black bars, the -- watermark is cropped. If Elastic Transcoder has added black bars, the -- watermark extends into the black bars. If the watermark extends beyond -- the black bars, it is cropped. -- -- Use the value of Target to specify whether you want to -- include the black bars that are added by Elastic Transcoder, if any, -- in the offset calculation. [$sel:horizontalOffset:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | A unique identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. [$sel:id:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | The maximum height of the watermark in one of the following formats: -- -- -- -- If you specify the value in pixels, it must be less than or equal to -- the value of MaxHeight. [$sel:maxHeight:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | The maximum width of the watermark in one of the following formats: -- -- [$sel:maxWidth:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | A percentage that indicates how much you want a watermark to obscure -- the video in the location where it appears. Valid values are 0 (the -- watermark is invisible) to 100 (the watermark completely obscures the -- video in the specified location). The datatype of Opacity is -- float. -- -- Elastic Transcoder supports transparent .png graphics. If you use a -- transparent .png, the transparent portion of the video appears as if -- you had specified a value of 0 for Opacity. The .jpg file -- format doesn't support transparency. [$sel:opacity:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | A value that controls scaling of the watermark: -- -- [$sel:sizingPolicy:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | A value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- [$sel:target:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | The vertical position of the watermark unless you specify a non-zero -- value for VerticalOffset: -- -- [$sel:verticalAlign:PresetWatermark'] :: PresetWatermark -> Maybe Text -- |
--   VerticalOffset
--   
-- -- The amount by which you want the vertical position of the watermark to -- be offset from the position specified by VerticalAlign: -- -- -- -- For example, if you specify Top for VerticalAlign -- and 5px for VerticalOffset, the top of the watermark -- appears 5 pixels from the top border of the output video. -- -- VerticalOffset is only valid when the value of VerticalAlign -- is Top or Bottom. -- -- If you specify an offset that causes the watermark to extend beyond -- the top or bottom border and Elastic Transcoder has not added black -- bars, the watermark is cropped. If Elastic Transcoder has added black -- bars, the watermark extends into the black bars. If the watermark -- extends beyond the black bars, it is cropped. -- -- Use the value of Target to specify whether you want Elastic -- Transcoder to include the black bars that are added by Elastic -- Transcoder, if any, in the offset calculation. [$sel:verticalOffset:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | Create a value of PresetWatermark with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:horizontalAlign:PresetWatermark', -- presetWatermark_horizontalAlign - The horizontal position of -- the watermark unless you specify a non-zero value for -- HorizontalOffset: -- -- -- -- $sel:horizontalOffset:PresetWatermark', -- presetWatermark_horizontalOffset - The amount by which you want -- the horizontal position of the watermark to be offset from the -- position specified by HorizontalAlign: -- -- -- -- For example, if you specify Left for HorizontalAlign and 5px -- for HorizontalOffset, the left side of the watermark appears -- 5 pixels from the left border of the output video. -- -- HorizontalOffset is only valid when the value of -- HorizontalAlign is Left or Right. If you -- specify an offset that causes the watermark to extend beyond the left -- or right border and Elastic Transcoder has not added black bars, the -- watermark is cropped. If Elastic Transcoder has added black bars, the -- watermark extends into the black bars. If the watermark extends beyond -- the black bars, it is cropped. -- -- Use the value of Target to specify whether you want to -- include the black bars that are added by Elastic Transcoder, if any, -- in the offset calculation. -- -- $sel:id:PresetWatermark', presetWatermark_id - A unique -- identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. -- -- $sel:maxHeight:PresetWatermark', -- presetWatermark_maxHeight - The maximum height of the watermark -- in one of the following formats: -- -- -- -- If you specify the value in pixels, it must be less than or equal to -- the value of MaxHeight. -- -- $sel:maxWidth:PresetWatermark', presetWatermark_maxWidth -- - The maximum width of the watermark in one of the following formats: -- -- -- -- $sel:opacity:PresetWatermark', presetWatermark_opacity - -- A percentage that indicates how much you want a watermark to obscure -- the video in the location where it appears. Valid values are 0 (the -- watermark is invisible) to 100 (the watermark completely obscures the -- video in the specified location). The datatype of Opacity is -- float. -- -- Elastic Transcoder supports transparent .png graphics. If you use a -- transparent .png, the transparent portion of the video appears as if -- you had specified a value of 0 for Opacity. The .jpg file -- format doesn't support transparency. -- -- $sel:sizingPolicy:PresetWatermark', -- presetWatermark_sizingPolicy - A value that controls scaling of -- the watermark: -- -- -- -- $sel:target:PresetWatermark', presetWatermark_target - A -- value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- -- -- $sel:verticalAlign:PresetWatermark', -- presetWatermark_verticalAlign - The vertical position of the -- watermark unless you specify a non-zero value for -- VerticalOffset: -- -- -- -- $sel:verticalOffset:PresetWatermark', -- presetWatermark_verticalOffset - VerticalOffset -- -- The amount by which you want the vertical position of the watermark to -- be offset from the position specified by VerticalAlign: -- -- -- -- For example, if you specify Top for VerticalAlign -- and 5px for VerticalOffset, the top of the watermark -- appears 5 pixels from the top border of the output video. -- -- VerticalOffset is only valid when the value of VerticalAlign -- is Top or Bottom. -- -- If you specify an offset that causes the watermark to extend beyond -- the top or bottom border and Elastic Transcoder has not added black -- bars, the watermark is cropped. If Elastic Transcoder has added black -- bars, the watermark extends into the black bars. If the watermark -- extends beyond the black bars, it is cropped. -- -- Use the value of Target to specify whether you want Elastic -- Transcoder to include the black bars that are added by Elastic -- Transcoder, if any, in the offset calculation. newPresetWatermark :: PresetWatermark -- | The horizontal position of the watermark unless you specify a non-zero -- value for HorizontalOffset: -- -- presetWatermark_horizontalAlign :: Lens' PresetWatermark (Maybe Text) -- | The amount by which you want the horizontal position of the watermark -- to be offset from the position specified by HorizontalAlign: -- -- -- -- For example, if you specify Left for HorizontalAlign and 5px -- for HorizontalOffset, the left side of the watermark appears -- 5 pixels from the left border of the output video. -- -- HorizontalOffset is only valid when the value of -- HorizontalAlign is Left or Right. If you -- specify an offset that causes the watermark to extend beyond the left -- or right border and Elastic Transcoder has not added black bars, the -- watermark is cropped. If Elastic Transcoder has added black bars, the -- watermark extends into the black bars. If the watermark extends beyond -- the black bars, it is cropped. -- -- Use the value of Target to specify whether you want to -- include the black bars that are added by Elastic Transcoder, if any, -- in the offset calculation. presetWatermark_horizontalOffset :: Lens' PresetWatermark (Maybe Text) -- | A unique identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. presetWatermark_id :: Lens' PresetWatermark (Maybe Text) -- | The maximum height of the watermark in one of the following formats: -- -- -- -- If you specify the value in pixels, it must be less than or equal to -- the value of MaxHeight. presetWatermark_maxHeight :: Lens' PresetWatermark (Maybe Text) -- | The maximum width of the watermark in one of the following formats: -- -- presetWatermark_maxWidth :: Lens' PresetWatermark (Maybe Text) -- | A percentage that indicates how much you want a watermark to obscure -- the video in the location where it appears. Valid values are 0 (the -- watermark is invisible) to 100 (the watermark completely obscures the -- video in the specified location). The datatype of Opacity is -- float. -- -- Elastic Transcoder supports transparent .png graphics. If you use a -- transparent .png, the transparent portion of the video appears as if -- you had specified a value of 0 for Opacity. The .jpg file -- format doesn't support transparency. presetWatermark_opacity :: Lens' PresetWatermark (Maybe Text) -- | A value that controls scaling of the watermark: -- -- presetWatermark_sizingPolicy :: Lens' PresetWatermark (Maybe Text) -- | A value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- presetWatermark_target :: Lens' PresetWatermark (Maybe Text) -- | The vertical position of the watermark unless you specify a non-zero -- value for VerticalOffset: -- -- presetWatermark_verticalAlign :: Lens' PresetWatermark (Maybe Text) -- |
--   VerticalOffset
--   
-- -- The amount by which you want the vertical position of the watermark to -- be offset from the position specified by VerticalAlign: -- -- -- -- For example, if you specify Top for VerticalAlign -- and 5px for VerticalOffset, the top of the watermark -- appears 5 pixels from the top border of the output video. -- -- VerticalOffset is only valid when the value of VerticalAlign -- is Top or Bottom. -- -- If you specify an offset that causes the watermark to extend beyond -- the top or bottom border and Elastic Transcoder has not added black -- bars, the watermark is cropped. If Elastic Transcoder has added black -- bars, the watermark extends into the black bars. If the watermark -- extends beyond the black bars, it is cropped. -- -- Use the value of Target to specify whether you want Elastic -- Transcoder to include the black bars that are added by Elastic -- Transcoder, if any, in the offset calculation. presetWatermark_verticalOffset :: Lens' PresetWatermark (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.PresetWatermark.PresetWatermark instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.PresetWatermark.PresetWatermark instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.PresetWatermark.PresetWatermark instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.PresetWatermark.PresetWatermark instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.PresetWatermark.PresetWatermark instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.PresetWatermark.PresetWatermark instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.PresetWatermark.PresetWatermark instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.PresetWatermark.PresetWatermark module Amazonka.ElasticTranscoder.Types.Thumbnails -- | Thumbnails for videos. -- -- See: newThumbnails smart constructor. data Thumbnails Thumbnails' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Thumbnails -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The aspect ratio of thumbnails. Valid values include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the video in the output file. [$sel:aspectRatio:Thumbnails'] :: Thumbnails -> Maybe Text -- | The format of thumbnails, if any. Valid values are jpg and -- png. -- -- You specify whether you want Elastic Transcoder to create thumbnails -- when you create a job. [$sel:format:Thumbnails'] :: Thumbnails -> Maybe Text -- | The approximate number of seconds between thumbnails. Specify an -- integer value. [$sel:interval:Thumbnails'] :: Thumbnails -> Maybe Text -- | The maximum height of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1080 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 3072. [$sel:maxHeight:Thumbnails'] :: Thumbnails -> Maybe Text -- | The maximum width of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1920 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 4096. [$sel:maxWidth:Thumbnails'] :: Thumbnails -> Maybe Text -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of thumbnails to make the total size of the thumbnails -- match the values that you specified for thumbnail MaxWidth -- and MaxHeight settings. [$sel:paddingPolicy:Thumbnails'] :: Thumbnails -> Maybe Text -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The width and height of thumbnail files in pixels. Specify a value in -- the format width x -- height where both values are even -- integers. The values cannot exceed the width and height that you -- specified in the Video:Resolution object. [$sel:resolution:Thumbnails'] :: Thumbnails -> Maybe Text -- | Specify one of the following values to control scaling of thumbnails: -- -- [$sel:sizingPolicy:Thumbnails'] :: Thumbnails -> Maybe Text -- | Create a value of Thumbnails with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:Thumbnails', thumbnails_aspectRatio - -- To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The aspect ratio of thumbnails. Valid values include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the video in the output file. -- -- $sel:format:Thumbnails', thumbnails_format - The format -- of thumbnails, if any. Valid values are jpg and png. -- -- You specify whether you want Elastic Transcoder to create thumbnails -- when you create a job. -- -- $sel:interval:Thumbnails', thumbnails_interval - The -- approximate number of seconds between thumbnails. Specify an integer -- value. -- -- $sel:maxHeight:Thumbnails', thumbnails_maxHeight - The -- maximum height of thumbnails in pixels. If you specify auto, Elastic -- Transcoder uses 1080 (Full HD) as the default value. If you specify a -- numeric value, enter an even integer between 32 and 3072. -- -- $sel:maxWidth:Thumbnails', thumbnails_maxWidth - The -- maximum width of thumbnails in pixels. If you specify auto, Elastic -- Transcoder uses 1920 (Full HD) as the default value. If you specify a -- numeric value, enter an even integer between 32 and 4096. -- -- $sel:paddingPolicy:Thumbnails', thumbnails_paddingPolicy -- - When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of thumbnails to make the total size of the thumbnails -- match the values that you specified for thumbnail MaxWidth -- and MaxHeight settings. -- -- $sel:resolution:Thumbnails', thumbnails_resolution - To -- better control resolution and aspect ratio of thumbnails, we recommend -- that you use the values MaxWidth, MaxHeight, -- SizingPolicy, and PaddingPolicy instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The width and height of thumbnail files in pixels. Specify a value in -- the format width x -- height where both values are even -- integers. The values cannot exceed the width and height that you -- specified in the Video:Resolution object. -- -- $sel:sizingPolicy:Thumbnails', thumbnails_sizingPolicy - -- Specify one of the following values to control scaling of thumbnails: -- -- newThumbnails :: Thumbnails -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The aspect ratio of thumbnails. Valid values include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the video in the output file. thumbnails_aspectRatio :: Lens' Thumbnails (Maybe Text) -- | The format of thumbnails, if any. Valid values are jpg and -- png. -- -- You specify whether you want Elastic Transcoder to create thumbnails -- when you create a job. thumbnails_format :: Lens' Thumbnails (Maybe Text) -- | The approximate number of seconds between thumbnails. Specify an -- integer value. thumbnails_interval :: Lens' Thumbnails (Maybe Text) -- | The maximum height of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1080 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 3072. thumbnails_maxHeight :: Lens' Thumbnails (Maybe Text) -- | The maximum width of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1920 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 4096. thumbnails_maxWidth :: Lens' Thumbnails (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of thumbnails to make the total size of the thumbnails -- match the values that you specified for thumbnail MaxWidth -- and MaxHeight settings. thumbnails_paddingPolicy :: Lens' Thumbnails (Maybe Text) -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The width and height of thumbnail files in pixels. Specify a value in -- the format width x -- height where both values are even -- integers. The values cannot exceed the width and height that you -- specified in the Video:Resolution object. thumbnails_resolution :: Lens' Thumbnails (Maybe Text) -- | Specify one of the following values to control scaling of thumbnails: -- -- thumbnails_sizingPolicy :: Lens' Thumbnails (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Thumbnails.Thumbnails instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Thumbnails.Thumbnails instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Thumbnails.Thumbnails instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Thumbnails.Thumbnails instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Thumbnails.Thumbnails instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Thumbnails.Thumbnails instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Thumbnails.Thumbnails instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.Thumbnails.Thumbnails module Amazonka.ElasticTranscoder.Types.TimeSpan -- | Settings that determine when a clip begins and how long it lasts. -- -- See: newTimeSpan smart constructor. data TimeSpan TimeSpan' :: Maybe Text -> Maybe Text -> TimeSpan -- | The duration of the clip. The format can be either HH:mm:ss.SSS -- (maximum value: 23:59:59.999; SSS is thousandths of a second) or -- sssss.SSS (maximum value: 86399.999). If you don't specify a value, -- Elastic Transcoder creates an output file from StartTime to the end of -- the file. -- -- If you specify a value longer than the duration of the input file, -- Elastic Transcoder transcodes the file and returns a warning message. [$sel:duration:TimeSpan'] :: TimeSpan -> Maybe Text -- | The place in the input file where you want a clip to start. The format -- can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is -- thousandths of a second) or sssss.SSS (maximum value: 86399.999). If -- you don't specify a value, Elastic Transcoder starts at the beginning -- of the input file. [$sel:startTime:TimeSpan'] :: TimeSpan -> Maybe Text -- | Create a value of TimeSpan with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:duration:TimeSpan', timeSpan_duration - The -- duration of the clip. The format can be either HH:mm:ss.SSS (maximum -- value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS -- (maximum value: 86399.999). If you don't specify a value, Elastic -- Transcoder creates an output file from StartTime to the end of the -- file. -- -- If you specify a value longer than the duration of the input file, -- Elastic Transcoder transcodes the file and returns a warning message. -- -- $sel:startTime:TimeSpan', timeSpan_startTime - The place -- in the input file where you want a clip to start. The format can be -- either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths -- of a second) or sssss.SSS (maximum value: 86399.999). If you don't -- specify a value, Elastic Transcoder starts at the beginning of the -- input file. newTimeSpan :: TimeSpan -- | The duration of the clip. The format can be either HH:mm:ss.SSS -- (maximum value: 23:59:59.999; SSS is thousandths of a second) or -- sssss.SSS (maximum value: 86399.999). If you don't specify a value, -- Elastic Transcoder creates an output file from StartTime to the end of -- the file. -- -- If you specify a value longer than the duration of the input file, -- Elastic Transcoder transcodes the file and returns a warning message. timeSpan_duration :: Lens' TimeSpan (Maybe Text) -- | The place in the input file where you want a clip to start. The format -- can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is -- thousandths of a second) or sssss.SSS (maximum value: 86399.999). If -- you don't specify a value, Elastic Transcoder starts at the beginning -- of the input file. timeSpan_startTime :: Lens' TimeSpan (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.TimeSpan.TimeSpan instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.TimeSpan.TimeSpan instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.TimeSpan.TimeSpan instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.TimeSpan.TimeSpan instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.TimeSpan.TimeSpan instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.TimeSpan.TimeSpan instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.TimeSpan.TimeSpan instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.TimeSpan.TimeSpan module Amazonka.ElasticTranscoder.Types.JobInput -- | Information about the file that you're transcoding. -- -- See: newJobInput smart constructor. data JobInput JobInput' :: Maybe Text -> Maybe Text -> Maybe DetectedProperties -> Maybe Encryption -> Maybe Text -> Maybe InputCaptions -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe TimeSpan -> JobInput -- | The aspect ratio of the input file. If you want Elastic Transcoder to -- automatically detect the aspect ratio of the input file, specify -- auto. If you want to specify the aspect ratio for the output -- file, enter one of the following values: -- -- 1:1, 4:3, 3:2, 16:9 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the aspect ratio. [$sel:aspectRatio:JobInput'] :: JobInput -> Maybe Text -- | The container type for the input file. If you want Elastic Transcoder -- to automatically detect the container type of the input file, specify -- auto. If you want to specify the container type for the input -- file, enter one of the following values: -- -- 3gp, aac, asf, avi, divx, -- flv, m4a, mkv, mov, mp3, -- mp4, mpeg, mpeg-ps, mpeg-ts, -- mxf, ogg, vob, wav, webm [$sel:container:JobInput'] :: JobInput -> Maybe Text -- | The detected properties of the input file. [$sel:detectedProperties:JobInput'] :: JobInput -> Maybe DetectedProperties -- | The encryption settings, if any, that are used for decrypting your -- input files. If your input file is encrypted, you must specify the -- mode that Elastic Transcoder uses to decrypt your file. [$sel:encryption:JobInput'] :: JobInput -> Maybe Encryption -- | The frame rate of the input file. If you want Elastic Transcoder to -- automatically detect the frame rate of the input file, specify -- auto. If you want to specify the frame rate for the input -- file, enter one of the following values: -- -- 10, 15, 23.97, 24, 25, -- 29.97, 30, 60 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the frame rate. [$sel:frameRate:JobInput'] :: JobInput -> Maybe Text -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. [$sel:inputCaptions:JobInput'] :: JobInput -> Maybe InputCaptions -- | Whether the input file is interlaced. If you want Elastic Transcoder -- to automatically detect whether the input file is interlaced, specify -- auto. If you want to specify whether the input file is -- interlaced, enter one of the following values: -- -- true, false -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of interlacing. [$sel:interlaced:JobInput'] :: JobInput -> Maybe Text -- | The name of the file to transcode. Elsewhere in the body of the JSON -- block is the the ID of the pipeline to use for processing the job. The -- InputBucket object in that pipeline tells Elastic Transcoder -- which Amazon S3 bucket to get the file from. -- -- If the file name includes a prefix, such as -- cooking/lasagna.mpg, include the prefix in the key. If the -- file isn't in the specified bucket, Elastic Transcoder returns an -- error. [$sel:key:JobInput'] :: JobInput -> Maybe Text -- | This value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. [$sel:resolution:JobInput'] :: JobInput -> Maybe Text -- | Settings for clipping an input. Each input can have different clip -- settings. [$sel:timeSpan:JobInput'] :: JobInput -> Maybe TimeSpan -- | Create a value of JobInput with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:JobInput', jobInput_aspectRatio - The -- aspect ratio of the input file. If you want Elastic Transcoder to -- automatically detect the aspect ratio of the input file, specify -- auto. If you want to specify the aspect ratio for the output -- file, enter one of the following values: -- -- 1:1, 4:3, 3:2, 16:9 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the aspect ratio. -- -- $sel:container:JobInput', jobInput_container - The -- container type for the input file. If you want Elastic Transcoder to -- automatically detect the container type of the input file, specify -- auto. If you want to specify the container type for the input -- file, enter one of the following values: -- -- 3gp, aac, asf, avi, divx, -- flv, m4a, mkv, mov, mp3, -- mp4, mpeg, mpeg-ps, mpeg-ts, -- mxf, ogg, vob, wav, webm -- -- $sel:detectedProperties:JobInput', -- jobInput_detectedProperties - The detected properties of the -- input file. -- -- $sel:encryption:JobInput', jobInput_encryption - The -- encryption settings, if any, that are used for decrypting your input -- files. If your input file is encrypted, you must specify the mode that -- Elastic Transcoder uses to decrypt your file. -- -- JobInput, jobInput_frameRate - The frame rate of the -- input file. If you want Elastic Transcoder to automatically detect the -- frame rate of the input file, specify auto. If you want to -- specify the frame rate for the input file, enter one of the following -- values: -- -- 10, 15, 23.97, 24, 25, -- 29.97, 30, 60 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the frame rate. -- -- $sel:inputCaptions:JobInput', jobInput_inputCaptions - -- You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:interlaced:JobInput', jobInput_interlaced - Whether -- the input file is interlaced. If you want Elastic Transcoder to -- automatically detect whether the input file is interlaced, specify -- auto. If you want to specify whether the input file is -- interlaced, enter one of the following values: -- -- true, false -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of interlacing. -- -- JobInput, jobInput_key - The name of the file to -- transcode. Elsewhere in the body of the JSON block is the the ID of -- the pipeline to use for processing the job. The InputBucket -- object in that pipeline tells Elastic Transcoder which Amazon S3 -- bucket to get the file from. -- -- If the file name includes a prefix, such as -- cooking/lasagna.mpg, include the prefix in the key. If the -- file isn't in the specified bucket, Elastic Transcoder returns an -- error. -- -- $sel:resolution:JobInput', jobInput_resolution - This -- value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. -- -- $sel:timeSpan:JobInput', jobInput_timeSpan - Settings -- for clipping an input. Each input can have different clip settings. newJobInput :: JobInput -- | The aspect ratio of the input file. If you want Elastic Transcoder to -- automatically detect the aspect ratio of the input file, specify -- auto. If you want to specify the aspect ratio for the output -- file, enter one of the following values: -- -- 1:1, 4:3, 3:2, 16:9 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the aspect ratio. jobInput_aspectRatio :: Lens' JobInput (Maybe Text) -- | The container type for the input file. If you want Elastic Transcoder -- to automatically detect the container type of the input file, specify -- auto. If you want to specify the container type for the input -- file, enter one of the following values: -- -- 3gp, aac, asf, avi, divx, -- flv, m4a, mkv, mov, mp3, -- mp4, mpeg, mpeg-ps, mpeg-ts, -- mxf, ogg, vob, wav, webm jobInput_container :: Lens' JobInput (Maybe Text) -- | The detected properties of the input file. jobInput_detectedProperties :: Lens' JobInput (Maybe DetectedProperties) -- | The encryption settings, if any, that are used for decrypting your -- input files. If your input file is encrypted, you must specify the -- mode that Elastic Transcoder uses to decrypt your file. jobInput_encryption :: Lens' JobInput (Maybe Encryption) -- | The frame rate of the input file. If you want Elastic Transcoder to -- automatically detect the frame rate of the input file, specify -- auto. If you want to specify the frame rate for the input -- file, enter one of the following values: -- -- 10, 15, 23.97, 24, 25, -- 29.97, 30, 60 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the frame rate. jobInput_frameRate :: Lens' JobInput (Maybe Text) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. jobInput_inputCaptions :: Lens' JobInput (Maybe InputCaptions) -- | Whether the input file is interlaced. If you want Elastic Transcoder -- to automatically detect whether the input file is interlaced, specify -- auto. If you want to specify whether the input file is -- interlaced, enter one of the following values: -- -- true, false -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of interlacing. jobInput_interlaced :: Lens' JobInput (Maybe Text) -- | The name of the file to transcode. Elsewhere in the body of the JSON -- block is the the ID of the pipeline to use for processing the job. The -- InputBucket object in that pipeline tells Elastic Transcoder -- which Amazon S3 bucket to get the file from. -- -- If the file name includes a prefix, such as -- cooking/lasagna.mpg, include the prefix in the key. If the -- file isn't in the specified bucket, Elastic Transcoder returns an -- error. jobInput_key :: Lens' JobInput (Maybe Text) -- | This value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. jobInput_resolution :: Lens' JobInput (Maybe Text) -- | Settings for clipping an input. Each input can have different clip -- settings. jobInput_timeSpan :: Lens' JobInput (Maybe TimeSpan) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.JobInput.JobInput instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.JobInput.JobInput instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.JobInput.JobInput instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.JobInput.JobInput instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.JobInput.JobInput instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.JobInput.JobInput instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.JobInput.JobInput instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.JobInput.JobInput module Amazonka.ElasticTranscoder.Types.Clip -- | Settings for one clip in a composition. All jobs in a playlist must -- have the same clip settings. -- -- See: newClip smart constructor. data Clip Clip' :: Maybe TimeSpan -> Clip -- | Settings that determine when a clip begins and how long it lasts. [$sel:timeSpan:Clip'] :: Clip -> Maybe TimeSpan -- | Create a value of Clip with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:timeSpan:Clip', clip_timeSpan - Settings that -- determine when a clip begins and how long it lasts. newClip :: Clip -- | Settings that determine when a clip begins and how long it lasts. clip_timeSpan :: Lens' Clip (Maybe TimeSpan) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Clip.Clip instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Clip.Clip instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Clip.Clip instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Clip.Clip instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Clip.Clip instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Clip.Clip instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Clip.Clip instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.Clip.Clip module Amazonka.ElasticTranscoder.Types.JobOutput -- | Outputs recommended instead. -- -- If you specified one output for a job, information about that output. -- If you specified multiple outputs for a job, the Output -- object lists information about the first output. This duplicates the -- information that is listed for the first output in the -- Outputs object. -- -- See: newJobOutput smart constructor. data JobOutput JobOutput' :: Maybe JobAlbumArt -> Maybe Text -> Maybe Captions -> Maybe [Clip] -> Maybe Integer -> Maybe Integer -> Maybe Encryption -> Maybe Integer -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe [JobWatermark] -> Maybe Int -> JobOutput -- | The album art to be associated with the output file, if any. [$sel:albumArt:JobOutput'] :: JobOutput -> Maybe JobAlbumArt -- | If Elastic Transcoder used a preset with a -- ColorSpaceConversionMode to transcode the output file, the -- AppliedColorSpaceConversion parameter shows the conversion -- used. If no ColorSpaceConversionMode was defined in the -- preset, this parameter is not be included in the job response. [$sel:appliedColorSpaceConversion:JobOutput'] :: JobOutput -> Maybe Text -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. [$sel:captions:JobOutput'] :: JobOutput -> Maybe Captions -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. [$sel:composition:JobOutput'] :: JobOutput -> Maybe [Clip] -- | Duration of the output file, in seconds. [$sel:duration:JobOutput'] :: JobOutput -> Maybe Integer -- | Duration of the output file, in milliseconds. [$sel:durationMillis:JobOutput'] :: JobOutput -> Maybe Integer -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your output files. If you choose to use encryption, you must -- specify a mode to use. If you choose not to use encryption, Elastic -- Transcoder writes an unencrypted file to your Amazon S3 bucket. [$sel:encryption:JobOutput'] :: JobOutput -> Maybe Encryption -- | File size of the output file, in bytes. [$sel:fileSize:JobOutput'] :: JobOutput -> Maybe Integer -- | Frame rate of the output file, in frames per second. [$sel:frameRate:JobOutput'] :: JobOutput -> Maybe Text -- | Height of the output file, in pixels. [$sel:height:JobOutput'] :: JobOutput -> Maybe Int -- | A sequential counter, starting with 1, that identifies an output among -- the outputs from the current job. In the Output syntax, this value is -- always 1. [$sel:id:JobOutput'] :: JobOutput -> Maybe Text -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. [$sel:key:JobOutput'] :: JobOutput -> Maybe Text -- | The value of the Id object for the preset that you want to -- use for this job. The preset determines the audio, video, and -- thumbnail settings that Elastic Transcoder uses for transcoding. To -- use a preset that you created, specify the preset ID that Elastic -- Transcoder returned in the response when you created the preset. You -- can also use the Elastic Transcoder system presets, which you can get -- with ListPresets. [$sel:presetId:JobOutput'] :: JobOutput -> Maybe Text -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: -- -- auto, 0, 90, 180, 270 -- -- The value auto generally works only if the file that you're -- transcoding contains rotation metadata. [$sel:rotate:JobOutput'] :: JobOutput -> Maybe Text -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4, MPEG-DASH, and Smooth playlists, all -- media segments for an output are stored in a single file. Each segment -- is approximately the length of the SegmentDuration, though -- individual segments might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. [$sel:segmentDuration:JobOutput'] :: JobOutput -> Maybe Text -- | The status of one output in a job. If you specified only one output -- for the job, Outputs:Status is always the same as -- Job:Status. If you specified more than one output: -- -- -- -- The value of Status is one of the following: -- Submitted, Progressing, Complete, -- Canceled, or Error. [$sel:status:JobOutput'] :: JobOutput -> Maybe Text -- | Information that further explains Status. [$sel:statusDetail:JobOutput'] :: JobOutput -> Maybe Text -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. [$sel:thumbnailEncryption:JobOutput'] :: JobOutput -> Maybe Encryption -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. [$sel:thumbnailPattern:JobOutput'] :: JobOutput -> Maybe Text -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset that you specify in Preset for the -- current output. -- -- Watermarks are added to the output video in the sequence in which you -- list them in the job output—the first watermark in the list is added -- to the output video first, the second watermark in the list is added -- next, and so on. As a result, if the settings in a preset cause -- Elastic Transcoder to place all watermarks in the same location, the -- second watermark that you add covers the first one, the third one -- covers the second, and the fourth one covers the third. [$sel:watermarks:JobOutput'] :: JobOutput -> Maybe [JobWatermark] -- | Specifies the width of the output file in pixels. [$sel:width:JobOutput'] :: JobOutput -> Maybe Int -- | Create a value of JobOutput with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArt:JobOutput', jobOutput_albumArt - The album -- art to be associated with the output file, if any. -- -- $sel:appliedColorSpaceConversion:JobOutput', -- jobOutput_appliedColorSpaceConversion - If Elastic Transcoder -- used a preset with a ColorSpaceConversionMode to transcode -- the output file, the AppliedColorSpaceConversion parameter -- shows the conversion used. If no ColorSpaceConversionMode was -- defined in the preset, this parameter is not be included in the job -- response. -- -- $sel:captions:JobOutput', jobOutput_captions - You can -- configure Elastic Transcoder to transcode captions, or subtitles, from -- one format to another. All captions must be in UTF-8. Elastic -- Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:composition:JobOutput', jobOutput_composition - You -- can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. -- -- $sel:duration:JobOutput', jobOutput_duration - Duration -- of the output file, in seconds. -- -- $sel:durationMillis:JobOutput', jobOutput_durationMillis -- - Duration of the output file, in milliseconds. -- -- JobOutput, jobOutput_encryption - The encryption -- settings, if any, that you want Elastic Transcoder to apply to your -- output files. If you choose to use encryption, you must specify a mode -- to use. If you choose not to use encryption, Elastic Transcoder writes -- an unencrypted file to your Amazon S3 bucket. -- -- $sel:fileSize:JobOutput', jobOutput_fileSize - File size -- of the output file, in bytes. -- -- $sel:frameRate:JobOutput', jobOutput_frameRate - Frame -- rate of the output file, in frames per second. -- -- $sel:height:JobOutput', jobOutput_height - Height of the -- output file, in pixels. -- -- $sel:id:JobOutput', jobOutput_id - A sequential counter, -- starting with 1, that identifies an output among the outputs from the -- current job. In the Output syntax, this value is always 1. -- -- JobOutput, jobOutput_key - The name to assign to the -- transcoded file. Elastic Transcoder saves the file in the Amazon S3 -- bucket specified by the OutputBucket object in the pipeline -- that is specified by the pipeline ID. -- -- $sel:presetId:JobOutput', jobOutput_presetId - The value -- of the Id object for the preset that you want to use for this -- job. The preset determines the audio, video, and thumbnail settings -- that Elastic Transcoder uses for transcoding. To use a preset that you -- created, specify the preset ID that Elastic Transcoder returned in the -- response when you created the preset. You can also use the Elastic -- Transcoder system presets, which you can get with -- ListPresets. -- -- $sel:rotate:JobOutput', jobOutput_rotate - The number of -- degrees clockwise by which you want Elastic Transcoder to rotate the -- output relative to the input. Enter one of the following values: -- -- auto, 0, 90, 180, 270 -- -- The value auto generally works only if the file that you're -- transcoding contains rotation metadata. -- -- $sel:segmentDuration:JobOutput', -- jobOutput_segmentDuration - (Outputs in Fragmented MP4 or -- MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4, MPEG-DASH, and Smooth playlists, all -- media segments for an output are stored in a single file. Each segment -- is approximately the length of the SegmentDuration, though -- individual segments might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. -- -- $sel:status:JobOutput', jobOutput_status - The status of -- one output in a job. If you specified only one output for the job, -- Outputs:Status is always the same as Job:Status. If -- you specified more than one output: -- -- -- -- The value of Status is one of the following: -- Submitted, Progressing, Complete, -- Canceled, or Error. -- -- $sel:statusDetail:JobOutput', jobOutput_statusDetail - -- Information that further explains Status. -- -- $sel:thumbnailEncryption:JobOutput', -- jobOutput_thumbnailEncryption - The encryption settings, if -- any, that you want Elastic Transcoder to apply to your thumbnail. -- -- $sel:thumbnailPattern:JobOutput', -- jobOutput_thumbnailPattern - Whether you want Elastic -- Transcoder to create thumbnails for your videos and, if so, how you -- want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. -- -- $sel:watermarks:JobOutput', jobOutput_watermarks - -- Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset that you specify in Preset for the -- current output. -- -- Watermarks are added to the output video in the sequence in which you -- list them in the job output—the first watermark in the list is added -- to the output video first, the second watermark in the list is added -- next, and so on. As a result, if the settings in a preset cause -- Elastic Transcoder to place all watermarks in the same location, the -- second watermark that you add covers the first one, the third one -- covers the second, and the fourth one covers the third. -- -- $sel:width:JobOutput', jobOutput_width - Specifies the -- width of the output file in pixels. newJobOutput :: JobOutput -- | The album art to be associated with the output file, if any. jobOutput_albumArt :: Lens' JobOutput (Maybe JobAlbumArt) -- | If Elastic Transcoder used a preset with a -- ColorSpaceConversionMode to transcode the output file, the -- AppliedColorSpaceConversion parameter shows the conversion -- used. If no ColorSpaceConversionMode was defined in the -- preset, this parameter is not be included in the job response. jobOutput_appliedColorSpaceConversion :: Lens' JobOutput (Maybe Text) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. jobOutput_captions :: Lens' JobOutput (Maybe Captions) -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. jobOutput_composition :: Lens' JobOutput (Maybe [Clip]) -- | Duration of the output file, in seconds. jobOutput_duration :: Lens' JobOutput (Maybe Integer) -- | Duration of the output file, in milliseconds. jobOutput_durationMillis :: Lens' JobOutput (Maybe Integer) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your output files. If you choose to use encryption, you must -- specify a mode to use. If you choose not to use encryption, Elastic -- Transcoder writes an unencrypted file to your Amazon S3 bucket. jobOutput_encryption :: Lens' JobOutput (Maybe Encryption) -- | File size of the output file, in bytes. jobOutput_fileSize :: Lens' JobOutput (Maybe Integer) -- | Frame rate of the output file, in frames per second. jobOutput_frameRate :: Lens' JobOutput (Maybe Text) -- | Height of the output file, in pixels. jobOutput_height :: Lens' JobOutput (Maybe Int) -- | A sequential counter, starting with 1, that identifies an output among -- the outputs from the current job. In the Output syntax, this value is -- always 1. jobOutput_id :: Lens' JobOutput (Maybe Text) -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. jobOutput_key :: Lens' JobOutput (Maybe Text) -- | The value of the Id object for the preset that you want to -- use for this job. The preset determines the audio, video, and -- thumbnail settings that Elastic Transcoder uses for transcoding. To -- use a preset that you created, specify the preset ID that Elastic -- Transcoder returned in the response when you created the preset. You -- can also use the Elastic Transcoder system presets, which you can get -- with ListPresets. jobOutput_presetId :: Lens' JobOutput (Maybe Text) -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: -- -- auto, 0, 90, 180, 270 -- -- The value auto generally works only if the file that you're -- transcoding contains rotation metadata. jobOutput_rotate :: Lens' JobOutput (Maybe Text) -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4, MPEG-DASH, and Smooth playlists, all -- media segments for an output are stored in a single file. Each segment -- is approximately the length of the SegmentDuration, though -- individual segments might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. jobOutput_segmentDuration :: Lens' JobOutput (Maybe Text) -- | The status of one output in a job. If you specified only one output -- for the job, Outputs:Status is always the same as -- Job:Status. If you specified more than one output: -- -- -- -- The value of Status is one of the following: -- Submitted, Progressing, Complete, -- Canceled, or Error. jobOutput_status :: Lens' JobOutput (Maybe Text) -- | Information that further explains Status. jobOutput_statusDetail :: Lens' JobOutput (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. jobOutput_thumbnailEncryption :: Lens' JobOutput (Maybe Encryption) -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. jobOutput_thumbnailPattern :: Lens' JobOutput (Maybe Text) -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset that you specify in Preset for the -- current output. -- -- Watermarks are added to the output video in the sequence in which you -- list them in the job output—the first watermark in the list is added -- to the output video first, the second watermark in the list is added -- next, and so on. As a result, if the settings in a preset cause -- Elastic Transcoder to place all watermarks in the same location, the -- second watermark that you add covers the first one, the third one -- covers the second, and the fourth one covers the third. jobOutput_watermarks :: Lens' JobOutput (Maybe [JobWatermark]) -- | Specifies the width of the output file in pixels. jobOutput_width :: Lens' JobOutput (Maybe Int) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.JobOutput.JobOutput instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.JobOutput.JobOutput instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.JobOutput.JobOutput instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.JobOutput.JobOutput instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.JobOutput.JobOutput instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.JobOutput.JobOutput instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.JobOutput.JobOutput module Amazonka.ElasticTranscoder.Types.CreateJobOutput -- | The CreateJobOutput structure. -- -- See: newCreateJobOutput smart constructor. data CreateJobOutput CreateJobOutput' :: Maybe JobAlbumArt -> Maybe Captions -> Maybe [Clip] -> Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe [JobWatermark] -> CreateJobOutput -- | Information about the album art that you want Elastic Transcoder to -- add to the file during transcoding. You can specify up to twenty album -- artworks for each output. Settings for each artwork must be defined in -- the job for the current output. [$sel:albumArt:CreateJobOutput'] :: CreateJobOutput -> Maybe JobAlbumArt -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. [$sel:captions:CreateJobOutput'] :: CreateJobOutput -> Maybe Captions -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. [$sel:composition:CreateJobOutput'] :: CreateJobOutput -> Maybe [Clip] -- | You can specify encryption settings for any output files that you want -- to use for a transcoding job. This includes the output file and any -- watermarks, thumbnails, album art, or captions that you want to use. -- You must specify encryption settings for each file individually. [$sel:encryption:CreateJobOutput'] :: CreateJobOutput -> Maybe Encryption -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. If a file with the specified name already exists in the -- output bucket, the job fails. [$sel:key:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | The Id of the preset to use for this job. The preset -- determines the audio, video, and thumbnail settings that Elastic -- Transcoder uses for transcoding. [$sel:presetId:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: auto, 0, 90, 180, -- 270. The value auto generally works only if the file -- that you're transcoding contains rotation metadata. [$sel:rotate:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4 and Smooth playlists, all media segments for -- an output are stored in a single file. Each segment is approximately -- the length of the SegmentDuration, though individual segments -- might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. [$sel:segmentDuration:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. [$sel:thumbnailEncryption:CreateJobOutput'] :: CreateJobOutput -> Maybe Encryption -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. [$sel:thumbnailPattern:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset for the current output. [$sel:watermarks:CreateJobOutput'] :: CreateJobOutput -> Maybe [JobWatermark] -- | Create a value of CreateJobOutput with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArt:CreateJobOutput', createJobOutput_albumArt -- - Information about the album art that you want Elastic Transcoder to -- add to the file during transcoding. You can specify up to twenty album -- artworks for each output. Settings for each artwork must be defined in -- the job for the current output. -- -- $sel:captions:CreateJobOutput', createJobOutput_captions -- - You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:composition:CreateJobOutput', -- createJobOutput_composition - You can create an output file -- that contains an excerpt from the input file. This excerpt, called a -- clip, can come from the beginning, middle, or end of the file. The -- Composition object contains settings for the clips that make up an -- output file. For the current release, you can only specify settings -- for a single clip per output file. The Composition object cannot be -- null. -- -- CreateJobOutput, createJobOutput_encryption - You can -- specify encryption settings for any output files that you want to use -- for a transcoding job. This includes the output file and any -- watermarks, thumbnails, album art, or captions that you want to use. -- You must specify encryption settings for each file individually. -- -- CreateJobOutput, createJobOutput_key - The name to -- assign to the transcoded file. Elastic Transcoder saves the file in -- the Amazon S3 bucket specified by the OutputBucket object in -- the pipeline that is specified by the pipeline ID. If a file with the -- specified name already exists in the output bucket, the job fails. -- -- $sel:presetId:CreateJobOutput', createJobOutput_presetId -- - The Id of the preset to use for this job. The preset -- determines the audio, video, and thumbnail settings that Elastic -- Transcoder uses for transcoding. -- -- $sel:rotate:CreateJobOutput', createJobOutput_rotate - -- The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: auto, 0, 90, 180, -- 270. The value auto generally works only if the file -- that you're transcoding contains rotation metadata. -- -- $sel:segmentDuration:CreateJobOutput', -- createJobOutput_segmentDuration - (Outputs in Fragmented MP4 or -- MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4 and Smooth playlists, all media segments for -- an output are stored in a single file. Each segment is approximately -- the length of the SegmentDuration, though individual segments -- might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. -- -- $sel:thumbnailEncryption:CreateJobOutput', -- createJobOutput_thumbnailEncryption - The encryption settings, -- if any, that you want Elastic Transcoder to apply to your thumbnail. -- -- $sel:thumbnailPattern:CreateJobOutput', -- createJobOutput_thumbnailPattern - Whether you want Elastic -- Transcoder to create thumbnails for your videos and, if so, how you -- want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. -- -- $sel:watermarks:CreateJobOutput', -- createJobOutput_watermarks - Information about the watermarks -- that you want Elastic Transcoder to add to the video during -- transcoding. You can specify up to four watermarks for each output. -- Settings for each watermark must be defined in the preset for the -- current output. newCreateJobOutput :: CreateJobOutput -- | Information about the album art that you want Elastic Transcoder to -- add to the file during transcoding. You can specify up to twenty album -- artworks for each output. Settings for each artwork must be defined in -- the job for the current output. createJobOutput_albumArt :: Lens' CreateJobOutput (Maybe JobAlbumArt) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. createJobOutput_captions :: Lens' CreateJobOutput (Maybe Captions) -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. createJobOutput_composition :: Lens' CreateJobOutput (Maybe [Clip]) -- | You can specify encryption settings for any output files that you want -- to use for a transcoding job. This includes the output file and any -- watermarks, thumbnails, album art, or captions that you want to use. -- You must specify encryption settings for each file individually. createJobOutput_encryption :: Lens' CreateJobOutput (Maybe Encryption) -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. If a file with the specified name already exists in the -- output bucket, the job fails. createJobOutput_key :: Lens' CreateJobOutput (Maybe Text) -- | The Id of the preset to use for this job. The preset -- determines the audio, video, and thumbnail settings that Elastic -- Transcoder uses for transcoding. createJobOutput_presetId :: Lens' CreateJobOutput (Maybe Text) -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: auto, 0, 90, 180, -- 270. The value auto generally works only if the file -- that you're transcoding contains rotation metadata. createJobOutput_rotate :: Lens' CreateJobOutput (Maybe Text) -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4 and Smooth playlists, all media segments for -- an output are stored in a single file. Each segment is approximately -- the length of the SegmentDuration, though individual segments -- might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. createJobOutput_segmentDuration :: Lens' CreateJobOutput (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. createJobOutput_thumbnailEncryption :: Lens' CreateJobOutput (Maybe Encryption) -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. createJobOutput_thumbnailPattern :: Lens' CreateJobOutput (Maybe Text) -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset for the current output. createJobOutput_watermarks :: Lens' CreateJobOutput (Maybe [JobWatermark]) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.CreateJobOutput.CreateJobOutput instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.CreateJobOutput.CreateJobOutput instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.CreateJobOutput.CreateJobOutput instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.CreateJobOutput.CreateJobOutput instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.CreateJobOutput.CreateJobOutput instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.CreateJobOutput.CreateJobOutput instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.CreateJobOutput.CreateJobOutput module Amazonka.ElasticTranscoder.Types.Timing -- | Details about the timing of a job. -- -- See: newTiming smart constructor. data Timing Timing' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Timing -- | The time the job finished transcoding, in epoch milliseconds. [$sel:finishTimeMillis:Timing'] :: Timing -> Maybe Integer -- | The time the job began transcoding, in epoch milliseconds. [$sel:startTimeMillis:Timing'] :: Timing -> Maybe Integer -- | The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. [$sel:submitTimeMillis:Timing'] :: Timing -> Maybe Integer -- | Create a value of Timing with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:finishTimeMillis:Timing', timing_finishTimeMillis - -- The time the job finished transcoding, in epoch milliseconds. -- -- $sel:startTimeMillis:Timing', timing_startTimeMillis - -- The time the job began transcoding, in epoch milliseconds. -- -- $sel:submitTimeMillis:Timing', timing_submitTimeMillis - -- The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. newTiming :: Timing -- | The time the job finished transcoding, in epoch milliseconds. timing_finishTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job began transcoding, in epoch milliseconds. timing_startTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. timing_submitTimeMillis :: Lens' Timing (Maybe Integer) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Timing.Timing instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Timing.Timing instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Timing.Timing instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Timing.Timing instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Timing.Timing instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Timing.Timing instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Timing.Timing module Amazonka.ElasticTranscoder.Types.Job -- | A section of the response body that provides information about the job -- that is created. -- -- See: newJob smart constructor. data Job Job' :: Maybe Text -> Maybe Text -> Maybe JobInput -> Maybe [JobInput] -> Maybe JobOutput -> Maybe Text -> Maybe [JobOutput] -> Maybe Text -> Maybe [Playlist] -> Maybe Text -> Maybe Timing -> Maybe (HashMap Text Text) -> Job -- | The Amazon Resource Name (ARN) for the job. [$sel:arn:Job'] :: Job -> Maybe Text -- | The identifier that Elastic Transcoder assigned to the job. You use -- this value to get settings for the job or to delete the job. [$sel:id:Job'] :: Job -> Maybe Text -- | A section of the request or response body that provides information -- about the file that is being transcoded. [$sel:input:Job'] :: Job -> Maybe JobInput -- | Information about the files that you're transcoding. If you specified -- multiple files for this job, Elastic Transcoder stitches the files -- together to make one output. [$sel:inputs:Job'] :: Job -> Maybe [JobInput] -- | If you specified one output for a job, information about that output. -- If you specified multiple outputs for a job, the Output object lists -- information about the first output. This duplicates the information -- that is listed for the first output in the Outputs object. -- -- Outputs recommended instead. -- -- A section of the request or response body that provides information -- about the transcoded (target) file. [$sel:output:Job'] :: Job -> Maybe JobOutput -- | 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. We recommend that you add a / or some other -- delimiter to the end of the OutputKeyPrefix. [$sel:outputKeyPrefix:Job'] :: Job -> Maybe Text -- | Information about the output files. We recommend that you use the -- Outputs syntax for all jobs, even when you want Elastic -- Transcoder to transcode a file into only one format. Do not use both -- the Outputs and Output syntaxes in the same request. -- You can create a maximum of 30 outputs per job. -- -- If you specify more than one output for a job, Elastic Transcoder -- creates the files for each output in the order in which you specify -- them in the job. [$sel:outputs:Job'] :: Job -> Maybe [JobOutput] -- | 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. [$sel:pipelineId:Job'] :: Job -> Maybe Text -- | Outputs in Fragmented MP4 or MPEG-TS format only. -- -- 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. [$sel:playlists:Job'] :: Job -> Maybe [Playlist] -- | The status of the job: Submitted, Progressing, -- Complete, Canceled, or Error. [$sel:status:Job'] :: Job -> Maybe Text -- | Details about the timing of a job. [$sel:timing:Job'] :: Job -> Maybe Timing -- | 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. -- -- Metadata keys and values must use characters from -- the following list: -- -- [$sel:userMetadata:Job'] :: Job -> Maybe (HashMap Text Text) -- | Create a value of Job with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Job', job_arn - The Amazon Resource Name (ARN) -- for the job. -- -- Job, job_id - The identifier that Elastic Transcoder -- assigned to the job. You use this value to get settings for the job or -- to delete the job. -- -- $sel:input:Job', job_input - A section of the request or -- response body that provides information about the file that is being -- transcoded. -- -- $sel:inputs:Job', job_inputs - Information about the -- files that you're transcoding. If you specified multiple files for -- this job, Elastic Transcoder stitches the files together to make one -- output. -- -- $sel:output:Job', job_output - If you specified one -- output for a job, information about that output. If you specified -- multiple outputs for a job, the Output object lists information about -- the first output. This duplicates the information that is listed for -- the first output in the Outputs object. -- -- Outputs recommended instead. -- -- A section of the request or response body that provides information -- about the transcoded (target) file. -- -- $sel:outputKeyPrefix:Job', job_outputKeyPrefix - 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. We recommend that you add a / or some other -- delimiter to the end of the OutputKeyPrefix. -- -- $sel:outputs:Job', job_outputs - Information about the -- output files. We recommend that you use the Outputs syntax -- for all jobs, even when you want Elastic Transcoder to transcode a -- file into only one format. Do not use both the Outputs and -- Output syntaxes in the same request. You can create a maximum -- of 30 outputs per job. -- -- If you specify more than one output for a job, Elastic Transcoder -- creates the files for each output in the order in which you specify -- them in the job. -- -- $sel:pipelineId:Job', job_pipelineId - 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. -- -- $sel:playlists:Job', job_playlists - Outputs in -- Fragmented MP4 or MPEG-TS format only. -- -- 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. -- -- Job, job_status - The status of the job: -- Submitted, Progressing, Complete, -- Canceled, or Error. -- -- $sel:timing:Job', job_timing - Details about the timing -- of a job. -- -- $sel:userMetadata:Job', job_userMetadata - 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. -- -- Metadata keys and values must use characters from -- the following list: -- -- newJob :: Job -- | The Amazon Resource Name (ARN) for the job. job_arn :: Lens' Job (Maybe Text) -- | The identifier that Elastic Transcoder assigned to the job. You use -- this value to get settings for the job or to delete the job. job_id :: Lens' Job (Maybe Text) -- | A section of the request or response body that provides information -- about the file that is being transcoded. job_input :: Lens' Job (Maybe JobInput) -- | Information about the files that you're transcoding. If you specified -- multiple files for this job, Elastic Transcoder stitches the files -- together to make one output. job_inputs :: Lens' Job (Maybe [JobInput]) -- | If you specified one output for a job, information about that output. -- If you specified multiple outputs for a job, the Output object lists -- information about the first output. This duplicates the information -- that is listed for the first output in the Outputs object. -- -- Outputs recommended instead. -- -- A section of the request or response body that provides information -- about the transcoded (target) file. job_output :: Lens' Job (Maybe JobOutput) -- | 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. We recommend that you add a / or some other -- delimiter to the end of the OutputKeyPrefix. job_outputKeyPrefix :: Lens' Job (Maybe Text) -- | Information about the output files. We recommend that you use the -- Outputs syntax for all jobs, even when you want Elastic -- Transcoder to transcode a file into only one format. Do not use both -- the Outputs and Output syntaxes in the same request. -- You can create a maximum of 30 outputs per job. -- -- If you specify more than one output for a job, Elastic Transcoder -- creates the files for each output in the order in which you specify -- them in the job. job_outputs :: Lens' Job (Maybe [JobOutput]) -- | 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. job_pipelineId :: Lens' Job (Maybe Text) -- | Outputs in Fragmented MP4 or MPEG-TS format only. -- -- 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. job_playlists :: Lens' Job (Maybe [Playlist]) -- | The status of the job: Submitted, Progressing, -- Complete, Canceled, or Error. job_status :: Lens' Job (Maybe Text) -- | Details about the timing of a job. job_timing :: Lens' Job (Maybe Timing) -- | 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. -- -- Metadata keys and values must use characters from -- the following list: -- -- job_userMetadata :: Lens' Job (Maybe (HashMap Text Text)) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Job.Job instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Job.Job instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Job.Job instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Job.Job instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Job.Job instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Job.Job instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Job.Job module Amazonka.ElasticTranscoder.Types.VideoParameters -- | The VideoParameters structure. -- -- See: newVideoParameters smart constructor. data VideoParameters VideoParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PresetWatermark] -> VideoParameters -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The display aspect ratio of the video in the output file. Valid values -- include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the input file. -- -- If you specify an aspect ratio for the output file that differs from -- aspect ratio of the input file, Elastic Transcoder adds pillarboxing -- (black bars on the sides) or letterboxing (black bars on the top and -- bottom) to maintain the aspect ratio of the active region of the -- video. [$sel:aspectRatio:VideoParameters'] :: VideoParameters -> Maybe Text -- | The bit rate of the video stream in the output file, in -- kilobits/second. Valid values depend on the values of Level -- and Profile. If you specify auto, Elastic Transcoder -- uses the detected bit rate of the input source. If you specify a value -- other than auto, we recommend that you specify a value less -- than or equal to the maximum H.264-compliant value listed for your -- level and profile: -- -- /Level - Maximum video bit rate in kilobits/second (baseline and main -- Profile) : maximum video bit rate in kilobits/second (high Profile)/ -- -- [$sel:bitRate:VideoParameters'] :: VideoParameters -> Maybe Text -- | The video codec for the output file. Valid values include -- gif, H.264, mpeg2, vp8, and -- vp9. You can only specify vp8 and vp9 when -- the container type is webm, gif when the container -- type is gif, and mpeg2 when the container type is -- mpg. [$sel:codec:VideoParameters'] :: VideoParameters -> Maybe Text -- | Profile (H.264/VP8/VP9 Only) -- -- The H.264 profile that you want to use for the output file. Elastic -- Transcoder supports the following profiles: -- -- -- -- Level (H.264 Only) -- -- The H.264 level that you want to use for the output file. Elastic -- Transcoder supports the following levels: -- -- 1, 1b, 1.1, 1.2, 1.3, -- 2, 2.1, 2.2, 3, 3.1, -- 3.2, 4, 4.1 -- -- MaxReferenceFrames (H.264 Only) -- -- Applicable only when the value of Video:Codec is H.264. The maximum -- number of previously decoded frames to use as a reference for decoding -- future frames. Valid values are integers 0 through 16, but we -- recommend that you not use a value greater than the following: -- --
--   Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
--   
-- -- where Width in pixels and Height in pixels represent -- either MaxWidth and MaxHeight, or Resolution. /Maximum decoded picture -- buffer in macroblocks/ depends on the value of the Level -- object. See the list below. (A macroblock is a block of pixels -- measuring 16x16.) -- -- -- -- MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits per second in a video buffer; the size of -- the buffer is specified by BufferSize. Specify a value -- between 16 and 62,500. You can reduce the bandwidth required to stream -- a video by reducing the maximum bit rate, but this also reduces the -- quality of the video. -- -- BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits in any x seconds of the output video. This -- window is commonly 10 seconds, the standard segment duration when -- you're using FMP4 or MPEG-TS for the container type of the output -- video. Specify an integer greater than 0. If you specify -- MaxBitRate and omit BufferSize, Elastic Transcoder -- sets BufferSize to 10 times the value of MaxBitRate. -- -- InterlacedMode (Optional, H.264/MPEG2 Only) -- -- The interlace mode for the output video. -- -- Interlaced video is used to double the perceived frame rate for a -- video by interlacing two fields (one field on every other line, the -- other field on the other lines) so that the human eye registers -- multiple pictures per frame. Interlacing reduces the bandwidth -- required for transmitting a video, but can result in blurred images -- and flickering. -- -- Valid values include Progressive (no interlacing, top to -- bottom), TopFirst (top field first), BottomFirst -- (bottom field first), and Auto. -- -- If InterlaceMode is not specified, Elastic Transcoder uses -- Progressive for the output. If Auto is specified, -- Elastic Transcoder interlaces the output. -- -- ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) -- -- The color space conversion Elastic Transcoder applies to the output -- video. Color spaces are the algorithms used by the computer to store -- information about how to render color. Bt.601 is the standard -- for standard definition video, while Bt.709 is the standard -- for high definition video. -- -- Valid values include None, Bt709toBt601, -- Bt601toBt709, and Auto. -- -- If you chose Auto for ColorSpaceConversionMode and -- your output is interlaced, your frame rate is one of 23.97, -- 24, 25, 29.97, 50, or 60, -- your SegmentDuration is null, and you are using one of the -- resolution changes from the list below, Elastic Transcoder applies the -- following color space conversions: -- -- -- -- Elastic Transcoder may change the behavior of the -- ColorspaceConversionMode Auto mode in the future. -- All outputs in a playlist must use the same -- ColorSpaceConversionMode. -- -- If you do not specify a ColorSpaceConversionMode, Elastic -- Transcoder does not change the color space of a file. If you are -- unsure what ColorSpaceConversionMode was applied to your -- output file, you can check the AppliedColorSpaceConversion -- parameter included in your job response. If your job does not have an -- AppliedColorSpaceConversion in its response, no -- ColorSpaceConversionMode was applied. -- -- ChromaSubsampling -- -- The sampling pattern for the chroma (color) channels of the output -- video. Valid values include yuv420p and yuv422p. -- -- yuv420p samples the chroma information of every other -- horizontal and every other vertical line, yuv422p samples the -- color information of every horizontal line and every other vertical -- line. -- -- LoopCount (Gif Only) -- -- The number of times you want the output gif to loop. Valid values -- include Infinite and integers between 0 and -- 100, inclusive. [$sel:codecOptions:VideoParameters'] :: VideoParameters -> Maybe (HashMap Text Text) -- | The value that Elastic Transcoder adds to the metadata in the output -- file. [$sel:displayAspectRatio:VideoParameters'] :: VideoParameters -> Maybe Text -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- Whether to use a fixed value for FixedGOP. Valid values are -- true and false: -- -- -- -- FixedGOP must be set to true for fmp4 -- containers. [$sel:fixedGOP:VideoParameters'] :: VideoParameters -> Maybe Text -- | The frames per second for the video stream in the output file. Valid -- values include: -- -- auto, 10, 15, 23.97, 24, -- 25, 29.97, 30, 60 -- -- If you specify auto, Elastic Transcoder uses the detected -- frame rate of the input source. If you specify a frame rate, we -- recommend that you perform the following calculation: -- --
--   Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
--   
-- -- where: -- -- -- -- The maximum recommended decoding speed in Luma samples/second for each -- level is described in the following list (Level - Decoding -- speed): -- -- [$sel:frameRate:VideoParameters'] :: VideoParameters -> Maybe Text -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- The maximum number of frames between key frames. Key frames are fully -- encoded frames; the frames between key frames are encoded based, in -- part, on the content of the key frames. The value is an integer -- formatted as a string; valid values are between 1 (every frame is a -- key frame) and 100000, inclusive. A higher value results in higher -- compression but may also discernibly decrease video quality. -- -- For Smooth outputs, the FrameRate must have a -- constant ratio to the KeyframesMaxDist. This allows -- Smooth playlists to switch between different quality levels -- while the file is being played. -- -- For example, an input file can have a FrameRate of 30 with a -- KeyframesMaxDist of 90. The output file then needs to have a -- ratio of 1:3. Valid outputs would have FrameRate of 30, 25, -- and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. -- -- Alternately, this can be achieved by setting FrameRate to -- auto and having the same values for MaxFrameRate and -- KeyframesMaxDist. [$sel:keyframesMaxDist:VideoParameters'] :: VideoParameters -> Maybe Text -- | If you specify auto for FrameRate, Elastic -- Transcoder uses the frame rate of the input video for the frame rate -- of the output video. Specify the maximum frame rate that you want -- Elastic Transcoder to use when the frame rate of the input video is -- greater than the desired maximum frame rate of the output video. Valid -- values include: 10, 15, 23.97, 24, -- 25, 29.97, 30, 60. [$sel:maxFrameRate:VideoParameters'] :: VideoParameters -> Maybe Text -- | The maximum height of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1080 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 96 and 3072. [$sel:maxHeight:VideoParameters'] :: VideoParameters -> Maybe Text -- | The maximum width of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1920 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 128 and 4096. [$sel:maxWidth:VideoParameters'] :: VideoParameters -> Maybe Text -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of the output video to make the total size of the output -- video match the values that you specified for MaxWidth and -- MaxHeight. [$sel:paddingPolicy:VideoParameters'] :: VideoParameters -> Maybe Text -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The width and height of the video in the output file, in pixels. Valid -- values are auto and width x height: -- -- -- -- Note the following about specifying the width and height: -- -- [$sel:resolution:VideoParameters'] :: VideoParameters -> Maybe Text -- | Specify one of the following values to control scaling of the output -- video: -- -- [$sel:sizingPolicy:VideoParameters'] :: VideoParameters -> Maybe Text -- | Settings for the size, location, and opacity of graphics that you want -- Elastic Transcoder to overlay over videos that are transcoded using -- this preset. You can specify settings for up to four watermarks. -- Watermarks appear in the specified size and location, and with the -- specified opacity for the duration of the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. [$sel:watermarks:VideoParameters'] :: VideoParameters -> Maybe [PresetWatermark] -- | Create a value of VideoParameters with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:VideoParameters', -- videoParameters_aspectRatio - To better control resolution and -- aspect ratio of output videos, we recommend that you use the values -- MaxWidth, MaxHeight, SizingPolicy, -- PaddingPolicy, and DisplayAspectRatio instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The display aspect ratio of the video in the output file. Valid values -- include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the input file. -- -- If you specify an aspect ratio for the output file that differs from -- aspect ratio of the input file, Elastic Transcoder adds pillarboxing -- (black bars on the sides) or letterboxing (black bars on the top and -- bottom) to maintain the aspect ratio of the active region of the -- video. -- -- $sel:bitRate:VideoParameters', videoParameters_bitRate - -- The bit rate of the video stream in the output file, in -- kilobits/second. Valid values depend on the values of Level -- and Profile. If you specify auto, Elastic Transcoder -- uses the detected bit rate of the input source. If you specify a value -- other than auto, we recommend that you specify a value less -- than or equal to the maximum H.264-compliant value listed for your -- level and profile: -- -- /Level - Maximum video bit rate in kilobits/second (baseline and main -- Profile) : maximum video bit rate in kilobits/second (high Profile)/ -- -- -- -- $sel:codec:VideoParameters', videoParameters_codec - The -- video codec for the output file. Valid values include gif, -- H.264, mpeg2, vp8, and vp9. You -- can only specify vp8 and vp9 when the container type -- is webm, gif when the container type is -- gif, and mpeg2 when the container type is -- mpg. -- -- $sel:codecOptions:VideoParameters', -- videoParameters_codecOptions - Profile (H.264/VP8/VP9 -- Only) -- -- The H.264 profile that you want to use for the output file. Elastic -- Transcoder supports the following profiles: -- -- -- -- Level (H.264 Only) -- -- The H.264 level that you want to use for the output file. Elastic -- Transcoder supports the following levels: -- -- 1, 1b, 1.1, 1.2, 1.3, -- 2, 2.1, 2.2, 3, 3.1, -- 3.2, 4, 4.1 -- -- MaxReferenceFrames (H.264 Only) -- -- Applicable only when the value of Video:Codec is H.264. The maximum -- number of previously decoded frames to use as a reference for decoding -- future frames. Valid values are integers 0 through 16, but we -- recommend that you not use a value greater than the following: -- --
--   Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
--   
-- -- where Width in pixels and Height in pixels represent -- either MaxWidth and MaxHeight, or Resolution. /Maximum decoded picture -- buffer in macroblocks/ depends on the value of the Level -- object. See the list below. (A macroblock is a block of pixels -- measuring 16x16.) -- -- -- -- MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits per second in a video buffer; the size of -- the buffer is specified by BufferSize. Specify a value -- between 16 and 62,500. You can reduce the bandwidth required to stream -- a video by reducing the maximum bit rate, but this also reduces the -- quality of the video. -- -- BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits in any x seconds of the output video. This -- window is commonly 10 seconds, the standard segment duration when -- you're using FMP4 or MPEG-TS for the container type of the output -- video. Specify an integer greater than 0. If you specify -- MaxBitRate and omit BufferSize, Elastic Transcoder -- sets BufferSize to 10 times the value of MaxBitRate. -- -- InterlacedMode (Optional, H.264/MPEG2 Only) -- -- The interlace mode for the output video. -- -- Interlaced video is used to double the perceived frame rate for a -- video by interlacing two fields (one field on every other line, the -- other field on the other lines) so that the human eye registers -- multiple pictures per frame. Interlacing reduces the bandwidth -- required for transmitting a video, but can result in blurred images -- and flickering. -- -- Valid values include Progressive (no interlacing, top to -- bottom), TopFirst (top field first), BottomFirst -- (bottom field first), and Auto. -- -- If InterlaceMode is not specified, Elastic Transcoder uses -- Progressive for the output. If Auto is specified, -- Elastic Transcoder interlaces the output. -- -- ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) -- -- The color space conversion Elastic Transcoder applies to the output -- video. Color spaces are the algorithms used by the computer to store -- information about how to render color. Bt.601 is the standard -- for standard definition video, while Bt.709 is the standard -- for high definition video. -- -- Valid values include None, Bt709toBt601, -- Bt601toBt709, and Auto. -- -- If you chose Auto for ColorSpaceConversionMode and -- your output is interlaced, your frame rate is one of 23.97, -- 24, 25, 29.97, 50, or 60, -- your SegmentDuration is null, and you are using one of the -- resolution changes from the list below, Elastic Transcoder applies the -- following color space conversions: -- -- -- -- Elastic Transcoder may change the behavior of the -- ColorspaceConversionMode Auto mode in the future. -- All outputs in a playlist must use the same -- ColorSpaceConversionMode. -- -- If you do not specify a ColorSpaceConversionMode, Elastic -- Transcoder does not change the color space of a file. If you are -- unsure what ColorSpaceConversionMode was applied to your -- output file, you can check the AppliedColorSpaceConversion -- parameter included in your job response. If your job does not have an -- AppliedColorSpaceConversion in its response, no -- ColorSpaceConversionMode was applied. -- -- ChromaSubsampling -- -- The sampling pattern for the chroma (color) channels of the output -- video. Valid values include yuv420p and yuv422p. -- -- yuv420p samples the chroma information of every other -- horizontal and every other vertical line, yuv422p samples the -- color information of every horizontal line and every other vertical -- line. -- -- LoopCount (Gif Only) -- -- The number of times you want the output gif to loop. Valid values -- include Infinite and integers between 0 and -- 100, inclusive. -- -- $sel:displayAspectRatio:VideoParameters', -- videoParameters_displayAspectRatio - The value that Elastic -- Transcoder adds to the metadata in the output file. -- -- $sel:fixedGOP:VideoParameters', videoParameters_fixedGOP -- - Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- Whether to use a fixed value for FixedGOP. Valid values are -- true and false: -- -- -- -- FixedGOP must be set to true for fmp4 -- containers. -- -- $sel:frameRate:VideoParameters', -- videoParameters_frameRate - The frames per second for the video -- stream in the output file. Valid values include: -- -- auto, 10, 15, 23.97, 24, -- 25, 29.97, 30, 60 -- -- If you specify auto, Elastic Transcoder uses the detected -- frame rate of the input source. If you specify a frame rate, we -- recommend that you perform the following calculation: -- --
--   Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
--   
-- -- where: -- -- -- -- The maximum recommended decoding speed in Luma samples/second for each -- level is described in the following list (Level - Decoding -- speed): -- -- -- -- $sel:keyframesMaxDist:VideoParameters', -- videoParameters_keyframesMaxDist - Applicable only when the -- value of Video:Codec is one of H.264, MPEG2, or -- VP8. -- -- The maximum number of frames between key frames. Key frames are fully -- encoded frames; the frames between key frames are encoded based, in -- part, on the content of the key frames. The value is an integer -- formatted as a string; valid values are between 1 (every frame is a -- key frame) and 100000, inclusive. A higher value results in higher -- compression but may also discernibly decrease video quality. -- -- For Smooth outputs, the FrameRate must have a -- constant ratio to the KeyframesMaxDist. This allows -- Smooth playlists to switch between different quality levels -- while the file is being played. -- -- For example, an input file can have a FrameRate of 30 with a -- KeyframesMaxDist of 90. The output file then needs to have a -- ratio of 1:3. Valid outputs would have FrameRate of 30, 25, -- and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. -- -- Alternately, this can be achieved by setting FrameRate to -- auto and having the same values for MaxFrameRate and -- KeyframesMaxDist. -- -- $sel:maxFrameRate:VideoParameters', -- videoParameters_maxFrameRate - If you specify auto for -- FrameRate, Elastic Transcoder uses the frame rate of the -- input video for the frame rate of the output video. Specify the -- maximum frame rate that you want Elastic Transcoder to use when the -- frame rate of the input video is greater than the desired maximum -- frame rate of the output video. Valid values include: 10, -- 15, 23.97, 24, 25, 29.97, -- 30, 60. -- -- VideoParameters, videoParameters_maxHeight - The maximum -- height of the output video in pixels. If you specify auto, -- Elastic Transcoder uses 1080 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 96 and 3072. -- -- VideoParameters, videoParameters_maxWidth - The maximum -- width of the output video in pixels. If you specify auto, -- Elastic Transcoder uses 1920 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 128 and 4096. -- -- $sel:paddingPolicy:VideoParameters', -- videoParameters_paddingPolicy - When you set -- PaddingPolicy to Pad, Elastic Transcoder may add -- black bars to the top and bottom and/or left and right sides of the -- output video to make the total size of the output video match the -- values that you specified for MaxWidth and -- MaxHeight. -- -- $sel:resolution:VideoParameters', -- videoParameters_resolution - To better control resolution and -- aspect ratio of output videos, we recommend that you use the values -- MaxWidth, MaxHeight, SizingPolicy, -- PaddingPolicy, and DisplayAspectRatio instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The width and height of the video in the output file, in pixels. Valid -- values are auto and width x height: -- -- -- -- Note the following about specifying the width and height: -- -- -- -- VideoParameters, videoParameters_sizingPolicy - Specify -- one of the following values to control scaling of the output video: -- -- -- -- $sel:watermarks:VideoParameters', -- videoParameters_watermarks - Settings for the size, location, -- and opacity of graphics that you want Elastic Transcoder to overlay -- over videos that are transcoded using this preset. You can specify -- settings for up to four watermarks. Watermarks appear in the specified -- size and location, and with the specified opacity for the duration of -- the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. newVideoParameters :: VideoParameters -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The display aspect ratio of the video in the output file. Valid values -- include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the input file. -- -- If you specify an aspect ratio for the output file that differs from -- aspect ratio of the input file, Elastic Transcoder adds pillarboxing -- (black bars on the sides) or letterboxing (black bars on the top and -- bottom) to maintain the aspect ratio of the active region of the -- video. videoParameters_aspectRatio :: Lens' VideoParameters (Maybe Text) -- | The bit rate of the video stream in the output file, in -- kilobits/second. Valid values depend on the values of Level -- and Profile. If you specify auto, Elastic Transcoder -- uses the detected bit rate of the input source. If you specify a value -- other than auto, we recommend that you specify a value less -- than or equal to the maximum H.264-compliant value listed for your -- level and profile: -- -- /Level - Maximum video bit rate in kilobits/second (baseline and main -- Profile) : maximum video bit rate in kilobits/second (high Profile)/ -- -- videoParameters_bitRate :: Lens' VideoParameters (Maybe Text) -- | The video codec for the output file. Valid values include -- gif, H.264, mpeg2, vp8, and -- vp9. You can only specify vp8 and vp9 when -- the container type is webm, gif when the container -- type is gif, and mpeg2 when the container type is -- mpg. videoParameters_codec :: Lens' VideoParameters (Maybe Text) -- | Profile (H.264/VP8/VP9 Only) -- -- The H.264 profile that you want to use for the output file. Elastic -- Transcoder supports the following profiles: -- -- -- -- Level (H.264 Only) -- -- The H.264 level that you want to use for the output file. Elastic -- Transcoder supports the following levels: -- -- 1, 1b, 1.1, 1.2, 1.3, -- 2, 2.1, 2.2, 3, 3.1, -- 3.2, 4, 4.1 -- -- MaxReferenceFrames (H.264 Only) -- -- Applicable only when the value of Video:Codec is H.264. The maximum -- number of previously decoded frames to use as a reference for decoding -- future frames. Valid values are integers 0 through 16, but we -- recommend that you not use a value greater than the following: -- --
--   Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
--   
-- -- where Width in pixels and Height in pixels represent -- either MaxWidth and MaxHeight, or Resolution. /Maximum decoded picture -- buffer in macroblocks/ depends on the value of the Level -- object. See the list below. (A macroblock is a block of pixels -- measuring 16x16.) -- -- -- -- MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits per second in a video buffer; the size of -- the buffer is specified by BufferSize. Specify a value -- between 16 and 62,500. You can reduce the bandwidth required to stream -- a video by reducing the maximum bit rate, but this also reduces the -- quality of the video. -- -- BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits in any x seconds of the output video. This -- window is commonly 10 seconds, the standard segment duration when -- you're using FMP4 or MPEG-TS for the container type of the output -- video. Specify an integer greater than 0. If you specify -- MaxBitRate and omit BufferSize, Elastic Transcoder -- sets BufferSize to 10 times the value of MaxBitRate. -- -- InterlacedMode (Optional, H.264/MPEG2 Only) -- -- The interlace mode for the output video. -- -- Interlaced video is used to double the perceived frame rate for a -- video by interlacing two fields (one field on every other line, the -- other field on the other lines) so that the human eye registers -- multiple pictures per frame. Interlacing reduces the bandwidth -- required for transmitting a video, but can result in blurred images -- and flickering. -- -- Valid values include Progressive (no interlacing, top to -- bottom), TopFirst (top field first), BottomFirst -- (bottom field first), and Auto. -- -- If InterlaceMode is not specified, Elastic Transcoder uses -- Progressive for the output. If Auto is specified, -- Elastic Transcoder interlaces the output. -- -- ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) -- -- The color space conversion Elastic Transcoder applies to the output -- video. Color spaces are the algorithms used by the computer to store -- information about how to render color. Bt.601 is the standard -- for standard definition video, while Bt.709 is the standard -- for high definition video. -- -- Valid values include None, Bt709toBt601, -- Bt601toBt709, and Auto. -- -- If you chose Auto for ColorSpaceConversionMode and -- your output is interlaced, your frame rate is one of 23.97, -- 24, 25, 29.97, 50, or 60, -- your SegmentDuration is null, and you are using one of the -- resolution changes from the list below, Elastic Transcoder applies the -- following color space conversions: -- -- -- -- Elastic Transcoder may change the behavior of the -- ColorspaceConversionMode Auto mode in the future. -- All outputs in a playlist must use the same -- ColorSpaceConversionMode. -- -- If you do not specify a ColorSpaceConversionMode, Elastic -- Transcoder does not change the color space of a file. If you are -- unsure what ColorSpaceConversionMode was applied to your -- output file, you can check the AppliedColorSpaceConversion -- parameter included in your job response. If your job does not have an -- AppliedColorSpaceConversion in its response, no -- ColorSpaceConversionMode was applied. -- -- ChromaSubsampling -- -- The sampling pattern for the chroma (color) channels of the output -- video. Valid values include yuv420p and yuv422p. -- -- yuv420p samples the chroma information of every other -- horizontal and every other vertical line, yuv422p samples the -- color information of every horizontal line and every other vertical -- line. -- -- LoopCount (Gif Only) -- -- The number of times you want the output gif to loop. Valid values -- include Infinite and integers between 0 and -- 100, inclusive. videoParameters_codecOptions :: Lens' VideoParameters (Maybe (HashMap Text Text)) -- | The value that Elastic Transcoder adds to the metadata in the output -- file. videoParameters_displayAspectRatio :: Lens' VideoParameters (Maybe Text) -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- Whether to use a fixed value for FixedGOP. Valid values are -- true and false: -- -- -- -- FixedGOP must be set to true for fmp4 -- containers. videoParameters_fixedGOP :: Lens' VideoParameters (Maybe Text) -- | The frames per second for the video stream in the output file. Valid -- values include: -- -- auto, 10, 15, 23.97, 24, -- 25, 29.97, 30, 60 -- -- If you specify auto, Elastic Transcoder uses the detected -- frame rate of the input source. If you specify a frame rate, we -- recommend that you perform the following calculation: -- --
--   Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
--   
-- -- where: -- -- -- -- The maximum recommended decoding speed in Luma samples/second for each -- level is described in the following list (Level - Decoding -- speed): -- -- videoParameters_frameRate :: Lens' VideoParameters (Maybe Text) -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- The maximum number of frames between key frames. Key frames are fully -- encoded frames; the frames between key frames are encoded based, in -- part, on the content of the key frames. The value is an integer -- formatted as a string; valid values are between 1 (every frame is a -- key frame) and 100000, inclusive. A higher value results in higher -- compression but may also discernibly decrease video quality. -- -- For Smooth outputs, the FrameRate must have a -- constant ratio to the KeyframesMaxDist. This allows -- Smooth playlists to switch between different quality levels -- while the file is being played. -- -- For example, an input file can have a FrameRate of 30 with a -- KeyframesMaxDist of 90. The output file then needs to have a -- ratio of 1:3. Valid outputs would have FrameRate of 30, 25, -- and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. -- -- Alternately, this can be achieved by setting FrameRate to -- auto and having the same values for MaxFrameRate and -- KeyframesMaxDist. videoParameters_keyframesMaxDist :: Lens' VideoParameters (Maybe Text) -- | If you specify auto for FrameRate, Elastic -- Transcoder uses the frame rate of the input video for the frame rate -- of the output video. Specify the maximum frame rate that you want -- Elastic Transcoder to use when the frame rate of the input video is -- greater than the desired maximum frame rate of the output video. Valid -- values include: 10, 15, 23.97, 24, -- 25, 29.97, 30, 60. videoParameters_maxFrameRate :: Lens' VideoParameters (Maybe Text) -- | The maximum height of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1080 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 96 and 3072. videoParameters_maxHeight :: Lens' VideoParameters (Maybe Text) -- | The maximum width of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1920 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 128 and 4096. videoParameters_maxWidth :: Lens' VideoParameters (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of the output video to make the total size of the output -- video match the values that you specified for MaxWidth and -- MaxHeight. videoParameters_paddingPolicy :: Lens' VideoParameters (Maybe Text) -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The width and height of the video in the output file, in pixels. Valid -- values are auto and width x height: -- -- -- -- Note the following about specifying the width and height: -- -- videoParameters_resolution :: Lens' VideoParameters (Maybe Text) -- | Specify one of the following values to control scaling of the output -- video: -- -- videoParameters_sizingPolicy :: Lens' VideoParameters (Maybe Text) -- | Settings for the size, location, and opacity of graphics that you want -- Elastic Transcoder to overlay over videos that are transcoded using -- this preset. You can specify settings for up to four watermarks. -- Watermarks appear in the specified size and location, and with the -- specified opacity for the duration of the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. videoParameters_watermarks :: Lens' VideoParameters (Maybe [PresetWatermark]) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.VideoParameters.VideoParameters instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.VideoParameters.VideoParameters instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.VideoParameters.VideoParameters instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.VideoParameters.VideoParameters instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.VideoParameters.VideoParameters instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.VideoParameters.VideoParameters instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.VideoParameters.VideoParameters instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.Types.VideoParameters.VideoParameters module Amazonka.ElasticTranscoder.Types.Preset -- | Presets are templates that contain most of the settings for -- transcoding media files from one format to another. Elastic Transcoder -- includes some default presets for common formats, for example, several -- iPod and iPhone versions. You can also create your own presets for -- formats that aren't included among the default presets. You specify -- which preset you want to use when you create a job. -- -- See: newPreset smart constructor. data Preset Preset' :: Maybe Text -> Maybe AudioParameters -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Thumbnails -> Maybe Text -> Maybe VideoParameters -> Preset -- | The Amazon Resource Name (ARN) for the preset. [$sel:arn:Preset'] :: Preset -> Maybe Text -- | A section of the response body that provides information about the -- audio preset values. [$sel:audio:Preset'] :: Preset -> Maybe AudioParameters -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. [$sel:container:Preset'] :: Preset -> Maybe Text -- | A description of the preset. [$sel:description:Preset'] :: Preset -> Maybe Text -- | Identifier for the new preset. You use this value to get settings for -- the preset or to delete it. [$sel:id:Preset'] :: Preset -> Maybe Text -- | The name of the preset. [$sel:name:Preset'] :: Preset -> Maybe Text -- | A section of the response body that provides information about the -- thumbnail preset values, if any. [$sel:thumbnails:Preset'] :: Preset -> Maybe Thumbnails -- | Whether the preset is a default preset provided by Elastic Transcoder -- (System) or a preset that you have defined (Custom). [$sel:type':Preset'] :: Preset -> Maybe Text -- | A section of the response body that provides information about the -- video preset values. [$sel:video:Preset'] :: Preset -> Maybe VideoParameters -- | Create a value of Preset with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Preset', preset_arn - The Amazon Resource Name -- (ARN) for the preset. -- -- $sel:audio:Preset', preset_audio - A section of the -- response body that provides information about the audio preset values. -- -- $sel:container:Preset', preset_container - The container -- type for the output file. Valid values include flac, -- flv, fmp4, gif, mp3, mp4, -- mpg, mxf, oga, ogg, ts, -- and webm. -- -- $sel:description:Preset', preset_description - A -- description of the preset. -- -- $sel:id:Preset', preset_id - Identifier for the new -- preset. You use this value to get settings for the preset or to delete -- it. -- -- $sel:name:Preset', preset_name - The name of the preset. -- -- $sel:thumbnails:Preset', preset_thumbnails - A section -- of the response body that provides information about the thumbnail -- preset values, if any. -- -- $sel:type':Preset', preset_type - Whether the preset is -- a default preset provided by Elastic Transcoder (System) or a -- preset that you have defined (Custom). -- -- $sel:video:Preset', preset_video - A section of the -- response body that provides information about the video preset values. newPreset :: Preset -- | The Amazon Resource Name (ARN) for the preset. preset_arn :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- audio preset values. preset_audio :: Lens' Preset (Maybe AudioParameters) -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. preset_container :: Lens' Preset (Maybe Text) -- | A description of the preset. preset_description :: Lens' Preset (Maybe Text) -- | Identifier for the new preset. You use this value to get settings for -- the preset or to delete it. preset_id :: Lens' Preset (Maybe Text) -- | The name of the preset. preset_name :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- thumbnail preset values, if any. preset_thumbnails :: Lens' Preset (Maybe Thumbnails) -- | Whether the preset is a default preset provided by Elastic Transcoder -- (System) or a preset that you have defined (Custom). preset_type :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- video preset values. preset_video :: Lens' Preset (Maybe VideoParameters) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Preset.Preset instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Preset.Preset instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Preset.Preset instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Preset.Preset instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Preset.Preset instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Preset.Preset instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Preset.Preset module Amazonka.ElasticTranscoder.Types.Warning -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- See: newWarning smart constructor. data Warning Warning' :: Maybe Text -> Maybe Text -> Warning -- | The code of the cross-regional warning. [$sel:code:Warning'] :: Warning -> Maybe Text -- | The message explaining what resources are in a different region from -- the pipeline. -- -- AWS KMS keys must be in the same region as the pipeline. [$sel:message:Warning'] :: Warning -> Maybe Text -- | Create a value of Warning with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:code:Warning', warning_code - The code of the -- cross-regional warning. -- -- $sel:message:Warning', warning_message - The message -- explaining what resources are in a different region from the pipeline. -- -- AWS KMS keys must be in the same region as the pipeline. newWarning :: Warning -- | The code of the cross-regional warning. warning_code :: Lens' Warning (Maybe Text) -- | The message explaining what resources are in a different region from -- the pipeline. -- -- AWS KMS keys must be in the same region as the pipeline. warning_message :: Lens' Warning (Maybe Text) instance GHC.Generics.Generic Amazonka.ElasticTranscoder.Types.Warning.Warning instance GHC.Show.Show Amazonka.ElasticTranscoder.Types.Warning.Warning instance GHC.Read.Read Amazonka.ElasticTranscoder.Types.Warning.Warning instance GHC.Classes.Eq Amazonka.ElasticTranscoder.Types.Warning.Warning instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ElasticTranscoder.Types.Warning.Warning instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.Types.Warning.Warning instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.Types.Warning.Warning module Amazonka.ElasticTranscoder.Types -- | API version 2012-09-25 of the Amazon Elastic Transcoder SDK -- configuration. defaultService :: Service -- | General authentication failure. The request was not signed correctly. _AccessDeniedException :: AsError a => Fold a ServiceError -- | Prism for IncompatibleVersionException' errors. _IncompatibleVersionException :: AsError a => Fold a ServiceError -- | Elastic Transcoder encountered an unexpected exception while trying to -- fulfill the request. _InternalServiceException :: AsError a => Fold a ServiceError -- | Too many operations for a given AWS account. For example, the number -- of pipelines exceeds the maximum allowed. _LimitExceededException :: AsError a => Fold a ServiceError -- | The resource you are attempting to change is in use. For example, you -- are attempting to delete a pipeline that is currently in use. _ResourceInUseException :: AsError a => Fold a ServiceError -- | The requested resource does not exist or is not available. For -- example, the pipeline to which you're trying to add a job doesn't -- exist or is still being created. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | One or more required parameter values were not provided in the -- request. _ValidationException :: AsError a => Fold a ServiceError -- | The file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. -- -- To remove artwork or leave the artwork empty, you can either set -- Artwork to null, or set the Merge Policy to -- "Replace" and use an empty Artwork array. -- -- To pass through existing artwork unchanged, set the Merge -- Policy to "Prepend", "Append", or "Fallback", and use an empty -- Artwork array. -- -- See: newArtwork smart constructor. data Artwork Artwork' :: Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Artwork -- | The format of album art, if any. Valid formats are .jpg and -- .png. [$sel:albumArtFormat:Artwork'] :: Artwork -> Maybe Text -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your artwork. [$sel:encryption:Artwork'] :: Artwork -> Maybe Encryption -- | The name of the file to be used as album art. To determine which -- Amazon S3 bucket contains the specified file, Elastic Transcoder -- checks the pipeline specified by PipelineId; the -- InputBucket object in that pipeline identifies the bucket. -- -- If the file name includes a prefix, for example, -- cooking/pie.jpg, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. [$sel:inputKey:Artwork'] :: Artwork -> Maybe Text -- | The maximum height of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 3072, inclusive. [$sel:maxHeight:Artwork'] :: Artwork -> Maybe Text -- | The maximum width of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 4096, inclusive. [$sel:maxWidth:Artwork'] :: Artwork -> Maybe Text -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add white bars to the top and bottom and/or left and -- right sides of the output album art to make the total size of the -- output art match the values that you specified for MaxWidth -- and MaxHeight. [$sel:paddingPolicy:Artwork'] :: Artwork -> Maybe Text -- | Specify one of the following values to control scaling of the output -- album art: -- -- [$sel:sizingPolicy:Artwork'] :: Artwork -> Maybe Text -- | Create a value of Artwork with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArtFormat:Artwork', artwork_albumArtFormat - -- The format of album art, if any. Valid formats are .jpg and -- .png. -- -- $sel:encryption:Artwork', artwork_encryption - The -- encryption settings, if any, that you want Elastic Transcoder to apply -- to your artwork. -- -- $sel:inputKey:Artwork', artwork_inputKey - The name of -- the file to be used as album art. To determine which Amazon S3 bucket -- contains the specified file, Elastic Transcoder checks the pipeline -- specified by PipelineId; the InputBucket object in -- that pipeline identifies the bucket. -- -- If the file name includes a prefix, for example, -- cooking/pie.jpg, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. -- -- $sel:maxHeight:Artwork', artwork_maxHeight - The maximum -- height of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 3072, inclusive. -- -- $sel:maxWidth:Artwork', artwork_maxWidth - The maximum -- width of the output album art in pixels. If you specify auto, -- Elastic Transcoder uses 600 as the default value. If you specify a -- numeric value, enter an even integer between 32 and 4096, inclusive. -- -- $sel:paddingPolicy:Artwork', artwork_paddingPolicy - -- When you set PaddingPolicy to Pad, Elastic -- Transcoder may add white bars to the top and bottom and/or left and -- right sides of the output album art to make the total size of the -- output art match the values that you specified for MaxWidth -- and MaxHeight. -- -- $sel:sizingPolicy:Artwork', artwork_sizingPolicy - -- Specify one of the following values to control scaling of the output -- album art: -- -- newArtwork :: Artwork -- | The format of album art, if any. Valid formats are .jpg and -- .png. artwork_albumArtFormat :: Lens' Artwork (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your artwork. artwork_encryption :: Lens' Artwork (Maybe Encryption) -- | The name of the file to be used as album art. To determine which -- Amazon S3 bucket contains the specified file, Elastic Transcoder -- checks the pipeline specified by PipelineId; the -- InputBucket object in that pipeline identifies the bucket. -- -- If the file name includes a prefix, for example, -- cooking/pie.jpg, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. artwork_inputKey :: Lens' Artwork (Maybe Text) -- | The maximum height of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 3072, inclusive. artwork_maxHeight :: Lens' Artwork (Maybe Text) -- | The maximum width of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 4096, inclusive. artwork_maxWidth :: Lens' Artwork (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add white bars to the top and bottom and/or left and -- right sides of the output album art to make the total size of the -- output art match the values that you specified for MaxWidth -- and MaxHeight. artwork_paddingPolicy :: Lens' Artwork (Maybe Text) -- | Specify one of the following values to control scaling of the output -- album art: -- -- artwork_sizingPolicy :: Lens' Artwork (Maybe Text) -- | Options associated with your audio codec. -- -- See: newAudioCodecOptions smart constructor. data AudioCodecOptions AudioCodecOptions' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AudioCodecOptions -- | You can only choose an audio bit depth when you specify flac -- or pcm for the value of Audio:Codec. -- -- The bit depth of a sample is how many bits of information are included -- in the audio samples. The higher the bit depth, the better the audio, -- but the larger the file. -- -- Valid values are 16 and 24. -- -- The most common bit depth is 24. [$sel:bitDepth:AudioCodecOptions'] :: AudioCodecOptions -> Maybe Text -- | You can only choose an audio bit order when you specify pcm -- for the value of Audio:Codec. -- -- The order the bits of a PCM sample are stored in. -- -- The supported value is LittleEndian. [$sel:bitOrder:AudioCodecOptions'] :: AudioCodecOptions -> Maybe Text -- | You can only choose an audio profile when you specify AAC for the -- value of Audio:Codec. -- -- Specify the AAC profile for the output file. Elastic Transcoder -- supports the following profiles: -- -- -- -- All outputs in a Smooth playlist must have the same value for -- Profile. -- -- If you created any presets before AAC profiles were added, Elastic -- Transcoder automatically updated your presets to use AAC-LC. You can -- change the value as required. [$sel:profile:AudioCodecOptions'] :: AudioCodecOptions -> Maybe Text -- | You can only choose whether an audio sample is signed when you specify -- pcm for the value of Audio:Codec. -- -- Whether audio samples are represented with negative and positive -- numbers (signed) or only positive numbers (unsigned). -- -- The supported value is Signed. [$sel:signed:AudioCodecOptions'] :: AudioCodecOptions -> Maybe Text -- | Create a value of AudioCodecOptions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:bitDepth:AudioCodecOptions', -- audioCodecOptions_bitDepth - You can only choose an audio bit -- depth when you specify flac or pcm for the value of -- Audio:Codec. -- -- The bit depth of a sample is how many bits of information are included -- in the audio samples. The higher the bit depth, the better the audio, -- but the larger the file. -- -- Valid values are 16 and 24. -- -- The most common bit depth is 24. -- -- $sel:bitOrder:AudioCodecOptions', -- audioCodecOptions_bitOrder - You can only choose an audio bit -- order when you specify pcm for the value of Audio:Codec. -- -- The order the bits of a PCM sample are stored in. -- -- The supported value is LittleEndian. -- -- $sel:profile:AudioCodecOptions', -- audioCodecOptions_profile - You can only choose an audio -- profile when you specify AAC for the value of Audio:Codec. -- -- Specify the AAC profile for the output file. Elastic Transcoder -- supports the following profiles: -- -- -- -- All outputs in a Smooth playlist must have the same value for -- Profile. -- -- If you created any presets before AAC profiles were added, Elastic -- Transcoder automatically updated your presets to use AAC-LC. You can -- change the value as required. -- -- $sel:signed:AudioCodecOptions', audioCodecOptions_signed -- - You can only choose whether an audio sample is signed when you -- specify pcm for the value of Audio:Codec. -- -- Whether audio samples are represented with negative and positive -- numbers (signed) or only positive numbers (unsigned). -- -- The supported value is Signed. newAudioCodecOptions :: AudioCodecOptions -- | You can only choose an audio bit depth when you specify flac -- or pcm for the value of Audio:Codec. -- -- The bit depth of a sample is how many bits of information are included -- in the audio samples. The higher the bit depth, the better the audio, -- but the larger the file. -- -- Valid values are 16 and 24. -- -- The most common bit depth is 24. audioCodecOptions_bitDepth :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose an audio bit order when you specify pcm -- for the value of Audio:Codec. -- -- The order the bits of a PCM sample are stored in. -- -- The supported value is LittleEndian. audioCodecOptions_bitOrder :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose an audio profile when you specify AAC for the -- value of Audio:Codec. -- -- Specify the AAC profile for the output file. Elastic Transcoder -- supports the following profiles: -- -- -- -- All outputs in a Smooth playlist must have the same value for -- Profile. -- -- If you created any presets before AAC profiles were added, Elastic -- Transcoder automatically updated your presets to use AAC-LC. You can -- change the value as required. audioCodecOptions_profile :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose whether an audio sample is signed when you specify -- pcm for the value of Audio:Codec. -- -- Whether audio samples are represented with negative and positive -- numbers (signed) or only positive numbers (unsigned). -- -- The supported value is Signed. audioCodecOptions_signed :: Lens' AudioCodecOptions (Maybe Text) -- | Parameters required for transcoding audio. -- -- See: newAudioParameters smart constructor. data AudioParameters AudioParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AudioCodecOptions -> Maybe Text -> AudioParameters -- | The method of organizing audio channels and tracks. Use -- Audio:Channels to specify the number of channels in your -- output, and Audio:AudioPackingMode to specify the number of -- tracks and their relation to the channels. If you do not specify an -- Audio:AudioPackingMode, Elastic Transcoder uses -- SingleTrack. -- -- The following values are valid: -- -- SingleTrack, OneChannelPerTrack, and -- OneChannelPerTrackWithMosTo8Tracks -- -- When you specify SingleTrack, Elastic Transcoder creates a -- single track for your output. The track can have up to eight channels. -- Use SingleTrack for all non-mxf containers. -- -- The outputs of SingleTrack for a specific channel value and -- inputs are as follows: -- -- -- -- When you specify OneChannelPerTrack, Elastic Transcoder -- creates a new track for every channel in your output. Your output can -- have up to eight single-channel tracks. -- -- The outputs of OneChannelPerTrack for a specific channel -- value and inputs are as follows: -- -- -- -- When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic -- Transcoder creates eight single-channel tracks for your output. All -- tracks that do not contain audio data from an input channel are MOS, -- or Mit Out Sound, tracks. -- -- The outputs of OneChannelPerTrackWithMosTo8Tracks for a -- specific channel value and inputs are as follows: -- -- [$sel:audioPackingMode:AudioParameters'] :: AudioParameters -> Maybe Text -- | The bit rate of the audio stream in the output file, in -- kilobits/second. Enter an integer between 64 and 320, inclusive. [$sel:bitRate:AudioParameters'] :: AudioParameters -> Maybe Text -- | The number of audio channels in the output file. The following values -- are valid: -- -- auto, 0, 1, 2 -- -- One channel carries the information played by a single speaker. For -- example, a stereo track with two channels sends one channel to the -- left speaker, and the other channel to the right speaker. The output -- channels are organized into tracks. If you want Elastic Transcoder to -- automatically detect the number of audio channels in the input file -- and use that value for the output file, select auto. -- -- The output of a specific channel value and inputs are as follows: -- -- -- -- For more information about how Elastic Transcoder organizes channels -- and tracks, see Audio:AudioPackingMode. [$sel:channels:AudioParameters'] :: AudioParameters -> Maybe Text -- | The audio codec for the output file. Valid values include -- aac, flac, mp2, mp3, pcm, -- and vorbis. [$sel:codec:AudioParameters'] :: AudioParameters -> Maybe Text -- | If you specified AAC for Audio:Codec, this is the -- AAC compression profile to use. Valid values include: -- -- auto, AAC-LC, HE-AAC, HE-AACv2 -- -- If you specify auto, Elastic Transcoder chooses a profile -- based on the bit rate of the output file. [$sel:codecOptions:AudioParameters'] :: AudioParameters -> Maybe AudioCodecOptions -- | The sample rate of the audio stream in the output file, in Hertz. -- Valid values include: -- -- auto, 22050, 32000, 44100, -- 48000, 96000 -- -- If you specify auto, Elastic Transcoder automatically detects -- the sample rate. [$sel:sampleRate:AudioParameters'] :: AudioParameters -> Maybe Text -- | Create a value of AudioParameters with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:audioPackingMode:AudioParameters', -- audioParameters_audioPackingMode - The method of organizing -- audio channels and tracks. Use Audio:Channels to specify the -- number of channels in your output, and Audio:AudioPackingMode -- to specify the number of tracks and their relation to the channels. If -- you do not specify an Audio:AudioPackingMode, Elastic -- Transcoder uses SingleTrack. -- -- The following values are valid: -- -- SingleTrack, OneChannelPerTrack, and -- OneChannelPerTrackWithMosTo8Tracks -- -- When you specify SingleTrack, Elastic Transcoder creates a -- single track for your output. The track can have up to eight channels. -- Use SingleTrack for all non-mxf containers. -- -- The outputs of SingleTrack for a specific channel value and -- inputs are as follows: -- -- -- -- When you specify OneChannelPerTrack, Elastic Transcoder -- creates a new track for every channel in your output. Your output can -- have up to eight single-channel tracks. -- -- The outputs of OneChannelPerTrack for a specific channel -- value and inputs are as follows: -- -- -- -- When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic -- Transcoder creates eight single-channel tracks for your output. All -- tracks that do not contain audio data from an input channel are MOS, -- or Mit Out Sound, tracks. -- -- The outputs of OneChannelPerTrackWithMosTo8Tracks for a -- specific channel value and inputs are as follows: -- -- -- -- $sel:bitRate:AudioParameters', audioParameters_bitRate - -- The bit rate of the audio stream in the output file, in -- kilobits/second. Enter an integer between 64 and 320, inclusive. -- -- $sel:channels:AudioParameters', audioParameters_channels -- - The number of audio channels in the output file. The following -- values are valid: -- -- auto, 0, 1, 2 -- -- One channel carries the information played by a single speaker. For -- example, a stereo track with two channels sends one channel to the -- left speaker, and the other channel to the right speaker. The output -- channels are organized into tracks. If you want Elastic Transcoder to -- automatically detect the number of audio channels in the input file -- and use that value for the output file, select auto. -- -- The output of a specific channel value and inputs are as follows: -- -- -- -- For more information about how Elastic Transcoder organizes channels -- and tracks, see Audio:AudioPackingMode. -- -- $sel:codec:AudioParameters', audioParameters_codec - The -- audio codec for the output file. Valid values include aac, -- flac, mp2, mp3, pcm, and -- vorbis. -- -- $sel:codecOptions:AudioParameters', -- audioParameters_codecOptions - If you specified AAC -- for Audio:Codec, this is the AAC compression profile -- to use. Valid values include: -- -- auto, AAC-LC, HE-AAC, HE-AACv2 -- -- If you specify auto, Elastic Transcoder chooses a profile -- based on the bit rate of the output file. -- -- $sel:sampleRate:AudioParameters', -- audioParameters_sampleRate - The sample rate of the audio -- stream in the output file, in Hertz. Valid values include: -- -- auto, 22050, 32000, 44100, -- 48000, 96000 -- -- If you specify auto, Elastic Transcoder automatically detects -- the sample rate. newAudioParameters :: AudioParameters -- | The method of organizing audio channels and tracks. Use -- Audio:Channels to specify the number of channels in your -- output, and Audio:AudioPackingMode to specify the number of -- tracks and their relation to the channels. If you do not specify an -- Audio:AudioPackingMode, Elastic Transcoder uses -- SingleTrack. -- -- The following values are valid: -- -- SingleTrack, OneChannelPerTrack, and -- OneChannelPerTrackWithMosTo8Tracks -- -- When you specify SingleTrack, Elastic Transcoder creates a -- single track for your output. The track can have up to eight channels. -- Use SingleTrack for all non-mxf containers. -- -- The outputs of SingleTrack for a specific channel value and -- inputs are as follows: -- -- -- -- When you specify OneChannelPerTrack, Elastic Transcoder -- creates a new track for every channel in your output. Your output can -- have up to eight single-channel tracks. -- -- The outputs of OneChannelPerTrack for a specific channel -- value and inputs are as follows: -- -- -- -- When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic -- Transcoder creates eight single-channel tracks for your output. All -- tracks that do not contain audio data from an input channel are MOS, -- or Mit Out Sound, tracks. -- -- The outputs of OneChannelPerTrackWithMosTo8Tracks for a -- specific channel value and inputs are as follows: -- -- audioParameters_audioPackingMode :: Lens' AudioParameters (Maybe Text) -- | The bit rate of the audio stream in the output file, in -- kilobits/second. Enter an integer between 64 and 320, inclusive. audioParameters_bitRate :: Lens' AudioParameters (Maybe Text) -- | The number of audio channels in the output file. The following values -- are valid: -- -- auto, 0, 1, 2 -- -- One channel carries the information played by a single speaker. For -- example, a stereo track with two channels sends one channel to the -- left speaker, and the other channel to the right speaker. The output -- channels are organized into tracks. If you want Elastic Transcoder to -- automatically detect the number of audio channels in the input file -- and use that value for the output file, select auto. -- -- The output of a specific channel value and inputs are as follows: -- -- -- -- For more information about how Elastic Transcoder organizes channels -- and tracks, see Audio:AudioPackingMode. audioParameters_channels :: Lens' AudioParameters (Maybe Text) -- | The audio codec for the output file. Valid values include -- aac, flac, mp2, mp3, pcm, -- and vorbis. audioParameters_codec :: Lens' AudioParameters (Maybe Text) -- | If you specified AAC for Audio:Codec, this is the -- AAC compression profile to use. Valid values include: -- -- auto, AAC-LC, HE-AAC, HE-AACv2 -- -- If you specify auto, Elastic Transcoder chooses a profile -- based on the bit rate of the output file. audioParameters_codecOptions :: Lens' AudioParameters (Maybe AudioCodecOptions) -- | The sample rate of the audio stream in the output file, in Hertz. -- Valid values include: -- -- auto, 22050, 32000, 44100, -- 48000, 96000 -- -- If you specify auto, Elastic Transcoder automatically detects -- the sample rate. audioParameters_sampleRate :: Lens' AudioParameters (Maybe Text) -- | The file format of the output captions. If you leave this value blank, -- Elastic Transcoder returns an error. -- -- See: newCaptionFormat smart constructor. data CaptionFormat CaptionFormat' :: Maybe Encryption -> Maybe Text -> Maybe Text -> CaptionFormat -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. [$sel:encryption:CaptionFormat'] :: CaptionFormat -> Maybe Encryption -- | The format you specify determines whether Elastic Transcoder generates -- an embedded or sidecar caption for this output. -- -- [$sel:format:CaptionFormat'] :: CaptionFormat -> Maybe Text -- | The prefix for caption filenames, in the form -- description-{language}, where: -- -- -- -- If you don't include {language} in the file name pattern, -- Elastic Transcoder automatically appends "{language}" to the -- value that you specify for the description. In addition, Elastic -- Transcoder automatically appends the count to the end of the segment -- files. -- -- For example, suppose you're transcoding into srt format. When you -- enter "Sydney-{language}-sunrise", and the language of the captions is -- English (en), the name of the first caption file is be -- Sydney-en-sunrise00000.srt. [$sel:pattern':CaptionFormat'] :: CaptionFormat -> Maybe Text -- | Create a value of CaptionFormat with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:CaptionFormat', captionFormat_encryption -- - The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. -- -- $sel:format:CaptionFormat', captionFormat_format - The -- format you specify determines whether Elastic Transcoder generates an -- embedded or sidecar caption for this output. -- -- -- -- $sel:pattern':CaptionFormat', captionFormat_pattern - -- The prefix for caption filenames, in the form -- description-{language}, where: -- -- -- -- If you don't include {language} in the file name pattern, -- Elastic Transcoder automatically appends "{language}" to the -- value that you specify for the description. In addition, Elastic -- Transcoder automatically appends the count to the end of the segment -- files. -- -- For example, suppose you're transcoding into srt format. When you -- enter "Sydney-{language}-sunrise", and the language of the captions is -- English (en), the name of the first caption file is be -- Sydney-en-sunrise00000.srt. newCaptionFormat :: CaptionFormat -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. captionFormat_encryption :: Lens' CaptionFormat (Maybe Encryption) -- | The format you specify determines whether Elastic Transcoder generates -- an embedded or sidecar caption for this output. -- -- captionFormat_format :: Lens' CaptionFormat (Maybe Text) -- | The prefix for caption filenames, in the form -- description-{language}, where: -- -- -- -- If you don't include {language} in the file name pattern, -- Elastic Transcoder automatically appends "{language}" to the -- value that you specify for the description. In addition, Elastic -- Transcoder automatically appends the count to the end of the segment -- files. -- -- For example, suppose you're transcoding into srt format. When you -- enter "Sydney-{language}-sunrise", and the language of the captions is -- English (en), the name of the first caption file is be -- Sydney-en-sunrise00000.srt. captionFormat_pattern :: Lens' CaptionFormat (Maybe Text) -- | A source file for the input sidecar captions used during the -- transcoding process. -- -- See: newCaptionSource smart constructor. data CaptionSource CaptionSource' :: Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CaptionSource -- | The encryption settings, if any, that Elastic Transcoder needs to -- decyrpt your caption sources, or that you want Elastic Transcoder to -- apply to your caption sources. [$sel:encryption:CaptionSource'] :: CaptionSource -> Maybe Encryption -- | The name of the sidecar caption file that you want Elastic Transcoder -- to include in the output file. [$sel:key:CaptionSource'] :: CaptionSource -> Maybe Text -- | The label of the caption shown in the player when choosing a language. -- We recommend that you put the caption language name here, in the -- language of the captions. [$sel:label:CaptionSource'] :: CaptionSource -> Maybe Text -- | A string that specifies the language of the caption. If you specified -- multiple inputs with captions, the caption language must match in -- order to be included in the output. Specify this as one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. [$sel:language:CaptionSource'] :: CaptionSource -> Maybe Text -- | For clip generation or captions that do not start at the same time as -- the associated video file, the TimeOffset tells Elastic -- Transcoder how much of the video to encode before including captions. -- -- Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. [$sel:timeOffset:CaptionSource'] :: CaptionSource -> Maybe Text -- | Create a value of CaptionSource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:CaptionSource', captionSource_encryption -- - The encryption settings, if any, that Elastic Transcoder needs to -- decyrpt your caption sources, or that you want Elastic Transcoder to -- apply to your caption sources. -- -- CaptionSource, captionSource_key - The name of the -- sidecar caption file that you want Elastic Transcoder to include in -- the output file. -- -- $sel:label:CaptionSource', captionSource_label - The -- label of the caption shown in the player when choosing a language. We -- recommend that you put the caption language name here, in the language -- of the captions. -- -- $sel:language:CaptionSource', captionSource_language - A -- string that specifies the language of the caption. If you specified -- multiple inputs with captions, the caption language must match in -- order to be included in the output. Specify this as one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. -- -- $sel:timeOffset:CaptionSource', captionSource_timeOffset -- - For clip generation or captions that do not start at the same time -- as the associated video file, the TimeOffset tells Elastic -- Transcoder how much of the video to encode before including captions. -- -- Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. newCaptionSource :: CaptionSource -- | The encryption settings, if any, that Elastic Transcoder needs to -- decyrpt your caption sources, or that you want Elastic Transcoder to -- apply to your caption sources. captionSource_encryption :: Lens' CaptionSource (Maybe Encryption) -- | The name of the sidecar caption file that you want Elastic Transcoder -- to include in the output file. captionSource_key :: Lens' CaptionSource (Maybe Text) -- | The label of the caption shown in the player when choosing a language. -- We recommend that you put the caption language name here, in the -- language of the captions. captionSource_label :: Lens' CaptionSource (Maybe Text) -- | A string that specifies the language of the caption. If you specified -- multiple inputs with captions, the caption language must match in -- order to be included in the output. Specify this as one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. captionSource_language :: Lens' CaptionSource (Maybe Text) -- | For clip generation or captions that do not start at the same time as -- the associated video file, the TimeOffset tells Elastic -- Transcoder how much of the video to encode before including captions. -- -- Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. captionSource_timeOffset :: Lens' CaptionSource (Maybe Text) -- | The captions to be created, if any. -- -- See: newCaptions smart constructor. data Captions Captions' :: Maybe [CaptionFormat] -> Maybe [CaptionSource] -> Maybe Text -> Captions -- | The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. [$sel:captionFormats:Captions'] :: Captions -> Maybe [CaptionFormat] -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. [$sel:captionSources:Captions'] :: Captions -> Maybe [CaptionSource] -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. [$sel:mergePolicy:Captions'] :: Captions -> Maybe Text -- | Create a value of Captions with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:captionFormats:Captions', captions_captionFormats - -- The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. -- -- $sel:captionSources:Captions', captions_captionSources - -- Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. -- -- $sel:mergePolicy:Captions', captions_mergePolicy - A -- policy that determines how Elastic Transcoder handles the existence of -- multiple captions. -- -- -- -- MergePolicy cannot be null. newCaptions :: Captions -- | The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. captions_captionFormats :: Lens' Captions (Maybe [CaptionFormat]) -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. captions_captionSources :: Lens' Captions (Maybe [CaptionSource]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. captions_mergePolicy :: Lens' Captions (Maybe Text) -- | Settings for one clip in a composition. All jobs in a playlist must -- have the same clip settings. -- -- See: newClip smart constructor. data Clip Clip' :: Maybe TimeSpan -> Clip -- | Settings that determine when a clip begins and how long it lasts. [$sel:timeSpan:Clip'] :: Clip -> Maybe TimeSpan -- | Create a value of Clip with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:timeSpan:Clip', clip_timeSpan - Settings that -- determine when a clip begins and how long it lasts. newClip :: Clip -- | Settings that determine when a clip begins and how long it lasts. clip_timeSpan :: Lens' Clip (Maybe TimeSpan) -- | The CreateJobOutput structure. -- -- See: newCreateJobOutput smart constructor. data CreateJobOutput CreateJobOutput' :: Maybe JobAlbumArt -> Maybe Captions -> Maybe [Clip] -> Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe [JobWatermark] -> CreateJobOutput -- | Information about the album art that you want Elastic Transcoder to -- add to the file during transcoding. You can specify up to twenty album -- artworks for each output. Settings for each artwork must be defined in -- the job for the current output. [$sel:albumArt:CreateJobOutput'] :: CreateJobOutput -> Maybe JobAlbumArt -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. [$sel:captions:CreateJobOutput'] :: CreateJobOutput -> Maybe Captions -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. [$sel:composition:CreateJobOutput'] :: CreateJobOutput -> Maybe [Clip] -- | You can specify encryption settings for any output files that you want -- to use for a transcoding job. This includes the output file and any -- watermarks, thumbnails, album art, or captions that you want to use. -- You must specify encryption settings for each file individually. [$sel:encryption:CreateJobOutput'] :: CreateJobOutput -> Maybe Encryption -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. If a file with the specified name already exists in the -- output bucket, the job fails. [$sel:key:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | The Id of the preset to use for this job. The preset -- determines the audio, video, and thumbnail settings that Elastic -- Transcoder uses for transcoding. [$sel:presetId:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: auto, 0, 90, 180, -- 270. The value auto generally works only if the file -- that you're transcoding contains rotation metadata. [$sel:rotate:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4 and Smooth playlists, all media segments for -- an output are stored in a single file. Each segment is approximately -- the length of the SegmentDuration, though individual segments -- might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. [$sel:segmentDuration:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. [$sel:thumbnailEncryption:CreateJobOutput'] :: CreateJobOutput -> Maybe Encryption -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. [$sel:thumbnailPattern:CreateJobOutput'] :: CreateJobOutput -> Maybe Text -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset for the current output. [$sel:watermarks:CreateJobOutput'] :: CreateJobOutput -> Maybe [JobWatermark] -- | Create a value of CreateJobOutput with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArt:CreateJobOutput', createJobOutput_albumArt -- - Information about the album art that you want Elastic Transcoder to -- add to the file during transcoding. You can specify up to twenty album -- artworks for each output. Settings for each artwork must be defined in -- the job for the current output. -- -- $sel:captions:CreateJobOutput', createJobOutput_captions -- - You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:composition:CreateJobOutput', -- createJobOutput_composition - You can create an output file -- that contains an excerpt from the input file. This excerpt, called a -- clip, can come from the beginning, middle, or end of the file. The -- Composition object contains settings for the clips that make up an -- output file. For the current release, you can only specify settings -- for a single clip per output file. The Composition object cannot be -- null. -- -- CreateJobOutput, createJobOutput_encryption - You can -- specify encryption settings for any output files that you want to use -- for a transcoding job. This includes the output file and any -- watermarks, thumbnails, album art, or captions that you want to use. -- You must specify encryption settings for each file individually. -- -- CreateJobOutput, createJobOutput_key - The name to -- assign to the transcoded file. Elastic Transcoder saves the file in -- the Amazon S3 bucket specified by the OutputBucket object in -- the pipeline that is specified by the pipeline ID. If a file with the -- specified name already exists in the output bucket, the job fails. -- -- $sel:presetId:CreateJobOutput', createJobOutput_presetId -- - The Id of the preset to use for this job. The preset -- determines the audio, video, and thumbnail settings that Elastic -- Transcoder uses for transcoding. -- -- $sel:rotate:CreateJobOutput', createJobOutput_rotate - -- The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: auto, 0, 90, 180, -- 270. The value auto generally works only if the file -- that you're transcoding contains rotation metadata. -- -- $sel:segmentDuration:CreateJobOutput', -- createJobOutput_segmentDuration - (Outputs in Fragmented MP4 or -- MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4 and Smooth playlists, all media segments for -- an output are stored in a single file. Each segment is approximately -- the length of the SegmentDuration, though individual segments -- might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. -- -- $sel:thumbnailEncryption:CreateJobOutput', -- createJobOutput_thumbnailEncryption - The encryption settings, -- if any, that you want Elastic Transcoder to apply to your thumbnail. -- -- $sel:thumbnailPattern:CreateJobOutput', -- createJobOutput_thumbnailPattern - Whether you want Elastic -- Transcoder to create thumbnails for your videos and, if so, how you -- want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. -- -- $sel:watermarks:CreateJobOutput', -- createJobOutput_watermarks - Information about the watermarks -- that you want Elastic Transcoder to add to the video during -- transcoding. You can specify up to four watermarks for each output. -- Settings for each watermark must be defined in the preset for the -- current output. newCreateJobOutput :: CreateJobOutput -- | Information about the album art that you want Elastic Transcoder to -- add to the file during transcoding. You can specify up to twenty album -- artworks for each output. Settings for each artwork must be defined in -- the job for the current output. createJobOutput_albumArt :: Lens' CreateJobOutput (Maybe JobAlbumArt) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. createJobOutput_captions :: Lens' CreateJobOutput (Maybe Captions) -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. createJobOutput_composition :: Lens' CreateJobOutput (Maybe [Clip]) -- | You can specify encryption settings for any output files that you want -- to use for a transcoding job. This includes the output file and any -- watermarks, thumbnails, album art, or captions that you want to use. -- You must specify encryption settings for each file individually. createJobOutput_encryption :: Lens' CreateJobOutput (Maybe Encryption) -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. If a file with the specified name already exists in the -- output bucket, the job fails. createJobOutput_key :: Lens' CreateJobOutput (Maybe Text) -- | The Id of the preset to use for this job. The preset -- determines the audio, video, and thumbnail settings that Elastic -- Transcoder uses for transcoding. createJobOutput_presetId :: Lens' CreateJobOutput (Maybe Text) -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: auto, 0, 90, 180, -- 270. The value auto generally works only if the file -- that you're transcoding contains rotation metadata. createJobOutput_rotate :: Lens' CreateJobOutput (Maybe Text) -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4 and Smooth playlists, all media segments for -- an output are stored in a single file. Each segment is approximately -- the length of the SegmentDuration, though individual segments -- might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. createJobOutput_segmentDuration :: Lens' CreateJobOutput (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. createJobOutput_thumbnailEncryption :: Lens' CreateJobOutput (Maybe Encryption) -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. createJobOutput_thumbnailPattern :: Lens' CreateJobOutput (Maybe Text) -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset for the current output. createJobOutput_watermarks :: Lens' CreateJobOutput (Maybe [JobWatermark]) -- | Information about the master playlist. -- -- See: newCreateJobPlaylist smart constructor. data CreateJobPlaylist CreateJobPlaylist' :: Maybe Text -> Maybe HlsContentProtection -> Maybe Text -> Maybe [Text] -> Maybe PlayReadyDrm -> CreateJobPlaylist -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. [$sel:format:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe Text -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. [$sel:hlsContentProtection:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe HlsContentProtection -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. [$sel:name:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe Text -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. [$sel:outputKeys:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe [Text] -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. [$sel:playReadyDrm:CreateJobPlaylist'] :: CreateJobPlaylist -> Maybe PlayReadyDrm -- | Create a value of CreateJobPlaylist with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateJobPlaylist, createJobPlaylist_format - The format -- of the output playlist. Valid formats include HLSv3, -- HLSv4, and Smooth. -- -- $sel:hlsContentProtection:CreateJobPlaylist', -- createJobPlaylist_hlsContentProtection - The HLS content -- protection settings, if any, that you want Elastic Transcoder to apply -- to the output files associated with this playlist. -- -- $sel:name:CreateJobPlaylist', createJobPlaylist_name - -- The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. -- -- $sel:outputKeys:CreateJobPlaylist', -- createJobPlaylist_outputKeys - For each output in this job that -- you want to include in a master playlist, the value of the -- Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. -- -- $sel:playReadyDrm:CreateJobPlaylist', -- createJobPlaylist_playReadyDrm - The DRM settings, if any, that -- you want Elastic Transcoder to apply to the output files associated -- with this playlist. newCreateJobPlaylist :: CreateJobPlaylist -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. createJobPlaylist_format :: Lens' CreateJobPlaylist (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. createJobPlaylist_hlsContentProtection :: Lens' CreateJobPlaylist (Maybe HlsContentProtection) -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. createJobPlaylist_name :: Lens' CreateJobPlaylist (Maybe Text) -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. createJobPlaylist_outputKeys :: Lens' CreateJobPlaylist (Maybe [Text]) -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. createJobPlaylist_playReadyDrm :: Lens' CreateJobPlaylist (Maybe PlayReadyDrm) -- | The detected properties of the input file. Elastic Transcoder -- identifies these values from the input file. -- -- See: newDetectedProperties smart constructor. data DetectedProperties DetectedProperties' :: Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Int -> Maybe Int -> DetectedProperties -- | The detected duration of the input file, in milliseconds. [$sel:durationMillis:DetectedProperties'] :: DetectedProperties -> Maybe Integer -- | The detected file size of the input file, in bytes. [$sel:fileSize:DetectedProperties'] :: DetectedProperties -> Maybe Integer -- | The detected frame rate of the input file, in frames per second. [$sel:frameRate:DetectedProperties'] :: DetectedProperties -> Maybe Text -- | The detected height of the input file, in pixels. [$sel:height:DetectedProperties'] :: DetectedProperties -> Maybe Int -- | The detected width of the input file, in pixels. [$sel:width:DetectedProperties'] :: DetectedProperties -> Maybe Int -- | Create a value of DetectedProperties with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:durationMillis:DetectedProperties', -- detectedProperties_durationMillis - The detected duration of -- the input file, in milliseconds. -- -- $sel:fileSize:DetectedProperties', -- detectedProperties_fileSize - The detected file size of the -- input file, in bytes. -- -- $sel:frameRate:DetectedProperties', -- detectedProperties_frameRate - The detected frame rate of the -- input file, in frames per second. -- -- $sel:height:DetectedProperties', -- detectedProperties_height - The detected height of the input -- file, in pixels. -- -- $sel:width:DetectedProperties', detectedProperties_width -- - The detected width of the input file, in pixels. newDetectedProperties :: DetectedProperties -- | The detected duration of the input file, in milliseconds. detectedProperties_durationMillis :: Lens' DetectedProperties (Maybe Integer) -- | The detected file size of the input file, in bytes. detectedProperties_fileSize :: Lens' DetectedProperties (Maybe Integer) -- | The detected frame rate of the input file, in frames per second. detectedProperties_frameRate :: Lens' DetectedProperties (Maybe Text) -- | The detected height of the input file, in pixels. detectedProperties_height :: Lens' DetectedProperties (Maybe Int) -- | The detected width of the input file, in pixels. detectedProperties_width :: Lens' DetectedProperties (Maybe Int) -- | The encryption settings, if any, that are used for decrypting your -- input files or encrypting your output files. If your input file is -- encrypted, you must specify the mode that Elastic Transcoder uses to -- decrypt your file, otherwise you must specify the mode you want -- Elastic Transcoder to use to encrypt your output files. -- -- See: newEncryption smart constructor. data Encryption Encryption' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Encryption -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you used to encrypt your input -- files or that you want Elastic Transcoder to use to encrypt your -- output files. The initialization vector must be base64-encoded, and it -- must be exactly 16 bytes long before being base64-encoded. [$sel:initializationVector:Encryption'] :: Encryption -> Maybe Text -- | The data encryption key that you want Elastic Transcoder to use to -- encrypt your output file, or that was used to encrypt your input file. -- The key must be base64-encoded and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using the Amazon Key Management -- Service. [$sel:key:Encryption'] :: Encryption -> Maybe Text -- | The MD5 digest of the key that you used to encrypt your input file, or -- that you want Elastic Transcoder to use to encrypt your output file. -- Elastic Transcoder uses the key digest as a checksum to make sure your -- key was not corrupted in transit. The key MD5 must be base64-encoded, -- and it must be exactly 16 bytes long before being base64-encoded. [$sel:keyMd5:Encryption'] :: Encryption -> Maybe Text -- | The specific server-side encryption mode that you want Elastic -- Transcoder to use when decrypting your input files or encrypting your -- output files. Elastic Transcoder supports the following options: -- -- -- -- For all three AES options, you must provide the following settings, -- which must be base64-encoded: -- -- -- -- For the AES modes, your private encryption keys and your unencrypted -- data are never stored by AWS; therefore, it is important that you -- safely manage your encryption keys. If you lose them, you won't be -- able to unencrypt your data. [$sel:mode:Encryption'] :: Encryption -> Maybe Text -- | Create a value of Encryption with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:initializationVector:Encryption', -- encryption_initializationVector - The series of random bits -- created by a random bit generator, unique for every encryption -- operation, that you used to encrypt your input files or that you want -- Elastic Transcoder to use to encrypt your output files. The -- initialization vector must be base64-encoded, and it must be exactly -- 16 bytes long before being base64-encoded. -- -- $sel:key:Encryption', encryption_key - The data -- encryption key that you want Elastic Transcoder to use to encrypt your -- output file, or that was used to encrypt your input file. The key must -- be base64-encoded and it must be one of the following bit lengths -- before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using the Amazon Key Management -- Service. -- -- $sel:keyMd5:Encryption', encryption_keyMd5 - The MD5 -- digest of the key that you used to encrypt your input file, or that -- you want Elastic Transcoder to use to encrypt your output file. -- Elastic Transcoder uses the key digest as a checksum to make sure your -- key was not corrupted in transit. The key MD5 must be base64-encoded, -- and it must be exactly 16 bytes long before being base64-encoded. -- -- $sel:mode:Encryption', encryption_mode - The specific -- server-side encryption mode that you want Elastic Transcoder to use -- when decrypting your input files or encrypting your output files. -- Elastic Transcoder supports the following options: -- -- -- -- For all three AES options, you must provide the following settings, -- which must be base64-encoded: -- -- -- -- For the AES modes, your private encryption keys and your unencrypted -- data are never stored by AWS; therefore, it is important that you -- safely manage your encryption keys. If you lose them, you won't be -- able to unencrypt your data. newEncryption :: Encryption -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you used to encrypt your input -- files or that you want Elastic Transcoder to use to encrypt your -- output files. The initialization vector must be base64-encoded, and it -- must be exactly 16 bytes long before being base64-encoded. encryption_initializationVector :: Lens' Encryption (Maybe Text) -- | The data encryption key that you want Elastic Transcoder to use to -- encrypt your output file, or that was used to encrypt your input file. -- The key must be base64-encoded and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using the Amazon Key Management -- Service. encryption_key :: Lens' Encryption (Maybe Text) -- | The MD5 digest of the key that you used to encrypt your input file, or -- that you want Elastic Transcoder to use to encrypt your output file. -- Elastic Transcoder uses the key digest as a checksum to make sure your -- key was not corrupted in transit. The key MD5 must be base64-encoded, -- and it must be exactly 16 bytes long before being base64-encoded. encryption_keyMd5 :: Lens' Encryption (Maybe Text) -- | The specific server-side encryption mode that you want Elastic -- Transcoder to use when decrypting your input files or encrypting your -- output files. Elastic Transcoder supports the following options: -- -- -- -- For all three AES options, you must provide the following settings, -- which must be base64-encoded: -- -- -- -- For the AES modes, your private encryption keys and your unencrypted -- data are never stored by AWS; therefore, it is important that you -- safely manage your encryption keys. If you lose them, you won't be -- able to unencrypt your data. encryption_mode :: Lens' Encryption (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to your output files. -- -- See: newHlsContentProtection smart constructor. data HlsContentProtection HlsContentProtection' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> HlsContentProtection -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your output files. The initialization vector must be -- base64-encoded, and it must be exactly 16 bytes before being -- base64-encoded. [$sel:initializationVector:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | If you want Elastic Transcoder to generate a key for you, leave this -- field blank. -- -- If you choose to supply your own key, you must encrypt the key by -- using AWS KMS. The key must be base64-encoded, and it must be one of -- the following bit lengths before being base64-encoded: -- -- 128, 192, or 256. [$sel:key:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The MD5 digest of the key that you want Elastic Transcoder to use to -- encrypt your output file, and that you want Elastic Transcoder to use -- as a checksum to make sure your key was not corrupted in transit. The -- key MD5 must be base64-encoded, and it must be exactly 16 bytes before -- being base64- encoded. [$sel:keyMd5:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | Specify whether you want Elastic Transcoder to write your HLS license -- key to an Amazon S3 bucket. If you choose -- WithVariantPlaylists, LicenseAcquisitionUrl must be -- left blank and Elastic Transcoder writes your data key into the same -- bucket as the associated playlist. [$sel:keyStoragePolicy:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | The location of the license key required to decrypt your HLS playlist. -- The URL must be an absolute path, and is referenced in the URI -- attribute of the EXT-X-KEY metadata tag in the playlist file. [$sel:licenseAcquisitionUrl:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | The content protection method for your output. The only valid value -- is: aes-128. -- -- This value is written into the method attribute of the -- EXT-X-KEY metadata tag in the output playlist. [$sel:method:HlsContentProtection'] :: HlsContentProtection -> Maybe Text -- | Create a value of HlsContentProtection with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:initializationVector:HlsContentProtection', -- hlsContentProtection_initializationVector - If Elastic -- Transcoder is generating your key for you, you must leave this field -- blank. -- -- The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your output files. The initialization vector must be -- base64-encoded, and it must be exactly 16 bytes before being -- base64-encoded. -- -- $sel:key:HlsContentProtection', hlsContentProtection_key -- - If you want Elastic Transcoder to generate a key for you, leave this -- field blank. -- -- If you choose to supply your own key, you must encrypt the key by -- using AWS KMS. The key must be base64-encoded, and it must be one of -- the following bit lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- $sel:keyMd5:HlsContentProtection', -- hlsContentProtection_keyMd5 - If Elastic Transcoder is -- generating your key for you, you must leave this field blank. -- -- The MD5 digest of the key that you want Elastic Transcoder to use to -- encrypt your output file, and that you want Elastic Transcoder to use -- as a checksum to make sure your key was not corrupted in transit. The -- key MD5 must be base64-encoded, and it must be exactly 16 bytes before -- being base64- encoded. -- -- $sel:keyStoragePolicy:HlsContentProtection', -- hlsContentProtection_keyStoragePolicy - Specify whether you -- want Elastic Transcoder to write your HLS license key to an Amazon S3 -- bucket. If you choose WithVariantPlaylists, -- LicenseAcquisitionUrl must be left blank and Elastic -- Transcoder writes your data key into the same bucket as the associated -- playlist. -- -- $sel:licenseAcquisitionUrl:HlsContentProtection', -- hlsContentProtection_licenseAcquisitionUrl - The location of -- the license key required to decrypt your HLS playlist. The URL must be -- an absolute path, and is referenced in the URI attribute of the -- EXT-X-KEY metadata tag in the playlist file. -- -- $sel:method:HlsContentProtection', -- hlsContentProtection_method - The content protection method for -- your output. The only valid value is: aes-128. -- -- This value is written into the method attribute of the -- EXT-X-KEY metadata tag in the output playlist. newHlsContentProtection :: HlsContentProtection -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your output files. The initialization vector must be -- base64-encoded, and it must be exactly 16 bytes before being -- base64-encoded. hlsContentProtection_initializationVector :: Lens' HlsContentProtection (Maybe Text) -- | If you want Elastic Transcoder to generate a key for you, leave this -- field blank. -- -- If you choose to supply your own key, you must encrypt the key by -- using AWS KMS. The key must be base64-encoded, and it must be one of -- the following bit lengths before being base64-encoded: -- -- 128, 192, or 256. hlsContentProtection_key :: Lens' HlsContentProtection (Maybe Text) -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The MD5 digest of the key that you want Elastic Transcoder to use to -- encrypt your output file, and that you want Elastic Transcoder to use -- as a checksum to make sure your key was not corrupted in transit. The -- key MD5 must be base64-encoded, and it must be exactly 16 bytes before -- being base64- encoded. hlsContentProtection_keyMd5 :: Lens' HlsContentProtection (Maybe Text) -- | Specify whether you want Elastic Transcoder to write your HLS license -- key to an Amazon S3 bucket. If you choose -- WithVariantPlaylists, LicenseAcquisitionUrl must be -- left blank and Elastic Transcoder writes your data key into the same -- bucket as the associated playlist. hlsContentProtection_keyStoragePolicy :: Lens' HlsContentProtection (Maybe Text) -- | The location of the license key required to decrypt your HLS playlist. -- The URL must be an absolute path, and is referenced in the URI -- attribute of the EXT-X-KEY metadata tag in the playlist file. hlsContentProtection_licenseAcquisitionUrl :: Lens' HlsContentProtection (Maybe Text) -- | The content protection method for your output. The only valid value -- is: aes-128. -- -- This value is written into the method attribute of the -- EXT-X-KEY metadata tag in the output playlist. hlsContentProtection_method :: Lens' HlsContentProtection (Maybe Text) -- | The captions to be created, if any. -- -- See: newInputCaptions smart constructor. data InputCaptions InputCaptions' :: Maybe [CaptionSource] -> Maybe Text -> InputCaptions -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. [$sel:captionSources:InputCaptions'] :: InputCaptions -> Maybe [CaptionSource] -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. [$sel:mergePolicy:InputCaptions'] :: InputCaptions -> Maybe Text -- | Create a value of InputCaptions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:captionSources:InputCaptions', -- inputCaptions_captionSources - Source files for the input -- sidecar captions used during the transcoding process. To omit all -- sidecar captions, leave CaptionSources blank. -- -- $sel:mergePolicy:InputCaptions', -- inputCaptions_mergePolicy - A policy that determines how -- Elastic Transcoder handles the existence of multiple captions. -- -- -- -- MergePolicy cannot be null. newInputCaptions :: InputCaptions -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. inputCaptions_captionSources :: Lens' InputCaptions (Maybe [CaptionSource]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. inputCaptions_mergePolicy :: Lens' InputCaptions (Maybe Text) -- | A section of the response body that provides information about the job -- that is created. -- -- See: newJob smart constructor. data Job Job' :: Maybe Text -> Maybe Text -> Maybe JobInput -> Maybe [JobInput] -> Maybe JobOutput -> Maybe Text -> Maybe [JobOutput] -> Maybe Text -> Maybe [Playlist] -> Maybe Text -> Maybe Timing -> Maybe (HashMap Text Text) -> Job -- | The Amazon Resource Name (ARN) for the job. [$sel:arn:Job'] :: Job -> Maybe Text -- | The identifier that Elastic Transcoder assigned to the job. You use -- this value to get settings for the job or to delete the job. [$sel:id:Job'] :: Job -> Maybe Text -- | A section of the request or response body that provides information -- about the file that is being transcoded. [$sel:input:Job'] :: Job -> Maybe JobInput -- | Information about the files that you're transcoding. If you specified -- multiple files for this job, Elastic Transcoder stitches the files -- together to make one output. [$sel:inputs:Job'] :: Job -> Maybe [JobInput] -- | If you specified one output for a job, information about that output. -- If you specified multiple outputs for a job, the Output object lists -- information about the first output. This duplicates the information -- that is listed for the first output in the Outputs object. -- -- Outputs recommended instead. -- -- A section of the request or response body that provides information -- about the transcoded (target) file. [$sel:output:Job'] :: Job -> Maybe JobOutput -- | 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. We recommend that you add a / or some other -- delimiter to the end of the OutputKeyPrefix. [$sel:outputKeyPrefix:Job'] :: Job -> Maybe Text -- | Information about the output files. We recommend that you use the -- Outputs syntax for all jobs, even when you want Elastic -- Transcoder to transcode a file into only one format. Do not use both -- the Outputs and Output syntaxes in the same request. -- You can create a maximum of 30 outputs per job. -- -- If you specify more than one output for a job, Elastic Transcoder -- creates the files for each output in the order in which you specify -- them in the job. [$sel:outputs:Job'] :: Job -> Maybe [JobOutput] -- | 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. [$sel:pipelineId:Job'] :: Job -> Maybe Text -- | Outputs in Fragmented MP4 or MPEG-TS format only. -- -- 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. [$sel:playlists:Job'] :: Job -> Maybe [Playlist] -- | The status of the job: Submitted, Progressing, -- Complete, Canceled, or Error. [$sel:status:Job'] :: Job -> Maybe Text -- | Details about the timing of a job. [$sel:timing:Job'] :: Job -> Maybe Timing -- | 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. -- -- Metadata keys and values must use characters from -- the following list: -- -- [$sel:userMetadata:Job'] :: Job -> Maybe (HashMap Text Text) -- | Create a value of Job with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Job', job_arn - The Amazon Resource Name (ARN) -- for the job. -- -- Job, job_id - The identifier that Elastic Transcoder -- assigned to the job. You use this value to get settings for the job or -- to delete the job. -- -- $sel:input:Job', job_input - A section of the request or -- response body that provides information about the file that is being -- transcoded. -- -- $sel:inputs:Job', job_inputs - Information about the -- files that you're transcoding. If you specified multiple files for -- this job, Elastic Transcoder stitches the files together to make one -- output. -- -- $sel:output:Job', job_output - If you specified one -- output for a job, information about that output. If you specified -- multiple outputs for a job, the Output object lists information about -- the first output. This duplicates the information that is listed for -- the first output in the Outputs object. -- -- Outputs recommended instead. -- -- A section of the request or response body that provides information -- about the transcoded (target) file. -- -- $sel:outputKeyPrefix:Job', job_outputKeyPrefix - 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. We recommend that you add a / or some other -- delimiter to the end of the OutputKeyPrefix. -- -- $sel:outputs:Job', job_outputs - Information about the -- output files. We recommend that you use the Outputs syntax -- for all jobs, even when you want Elastic Transcoder to transcode a -- file into only one format. Do not use both the Outputs and -- Output syntaxes in the same request. You can create a maximum -- of 30 outputs per job. -- -- If you specify more than one output for a job, Elastic Transcoder -- creates the files for each output in the order in which you specify -- them in the job. -- -- $sel:pipelineId:Job', job_pipelineId - 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. -- -- $sel:playlists:Job', job_playlists - Outputs in -- Fragmented MP4 or MPEG-TS format only. -- -- 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. -- -- Job, job_status - The status of the job: -- Submitted, Progressing, Complete, -- Canceled, or Error. -- -- $sel:timing:Job', job_timing - Details about the timing -- of a job. -- -- $sel:userMetadata:Job', job_userMetadata - 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. -- -- Metadata keys and values must use characters from -- the following list: -- -- newJob :: Job -- | The Amazon Resource Name (ARN) for the job. job_arn :: Lens' Job (Maybe Text) -- | The identifier that Elastic Transcoder assigned to the job. You use -- this value to get settings for the job or to delete the job. job_id :: Lens' Job (Maybe Text) -- | A section of the request or response body that provides information -- about the file that is being transcoded. job_input :: Lens' Job (Maybe JobInput) -- | Information about the files that you're transcoding. If you specified -- multiple files for this job, Elastic Transcoder stitches the files -- together to make one output. job_inputs :: Lens' Job (Maybe [JobInput]) -- | If you specified one output for a job, information about that output. -- If you specified multiple outputs for a job, the Output object lists -- information about the first output. This duplicates the information -- that is listed for the first output in the Outputs object. -- -- Outputs recommended instead. -- -- A section of the request or response body that provides information -- about the transcoded (target) file. job_output :: Lens' Job (Maybe JobOutput) -- | 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. We recommend that you add a / or some other -- delimiter to the end of the OutputKeyPrefix. job_outputKeyPrefix :: Lens' Job (Maybe Text) -- | Information about the output files. We recommend that you use the -- Outputs syntax for all jobs, even when you want Elastic -- Transcoder to transcode a file into only one format. Do not use both -- the Outputs and Output syntaxes in the same request. -- You can create a maximum of 30 outputs per job. -- -- If you specify more than one output for a job, Elastic Transcoder -- creates the files for each output in the order in which you specify -- them in the job. job_outputs :: Lens' Job (Maybe [JobOutput]) -- | 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. job_pipelineId :: Lens' Job (Maybe Text) -- | Outputs in Fragmented MP4 or MPEG-TS format only. -- -- 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. job_playlists :: Lens' Job (Maybe [Playlist]) -- | The status of the job: Submitted, Progressing, -- Complete, Canceled, or Error. job_status :: Lens' Job (Maybe Text) -- | Details about the timing of a job. job_timing :: Lens' Job (Maybe Timing) -- | 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. -- -- Metadata keys and values must use characters from -- the following list: -- -- job_userMetadata :: Lens' Job (Maybe (HashMap Text Text)) -- | The .jpg or .png file associated with an audio file. -- -- See: newJobAlbumArt smart constructor. data JobAlbumArt JobAlbumArt' :: Maybe [Artwork] -> Maybe Text -> JobAlbumArt -- | The file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. Valid formats are -- .jpg and .png [$sel:artwork:JobAlbumArt'] :: JobAlbumArt -> Maybe [Artwork] -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple album artwork files. -- -- [$sel:mergePolicy:JobAlbumArt'] :: JobAlbumArt -> Maybe Text -- | Create a value of JobAlbumArt with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artwork:JobAlbumArt', jobAlbumArt_artwork - The -- file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. Valid formats are -- .jpg and .png -- -- $sel:mergePolicy:JobAlbumArt', jobAlbumArt_mergePolicy - -- A policy that determines how Elastic Transcoder handles the existence -- of multiple album artwork files. -- -- newJobAlbumArt :: JobAlbumArt -- | The file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. Valid formats are -- .jpg and .png jobAlbumArt_artwork :: Lens' JobAlbumArt (Maybe [Artwork]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple album artwork files. -- -- jobAlbumArt_mergePolicy :: Lens' JobAlbumArt (Maybe Text) -- | Information about the file that you're transcoding. -- -- See: newJobInput smart constructor. data JobInput JobInput' :: Maybe Text -> Maybe Text -> Maybe DetectedProperties -> Maybe Encryption -> Maybe Text -> Maybe InputCaptions -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe TimeSpan -> JobInput -- | The aspect ratio of the input file. If you want Elastic Transcoder to -- automatically detect the aspect ratio of the input file, specify -- auto. If you want to specify the aspect ratio for the output -- file, enter one of the following values: -- -- 1:1, 4:3, 3:2, 16:9 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the aspect ratio. [$sel:aspectRatio:JobInput'] :: JobInput -> Maybe Text -- | The container type for the input file. If you want Elastic Transcoder -- to automatically detect the container type of the input file, specify -- auto. If you want to specify the container type for the input -- file, enter one of the following values: -- -- 3gp, aac, asf, avi, divx, -- flv, m4a, mkv, mov, mp3, -- mp4, mpeg, mpeg-ps, mpeg-ts, -- mxf, ogg, vob, wav, webm [$sel:container:JobInput'] :: JobInput -> Maybe Text -- | The detected properties of the input file. [$sel:detectedProperties:JobInput'] :: JobInput -> Maybe DetectedProperties -- | The encryption settings, if any, that are used for decrypting your -- input files. If your input file is encrypted, you must specify the -- mode that Elastic Transcoder uses to decrypt your file. [$sel:encryption:JobInput'] :: JobInput -> Maybe Encryption -- | The frame rate of the input file. If you want Elastic Transcoder to -- automatically detect the frame rate of the input file, specify -- auto. If you want to specify the frame rate for the input -- file, enter one of the following values: -- -- 10, 15, 23.97, 24, 25, -- 29.97, 30, 60 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the frame rate. [$sel:frameRate:JobInput'] :: JobInput -> Maybe Text -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. [$sel:inputCaptions:JobInput'] :: JobInput -> Maybe InputCaptions -- | Whether the input file is interlaced. If you want Elastic Transcoder -- to automatically detect whether the input file is interlaced, specify -- auto. If you want to specify whether the input file is -- interlaced, enter one of the following values: -- -- true, false -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of interlacing. [$sel:interlaced:JobInput'] :: JobInput -> Maybe Text -- | The name of the file to transcode. Elsewhere in the body of the JSON -- block is the the ID of the pipeline to use for processing the job. The -- InputBucket object in that pipeline tells Elastic Transcoder -- which Amazon S3 bucket to get the file from. -- -- If the file name includes a prefix, such as -- cooking/lasagna.mpg, include the prefix in the key. If the -- file isn't in the specified bucket, Elastic Transcoder returns an -- error. [$sel:key:JobInput'] :: JobInput -> Maybe Text -- | This value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. [$sel:resolution:JobInput'] :: JobInput -> Maybe Text -- | Settings for clipping an input. Each input can have different clip -- settings. [$sel:timeSpan:JobInput'] :: JobInput -> Maybe TimeSpan -- | Create a value of JobInput with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:JobInput', jobInput_aspectRatio - The -- aspect ratio of the input file. If you want Elastic Transcoder to -- automatically detect the aspect ratio of the input file, specify -- auto. If you want to specify the aspect ratio for the output -- file, enter one of the following values: -- -- 1:1, 4:3, 3:2, 16:9 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the aspect ratio. -- -- $sel:container:JobInput', jobInput_container - The -- container type for the input file. If you want Elastic Transcoder to -- automatically detect the container type of the input file, specify -- auto. If you want to specify the container type for the input -- file, enter one of the following values: -- -- 3gp, aac, asf, avi, divx, -- flv, m4a, mkv, mov, mp3, -- mp4, mpeg, mpeg-ps, mpeg-ts, -- mxf, ogg, vob, wav, webm -- -- $sel:detectedProperties:JobInput', -- jobInput_detectedProperties - The detected properties of the -- input file. -- -- $sel:encryption:JobInput', jobInput_encryption - The -- encryption settings, if any, that are used for decrypting your input -- files. If your input file is encrypted, you must specify the mode that -- Elastic Transcoder uses to decrypt your file. -- -- JobInput, jobInput_frameRate - The frame rate of the -- input file. If you want Elastic Transcoder to automatically detect the -- frame rate of the input file, specify auto. If you want to -- specify the frame rate for the input file, enter one of the following -- values: -- -- 10, 15, 23.97, 24, 25, -- 29.97, 30, 60 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the frame rate. -- -- $sel:inputCaptions:JobInput', jobInput_inputCaptions - -- You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:interlaced:JobInput', jobInput_interlaced - Whether -- the input file is interlaced. If you want Elastic Transcoder to -- automatically detect whether the input file is interlaced, specify -- auto. If you want to specify whether the input file is -- interlaced, enter one of the following values: -- -- true, false -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of interlacing. -- -- JobInput, jobInput_key - The name of the file to -- transcode. Elsewhere in the body of the JSON block is the the ID of -- the pipeline to use for processing the job. The InputBucket -- object in that pipeline tells Elastic Transcoder which Amazon S3 -- bucket to get the file from. -- -- If the file name includes a prefix, such as -- cooking/lasagna.mpg, include the prefix in the key. If the -- file isn't in the specified bucket, Elastic Transcoder returns an -- error. -- -- $sel:resolution:JobInput', jobInput_resolution - This -- value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. -- -- $sel:timeSpan:JobInput', jobInput_timeSpan - Settings -- for clipping an input. Each input can have different clip settings. newJobInput :: JobInput -- | The aspect ratio of the input file. If you want Elastic Transcoder to -- automatically detect the aspect ratio of the input file, specify -- auto. If you want to specify the aspect ratio for the output -- file, enter one of the following values: -- -- 1:1, 4:3, 3:2, 16:9 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the aspect ratio. jobInput_aspectRatio :: Lens' JobInput (Maybe Text) -- | The container type for the input file. If you want Elastic Transcoder -- to automatically detect the container type of the input file, specify -- auto. If you want to specify the container type for the input -- file, enter one of the following values: -- -- 3gp, aac, asf, avi, divx, -- flv, m4a, mkv, mov, mp3, -- mp4, mpeg, mpeg-ps, mpeg-ts, -- mxf, ogg, vob, wav, webm jobInput_container :: Lens' JobInput (Maybe Text) -- | The detected properties of the input file. jobInput_detectedProperties :: Lens' JobInput (Maybe DetectedProperties) -- | The encryption settings, if any, that are used for decrypting your -- input files. If your input file is encrypted, you must specify the -- mode that Elastic Transcoder uses to decrypt your file. jobInput_encryption :: Lens' JobInput (Maybe Encryption) -- | The frame rate of the input file. If you want Elastic Transcoder to -- automatically detect the frame rate of the input file, specify -- auto. If you want to specify the frame rate for the input -- file, enter one of the following values: -- -- 10, 15, 23.97, 24, 25, -- 29.97, 30, 60 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the frame rate. jobInput_frameRate :: Lens' JobInput (Maybe Text) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. jobInput_inputCaptions :: Lens' JobInput (Maybe InputCaptions) -- | Whether the input file is interlaced. If you want Elastic Transcoder -- to automatically detect whether the input file is interlaced, specify -- auto. If you want to specify whether the input file is -- interlaced, enter one of the following values: -- -- true, false -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of interlacing. jobInput_interlaced :: Lens' JobInput (Maybe Text) -- | The name of the file to transcode. Elsewhere in the body of the JSON -- block is the the ID of the pipeline to use for processing the job. The -- InputBucket object in that pipeline tells Elastic Transcoder -- which Amazon S3 bucket to get the file from. -- -- If the file name includes a prefix, such as -- cooking/lasagna.mpg, include the prefix in the key. If the -- file isn't in the specified bucket, Elastic Transcoder returns an -- error. jobInput_key :: Lens' JobInput (Maybe Text) -- | This value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. jobInput_resolution :: Lens' JobInput (Maybe Text) -- | Settings for clipping an input. Each input can have different clip -- settings. jobInput_timeSpan :: Lens' JobInput (Maybe TimeSpan) -- | Outputs recommended instead. -- -- If you specified one output for a job, information about that output. -- If you specified multiple outputs for a job, the Output -- object lists information about the first output. This duplicates the -- information that is listed for the first output in the -- Outputs object. -- -- See: newJobOutput smart constructor. data JobOutput JobOutput' :: Maybe JobAlbumArt -> Maybe Text -> Maybe Captions -> Maybe [Clip] -> Maybe Integer -> Maybe Integer -> Maybe Encryption -> Maybe Integer -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe [JobWatermark] -> Maybe Int -> JobOutput -- | The album art to be associated with the output file, if any. [$sel:albumArt:JobOutput'] :: JobOutput -> Maybe JobAlbumArt -- | If Elastic Transcoder used a preset with a -- ColorSpaceConversionMode to transcode the output file, the -- AppliedColorSpaceConversion parameter shows the conversion -- used. If no ColorSpaceConversionMode was defined in the -- preset, this parameter is not be included in the job response. [$sel:appliedColorSpaceConversion:JobOutput'] :: JobOutput -> Maybe Text -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. [$sel:captions:JobOutput'] :: JobOutput -> Maybe Captions -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. [$sel:composition:JobOutput'] :: JobOutput -> Maybe [Clip] -- | Duration of the output file, in seconds. [$sel:duration:JobOutput'] :: JobOutput -> Maybe Integer -- | Duration of the output file, in milliseconds. [$sel:durationMillis:JobOutput'] :: JobOutput -> Maybe Integer -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your output files. If you choose to use encryption, you must -- specify a mode to use. If you choose not to use encryption, Elastic -- Transcoder writes an unencrypted file to your Amazon S3 bucket. [$sel:encryption:JobOutput'] :: JobOutput -> Maybe Encryption -- | File size of the output file, in bytes. [$sel:fileSize:JobOutput'] :: JobOutput -> Maybe Integer -- | Frame rate of the output file, in frames per second. [$sel:frameRate:JobOutput'] :: JobOutput -> Maybe Text -- | Height of the output file, in pixels. [$sel:height:JobOutput'] :: JobOutput -> Maybe Int -- | A sequential counter, starting with 1, that identifies an output among -- the outputs from the current job. In the Output syntax, this value is -- always 1. [$sel:id:JobOutput'] :: JobOutput -> Maybe Text -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. [$sel:key:JobOutput'] :: JobOutput -> Maybe Text -- | The value of the Id object for the preset that you want to -- use for this job. The preset determines the audio, video, and -- thumbnail settings that Elastic Transcoder uses for transcoding. To -- use a preset that you created, specify the preset ID that Elastic -- Transcoder returned in the response when you created the preset. You -- can also use the Elastic Transcoder system presets, which you can get -- with ListPresets. [$sel:presetId:JobOutput'] :: JobOutput -> Maybe Text -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: -- -- auto, 0, 90, 180, 270 -- -- The value auto generally works only if the file that you're -- transcoding contains rotation metadata. [$sel:rotate:JobOutput'] :: JobOutput -> Maybe Text -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4, MPEG-DASH, and Smooth playlists, all -- media segments for an output are stored in a single file. Each segment -- is approximately the length of the SegmentDuration, though -- individual segments might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. [$sel:segmentDuration:JobOutput'] :: JobOutput -> Maybe Text -- | The status of one output in a job. If you specified only one output -- for the job, Outputs:Status is always the same as -- Job:Status. If you specified more than one output: -- -- -- -- The value of Status is one of the following: -- Submitted, Progressing, Complete, -- Canceled, or Error. [$sel:status:JobOutput'] :: JobOutput -> Maybe Text -- | Information that further explains Status. [$sel:statusDetail:JobOutput'] :: JobOutput -> Maybe Text -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. [$sel:thumbnailEncryption:JobOutput'] :: JobOutput -> Maybe Encryption -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. [$sel:thumbnailPattern:JobOutput'] :: JobOutput -> Maybe Text -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset that you specify in Preset for the -- current output. -- -- Watermarks are added to the output video in the sequence in which you -- list them in the job output—the first watermark in the list is added -- to the output video first, the second watermark in the list is added -- next, and so on. As a result, if the settings in a preset cause -- Elastic Transcoder to place all watermarks in the same location, the -- second watermark that you add covers the first one, the third one -- covers the second, and the fourth one covers the third. [$sel:watermarks:JobOutput'] :: JobOutput -> Maybe [JobWatermark] -- | Specifies the width of the output file in pixels. [$sel:width:JobOutput'] :: JobOutput -> Maybe Int -- | Create a value of JobOutput with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArt:JobOutput', jobOutput_albumArt - The album -- art to be associated with the output file, if any. -- -- $sel:appliedColorSpaceConversion:JobOutput', -- jobOutput_appliedColorSpaceConversion - If Elastic Transcoder -- used a preset with a ColorSpaceConversionMode to transcode -- the output file, the AppliedColorSpaceConversion parameter -- shows the conversion used. If no ColorSpaceConversionMode was -- defined in the preset, this parameter is not be included in the job -- response. -- -- $sel:captions:JobOutput', jobOutput_captions - You can -- configure Elastic Transcoder to transcode captions, or subtitles, from -- one format to another. All captions must be in UTF-8. Elastic -- Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:composition:JobOutput', jobOutput_composition - You -- can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. -- -- $sel:duration:JobOutput', jobOutput_duration - Duration -- of the output file, in seconds. -- -- $sel:durationMillis:JobOutput', jobOutput_durationMillis -- - Duration of the output file, in milliseconds. -- -- JobOutput, jobOutput_encryption - The encryption -- settings, if any, that you want Elastic Transcoder to apply to your -- output files. If you choose to use encryption, you must specify a mode -- to use. If you choose not to use encryption, Elastic Transcoder writes -- an unencrypted file to your Amazon S3 bucket. -- -- $sel:fileSize:JobOutput', jobOutput_fileSize - File size -- of the output file, in bytes. -- -- $sel:frameRate:JobOutput', jobOutput_frameRate - Frame -- rate of the output file, in frames per second. -- -- $sel:height:JobOutput', jobOutput_height - Height of the -- output file, in pixels. -- -- $sel:id:JobOutput', jobOutput_id - A sequential counter, -- starting with 1, that identifies an output among the outputs from the -- current job. In the Output syntax, this value is always 1. -- -- JobOutput, jobOutput_key - The name to assign to the -- transcoded file. Elastic Transcoder saves the file in the Amazon S3 -- bucket specified by the OutputBucket object in the pipeline -- that is specified by the pipeline ID. -- -- $sel:presetId:JobOutput', jobOutput_presetId - The value -- of the Id object for the preset that you want to use for this -- job. The preset determines the audio, video, and thumbnail settings -- that Elastic Transcoder uses for transcoding. To use a preset that you -- created, specify the preset ID that Elastic Transcoder returned in the -- response when you created the preset. You can also use the Elastic -- Transcoder system presets, which you can get with -- ListPresets. -- -- $sel:rotate:JobOutput', jobOutput_rotate - The number of -- degrees clockwise by which you want Elastic Transcoder to rotate the -- output relative to the input. Enter one of the following values: -- -- auto, 0, 90, 180, 270 -- -- The value auto generally works only if the file that you're -- transcoding contains rotation metadata. -- -- $sel:segmentDuration:JobOutput', -- jobOutput_segmentDuration - (Outputs in Fragmented MP4 or -- MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4, MPEG-DASH, and Smooth playlists, all -- media segments for an output are stored in a single file. Each segment -- is approximately the length of the SegmentDuration, though -- individual segments might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. -- -- $sel:status:JobOutput', jobOutput_status - The status of -- one output in a job. If you specified only one output for the job, -- Outputs:Status is always the same as Job:Status. If -- you specified more than one output: -- -- -- -- The value of Status is one of the following: -- Submitted, Progressing, Complete, -- Canceled, or Error. -- -- $sel:statusDetail:JobOutput', jobOutput_statusDetail - -- Information that further explains Status. -- -- $sel:thumbnailEncryption:JobOutput', -- jobOutput_thumbnailEncryption - The encryption settings, if -- any, that you want Elastic Transcoder to apply to your thumbnail. -- -- $sel:thumbnailPattern:JobOutput', -- jobOutput_thumbnailPattern - Whether you want Elastic -- Transcoder to create thumbnails for your videos and, if so, how you -- want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. -- -- $sel:watermarks:JobOutput', jobOutput_watermarks - -- Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset that you specify in Preset for the -- current output. -- -- Watermarks are added to the output video in the sequence in which you -- list them in the job output—the first watermark in the list is added -- to the output video first, the second watermark in the list is added -- next, and so on. As a result, if the settings in a preset cause -- Elastic Transcoder to place all watermarks in the same location, the -- second watermark that you add covers the first one, the third one -- covers the second, and the fourth one covers the third. -- -- $sel:width:JobOutput', jobOutput_width - Specifies the -- width of the output file in pixels. newJobOutput :: JobOutput -- | The album art to be associated with the output file, if any. jobOutput_albumArt :: Lens' JobOutput (Maybe JobAlbumArt) -- | If Elastic Transcoder used a preset with a -- ColorSpaceConversionMode to transcode the output file, the -- AppliedColorSpaceConversion parameter shows the conversion -- used. If no ColorSpaceConversionMode was defined in the -- preset, this parameter is not be included in the job response. jobOutput_appliedColorSpaceConversion :: Lens' JobOutput (Maybe Text) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. jobOutput_captions :: Lens' JobOutput (Maybe Captions) -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. jobOutput_composition :: Lens' JobOutput (Maybe [Clip]) -- | Duration of the output file, in seconds. jobOutput_duration :: Lens' JobOutput (Maybe Integer) -- | Duration of the output file, in milliseconds. jobOutput_durationMillis :: Lens' JobOutput (Maybe Integer) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your output files. If you choose to use encryption, you must -- specify a mode to use. If you choose not to use encryption, Elastic -- Transcoder writes an unencrypted file to your Amazon S3 bucket. jobOutput_encryption :: Lens' JobOutput (Maybe Encryption) -- | File size of the output file, in bytes. jobOutput_fileSize :: Lens' JobOutput (Maybe Integer) -- | Frame rate of the output file, in frames per second. jobOutput_frameRate :: Lens' JobOutput (Maybe Text) -- | Height of the output file, in pixels. jobOutput_height :: Lens' JobOutput (Maybe Int) -- | A sequential counter, starting with 1, that identifies an output among -- the outputs from the current job. In the Output syntax, this value is -- always 1. jobOutput_id :: Lens' JobOutput (Maybe Text) -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. jobOutput_key :: Lens' JobOutput (Maybe Text) -- | The value of the Id object for the preset that you want to -- use for this job. The preset determines the audio, video, and -- thumbnail settings that Elastic Transcoder uses for transcoding. To -- use a preset that you created, specify the preset ID that Elastic -- Transcoder returned in the response when you created the preset. You -- can also use the Elastic Transcoder system presets, which you can get -- with ListPresets. jobOutput_presetId :: Lens' JobOutput (Maybe Text) -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: -- -- auto, 0, 90, 180, 270 -- -- The value auto generally works only if the file that you're -- transcoding contains rotation metadata. jobOutput_rotate :: Lens' JobOutput (Maybe Text) -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4, MPEG-DASH, and Smooth playlists, all -- media segments for an output are stored in a single file. Each segment -- is approximately the length of the SegmentDuration, though -- individual segments might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. jobOutput_segmentDuration :: Lens' JobOutput (Maybe Text) -- | The status of one output in a job. If you specified only one output -- for the job, Outputs:Status is always the same as -- Job:Status. If you specified more than one output: -- -- -- -- The value of Status is one of the following: -- Submitted, Progressing, Complete, -- Canceled, or Error. jobOutput_status :: Lens' JobOutput (Maybe Text) -- | Information that further explains Status. jobOutput_statusDetail :: Lens' JobOutput (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. jobOutput_thumbnailEncryption :: Lens' JobOutput (Maybe Encryption) -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. jobOutput_thumbnailPattern :: Lens' JobOutput (Maybe Text) -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset that you specify in Preset for the -- current output. -- -- Watermarks are added to the output video in the sequence in which you -- list them in the job output—the first watermark in the list is added -- to the output video first, the second watermark in the list is added -- next, and so on. As a result, if the settings in a preset cause -- Elastic Transcoder to place all watermarks in the same location, the -- second watermark that you add covers the first one, the third one -- covers the second, and the fourth one covers the third. jobOutput_watermarks :: Lens' JobOutput (Maybe [JobWatermark]) -- | Specifies the width of the output file in pixels. jobOutput_width :: Lens' JobOutput (Maybe Int) -- | Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- See: newJobWatermark smart constructor. data JobWatermark JobWatermark' :: Maybe Encryption -> Maybe Text -> Maybe Text -> JobWatermark -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. [$sel:encryption:JobWatermark'] :: JobWatermark -> Maybe Encryption -- | The name of the .png or .jpg file that you want to use for the -- watermark. To determine which Amazon S3 bucket contains the specified -- file, Elastic Transcoder checks the pipeline specified by -- Pipeline; the Input Bucket object in that pipeline -- identifies the bucket. -- -- If the file name includes a prefix, for example, -- logos/128x64.png, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. [$sel:inputKey:JobWatermark'] :: JobWatermark -> Maybe Text -- | The ID of the watermark settings that Elastic Transcoder uses to add -- watermarks to the video during transcoding. The settings are in the -- preset specified by Preset for the current output. In that preset, the -- value of Watermarks Id tells Elastic Transcoder which settings to use. [$sel:presetWatermarkId:JobWatermark'] :: JobWatermark -> Maybe Text -- | Create a value of JobWatermark with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:JobWatermark', jobWatermark_encryption - -- The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. -- -- $sel:inputKey:JobWatermark', jobWatermark_inputKey - The -- name of the .png or .jpg file that you want to use for the watermark. -- To determine which Amazon S3 bucket contains the specified file, -- Elastic Transcoder checks the pipeline specified by Pipeline; -- the Input Bucket object in that pipeline identifies the -- bucket. -- -- If the file name includes a prefix, for example, -- logos/128x64.png, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. -- -- $sel:presetWatermarkId:JobWatermark', -- jobWatermark_presetWatermarkId - The ID of the watermark -- settings that Elastic Transcoder uses to add watermarks to the video -- during transcoding. The settings are in the preset specified by Preset -- for the current output. In that preset, the value of Watermarks Id -- tells Elastic Transcoder which settings to use. newJobWatermark :: JobWatermark -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. jobWatermark_encryption :: Lens' JobWatermark (Maybe Encryption) -- | The name of the .png or .jpg file that you want to use for the -- watermark. To determine which Amazon S3 bucket contains the specified -- file, Elastic Transcoder checks the pipeline specified by -- Pipeline; the Input Bucket object in that pipeline -- identifies the bucket. -- -- If the file name includes a prefix, for example, -- logos/128x64.png, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. jobWatermark_inputKey :: Lens' JobWatermark (Maybe Text) -- | The ID of the watermark settings that Elastic Transcoder uses to add -- watermarks to the video during transcoding. The settings are in the -- preset specified by Preset for the current output. In that preset, the -- value of Watermarks Id tells Elastic Transcoder which settings to use. jobWatermark_presetWatermarkId :: Lens' JobWatermark (Maybe Text) -- | The Amazon Simple Notification Service (Amazon SNS) topic or topics to -- notify in order to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- See: newNotifications smart constructor. data Notifications Notifications' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Notifications -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. [$sel:completed:Notifications'] :: Notifications -> Maybe Text -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. [$sel:error:Notifications'] :: Notifications -> Maybe Text -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify when Elastic Transcoder has started to process the job. [$sel:progressing:Notifications'] :: Notifications -> Maybe Text -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. [$sel:warning:Notifications'] :: Notifications -> Maybe Text -- | Create a value of Notifications with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:completed:Notifications', notifications_completed - -- The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. -- -- $sel:error:Notifications', notifications_error - The -- Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. -- -- $sel:progressing:Notifications', -- notifications_progressing - The Amazon Simple Notification -- Service (Amazon SNS) topic that you want to notify when Elastic -- Transcoder has started to process the job. -- -- $sel:warning:Notifications', notifications_warning - The -- Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. newNotifications :: Notifications -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. notifications_completed :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. notifications_error :: Lens' Notifications (Maybe Text) -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify when Elastic Transcoder has started to process the job. notifications_progressing :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. notifications_warning :: Lens' Notifications (Maybe Text) -- | The Permission structure. -- -- See: newPermission smart constructor. data Permission Permission' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Permission -- | The permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- [$sel:access:Permission'] :: Permission -> Maybe [Text] -- | The AWS user or group that you want to have access to transcoded files -- and playlists. To identify the user or group, you can specify the -- canonical user ID for an AWS account, an origin access identity for a -- CloudFront distribution, the registered email address of an AWS -- account, or a predefined Amazon S3 group. [$sel:grantee:Permission'] :: Permission -> Maybe Text -- | The type of value that appears in the Grantee object: -- -- [$sel:granteeType:Permission'] :: Permission -> Maybe Text -- | Create a value of Permission with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:access:Permission', permission_access - The -- permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- -- -- $sel:grantee:Permission', permission_grantee - The AWS -- user or group that you want to have access to transcoded files and -- playlists. To identify the user or group, you can specify the -- canonical user ID for an AWS account, an origin access identity for a -- CloudFront distribution, the registered email address of an AWS -- account, or a predefined Amazon S3 group. -- -- $sel:granteeType:Permission', permission_granteeType - -- The type of value that appears in the Grantee object: -- -- newPermission :: Permission -- | The permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- permission_access :: Lens' Permission (Maybe [Text]) -- | The AWS user or group that you want to have access to transcoded files -- and playlists. To identify the user or group, you can specify the -- canonical user ID for an AWS account, an origin access identity for a -- CloudFront distribution, the registered email address of an AWS -- account, or a predefined Amazon S3 group. permission_grantee :: Lens' Permission (Maybe Text) -- | The type of value that appears in the Grantee object: -- -- permission_granteeType :: Lens' Permission (Maybe Text) -- | The pipeline (queue) that is used to manage jobs. -- -- See: newPipeline smart constructor. data Pipeline Pipeline' :: Maybe Text -> Maybe Text -> Maybe PipelineOutputConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Notifications -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PipelineOutputConfig -> Pipeline -- | The Amazon Resource Name (ARN) for the pipeline. [$sel:arn:Pipeline'] :: Pipeline -> Maybe Text -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. [$sel:awsKmsKeyArn:Pipeline'] :: Pipeline -> Maybe Text -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save transcoded files and playlists. Either you specify -- both ContentConfig and ThumbnailConfig, or you -- specify OutputBucket. -- -- [$sel:contentConfig:Pipeline'] :: Pipeline -> Maybe PipelineOutputConfig -- | The identifier for the pipeline. You use this value to identify the -- pipeline in which you want to perform a variety of operations, such as -- creating a job or a preset. [$sel:id:Pipeline'] :: Pipeline -> Maybe Text -- | The Amazon S3 bucket from which Elastic Transcoder gets media files -- for transcoding and the graphics files, if any, that you want to use -- for watermarks. [$sel:inputBucket:Pipeline'] :: Pipeline -> Maybe Text -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters [$sel:name:Pipeline'] :: Pipeline -> Maybe Text -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- [$sel:notifications:Pipeline'] :: Pipeline -> Maybe Notifications -- | The Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files, thumbnails, and playlists. Either you specify this -- value, or you specify both ContentConfig and -- ThumbnailConfig. [$sel:outputBucket:Pipeline'] :: Pipeline -> Maybe Text -- | The IAM Amazon Resource Name (ARN) for the role that Elastic -- Transcoder uses to transcode jobs for this pipeline. [$sel:role':Pipeline'] :: Pipeline -> Maybe Text -- | The current status of the pipeline: -- -- [$sel:status:Pipeline'] :: Pipeline -> Maybe Text -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save thumbnail files. Either you specify both -- ContentConfig and ThumbnailConfig, or you specify -- OutputBucket. -- -- [$sel:thumbnailConfig:Pipeline'] :: Pipeline -> Maybe PipelineOutputConfig -- | Create a value of Pipeline with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Pipeline', pipeline_arn - The Amazon Resource -- Name (ARN) for the pipeline. -- -- $sel:awsKmsKeyArn:Pipeline', pipeline_awsKmsKeyArn - The -- AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. -- -- $sel:contentConfig:Pipeline', pipeline_contentConfig - -- Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save transcoded files and playlists. Either you specify -- both ContentConfig and ThumbnailConfig, or you -- specify OutputBucket. -- -- -- -- $sel:id:Pipeline', pipeline_id - The identifier for the -- pipeline. You use this value to identify the pipeline in which you -- want to perform a variety of operations, such as creating a job or a -- preset. -- -- $sel:inputBucket:Pipeline', pipeline_inputBucket - The -- Amazon S3 bucket from which Elastic Transcoder gets media files for -- transcoding and the graphics files, if any, that you want to use for -- watermarks. -- -- $sel:name:Pipeline', pipeline_name - The name of the -- pipeline. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters -- -- $sel:notifications:Pipeline', pipeline_notifications - -- The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- -- -- $sel:outputBucket:Pipeline', pipeline_outputBucket - The -- Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files, thumbnails, and playlists. Either you specify this -- value, or you specify both ContentConfig and -- ThumbnailConfig. -- -- $sel:role':Pipeline', pipeline_role - The IAM Amazon -- Resource Name (ARN) for the role that Elastic Transcoder uses to -- transcode jobs for this pipeline. -- -- $sel:status:Pipeline', pipeline_status - The current -- status of the pipeline: -- -- -- -- $sel:thumbnailConfig:Pipeline', pipeline_thumbnailConfig -- - Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save thumbnail files. Either you specify both -- ContentConfig and ThumbnailConfig, or you specify -- OutputBucket. -- -- newPipeline :: Pipeline -- | The Amazon Resource Name (ARN) for the pipeline. pipeline_arn :: Lens' Pipeline (Maybe Text) -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. pipeline_awsKmsKeyArn :: Lens' Pipeline (Maybe Text) -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save transcoded files and playlists. Either you specify -- both ContentConfig and ThumbnailConfig, or you -- specify OutputBucket. -- -- pipeline_contentConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) -- | The identifier for the pipeline. You use this value to identify the -- pipeline in which you want to perform a variety of operations, such as -- creating a job or a preset. pipeline_id :: Lens' Pipeline (Maybe Text) -- | The Amazon S3 bucket from which Elastic Transcoder gets media files -- for transcoding and the graphics files, if any, that you want to use -- for watermarks. pipeline_inputBucket :: Lens' Pipeline (Maybe Text) -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters pipeline_name :: Lens' Pipeline (Maybe Text) -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- pipeline_notifications :: Lens' Pipeline (Maybe Notifications) -- | The Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files, thumbnails, and playlists. Either you specify this -- value, or you specify both ContentConfig and -- ThumbnailConfig. pipeline_outputBucket :: Lens' Pipeline (Maybe Text) -- | The IAM Amazon Resource Name (ARN) for the role that Elastic -- Transcoder uses to transcode jobs for this pipeline. pipeline_role :: Lens' Pipeline (Maybe Text) -- | The current status of the pipeline: -- -- pipeline_status :: Lens' Pipeline (Maybe Text) -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save thumbnail files. Either you specify both -- ContentConfig and ThumbnailConfig, or you specify -- OutputBucket. -- -- pipeline_thumbnailConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) -- | The PipelineOutputConfig structure. -- -- See: newPipelineOutputConfig smart constructor. data PipelineOutputConfig PipelineOutputConfig' :: Maybe Text -> Maybe [Permission] -> Maybe Text -> PipelineOutputConfig -- | The Amazon S3 bucket in which you want Elastic Transcoder to save the -- transcoded files. Specify this value when all of the following are -- true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values for -- ContentConfig and ThumbnailConfig instead. [$sel:bucket:PipelineOutputConfig'] :: PipelineOutputConfig -> Maybe Text -- | Optional. The Permissions object specifies which users and/or -- predefined Amazon S3 groups you want to have access to transcoded -- files and playlists, and the type of access you want them to have. You -- can grant permissions to a maximum of 30 users and/or predefined -- Amazon S3 groups. -- -- If you include Permissions, Elastic Transcoder grants only -- the permissions that you specify. It does not grant full permissions -- to the owner of the role specified by Role. If you want that -- user to have full control, you must explicitly grant full control to -- the user. -- -- If you omit Permissions, Elastic Transcoder grants full -- control over the transcoded files and playlists to the owner of the -- role specified by Role, and grants no other permissions to -- any other user or group. [$sel:permissions:PipelineOutputConfig'] :: PipelineOutputConfig -> Maybe [Permission] -- | The Amazon S3 storage class, Standard or -- ReducedRedundancy, that you want Elastic Transcoder to assign -- to the video files and playlists that it stores in your Amazon S3 -- bucket. [$sel:storageClass:PipelineOutputConfig'] :: PipelineOutputConfig -> Maybe Text -- | Create a value of PipelineOutputConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:bucket:PipelineOutputConfig', -- pipelineOutputConfig_bucket - The Amazon S3 bucket in which you -- want Elastic Transcoder to save the transcoded files. Specify this -- value when all of the following are true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values for -- ContentConfig and ThumbnailConfig instead. -- -- $sel:permissions:PipelineOutputConfig', -- pipelineOutputConfig_permissions - Optional. The -- Permissions object specifies which users and/or predefined -- Amazon S3 groups you want to have access to transcoded files and -- playlists, and the type of access you want them to have. You can grant -- permissions to a maximum of 30 users and/or predefined Amazon S3 -- groups. -- -- If you include Permissions, Elastic Transcoder grants only -- the permissions that you specify. It does not grant full permissions -- to the owner of the role specified by Role. If you want that -- user to have full control, you must explicitly grant full control to -- the user. -- -- If you omit Permissions, Elastic Transcoder grants full -- control over the transcoded files and playlists to the owner of the -- role specified by Role, and grants no other permissions to -- any other user or group. -- -- $sel:storageClass:PipelineOutputConfig', -- pipelineOutputConfig_storageClass - The Amazon S3 storage -- class, Standard or ReducedRedundancy, that you want -- Elastic Transcoder to assign to the video files and playlists that it -- stores in your Amazon S3 bucket. newPipelineOutputConfig :: PipelineOutputConfig -- | The Amazon S3 bucket in which you want Elastic Transcoder to save the -- transcoded files. Specify this value when all of the following are -- true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values for -- ContentConfig and ThumbnailConfig instead. pipelineOutputConfig_bucket :: Lens' PipelineOutputConfig (Maybe Text) -- | Optional. The Permissions object specifies which users and/or -- predefined Amazon S3 groups you want to have access to transcoded -- files and playlists, and the type of access you want them to have. You -- can grant permissions to a maximum of 30 users and/or predefined -- Amazon S3 groups. -- -- If you include Permissions, Elastic Transcoder grants only -- the permissions that you specify. It does not grant full permissions -- to the owner of the role specified by Role. If you want that -- user to have full control, you must explicitly grant full control to -- the user. -- -- If you omit Permissions, Elastic Transcoder grants full -- control over the transcoded files and playlists to the owner of the -- role specified by Role, and grants no other permissions to -- any other user or group. pipelineOutputConfig_permissions :: Lens' PipelineOutputConfig (Maybe [Permission]) -- | The Amazon S3 storage class, Standard or -- ReducedRedundancy, that you want Elastic Transcoder to assign -- to the video files and playlists that it stores in your Amazon S3 -- bucket. pipelineOutputConfig_storageClass :: Lens' PipelineOutputConfig (Maybe Text) -- | The PlayReady DRM settings, if any, that you want Elastic Transcoder -- to apply to the output files associated with this playlist. -- -- PlayReady DRM encrypts your media files using aes-ctr -- encryption. -- -- If you use DRM for an HLSv3 playlist, your outputs must have -- a master playlist. -- -- See: newPlayReadyDrm smart constructor. data PlayReadyDrm PlayReadyDrm' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PlayReadyDrm -- | The type of DRM, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. [$sel:format:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your files. The initialization vector must be -- base64-encoded, and it must be exactly 8 bytes long before being -- base64-encoded. If no initialization vector is provided, Elastic -- Transcoder generates one for you. [$sel:initializationVector:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The DRM key for your file, provided by your DRM license provider. The -- key must be base64-encoded, and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using AWS KMS. [$sel:key:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The ID for your DRM key, so that your DRM license provider knows which -- key to provide. -- -- The key ID must be provided in big endian, and Elastic Transcoder -- converts it to little endian before inserting it into the PlayReady -- DRM headers. If you are unsure whether your license server provides -- your key ID in big or little endian, check with your DRM provider. [$sel:keyId:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The MD5 digest of the key used for DRM on your file, and that you want -- Elastic Transcoder to use as a checksum to make sure your key was not -- corrupted in transit. The key MD5 must be base64-encoded, and it must -- be exactly 16 bytes before being base64-encoded. [$sel:keyMd5:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | The location of the license key required to play DRM content. The URL -- must be an absolute path, and is referenced by the PlayReady header. -- The PlayReady header is referenced in the protection header of the -- client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM -- and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example -- URL looks like this: https://www.example.com/exampleKey/ [$sel:licenseAcquisitionUrl:PlayReadyDrm'] :: PlayReadyDrm -> Maybe Text -- | Create a value of PlayReadyDrm with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:format:PlayReadyDrm', playReadyDrm_format - The -- type of DRM, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:initializationVector:PlayReadyDrm', -- playReadyDrm_initializationVector - The series of random bits -- created by a random bit generator, unique for every encryption -- operation, that you want Elastic Transcoder to use to encrypt your -- files. The initialization vector must be base64-encoded, and it must -- be exactly 8 bytes long before being base64-encoded. If no -- initialization vector is provided, Elastic Transcoder generates one -- for you. -- -- $sel:key:PlayReadyDrm', playReadyDrm_key - The DRM key -- for your file, provided by your DRM license provider. The key must be -- base64-encoded, and it must be one of the following bit lengths before -- being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using AWS KMS. -- -- $sel:keyId:PlayReadyDrm', playReadyDrm_keyId - The ID -- for your DRM key, so that your DRM license provider knows which key to -- provide. -- -- The key ID must be provided in big endian, and Elastic Transcoder -- converts it to little endian before inserting it into the PlayReady -- DRM headers. If you are unsure whether your license server provides -- your key ID in big or little endian, check with your DRM provider. -- -- $sel:keyMd5:PlayReadyDrm', playReadyDrm_keyMd5 - The MD5 -- digest of the key used for DRM on your file, and that you want Elastic -- Transcoder to use as a checksum to make sure your key was not -- corrupted in transit. The key MD5 must be base64-encoded, and it must -- be exactly 16 bytes before being base64-encoded. -- -- $sel:licenseAcquisitionUrl:PlayReadyDrm', -- playReadyDrm_licenseAcquisitionUrl - The location of the -- license key required to play DRM content. The URL must be an absolute -- path, and is referenced by the PlayReady header. The PlayReady header -- is referenced in the protection header of the client manifest for -- Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO -- metadata tags for HLS playlist outputs. An example URL looks like -- this: https://www.example.com/exampleKey/ newPlayReadyDrm :: PlayReadyDrm -- | The type of DRM, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. playReadyDrm_format :: Lens' PlayReadyDrm (Maybe Text) -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your files. The initialization vector must be -- base64-encoded, and it must be exactly 8 bytes long before being -- base64-encoded. If no initialization vector is provided, Elastic -- Transcoder generates one for you. playReadyDrm_initializationVector :: Lens' PlayReadyDrm (Maybe Text) -- | The DRM key for your file, provided by your DRM license provider. The -- key must be base64-encoded, and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using AWS KMS. playReadyDrm_key :: Lens' PlayReadyDrm (Maybe Text) -- | The ID for your DRM key, so that your DRM license provider knows which -- key to provide. -- -- The key ID must be provided in big endian, and Elastic Transcoder -- converts it to little endian before inserting it into the PlayReady -- DRM headers. If you are unsure whether your license server provides -- your key ID in big or little endian, check with your DRM provider. playReadyDrm_keyId :: Lens' PlayReadyDrm (Maybe Text) -- | The MD5 digest of the key used for DRM on your file, and that you want -- Elastic Transcoder to use as a checksum to make sure your key was not -- corrupted in transit. The key MD5 must be base64-encoded, and it must -- be exactly 16 bytes before being base64-encoded. playReadyDrm_keyMd5 :: Lens' PlayReadyDrm (Maybe Text) -- | The location of the license key required to play DRM content. The URL -- must be an absolute path, and is referenced by the PlayReady header. -- The PlayReady header is referenced in the protection header of the -- client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM -- and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example -- URL looks like this: https://www.example.com/exampleKey/ playReadyDrm_licenseAcquisitionUrl :: Lens' PlayReadyDrm (Maybe Text) -- | Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a -- preset 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. We -- recommend that you create only one master playlist per output format. -- The maximum number of master playlists in a job is 30. -- -- See: newPlaylist smart constructor. data Playlist Playlist' :: Maybe Text -> Maybe HlsContentProtection -> Maybe Text -> Maybe [Text] -> Maybe PlayReadyDrm -> Maybe Text -> Maybe Text -> Playlist -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. [$sel:format:Playlist'] :: Playlist -> Maybe Text -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. [$sel:hlsContentProtection:Playlist'] :: Playlist -> Maybe HlsContentProtection -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. [$sel:name:Playlist'] :: Playlist -> Maybe Text -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. [$sel:outputKeys:Playlist'] :: Playlist -> Maybe [Text] -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. [$sel:playReadyDrm:Playlist'] :: Playlist -> Maybe PlayReadyDrm -- | The status of the job with which the playlist is associated. [$sel:status:Playlist'] :: Playlist -> Maybe Text -- | Information that further explains the status. [$sel:statusDetail:Playlist'] :: Playlist -> Maybe Text -- | Create a value of Playlist with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- Playlist, playlist_format - The format of the output -- playlist. Valid formats include HLSv3, HLSv4, and -- Smooth. -- -- $sel:hlsContentProtection:Playlist', -- playlist_hlsContentProtection - The HLS content protection -- settings, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:name:Playlist', playlist_name - The name that you -- want Elastic Transcoder to assign to the master playlist, for example, -- nyc-vacation.m3u8. If the name includes a / character, the -- section of the name before the last / must be identical for -- all Name objects. If you create more than one master -- playlist, the values of all Name objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. -- -- $sel:outputKeys:Playlist', playlist_outputKeys - For -- each output in this job that you want to include in a master playlist, -- the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. -- -- $sel:playReadyDrm:Playlist', playlist_playReadyDrm - The -- DRM settings, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:status:Playlist', playlist_status - The status of -- the job with which the playlist is associated. -- -- $sel:statusDetail:Playlist', playlist_statusDetail - -- Information that further explains the status. newPlaylist :: Playlist -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. playlist_format :: Lens' Playlist (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. playlist_hlsContentProtection :: Lens' Playlist (Maybe HlsContentProtection) -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. playlist_name :: Lens' Playlist (Maybe Text) -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. playlist_outputKeys :: Lens' Playlist (Maybe [Text]) -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. playlist_playReadyDrm :: Lens' Playlist (Maybe PlayReadyDrm) -- | The status of the job with which the playlist is associated. playlist_status :: Lens' Playlist (Maybe Text) -- | Information that further explains the status. playlist_statusDetail :: Lens' Playlist (Maybe Text) -- | Presets are templates that contain most of the settings for -- transcoding media files from one format to another. Elastic Transcoder -- includes some default presets for common formats, for example, several -- iPod and iPhone versions. You can also create your own presets for -- formats that aren't included among the default presets. You specify -- which preset you want to use when you create a job. -- -- See: newPreset smart constructor. data Preset Preset' :: Maybe Text -> Maybe AudioParameters -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Thumbnails -> Maybe Text -> Maybe VideoParameters -> Preset -- | The Amazon Resource Name (ARN) for the preset. [$sel:arn:Preset'] :: Preset -> Maybe Text -- | A section of the response body that provides information about the -- audio preset values. [$sel:audio:Preset'] :: Preset -> Maybe AudioParameters -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. [$sel:container:Preset'] :: Preset -> Maybe Text -- | A description of the preset. [$sel:description:Preset'] :: Preset -> Maybe Text -- | Identifier for the new preset. You use this value to get settings for -- the preset or to delete it. [$sel:id:Preset'] :: Preset -> Maybe Text -- | The name of the preset. [$sel:name:Preset'] :: Preset -> Maybe Text -- | A section of the response body that provides information about the -- thumbnail preset values, if any. [$sel:thumbnails:Preset'] :: Preset -> Maybe Thumbnails -- | Whether the preset is a default preset provided by Elastic Transcoder -- (System) or a preset that you have defined (Custom). [$sel:type':Preset'] :: Preset -> Maybe Text -- | A section of the response body that provides information about the -- video preset values. [$sel:video:Preset'] :: Preset -> Maybe VideoParameters -- | Create a value of Preset with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Preset', preset_arn - The Amazon Resource Name -- (ARN) for the preset. -- -- $sel:audio:Preset', preset_audio - A section of the -- response body that provides information about the audio preset values. -- -- $sel:container:Preset', preset_container - The container -- type for the output file. Valid values include flac, -- flv, fmp4, gif, mp3, mp4, -- mpg, mxf, oga, ogg, ts, -- and webm. -- -- $sel:description:Preset', preset_description - A -- description of the preset. -- -- $sel:id:Preset', preset_id - Identifier for the new -- preset. You use this value to get settings for the preset or to delete -- it. -- -- $sel:name:Preset', preset_name - The name of the preset. -- -- $sel:thumbnails:Preset', preset_thumbnails - A section -- of the response body that provides information about the thumbnail -- preset values, if any. -- -- $sel:type':Preset', preset_type - Whether the preset is -- a default preset provided by Elastic Transcoder (System) or a -- preset that you have defined (Custom). -- -- $sel:video:Preset', preset_video - A section of the -- response body that provides information about the video preset values. newPreset :: Preset -- | The Amazon Resource Name (ARN) for the preset. preset_arn :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- audio preset values. preset_audio :: Lens' Preset (Maybe AudioParameters) -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. preset_container :: Lens' Preset (Maybe Text) -- | A description of the preset. preset_description :: Lens' Preset (Maybe Text) -- | Identifier for the new preset. You use this value to get settings for -- the preset or to delete it. preset_id :: Lens' Preset (Maybe Text) -- | The name of the preset. preset_name :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- thumbnail preset values, if any. preset_thumbnails :: Lens' Preset (Maybe Thumbnails) -- | Whether the preset is a default preset provided by Elastic Transcoder -- (System) or a preset that you have defined (Custom). preset_type :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- video preset values. preset_video :: Lens' Preset (Maybe VideoParameters) -- | Settings for the size, location, and opacity of graphics that you want -- Elastic Transcoder to overlay over videos that are transcoded using -- this preset. You can specify settings for up to four watermarks. -- Watermarks appear in the specified size and location, and with the -- specified opacity for the duration of the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. -- -- See: newPresetWatermark smart constructor. data PresetWatermark PresetWatermark' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PresetWatermark -- | The horizontal position of the watermark unless you specify a non-zero -- value for HorizontalOffset: -- -- [$sel:horizontalAlign:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | The amount by which you want the horizontal position of the watermark -- to be offset from the position specified by HorizontalAlign: -- -- -- -- For example, if you specify Left for HorizontalAlign and 5px -- for HorizontalOffset, the left side of the watermark appears -- 5 pixels from the left border of the output video. -- -- HorizontalOffset is only valid when the value of -- HorizontalAlign is Left or Right. If you -- specify an offset that causes the watermark to extend beyond the left -- or right border and Elastic Transcoder has not added black bars, the -- watermark is cropped. If Elastic Transcoder has added black bars, the -- watermark extends into the black bars. If the watermark extends beyond -- the black bars, it is cropped. -- -- Use the value of Target to specify whether you want to -- include the black bars that are added by Elastic Transcoder, if any, -- in the offset calculation. [$sel:horizontalOffset:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | A unique identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. [$sel:id:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | The maximum height of the watermark in one of the following formats: -- -- -- -- If you specify the value in pixels, it must be less than or equal to -- the value of MaxHeight. [$sel:maxHeight:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | The maximum width of the watermark in one of the following formats: -- -- [$sel:maxWidth:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | A percentage that indicates how much you want a watermark to obscure -- the video in the location where it appears. Valid values are 0 (the -- watermark is invisible) to 100 (the watermark completely obscures the -- video in the specified location). The datatype of Opacity is -- float. -- -- Elastic Transcoder supports transparent .png graphics. If you use a -- transparent .png, the transparent portion of the video appears as if -- you had specified a value of 0 for Opacity. The .jpg file -- format doesn't support transparency. [$sel:opacity:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | A value that controls scaling of the watermark: -- -- [$sel:sizingPolicy:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | A value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- [$sel:target:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | The vertical position of the watermark unless you specify a non-zero -- value for VerticalOffset: -- -- [$sel:verticalAlign:PresetWatermark'] :: PresetWatermark -> Maybe Text -- |
--   VerticalOffset
--   
-- -- The amount by which you want the vertical position of the watermark to -- be offset from the position specified by VerticalAlign: -- -- -- -- For example, if you specify Top for VerticalAlign -- and 5px for VerticalOffset, the top of the watermark -- appears 5 pixels from the top border of the output video. -- -- VerticalOffset is only valid when the value of VerticalAlign -- is Top or Bottom. -- -- If you specify an offset that causes the watermark to extend beyond -- the top or bottom border and Elastic Transcoder has not added black -- bars, the watermark is cropped. If Elastic Transcoder has added black -- bars, the watermark extends into the black bars. If the watermark -- extends beyond the black bars, it is cropped. -- -- Use the value of Target to specify whether you want Elastic -- Transcoder to include the black bars that are added by Elastic -- Transcoder, if any, in the offset calculation. [$sel:verticalOffset:PresetWatermark'] :: PresetWatermark -> Maybe Text -- | Create a value of PresetWatermark with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:horizontalAlign:PresetWatermark', -- presetWatermark_horizontalAlign - The horizontal position of -- the watermark unless you specify a non-zero value for -- HorizontalOffset: -- -- -- -- $sel:horizontalOffset:PresetWatermark', -- presetWatermark_horizontalOffset - The amount by which you want -- the horizontal position of the watermark to be offset from the -- position specified by HorizontalAlign: -- -- -- -- For example, if you specify Left for HorizontalAlign and 5px -- for HorizontalOffset, the left side of the watermark appears -- 5 pixels from the left border of the output video. -- -- HorizontalOffset is only valid when the value of -- HorizontalAlign is Left or Right. If you -- specify an offset that causes the watermark to extend beyond the left -- or right border and Elastic Transcoder has not added black bars, the -- watermark is cropped. If Elastic Transcoder has added black bars, the -- watermark extends into the black bars. If the watermark extends beyond -- the black bars, it is cropped. -- -- Use the value of Target to specify whether you want to -- include the black bars that are added by Elastic Transcoder, if any, -- in the offset calculation. -- -- $sel:id:PresetWatermark', presetWatermark_id - A unique -- identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. -- -- $sel:maxHeight:PresetWatermark', -- presetWatermark_maxHeight - The maximum height of the watermark -- in one of the following formats: -- -- -- -- If you specify the value in pixels, it must be less than or equal to -- the value of MaxHeight. -- -- $sel:maxWidth:PresetWatermark', presetWatermark_maxWidth -- - The maximum width of the watermark in one of the following formats: -- -- -- -- $sel:opacity:PresetWatermark', presetWatermark_opacity - -- A percentage that indicates how much you want a watermark to obscure -- the video in the location where it appears. Valid values are 0 (the -- watermark is invisible) to 100 (the watermark completely obscures the -- video in the specified location). The datatype of Opacity is -- float. -- -- Elastic Transcoder supports transparent .png graphics. If you use a -- transparent .png, the transparent portion of the video appears as if -- you had specified a value of 0 for Opacity. The .jpg file -- format doesn't support transparency. -- -- $sel:sizingPolicy:PresetWatermark', -- presetWatermark_sizingPolicy - A value that controls scaling of -- the watermark: -- -- -- -- $sel:target:PresetWatermark', presetWatermark_target - A -- value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- -- -- $sel:verticalAlign:PresetWatermark', -- presetWatermark_verticalAlign - The vertical position of the -- watermark unless you specify a non-zero value for -- VerticalOffset: -- -- -- -- $sel:verticalOffset:PresetWatermark', -- presetWatermark_verticalOffset - VerticalOffset -- -- The amount by which you want the vertical position of the watermark to -- be offset from the position specified by VerticalAlign: -- -- -- -- For example, if you specify Top for VerticalAlign -- and 5px for VerticalOffset, the top of the watermark -- appears 5 pixels from the top border of the output video. -- -- VerticalOffset is only valid when the value of VerticalAlign -- is Top or Bottom. -- -- If you specify an offset that causes the watermark to extend beyond -- the top or bottom border and Elastic Transcoder has not added black -- bars, the watermark is cropped. If Elastic Transcoder has added black -- bars, the watermark extends into the black bars. If the watermark -- extends beyond the black bars, it is cropped. -- -- Use the value of Target to specify whether you want Elastic -- Transcoder to include the black bars that are added by Elastic -- Transcoder, if any, in the offset calculation. newPresetWatermark :: PresetWatermark -- | The horizontal position of the watermark unless you specify a non-zero -- value for HorizontalOffset: -- -- presetWatermark_horizontalAlign :: Lens' PresetWatermark (Maybe Text) -- | The amount by which you want the horizontal position of the watermark -- to be offset from the position specified by HorizontalAlign: -- -- -- -- For example, if you specify Left for HorizontalAlign and 5px -- for HorizontalOffset, the left side of the watermark appears -- 5 pixels from the left border of the output video. -- -- HorizontalOffset is only valid when the value of -- HorizontalAlign is Left or Right. If you -- specify an offset that causes the watermark to extend beyond the left -- or right border and Elastic Transcoder has not added black bars, the -- watermark is cropped. If Elastic Transcoder has added black bars, the -- watermark extends into the black bars. If the watermark extends beyond -- the black bars, it is cropped. -- -- Use the value of Target to specify whether you want to -- include the black bars that are added by Elastic Transcoder, if any, -- in the offset calculation. presetWatermark_horizontalOffset :: Lens' PresetWatermark (Maybe Text) -- | A unique identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. presetWatermark_id :: Lens' PresetWatermark (Maybe Text) -- | The maximum height of the watermark in one of the following formats: -- -- -- -- If you specify the value in pixels, it must be less than or equal to -- the value of MaxHeight. presetWatermark_maxHeight :: Lens' PresetWatermark (Maybe Text) -- | The maximum width of the watermark in one of the following formats: -- -- presetWatermark_maxWidth :: Lens' PresetWatermark (Maybe Text) -- | A percentage that indicates how much you want a watermark to obscure -- the video in the location where it appears. Valid values are 0 (the -- watermark is invisible) to 100 (the watermark completely obscures the -- video in the specified location). The datatype of Opacity is -- float. -- -- Elastic Transcoder supports transparent .png graphics. If you use a -- transparent .png, the transparent portion of the video appears as if -- you had specified a value of 0 for Opacity. The .jpg file -- format doesn't support transparency. presetWatermark_opacity :: Lens' PresetWatermark (Maybe Text) -- | A value that controls scaling of the watermark: -- -- presetWatermark_sizingPolicy :: Lens' PresetWatermark (Maybe Text) -- | A value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- presetWatermark_target :: Lens' PresetWatermark (Maybe Text) -- | The vertical position of the watermark unless you specify a non-zero -- value for VerticalOffset: -- -- presetWatermark_verticalAlign :: Lens' PresetWatermark (Maybe Text) -- |
--   VerticalOffset
--   
-- -- The amount by which you want the vertical position of the watermark to -- be offset from the position specified by VerticalAlign: -- -- -- -- For example, if you specify Top for VerticalAlign -- and 5px for VerticalOffset, the top of the watermark -- appears 5 pixels from the top border of the output video. -- -- VerticalOffset is only valid when the value of VerticalAlign -- is Top or Bottom. -- -- If you specify an offset that causes the watermark to extend beyond -- the top or bottom border and Elastic Transcoder has not added black -- bars, the watermark is cropped. If Elastic Transcoder has added black -- bars, the watermark extends into the black bars. If the watermark -- extends beyond the black bars, it is cropped. -- -- Use the value of Target to specify whether you want Elastic -- Transcoder to include the black bars that are added by Elastic -- Transcoder, if any, in the offset calculation. presetWatermark_verticalOffset :: Lens' PresetWatermark (Maybe Text) -- | Thumbnails for videos. -- -- See: newThumbnails smart constructor. data Thumbnails Thumbnails' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Thumbnails -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The aspect ratio of thumbnails. Valid values include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the video in the output file. [$sel:aspectRatio:Thumbnails'] :: Thumbnails -> Maybe Text -- | The format of thumbnails, if any. Valid values are jpg and -- png. -- -- You specify whether you want Elastic Transcoder to create thumbnails -- when you create a job. [$sel:format:Thumbnails'] :: Thumbnails -> Maybe Text -- | The approximate number of seconds between thumbnails. Specify an -- integer value. [$sel:interval:Thumbnails'] :: Thumbnails -> Maybe Text -- | The maximum height of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1080 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 3072. [$sel:maxHeight:Thumbnails'] :: Thumbnails -> Maybe Text -- | The maximum width of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1920 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 4096. [$sel:maxWidth:Thumbnails'] :: Thumbnails -> Maybe Text -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of thumbnails to make the total size of the thumbnails -- match the values that you specified for thumbnail MaxWidth -- and MaxHeight settings. [$sel:paddingPolicy:Thumbnails'] :: Thumbnails -> Maybe Text -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The width and height of thumbnail files in pixels. Specify a value in -- the format width x -- height where both values are even -- integers. The values cannot exceed the width and height that you -- specified in the Video:Resolution object. [$sel:resolution:Thumbnails'] :: Thumbnails -> Maybe Text -- | Specify one of the following values to control scaling of thumbnails: -- -- [$sel:sizingPolicy:Thumbnails'] :: Thumbnails -> Maybe Text -- | Create a value of Thumbnails with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:Thumbnails', thumbnails_aspectRatio - -- To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The aspect ratio of thumbnails. Valid values include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the video in the output file. -- -- $sel:format:Thumbnails', thumbnails_format - The format -- of thumbnails, if any. Valid values are jpg and png. -- -- You specify whether you want Elastic Transcoder to create thumbnails -- when you create a job. -- -- $sel:interval:Thumbnails', thumbnails_interval - The -- approximate number of seconds between thumbnails. Specify an integer -- value. -- -- $sel:maxHeight:Thumbnails', thumbnails_maxHeight - The -- maximum height of thumbnails in pixels. If you specify auto, Elastic -- Transcoder uses 1080 (Full HD) as the default value. If you specify a -- numeric value, enter an even integer between 32 and 3072. -- -- $sel:maxWidth:Thumbnails', thumbnails_maxWidth - The -- maximum width of thumbnails in pixels. If you specify auto, Elastic -- Transcoder uses 1920 (Full HD) as the default value. If you specify a -- numeric value, enter an even integer between 32 and 4096. -- -- $sel:paddingPolicy:Thumbnails', thumbnails_paddingPolicy -- - When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of thumbnails to make the total size of the thumbnails -- match the values that you specified for thumbnail MaxWidth -- and MaxHeight settings. -- -- $sel:resolution:Thumbnails', thumbnails_resolution - To -- better control resolution and aspect ratio of thumbnails, we recommend -- that you use the values MaxWidth, MaxHeight, -- SizingPolicy, and PaddingPolicy instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The width and height of thumbnail files in pixels. Specify a value in -- the format width x -- height where both values are even -- integers. The values cannot exceed the width and height that you -- specified in the Video:Resolution object. -- -- $sel:sizingPolicy:Thumbnails', thumbnails_sizingPolicy - -- Specify one of the following values to control scaling of thumbnails: -- -- newThumbnails :: Thumbnails -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The aspect ratio of thumbnails. Valid values include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the video in the output file. thumbnails_aspectRatio :: Lens' Thumbnails (Maybe Text) -- | The format of thumbnails, if any. Valid values are jpg and -- png. -- -- You specify whether you want Elastic Transcoder to create thumbnails -- when you create a job. thumbnails_format :: Lens' Thumbnails (Maybe Text) -- | The approximate number of seconds between thumbnails. Specify an -- integer value. thumbnails_interval :: Lens' Thumbnails (Maybe Text) -- | The maximum height of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1080 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 3072. thumbnails_maxHeight :: Lens' Thumbnails (Maybe Text) -- | The maximum width of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1920 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 4096. thumbnails_maxWidth :: Lens' Thumbnails (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of thumbnails to make the total size of the thumbnails -- match the values that you specified for thumbnail MaxWidth -- and MaxHeight settings. thumbnails_paddingPolicy :: Lens' Thumbnails (Maybe Text) -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The width and height of thumbnail files in pixels. Specify a value in -- the format width x -- height where both values are even -- integers. The values cannot exceed the width and height that you -- specified in the Video:Resolution object. thumbnails_resolution :: Lens' Thumbnails (Maybe Text) -- | Specify one of the following values to control scaling of thumbnails: -- -- thumbnails_sizingPolicy :: Lens' Thumbnails (Maybe Text) -- | Settings that determine when a clip begins and how long it lasts. -- -- See: newTimeSpan smart constructor. data TimeSpan TimeSpan' :: Maybe Text -> Maybe Text -> TimeSpan -- | The duration of the clip. The format can be either HH:mm:ss.SSS -- (maximum value: 23:59:59.999; SSS is thousandths of a second) or -- sssss.SSS (maximum value: 86399.999). If you don't specify a value, -- Elastic Transcoder creates an output file from StartTime to the end of -- the file. -- -- If you specify a value longer than the duration of the input file, -- Elastic Transcoder transcodes the file and returns a warning message. [$sel:duration:TimeSpan'] :: TimeSpan -> Maybe Text -- | The place in the input file where you want a clip to start. The format -- can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is -- thousandths of a second) or sssss.SSS (maximum value: 86399.999). If -- you don't specify a value, Elastic Transcoder starts at the beginning -- of the input file. [$sel:startTime:TimeSpan'] :: TimeSpan -> Maybe Text -- | Create a value of TimeSpan with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:duration:TimeSpan', timeSpan_duration - The -- duration of the clip. The format can be either HH:mm:ss.SSS (maximum -- value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS -- (maximum value: 86399.999). If you don't specify a value, Elastic -- Transcoder creates an output file from StartTime to the end of the -- file. -- -- If you specify a value longer than the duration of the input file, -- Elastic Transcoder transcodes the file and returns a warning message. -- -- $sel:startTime:TimeSpan', timeSpan_startTime - The place -- in the input file where you want a clip to start. The format can be -- either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths -- of a second) or sssss.SSS (maximum value: 86399.999). If you don't -- specify a value, Elastic Transcoder starts at the beginning of the -- input file. newTimeSpan :: TimeSpan -- | The duration of the clip. The format can be either HH:mm:ss.SSS -- (maximum value: 23:59:59.999; SSS is thousandths of a second) or -- sssss.SSS (maximum value: 86399.999). If you don't specify a value, -- Elastic Transcoder creates an output file from StartTime to the end of -- the file. -- -- If you specify a value longer than the duration of the input file, -- Elastic Transcoder transcodes the file and returns a warning message. timeSpan_duration :: Lens' TimeSpan (Maybe Text) -- | The place in the input file where you want a clip to start. The format -- can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is -- thousandths of a second) or sssss.SSS (maximum value: 86399.999). If -- you don't specify a value, Elastic Transcoder starts at the beginning -- of the input file. timeSpan_startTime :: Lens' TimeSpan (Maybe Text) -- | Details about the timing of a job. -- -- See: newTiming smart constructor. data Timing Timing' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Timing -- | The time the job finished transcoding, in epoch milliseconds. [$sel:finishTimeMillis:Timing'] :: Timing -> Maybe Integer -- | The time the job began transcoding, in epoch milliseconds. [$sel:startTimeMillis:Timing'] :: Timing -> Maybe Integer -- | The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. [$sel:submitTimeMillis:Timing'] :: Timing -> Maybe Integer -- | Create a value of Timing with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:finishTimeMillis:Timing', timing_finishTimeMillis - -- The time the job finished transcoding, in epoch milliseconds. -- -- $sel:startTimeMillis:Timing', timing_startTimeMillis - -- The time the job began transcoding, in epoch milliseconds. -- -- $sel:submitTimeMillis:Timing', timing_submitTimeMillis - -- The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. newTiming :: Timing -- | The time the job finished transcoding, in epoch milliseconds. timing_finishTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job began transcoding, in epoch milliseconds. timing_startTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. timing_submitTimeMillis :: Lens' Timing (Maybe Integer) -- | The VideoParameters structure. -- -- See: newVideoParameters smart constructor. data VideoParameters VideoParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PresetWatermark] -> VideoParameters -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The display aspect ratio of the video in the output file. Valid values -- include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the input file. -- -- If you specify an aspect ratio for the output file that differs from -- aspect ratio of the input file, Elastic Transcoder adds pillarboxing -- (black bars on the sides) or letterboxing (black bars on the top and -- bottom) to maintain the aspect ratio of the active region of the -- video. [$sel:aspectRatio:VideoParameters'] :: VideoParameters -> Maybe Text -- | The bit rate of the video stream in the output file, in -- kilobits/second. Valid values depend on the values of Level -- and Profile. If you specify auto, Elastic Transcoder -- uses the detected bit rate of the input source. If you specify a value -- other than auto, we recommend that you specify a value less -- than or equal to the maximum H.264-compliant value listed for your -- level and profile: -- -- /Level - Maximum video bit rate in kilobits/second (baseline and main -- Profile) : maximum video bit rate in kilobits/second (high Profile)/ -- -- [$sel:bitRate:VideoParameters'] :: VideoParameters -> Maybe Text -- | The video codec for the output file. Valid values include -- gif, H.264, mpeg2, vp8, and -- vp9. You can only specify vp8 and vp9 when -- the container type is webm, gif when the container -- type is gif, and mpeg2 when the container type is -- mpg. [$sel:codec:VideoParameters'] :: VideoParameters -> Maybe Text -- | Profile (H.264/VP8/VP9 Only) -- -- The H.264 profile that you want to use for the output file. Elastic -- Transcoder supports the following profiles: -- -- -- -- Level (H.264 Only) -- -- The H.264 level that you want to use for the output file. Elastic -- Transcoder supports the following levels: -- -- 1, 1b, 1.1, 1.2, 1.3, -- 2, 2.1, 2.2, 3, 3.1, -- 3.2, 4, 4.1 -- -- MaxReferenceFrames (H.264 Only) -- -- Applicable only when the value of Video:Codec is H.264. The maximum -- number of previously decoded frames to use as a reference for decoding -- future frames. Valid values are integers 0 through 16, but we -- recommend that you not use a value greater than the following: -- --
--   Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
--   
-- -- where Width in pixels and Height in pixels represent -- either MaxWidth and MaxHeight, or Resolution. /Maximum decoded picture -- buffer in macroblocks/ depends on the value of the Level -- object. See the list below. (A macroblock is a block of pixels -- measuring 16x16.) -- -- -- -- MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits per second in a video buffer; the size of -- the buffer is specified by BufferSize. Specify a value -- between 16 and 62,500. You can reduce the bandwidth required to stream -- a video by reducing the maximum bit rate, but this also reduces the -- quality of the video. -- -- BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits in any x seconds of the output video. This -- window is commonly 10 seconds, the standard segment duration when -- you're using FMP4 or MPEG-TS for the container type of the output -- video. Specify an integer greater than 0. If you specify -- MaxBitRate and omit BufferSize, Elastic Transcoder -- sets BufferSize to 10 times the value of MaxBitRate. -- -- InterlacedMode (Optional, H.264/MPEG2 Only) -- -- The interlace mode for the output video. -- -- Interlaced video is used to double the perceived frame rate for a -- video by interlacing two fields (one field on every other line, the -- other field on the other lines) so that the human eye registers -- multiple pictures per frame. Interlacing reduces the bandwidth -- required for transmitting a video, but can result in blurred images -- and flickering. -- -- Valid values include Progressive (no interlacing, top to -- bottom), TopFirst (top field first), BottomFirst -- (bottom field first), and Auto. -- -- If InterlaceMode is not specified, Elastic Transcoder uses -- Progressive for the output. If Auto is specified, -- Elastic Transcoder interlaces the output. -- -- ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) -- -- The color space conversion Elastic Transcoder applies to the output -- video. Color spaces are the algorithms used by the computer to store -- information about how to render color. Bt.601 is the standard -- for standard definition video, while Bt.709 is the standard -- for high definition video. -- -- Valid values include None, Bt709toBt601, -- Bt601toBt709, and Auto. -- -- If you chose Auto for ColorSpaceConversionMode and -- your output is interlaced, your frame rate is one of 23.97, -- 24, 25, 29.97, 50, or 60, -- your SegmentDuration is null, and you are using one of the -- resolution changes from the list below, Elastic Transcoder applies the -- following color space conversions: -- -- -- -- Elastic Transcoder may change the behavior of the -- ColorspaceConversionMode Auto mode in the future. -- All outputs in a playlist must use the same -- ColorSpaceConversionMode. -- -- If you do not specify a ColorSpaceConversionMode, Elastic -- Transcoder does not change the color space of a file. If you are -- unsure what ColorSpaceConversionMode was applied to your -- output file, you can check the AppliedColorSpaceConversion -- parameter included in your job response. If your job does not have an -- AppliedColorSpaceConversion in its response, no -- ColorSpaceConversionMode was applied. -- -- ChromaSubsampling -- -- The sampling pattern for the chroma (color) channels of the output -- video. Valid values include yuv420p and yuv422p. -- -- yuv420p samples the chroma information of every other -- horizontal and every other vertical line, yuv422p samples the -- color information of every horizontal line and every other vertical -- line. -- -- LoopCount (Gif Only) -- -- The number of times you want the output gif to loop. Valid values -- include Infinite and integers between 0 and -- 100, inclusive. [$sel:codecOptions:VideoParameters'] :: VideoParameters -> Maybe (HashMap Text Text) -- | The value that Elastic Transcoder adds to the metadata in the output -- file. [$sel:displayAspectRatio:VideoParameters'] :: VideoParameters -> Maybe Text -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- Whether to use a fixed value for FixedGOP. Valid values are -- true and false: -- -- -- -- FixedGOP must be set to true for fmp4 -- containers. [$sel:fixedGOP:VideoParameters'] :: VideoParameters -> Maybe Text -- | The frames per second for the video stream in the output file. Valid -- values include: -- -- auto, 10, 15, 23.97, 24, -- 25, 29.97, 30, 60 -- -- If you specify auto, Elastic Transcoder uses the detected -- frame rate of the input source. If you specify a frame rate, we -- recommend that you perform the following calculation: -- --
--   Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
--   
-- -- where: -- -- -- -- The maximum recommended decoding speed in Luma samples/second for each -- level is described in the following list (Level - Decoding -- speed): -- -- [$sel:frameRate:VideoParameters'] :: VideoParameters -> Maybe Text -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- The maximum number of frames between key frames. Key frames are fully -- encoded frames; the frames between key frames are encoded based, in -- part, on the content of the key frames. The value is an integer -- formatted as a string; valid values are between 1 (every frame is a -- key frame) and 100000, inclusive. A higher value results in higher -- compression but may also discernibly decrease video quality. -- -- For Smooth outputs, the FrameRate must have a -- constant ratio to the KeyframesMaxDist. This allows -- Smooth playlists to switch between different quality levels -- while the file is being played. -- -- For example, an input file can have a FrameRate of 30 with a -- KeyframesMaxDist of 90. The output file then needs to have a -- ratio of 1:3. Valid outputs would have FrameRate of 30, 25, -- and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. -- -- Alternately, this can be achieved by setting FrameRate to -- auto and having the same values for MaxFrameRate and -- KeyframesMaxDist. [$sel:keyframesMaxDist:VideoParameters'] :: VideoParameters -> Maybe Text -- | If you specify auto for FrameRate, Elastic -- Transcoder uses the frame rate of the input video for the frame rate -- of the output video. Specify the maximum frame rate that you want -- Elastic Transcoder to use when the frame rate of the input video is -- greater than the desired maximum frame rate of the output video. Valid -- values include: 10, 15, 23.97, 24, -- 25, 29.97, 30, 60. [$sel:maxFrameRate:VideoParameters'] :: VideoParameters -> Maybe Text -- | The maximum height of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1080 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 96 and 3072. [$sel:maxHeight:VideoParameters'] :: VideoParameters -> Maybe Text -- | The maximum width of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1920 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 128 and 4096. [$sel:maxWidth:VideoParameters'] :: VideoParameters -> Maybe Text -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of the output video to make the total size of the output -- video match the values that you specified for MaxWidth and -- MaxHeight. [$sel:paddingPolicy:VideoParameters'] :: VideoParameters -> Maybe Text -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The width and height of the video in the output file, in pixels. Valid -- values are auto and width x height: -- -- -- -- Note the following about specifying the width and height: -- -- [$sel:resolution:VideoParameters'] :: VideoParameters -> Maybe Text -- | Specify one of the following values to control scaling of the output -- video: -- -- [$sel:sizingPolicy:VideoParameters'] :: VideoParameters -> Maybe Text -- | Settings for the size, location, and opacity of graphics that you want -- Elastic Transcoder to overlay over videos that are transcoded using -- this preset. You can specify settings for up to four watermarks. -- Watermarks appear in the specified size and location, and with the -- specified opacity for the duration of the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. [$sel:watermarks:VideoParameters'] :: VideoParameters -> Maybe [PresetWatermark] -- | Create a value of VideoParameters with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:VideoParameters', -- videoParameters_aspectRatio - To better control resolution and -- aspect ratio of output videos, we recommend that you use the values -- MaxWidth, MaxHeight, SizingPolicy, -- PaddingPolicy, and DisplayAspectRatio instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The display aspect ratio of the video in the output file. Valid values -- include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the input file. -- -- If you specify an aspect ratio for the output file that differs from -- aspect ratio of the input file, Elastic Transcoder adds pillarboxing -- (black bars on the sides) or letterboxing (black bars on the top and -- bottom) to maintain the aspect ratio of the active region of the -- video. -- -- $sel:bitRate:VideoParameters', videoParameters_bitRate - -- The bit rate of the video stream in the output file, in -- kilobits/second. Valid values depend on the values of Level -- and Profile. If you specify auto, Elastic Transcoder -- uses the detected bit rate of the input source. If you specify a value -- other than auto, we recommend that you specify a value less -- than or equal to the maximum H.264-compliant value listed for your -- level and profile: -- -- /Level - Maximum video bit rate in kilobits/second (baseline and main -- Profile) : maximum video bit rate in kilobits/second (high Profile)/ -- -- -- -- $sel:codec:VideoParameters', videoParameters_codec - The -- video codec for the output file. Valid values include gif, -- H.264, mpeg2, vp8, and vp9. You -- can only specify vp8 and vp9 when the container type -- is webm, gif when the container type is -- gif, and mpeg2 when the container type is -- mpg. -- -- $sel:codecOptions:VideoParameters', -- videoParameters_codecOptions - Profile (H.264/VP8/VP9 -- Only) -- -- The H.264 profile that you want to use for the output file. Elastic -- Transcoder supports the following profiles: -- -- -- -- Level (H.264 Only) -- -- The H.264 level that you want to use for the output file. Elastic -- Transcoder supports the following levels: -- -- 1, 1b, 1.1, 1.2, 1.3, -- 2, 2.1, 2.2, 3, 3.1, -- 3.2, 4, 4.1 -- -- MaxReferenceFrames (H.264 Only) -- -- Applicable only when the value of Video:Codec is H.264. The maximum -- number of previously decoded frames to use as a reference for decoding -- future frames. Valid values are integers 0 through 16, but we -- recommend that you not use a value greater than the following: -- --
--   Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
--   
-- -- where Width in pixels and Height in pixels represent -- either MaxWidth and MaxHeight, or Resolution. /Maximum decoded picture -- buffer in macroblocks/ depends on the value of the Level -- object. See the list below. (A macroblock is a block of pixels -- measuring 16x16.) -- -- -- -- MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits per second in a video buffer; the size of -- the buffer is specified by BufferSize. Specify a value -- between 16 and 62,500. You can reduce the bandwidth required to stream -- a video by reducing the maximum bit rate, but this also reduces the -- quality of the video. -- -- BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits in any x seconds of the output video. This -- window is commonly 10 seconds, the standard segment duration when -- you're using FMP4 or MPEG-TS for the container type of the output -- video. Specify an integer greater than 0. If you specify -- MaxBitRate and omit BufferSize, Elastic Transcoder -- sets BufferSize to 10 times the value of MaxBitRate. -- -- InterlacedMode (Optional, H.264/MPEG2 Only) -- -- The interlace mode for the output video. -- -- Interlaced video is used to double the perceived frame rate for a -- video by interlacing two fields (one field on every other line, the -- other field on the other lines) so that the human eye registers -- multiple pictures per frame. Interlacing reduces the bandwidth -- required for transmitting a video, but can result in blurred images -- and flickering. -- -- Valid values include Progressive (no interlacing, top to -- bottom), TopFirst (top field first), BottomFirst -- (bottom field first), and Auto. -- -- If InterlaceMode is not specified, Elastic Transcoder uses -- Progressive for the output. If Auto is specified, -- Elastic Transcoder interlaces the output. -- -- ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) -- -- The color space conversion Elastic Transcoder applies to the output -- video. Color spaces are the algorithms used by the computer to store -- information about how to render color. Bt.601 is the standard -- for standard definition video, while Bt.709 is the standard -- for high definition video. -- -- Valid values include None, Bt709toBt601, -- Bt601toBt709, and Auto. -- -- If you chose Auto for ColorSpaceConversionMode and -- your output is interlaced, your frame rate is one of 23.97, -- 24, 25, 29.97, 50, or 60, -- your SegmentDuration is null, and you are using one of the -- resolution changes from the list below, Elastic Transcoder applies the -- following color space conversions: -- -- -- -- Elastic Transcoder may change the behavior of the -- ColorspaceConversionMode Auto mode in the future. -- All outputs in a playlist must use the same -- ColorSpaceConversionMode. -- -- If you do not specify a ColorSpaceConversionMode, Elastic -- Transcoder does not change the color space of a file. If you are -- unsure what ColorSpaceConversionMode was applied to your -- output file, you can check the AppliedColorSpaceConversion -- parameter included in your job response. If your job does not have an -- AppliedColorSpaceConversion in its response, no -- ColorSpaceConversionMode was applied. -- -- ChromaSubsampling -- -- The sampling pattern for the chroma (color) channels of the output -- video. Valid values include yuv420p and yuv422p. -- -- yuv420p samples the chroma information of every other -- horizontal and every other vertical line, yuv422p samples the -- color information of every horizontal line and every other vertical -- line. -- -- LoopCount (Gif Only) -- -- The number of times you want the output gif to loop. Valid values -- include Infinite and integers between 0 and -- 100, inclusive. -- -- $sel:displayAspectRatio:VideoParameters', -- videoParameters_displayAspectRatio - The value that Elastic -- Transcoder adds to the metadata in the output file. -- -- $sel:fixedGOP:VideoParameters', videoParameters_fixedGOP -- - Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- Whether to use a fixed value for FixedGOP. Valid values are -- true and false: -- -- -- -- FixedGOP must be set to true for fmp4 -- containers. -- -- $sel:frameRate:VideoParameters', -- videoParameters_frameRate - The frames per second for the video -- stream in the output file. Valid values include: -- -- auto, 10, 15, 23.97, 24, -- 25, 29.97, 30, 60 -- -- If you specify auto, Elastic Transcoder uses the detected -- frame rate of the input source. If you specify a frame rate, we -- recommend that you perform the following calculation: -- --
--   Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
--   
-- -- where: -- -- -- -- The maximum recommended decoding speed in Luma samples/second for each -- level is described in the following list (Level - Decoding -- speed): -- -- -- -- $sel:keyframesMaxDist:VideoParameters', -- videoParameters_keyframesMaxDist - Applicable only when the -- value of Video:Codec is one of H.264, MPEG2, or -- VP8. -- -- The maximum number of frames between key frames. Key frames are fully -- encoded frames; the frames between key frames are encoded based, in -- part, on the content of the key frames. The value is an integer -- formatted as a string; valid values are between 1 (every frame is a -- key frame) and 100000, inclusive. A higher value results in higher -- compression but may also discernibly decrease video quality. -- -- For Smooth outputs, the FrameRate must have a -- constant ratio to the KeyframesMaxDist. This allows -- Smooth playlists to switch between different quality levels -- while the file is being played. -- -- For example, an input file can have a FrameRate of 30 with a -- KeyframesMaxDist of 90. The output file then needs to have a -- ratio of 1:3. Valid outputs would have FrameRate of 30, 25, -- and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. -- -- Alternately, this can be achieved by setting FrameRate to -- auto and having the same values for MaxFrameRate and -- KeyframesMaxDist. -- -- $sel:maxFrameRate:VideoParameters', -- videoParameters_maxFrameRate - If you specify auto for -- FrameRate, Elastic Transcoder uses the frame rate of the -- input video for the frame rate of the output video. Specify the -- maximum frame rate that you want Elastic Transcoder to use when the -- frame rate of the input video is greater than the desired maximum -- frame rate of the output video. Valid values include: 10, -- 15, 23.97, 24, 25, 29.97, -- 30, 60. -- -- VideoParameters, videoParameters_maxHeight - The maximum -- height of the output video in pixels. If you specify auto, -- Elastic Transcoder uses 1080 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 96 and 3072. -- -- VideoParameters, videoParameters_maxWidth - The maximum -- width of the output video in pixels. If you specify auto, -- Elastic Transcoder uses 1920 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 128 and 4096. -- -- $sel:paddingPolicy:VideoParameters', -- videoParameters_paddingPolicy - When you set -- PaddingPolicy to Pad, Elastic Transcoder may add -- black bars to the top and bottom and/or left and right sides of the -- output video to make the total size of the output video match the -- values that you specified for MaxWidth and -- MaxHeight. -- -- $sel:resolution:VideoParameters', -- videoParameters_resolution - To better control resolution and -- aspect ratio of output videos, we recommend that you use the values -- MaxWidth, MaxHeight, SizingPolicy, -- PaddingPolicy, and DisplayAspectRatio instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The width and height of the video in the output file, in pixels. Valid -- values are auto and width x height: -- -- -- -- Note the following about specifying the width and height: -- -- -- -- VideoParameters, videoParameters_sizingPolicy - Specify -- one of the following values to control scaling of the output video: -- -- -- -- $sel:watermarks:VideoParameters', -- videoParameters_watermarks - Settings for the size, location, -- and opacity of graphics that you want Elastic Transcoder to overlay -- over videos that are transcoded using this preset. You can specify -- settings for up to four watermarks. Watermarks appear in the specified -- size and location, and with the specified opacity for the duration of -- the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. newVideoParameters :: VideoParameters -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The display aspect ratio of the video in the output file. Valid values -- include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the input file. -- -- If you specify an aspect ratio for the output file that differs from -- aspect ratio of the input file, Elastic Transcoder adds pillarboxing -- (black bars on the sides) or letterboxing (black bars on the top and -- bottom) to maintain the aspect ratio of the active region of the -- video. videoParameters_aspectRatio :: Lens' VideoParameters (Maybe Text) -- | The bit rate of the video stream in the output file, in -- kilobits/second. Valid values depend on the values of Level -- and Profile. If you specify auto, Elastic Transcoder -- uses the detected bit rate of the input source. If you specify a value -- other than auto, we recommend that you specify a value less -- than or equal to the maximum H.264-compliant value listed for your -- level and profile: -- -- /Level - Maximum video bit rate in kilobits/second (baseline and main -- Profile) : maximum video bit rate in kilobits/second (high Profile)/ -- -- videoParameters_bitRate :: Lens' VideoParameters (Maybe Text) -- | The video codec for the output file. Valid values include -- gif, H.264, mpeg2, vp8, and -- vp9. You can only specify vp8 and vp9 when -- the container type is webm, gif when the container -- type is gif, and mpeg2 when the container type is -- mpg. videoParameters_codec :: Lens' VideoParameters (Maybe Text) -- | Profile (H.264/VP8/VP9 Only) -- -- The H.264 profile that you want to use for the output file. Elastic -- Transcoder supports the following profiles: -- -- -- -- Level (H.264 Only) -- -- The H.264 level that you want to use for the output file. Elastic -- Transcoder supports the following levels: -- -- 1, 1b, 1.1, 1.2, 1.3, -- 2, 2.1, 2.2, 3, 3.1, -- 3.2, 4, 4.1 -- -- MaxReferenceFrames (H.264 Only) -- -- Applicable only when the value of Video:Codec is H.264. The maximum -- number of previously decoded frames to use as a reference for decoding -- future frames. Valid values are integers 0 through 16, but we -- recommend that you not use a value greater than the following: -- --
--   Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
--   
-- -- where Width in pixels and Height in pixels represent -- either MaxWidth and MaxHeight, or Resolution. /Maximum decoded picture -- buffer in macroblocks/ depends on the value of the Level -- object. See the list below. (A macroblock is a block of pixels -- measuring 16x16.) -- -- -- -- MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits per second in a video buffer; the size of -- the buffer is specified by BufferSize. Specify a value -- between 16 and 62,500. You can reduce the bandwidth required to stream -- a video by reducing the maximum bit rate, but this also reduces the -- quality of the video. -- -- BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits in any x seconds of the output video. This -- window is commonly 10 seconds, the standard segment duration when -- you're using FMP4 or MPEG-TS for the container type of the output -- video. Specify an integer greater than 0. If you specify -- MaxBitRate and omit BufferSize, Elastic Transcoder -- sets BufferSize to 10 times the value of MaxBitRate. -- -- InterlacedMode (Optional, H.264/MPEG2 Only) -- -- The interlace mode for the output video. -- -- Interlaced video is used to double the perceived frame rate for a -- video by interlacing two fields (one field on every other line, the -- other field on the other lines) so that the human eye registers -- multiple pictures per frame. Interlacing reduces the bandwidth -- required for transmitting a video, but can result in blurred images -- and flickering. -- -- Valid values include Progressive (no interlacing, top to -- bottom), TopFirst (top field first), BottomFirst -- (bottom field first), and Auto. -- -- If InterlaceMode is not specified, Elastic Transcoder uses -- Progressive for the output. If Auto is specified, -- Elastic Transcoder interlaces the output. -- -- ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) -- -- The color space conversion Elastic Transcoder applies to the output -- video. Color spaces are the algorithms used by the computer to store -- information about how to render color. Bt.601 is the standard -- for standard definition video, while Bt.709 is the standard -- for high definition video. -- -- Valid values include None, Bt709toBt601, -- Bt601toBt709, and Auto. -- -- If you chose Auto for ColorSpaceConversionMode and -- your output is interlaced, your frame rate is one of 23.97, -- 24, 25, 29.97, 50, or 60, -- your SegmentDuration is null, and you are using one of the -- resolution changes from the list below, Elastic Transcoder applies the -- following color space conversions: -- -- -- -- Elastic Transcoder may change the behavior of the -- ColorspaceConversionMode Auto mode in the future. -- All outputs in a playlist must use the same -- ColorSpaceConversionMode. -- -- If you do not specify a ColorSpaceConversionMode, Elastic -- Transcoder does not change the color space of a file. If you are -- unsure what ColorSpaceConversionMode was applied to your -- output file, you can check the AppliedColorSpaceConversion -- parameter included in your job response. If your job does not have an -- AppliedColorSpaceConversion in its response, no -- ColorSpaceConversionMode was applied. -- -- ChromaSubsampling -- -- The sampling pattern for the chroma (color) channels of the output -- video. Valid values include yuv420p and yuv422p. -- -- yuv420p samples the chroma information of every other -- horizontal and every other vertical line, yuv422p samples the -- color information of every horizontal line and every other vertical -- line. -- -- LoopCount (Gif Only) -- -- The number of times you want the output gif to loop. Valid values -- include Infinite and integers between 0 and -- 100, inclusive. videoParameters_codecOptions :: Lens' VideoParameters (Maybe (HashMap Text Text)) -- | The value that Elastic Transcoder adds to the metadata in the output -- file. videoParameters_displayAspectRatio :: Lens' VideoParameters (Maybe Text) -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- Whether to use a fixed value for FixedGOP. Valid values are -- true and false: -- -- -- -- FixedGOP must be set to true for fmp4 -- containers. videoParameters_fixedGOP :: Lens' VideoParameters (Maybe Text) -- | The frames per second for the video stream in the output file. Valid -- values include: -- -- auto, 10, 15, 23.97, 24, -- 25, 29.97, 30, 60 -- -- If you specify auto, Elastic Transcoder uses the detected -- frame rate of the input source. If you specify a frame rate, we -- recommend that you perform the following calculation: -- --
--   Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
--   
-- -- where: -- -- -- -- The maximum recommended decoding speed in Luma samples/second for each -- level is described in the following list (Level - Decoding -- speed): -- -- videoParameters_frameRate :: Lens' VideoParameters (Maybe Text) -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- The maximum number of frames between key frames. Key frames are fully -- encoded frames; the frames between key frames are encoded based, in -- part, on the content of the key frames. The value is an integer -- formatted as a string; valid values are between 1 (every frame is a -- key frame) and 100000, inclusive. A higher value results in higher -- compression but may also discernibly decrease video quality. -- -- For Smooth outputs, the FrameRate must have a -- constant ratio to the KeyframesMaxDist. This allows -- Smooth playlists to switch between different quality levels -- while the file is being played. -- -- For example, an input file can have a FrameRate of 30 with a -- KeyframesMaxDist of 90. The output file then needs to have a -- ratio of 1:3. Valid outputs would have FrameRate of 30, 25, -- and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. -- -- Alternately, this can be achieved by setting FrameRate to -- auto and having the same values for MaxFrameRate and -- KeyframesMaxDist. videoParameters_keyframesMaxDist :: Lens' VideoParameters (Maybe Text) -- | If you specify auto for FrameRate, Elastic -- Transcoder uses the frame rate of the input video for the frame rate -- of the output video. Specify the maximum frame rate that you want -- Elastic Transcoder to use when the frame rate of the input video is -- greater than the desired maximum frame rate of the output video. Valid -- values include: 10, 15, 23.97, 24, -- 25, 29.97, 30, 60. videoParameters_maxFrameRate :: Lens' VideoParameters (Maybe Text) -- | The maximum height of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1080 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 96 and 3072. videoParameters_maxHeight :: Lens' VideoParameters (Maybe Text) -- | The maximum width of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1920 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 128 and 4096. videoParameters_maxWidth :: Lens' VideoParameters (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of the output video to make the total size of the output -- video match the values that you specified for MaxWidth and -- MaxHeight. videoParameters_paddingPolicy :: Lens' VideoParameters (Maybe Text) -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The width and height of the video in the output file, in pixels. Valid -- values are auto and width x height: -- -- -- -- Note the following about specifying the width and height: -- -- videoParameters_resolution :: Lens' VideoParameters (Maybe Text) -- | Specify one of the following values to control scaling of the output -- video: -- -- videoParameters_sizingPolicy :: Lens' VideoParameters (Maybe Text) -- | Settings for the size, location, and opacity of graphics that you want -- Elastic Transcoder to overlay over videos that are transcoded using -- this preset. You can specify settings for up to four watermarks. -- Watermarks appear in the specified size and location, and with the -- specified opacity for the duration of the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. videoParameters_watermarks :: Lens' VideoParameters (Maybe [PresetWatermark]) -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- See: newWarning smart constructor. data Warning Warning' :: Maybe Text -> Maybe Text -> Warning -- | The code of the cross-regional warning. [$sel:code:Warning'] :: Warning -> Maybe Text -- | The message explaining what resources are in a different region from -- the pipeline. -- -- AWS KMS keys must be in the same region as the pipeline. [$sel:message:Warning'] :: Warning -> Maybe Text -- | Create a value of Warning with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:code:Warning', warning_code - The code of the -- cross-regional warning. -- -- $sel:message:Warning', warning_message - The message -- explaining what resources are in a different region from the pipeline. -- -- AWS KMS keys must be in the same region as the pipeline. newWarning :: Warning -- | The code of the cross-regional warning. warning_code :: Lens' Warning (Maybe Text) -- | The message explaining what resources are in a different region from -- the pipeline. -- -- AWS KMS keys must be in the same region as the pipeline. warning_message :: Lens' Warning (Maybe Text) -- | The ReadPreset operation gets detailed information about a preset. module Amazonka.ElasticTranscoder.ReadPreset -- | The ReadPresetRequest structure. -- -- See: newReadPreset smart constructor. data ReadPreset ReadPreset' :: Text -> ReadPreset -- | The identifier of the preset for which you want to get detailed -- information. [$sel:id:ReadPreset'] :: ReadPreset -> Text -- | Create a value of ReadPreset with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ReadPreset, readPreset_id - The identifier of the preset -- for which you want to get detailed information. newReadPreset :: Text -> ReadPreset -- | The identifier of the preset for which you want to get detailed -- information. readPreset_id :: Lens' ReadPreset Text -- | The ReadPresetResponse structure. -- -- See: newReadPresetResponse smart constructor. data ReadPresetResponse ReadPresetResponse' :: Maybe Preset -> Int -> ReadPresetResponse -- | A section of the response body that provides information about the -- preset. [$sel:preset:ReadPresetResponse'] :: ReadPresetResponse -> Maybe Preset -- | The response's http status code. [$sel:httpStatus:ReadPresetResponse'] :: ReadPresetResponse -> Int -- | Create a value of ReadPresetResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:preset:ReadPresetResponse', -- readPresetResponse_preset - A section of the response body that -- provides information about the preset. -- -- $sel:httpStatus:ReadPresetResponse', -- readPresetResponse_httpStatus - The response's http status -- code. newReadPresetResponse :: Int -> ReadPresetResponse -- | A section of the response body that provides information about the -- preset. readPresetResponse_preset :: Lens' ReadPresetResponse (Maybe Preset) -- | The response's http status code. readPresetResponse_httpStatus :: Lens' ReadPresetResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance GHC.Show.Show Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance GHC.Read.Read Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ReadPreset.ReadPresetResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.ReadPreset.ReadPresetResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.ReadPreset.ReadPresetResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ReadPreset.ReadPresetResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ReadPreset.ReadPresetResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.ReadPreset.ReadPreset instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.ReadPreset.ReadPreset -- | The ReadPipeline operation gets detailed information about a pipeline. module Amazonka.ElasticTranscoder.ReadPipeline -- | The ReadPipelineRequest structure. -- -- See: newReadPipeline smart constructor. data ReadPipeline ReadPipeline' :: Text -> ReadPipeline -- | The identifier of the pipeline to read. [$sel:id:ReadPipeline'] :: ReadPipeline -> Text -- | Create a value of ReadPipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ReadPipeline, readPipeline_id - The identifier of the -- pipeline to read. newReadPipeline :: Text -> ReadPipeline -- | The identifier of the pipeline to read. readPipeline_id :: Lens' ReadPipeline Text -- | The ReadPipelineResponse structure. -- -- See: newReadPipelineResponse smart constructor. data ReadPipelineResponse ReadPipelineResponse' :: Maybe Pipeline -> Maybe [Warning] -> Int -> ReadPipelineResponse -- | A section of the response body that provides information about the -- pipeline. [$sel:pipeline:ReadPipelineResponse'] :: ReadPipelineResponse -> Maybe Pipeline -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. [$sel:warnings:ReadPipelineResponse'] :: ReadPipelineResponse -> Maybe [Warning] -- | The response's http status code. [$sel:httpStatus:ReadPipelineResponse'] :: ReadPipelineResponse -> Int -- | Create a value of ReadPipelineResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:ReadPipelineResponse', -- readPipelineResponse_pipeline - A section of the response body -- that provides information about the pipeline. -- -- $sel:warnings:ReadPipelineResponse', -- readPipelineResponse_warnings - Elastic Transcoder returns a -- warning if the resources used by your pipeline are not in the same -- region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- $sel:httpStatus:ReadPipelineResponse', -- readPipelineResponse_httpStatus - The response's http status -- code. newReadPipelineResponse :: Int -> ReadPipelineResponse -- | A section of the response body that provides information about the -- pipeline. readPipelineResponse_pipeline :: Lens' ReadPipelineResponse (Maybe Pipeline) -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. readPipelineResponse_warnings :: Lens' ReadPipelineResponse (Maybe [Warning]) -- | The response's http status code. readPipelineResponse_httpStatus :: Lens' ReadPipelineResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance GHC.Show.Show Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance GHC.Read.Read Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ReadPipeline.ReadPipelineResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.ReadPipeline.ReadPipelineResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.ReadPipeline.ReadPipelineResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ReadPipeline.ReadPipelineResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ReadPipeline.ReadPipelineResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.ReadPipeline.ReadPipeline -- | The ReadJob operation returns detailed information about a job. module Amazonka.ElasticTranscoder.ReadJob -- | The ReadJobRequest structure. -- -- See: newReadJob smart constructor. data ReadJob ReadJob' :: Text -> ReadJob -- | The identifier of the job for which you want to get detailed -- information. [$sel:id:ReadJob'] :: ReadJob -> Text -- | Create a value of ReadJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ReadJob, readJob_id - The identifier of the job for -- which you want to get detailed information. newReadJob :: Text -> ReadJob -- | The identifier of the job for which you want to get detailed -- information. readJob_id :: Lens' ReadJob Text -- | The ReadJobResponse structure. -- -- See: newReadJobResponse smart constructor. data ReadJobResponse ReadJobResponse' :: Int -> Job -> ReadJobResponse -- | The response's http status code. [$sel:httpStatus:ReadJobResponse'] :: ReadJobResponse -> Int -- | A section of the response body that provides information about the -- job. [$sel:job:ReadJobResponse'] :: ReadJobResponse -> Job -- | Create a value of ReadJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:ReadJobResponse', -- readJobResponse_httpStatus - The response's http status code. -- -- $sel:job:ReadJobResponse', readJobResponse_job - A -- section of the response body that provides information about the job. newReadJobResponse :: Int -> Job -> ReadJobResponse -- | The response's http status code. readJobResponse_httpStatus :: Lens' ReadJobResponse Int -- | A section of the response body that provides information about the -- job. readJobResponse_job :: Lens' ReadJobResponse Job instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ReadJob.ReadJob instance GHC.Show.Show Amazonka.ElasticTranscoder.ReadJob.ReadJob instance GHC.Read.Read Amazonka.ElasticTranscoder.ReadJob.ReadJob instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ReadJob.ReadJob instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ReadJob.ReadJobResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.ReadJob.ReadJobResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.ReadJob.ReadJobResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ReadJob.ReadJobResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.ReadJob.ReadJob instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ReadJob.ReadJobResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.ReadJob.ReadJob instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ReadJob.ReadJob instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.ReadJob.ReadJob instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.ReadJob.ReadJob instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.ReadJob.ReadJob -- | The ListPresets operation gets a list of the default presets included -- with Elastic Transcoder and the presets that you've added in an AWS -- region. -- -- This operation returns paginated results. module Amazonka.ElasticTranscoder.ListPresets -- | The ListPresetsRequest structure. -- -- See: newListPresets smart constructor. data ListPresets ListPresets' :: Maybe Text -> Maybe Text -> ListPresets -- | To list presets in chronological order by the date and time that they -- were created, enter true. To list presets in reverse -- chronological order, enter false. [$sel:ascending:ListPresets'] :: ListPresets -> Maybe Text -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. [$sel:pageToken:ListPresets'] :: ListPresets -> Maybe Text -- | Create a value of ListPresets with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:ascending:ListPresets', listPresets_ascending - To -- list presets in chronological order by the date and time that they -- were created, enter true. To list presets in reverse -- chronological order, enter false. -- -- $sel:pageToken:ListPresets', listPresets_pageToken - -- When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. newListPresets :: ListPresets -- | To list presets in chronological order by the date and time that they -- were created, enter true. To list presets in reverse -- chronological order, enter false. listPresets_ascending :: Lens' ListPresets (Maybe Text) -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. listPresets_pageToken :: Lens' ListPresets (Maybe Text) -- | The ListPresetsResponse structure. -- -- See: newListPresetsResponse smart constructor. data ListPresetsResponse ListPresetsResponse' :: Maybe Text -> Maybe [Preset] -> Int -> ListPresetsResponse -- | A value that you use to access the second and subsequent pages of -- results, if any. When the presets fit on one page or when you've -- reached the last page of results, the value of NextPageToken -- is null. [$sel:nextPageToken:ListPresetsResponse'] :: ListPresetsResponse -> Maybe Text -- | An array of Preset objects. [$sel:presets:ListPresetsResponse'] :: ListPresetsResponse -> Maybe [Preset] -- | The response's http status code. [$sel:httpStatus:ListPresetsResponse'] :: ListPresetsResponse -> Int -- | Create a value of ListPresetsResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextPageToken:ListPresetsResponse', -- listPresetsResponse_nextPageToken - A value that you use to -- access the second and subsequent pages of results, if any. When the -- presets fit on one page or when you've reached the last page of -- results, the value of NextPageToken is null. -- -- $sel:presets:ListPresetsResponse', -- listPresetsResponse_presets - An array of Preset -- objects. -- -- $sel:httpStatus:ListPresetsResponse', -- listPresetsResponse_httpStatus - The response's http status -- code. newListPresetsResponse :: Int -> ListPresetsResponse -- | A value that you use to access the second and subsequent pages of -- results, if any. When the presets fit on one page or when you've -- reached the last page of results, the value of NextPageToken -- is null. listPresetsResponse_nextPageToken :: Lens' ListPresetsResponse (Maybe Text) -- | An array of Preset objects. listPresetsResponse_presets :: Lens' ListPresetsResponse (Maybe [Preset]) -- | The response's http status code. listPresetsResponse_httpStatus :: Lens' ListPresetsResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ListPresets.ListPresets instance GHC.Show.Show Amazonka.ElasticTranscoder.ListPresets.ListPresets instance GHC.Read.Read Amazonka.ElasticTranscoder.ListPresets.ListPresets instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ListPresets.ListPresets instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ListPresets.ListPresetsResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.ListPresets.ListPresetsResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.ListPresets.ListPresetsResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ListPresets.ListPresetsResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.ListPresets.ListPresets instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ListPresets.ListPresetsResponse instance Amazonka.Pager.AWSPager Amazonka.ElasticTranscoder.ListPresets.ListPresets instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.ListPresets.ListPresets instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ListPresets.ListPresets instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.ListPresets.ListPresets instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.ListPresets.ListPresets instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.ListPresets.ListPresets -- | The ListPipelines operation gets a list of the pipelines associated -- with the current AWS account. -- -- This operation returns paginated results. module Amazonka.ElasticTranscoder.ListPipelines -- | The ListPipelineRequest structure. -- -- See: newListPipelines smart constructor. data ListPipelines ListPipelines' :: Maybe Text -> Maybe Text -> ListPipelines -- | To list pipelines in chronological order by the date and time that -- they were created, enter true. To list pipelines in reverse -- chronological order, enter false. [$sel:ascending:ListPipelines'] :: ListPipelines -> Maybe Text -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. [$sel:pageToken:ListPipelines'] :: ListPipelines -> Maybe Text -- | Create a value of ListPipelines with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:ascending:ListPipelines', listPipelines_ascending - -- To list pipelines in chronological order by the date and time that -- they were created, enter true. To list pipelines in reverse -- chronological order, enter false. -- -- $sel:pageToken:ListPipelines', listPipelines_pageToken - -- When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. newListPipelines :: ListPipelines -- | To list pipelines in chronological order by the date and time that -- they were created, enter true. To list pipelines in reverse -- chronological order, enter false. listPipelines_ascending :: Lens' ListPipelines (Maybe Text) -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. listPipelines_pageToken :: Lens' ListPipelines (Maybe Text) -- | A list of the pipelines associated with the current AWS account. -- -- See: newListPipelinesResponse smart constructor. data ListPipelinesResponse ListPipelinesResponse' :: Maybe Text -> Maybe [Pipeline] -> Int -> ListPipelinesResponse -- | A value that you use to access the second and subsequent pages of -- results, if any. When the pipelines fit on one page or when you've -- reached the last page of results, the value of NextPageToken -- is null. [$sel:nextPageToken:ListPipelinesResponse'] :: ListPipelinesResponse -> Maybe Text -- | An array of Pipeline objects. [$sel:pipelines:ListPipelinesResponse'] :: ListPipelinesResponse -> Maybe [Pipeline] -- | The response's http status code. [$sel:httpStatus:ListPipelinesResponse'] :: ListPipelinesResponse -> Int -- | Create a value of ListPipelinesResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextPageToken:ListPipelinesResponse', -- listPipelinesResponse_nextPageToken - A value that you use to -- access the second and subsequent pages of results, if any. When the -- pipelines fit on one page or when you've reached the last page of -- results, the value of NextPageToken is null. -- -- $sel:pipelines:ListPipelinesResponse', -- listPipelinesResponse_pipelines - An array of Pipeline -- objects. -- -- $sel:httpStatus:ListPipelinesResponse', -- listPipelinesResponse_httpStatus - The response's http status -- code. newListPipelinesResponse :: Int -> ListPipelinesResponse -- | A value that you use to access the second and subsequent pages of -- results, if any. When the pipelines fit on one page or when you've -- reached the last page of results, the value of NextPageToken -- is null. listPipelinesResponse_nextPageToken :: Lens' ListPipelinesResponse (Maybe Text) -- | An array of Pipeline objects. listPipelinesResponse_pipelines :: Lens' ListPipelinesResponse (Maybe [Pipeline]) -- | The response's http status code. listPipelinesResponse_httpStatus :: Lens' ListPipelinesResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance GHC.Show.Show Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance GHC.Read.Read Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ListPipelines.ListPipelinesResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.ListPipelines.ListPipelinesResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.ListPipelines.ListPipelinesResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ListPipelines.ListPipelinesResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ListPipelines.ListPipelinesResponse instance Amazonka.Pager.AWSPager Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.ListPipelines.ListPipelines instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.ListPipelines.ListPipelines -- | The ListJobsByStatus operation gets a list of jobs that have a -- specified status. The response body contains one element for each job -- that satisfies the search criteria. -- -- This operation returns paginated results. module Amazonka.ElasticTranscoder.ListJobsByStatus -- | The ListJobsByStatusRequest structure. -- -- See: newListJobsByStatus smart constructor. data ListJobsByStatus ListJobsByStatus' :: Maybe Text -> Maybe Text -> Text -> ListJobsByStatus -- | To list jobs in chronological order by the date and time that they -- were submitted, enter true. To list jobs in reverse -- chronological order, enter false. [$sel:ascending:ListJobsByStatus'] :: ListJobsByStatus -> Maybe Text -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. [$sel:pageToken:ListJobsByStatus'] :: ListJobsByStatus -> Maybe Text -- | To get information about all of the jobs associated with the current -- AWS account that have a given status, specify the following status: -- Submitted, Progressing, Complete, -- Canceled, or Error. [$sel:status:ListJobsByStatus'] :: ListJobsByStatus -> Text -- | Create a value of ListJobsByStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:ascending:ListJobsByStatus', -- listJobsByStatus_ascending - To list jobs in chronological -- order by the date and time that they were submitted, enter -- true. To list jobs in reverse chronological order, enter -- false. -- -- $sel:pageToken:ListJobsByStatus', -- listJobsByStatus_pageToken - When Elastic Transcoder returns -- more than one page of results, use pageToken in subsequent -- GET requests to get each successive page of results. -- -- ListJobsByStatus, listJobsByStatus_status - To get -- information about all of the jobs associated with the current AWS -- account that have a given status, specify the following status: -- Submitted, Progressing, Complete, -- Canceled, or Error. newListJobsByStatus :: Text -> ListJobsByStatus -- | To list jobs in chronological order by the date and time that they -- were submitted, enter true. To list jobs in reverse -- chronological order, enter false. listJobsByStatus_ascending :: Lens' ListJobsByStatus (Maybe Text) -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. listJobsByStatus_pageToken :: Lens' ListJobsByStatus (Maybe Text) -- | To get information about all of the jobs associated with the current -- AWS account that have a given status, specify the following status: -- Submitted, Progressing, Complete, -- Canceled, or Error. listJobsByStatus_status :: Lens' ListJobsByStatus Text -- | The ListJobsByStatusResponse structure. -- -- See: newListJobsByStatusResponse smart constructor. data ListJobsByStatusResponse ListJobsByStatusResponse' :: Maybe [Job] -> Maybe Text -> Int -> ListJobsByStatusResponse -- | An array of Job objects that have the specified status. [$sel:jobs:ListJobsByStatusResponse'] :: ListJobsByStatusResponse -> Maybe [Job] -- | A value that you use to access the second and subsequent pages of -- results, if any. When the jobs in the specified pipeline fit on one -- page or when you've reached the last page of results, the value of -- NextPageToken is null. [$sel:nextPageToken:ListJobsByStatusResponse'] :: ListJobsByStatusResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListJobsByStatusResponse'] :: ListJobsByStatusResponse -> Int -- | Create a value of ListJobsByStatusResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:jobs:ListJobsByStatusResponse', -- listJobsByStatusResponse_jobs - An array of Job -- objects that have the specified status. -- -- $sel:nextPageToken:ListJobsByStatusResponse', -- listJobsByStatusResponse_nextPageToken - A value that you use -- to access the second and subsequent pages of results, if any. When the -- jobs in the specified pipeline fit on one page or when you've reached -- the last page of results, the value of NextPageToken is -- null. -- -- $sel:httpStatus:ListJobsByStatusResponse', -- listJobsByStatusResponse_httpStatus - The response's http -- status code. newListJobsByStatusResponse :: Int -> ListJobsByStatusResponse -- | An array of Job objects that have the specified status. listJobsByStatusResponse_jobs :: Lens' ListJobsByStatusResponse (Maybe [Job]) -- | A value that you use to access the second and subsequent pages of -- results, if any. When the jobs in the specified pipeline fit on one -- page or when you've reached the last page of results, the value of -- NextPageToken is null. listJobsByStatusResponse_nextPageToken :: Lens' ListJobsByStatusResponse (Maybe Text) -- | The response's http status code. listJobsByStatusResponse_httpStatus :: Lens' ListJobsByStatusResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance GHC.Show.Show Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance GHC.Read.Read Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatusResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatusResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatusResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatusResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatusResponse instance Amazonka.Pager.AWSPager Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.ListJobsByStatus.ListJobsByStatus -- | The ListJobsByPipeline operation gets a list of the jobs currently in -- a pipeline. -- -- Elastic Transcoder returns all of the jobs currently in the specified -- pipeline. The response body contains one element for each job that -- satisfies the search criteria. -- -- This operation returns paginated results. module Amazonka.ElasticTranscoder.ListJobsByPipeline -- | The ListJobsByPipelineRequest structure. -- -- See: newListJobsByPipeline smart constructor. data ListJobsByPipeline ListJobsByPipeline' :: Maybe Text -> Maybe Text -> Text -> ListJobsByPipeline -- | To list jobs in chronological order by the date and time that they -- were submitted, enter true. To list jobs in reverse -- chronological order, enter false. [$sel:ascending:ListJobsByPipeline'] :: ListJobsByPipeline -> Maybe Text -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. [$sel:pageToken:ListJobsByPipeline'] :: ListJobsByPipeline -> Maybe Text -- | The ID of the pipeline for which you want to get job information. [$sel:pipelineId:ListJobsByPipeline'] :: ListJobsByPipeline -> Text -- | Create a value of ListJobsByPipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:ascending:ListJobsByPipeline', -- listJobsByPipeline_ascending - To list jobs in chronological -- order by the date and time that they were submitted, enter -- true. To list jobs in reverse chronological order, enter -- false. -- -- $sel:pageToken:ListJobsByPipeline', -- listJobsByPipeline_pageToken - When Elastic Transcoder returns -- more than one page of results, use pageToken in subsequent -- GET requests to get each successive page of results. -- -- ListJobsByPipeline, listJobsByPipeline_pipelineId - The -- ID of the pipeline for which you want to get job information. newListJobsByPipeline :: Text -> ListJobsByPipeline -- | To list jobs in chronological order by the date and time that they -- were submitted, enter true. To list jobs in reverse -- chronological order, enter false. listJobsByPipeline_ascending :: Lens' ListJobsByPipeline (Maybe Text) -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. listJobsByPipeline_pageToken :: Lens' ListJobsByPipeline (Maybe Text) -- | The ID of the pipeline for which you want to get job information. listJobsByPipeline_pipelineId :: Lens' ListJobsByPipeline Text -- | The ListJobsByPipelineResponse structure. -- -- See: newListJobsByPipelineResponse smart constructor. data ListJobsByPipelineResponse ListJobsByPipelineResponse' :: Maybe [Job] -> Maybe Text -> Int -> ListJobsByPipelineResponse -- | An array of Job objects that are in the specified pipeline. [$sel:jobs:ListJobsByPipelineResponse'] :: ListJobsByPipelineResponse -> Maybe [Job] -- | A value that you use to access the second and subsequent pages of -- results, if any. When the jobs in the specified pipeline fit on one -- page or when you've reached the last page of results, the value of -- NextPageToken is null. [$sel:nextPageToken:ListJobsByPipelineResponse'] :: ListJobsByPipelineResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:ListJobsByPipelineResponse'] :: ListJobsByPipelineResponse -> Int -- | Create a value of ListJobsByPipelineResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:jobs:ListJobsByPipelineResponse', -- listJobsByPipelineResponse_jobs - An array of Job -- objects that are in the specified pipeline. -- -- $sel:nextPageToken:ListJobsByPipelineResponse', -- listJobsByPipelineResponse_nextPageToken - A value that you use -- to access the second and subsequent pages of results, if any. When the -- jobs in the specified pipeline fit on one page or when you've reached -- the last page of results, the value of NextPageToken is -- null. -- -- $sel:httpStatus:ListJobsByPipelineResponse', -- listJobsByPipelineResponse_httpStatus - The response's http -- status code. newListJobsByPipelineResponse :: Int -> ListJobsByPipelineResponse -- | An array of Job objects that are in the specified pipeline. listJobsByPipelineResponse_jobs :: Lens' ListJobsByPipelineResponse (Maybe [Job]) -- | A value that you use to access the second and subsequent pages of -- results, if any. When the jobs in the specified pipeline fit on one -- page or when you've reached the last page of results, the value of -- NextPageToken is null. listJobsByPipelineResponse_nextPageToken :: Lens' ListJobsByPipelineResponse (Maybe Text) -- | The response's http status code. listJobsByPipelineResponse_httpStatus :: Lens' ListJobsByPipelineResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance GHC.Show.Show Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance GHC.Read.Read Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance GHC.Generics.Generic Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipelineResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipelineResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipelineResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipelineResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipelineResponse instance Amazonka.Pager.AWSPager Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.ListJobsByPipeline.ListJobsByPipeline -- | The DeletePreset operation removes a preset that you've added in an -- AWS region. -- -- You can't delete the default presets that are included with Elastic -- Transcoder. module Amazonka.ElasticTranscoder.DeletePreset -- | The DeletePresetRequest structure. -- -- See: newDeletePreset smart constructor. data DeletePreset DeletePreset' :: Text -> DeletePreset -- | The identifier of the preset for which you want to get detailed -- information. [$sel:id:DeletePreset'] :: DeletePreset -> Text -- | Create a value of DeletePreset with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeletePreset, deletePreset_id - The identifier of the -- preset for which you want to get detailed information. newDeletePreset :: Text -> DeletePreset -- | The identifier of the preset for which you want to get detailed -- information. deletePreset_id :: Lens' DeletePreset Text -- | The DeletePresetResponse structure. -- -- See: newDeletePresetResponse smart constructor. data DeletePresetResponse DeletePresetResponse' :: Int -> DeletePresetResponse -- | The response's http status code. [$sel:httpStatus:DeletePresetResponse'] :: DeletePresetResponse -> Int -- | Create a value of DeletePresetResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeletePresetResponse', -- deletePresetResponse_httpStatus - The response's http status -- code. newDeletePresetResponse :: Int -> DeletePresetResponse -- | The response's http status code. deletePresetResponse_httpStatus :: Lens' DeletePresetResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance GHC.Show.Show Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance GHC.Read.Read Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance GHC.Classes.Eq Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance GHC.Generics.Generic Amazonka.ElasticTranscoder.DeletePreset.DeletePresetResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.DeletePreset.DeletePresetResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.DeletePreset.DeletePresetResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.DeletePreset.DeletePresetResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.DeletePreset.DeletePresetResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.DeletePreset.DeletePreset instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.DeletePreset.DeletePreset -- | The DeletePipeline operation removes a pipeline. -- -- You can only delete a pipeline that has never been used or that is not -- currently in use (doesn't contain any active jobs). If the pipeline is -- currently in use, DeletePipeline returns an error. module Amazonka.ElasticTranscoder.DeletePipeline -- | The DeletePipelineRequest structure. -- -- See: newDeletePipeline smart constructor. data DeletePipeline DeletePipeline' :: Text -> DeletePipeline -- | The identifier of the pipeline that you want to delete. [$sel:id:DeletePipeline'] :: DeletePipeline -> Text -- | Create a value of DeletePipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeletePipeline, deletePipeline_id - The identifier of -- the pipeline that you want to delete. newDeletePipeline :: Text -> DeletePipeline -- | The identifier of the pipeline that you want to delete. deletePipeline_id :: Lens' DeletePipeline Text -- | The DeletePipelineResponse structure. -- -- See: newDeletePipelineResponse smart constructor. data DeletePipelineResponse DeletePipelineResponse' :: Int -> DeletePipelineResponse -- | The response's http status code. [$sel:httpStatus:DeletePipelineResponse'] :: DeletePipelineResponse -> Int -- | Create a value of DeletePipelineResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeletePipelineResponse', -- deletePipelineResponse_httpStatus - The response's http status -- code. newDeletePipelineResponse :: Int -> DeletePipelineResponse -- | The response's http status code. deletePipelineResponse_httpStatus :: Lens' DeletePipelineResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance GHC.Show.Show Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance GHC.Read.Read Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance GHC.Classes.Eq Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance GHC.Generics.Generic Amazonka.ElasticTranscoder.DeletePipeline.DeletePipelineResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.DeletePipeline.DeletePipelineResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.DeletePipeline.DeletePipelineResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.DeletePipeline.DeletePipelineResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.DeletePipeline.DeletePipelineResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.DeletePipeline.DeletePipeline -- | The CreatePreset operation creates a preset with settings that you -- specify. -- -- Elastic Transcoder checks the CreatePreset settings to ensure that -- they meet Elastic Transcoder requirements and to determine whether -- they comply with H.264 standards. If your settings are not valid for -- Elastic Transcoder, Elastic Transcoder returns an HTTP 400 response -- (ValidationException) and does not create the preset. If the -- settings are valid for Elastic Transcoder but aren't strictly -- compliant with the H.264 standard, Elastic Transcoder creates the -- preset and returns a warning message in the response. This helps you -- determine whether your settings comply with the H.264 standard while -- giving you greater flexibility with respect to the video that Elastic -- Transcoder produces. -- -- Elastic Transcoder uses the H.264 video-compression format. For more -- information, see the International Telecommunication Union publication -- /Recommendation ITU-T H.264: Advanced video coding for generic -- audiovisual services/. module Amazonka.ElasticTranscoder.CreatePreset -- | The CreatePresetRequest structure. -- -- See: newCreatePreset smart constructor. data CreatePreset CreatePreset' :: Maybe AudioParameters -> Maybe Text -> Maybe Thumbnails -> Maybe VideoParameters -> Text -> Text -> CreatePreset -- | A section of the request body that specifies the audio parameters. [$sel:audio:CreatePreset'] :: CreatePreset -> Maybe AudioParameters -- | A description of the preset. [$sel:description:CreatePreset'] :: CreatePreset -> Maybe Text -- | A section of the request body that specifies the thumbnail parameters, -- if any. [$sel:thumbnails:CreatePreset'] :: CreatePreset -> Maybe Thumbnails -- | A section of the request body that specifies the video parameters. [$sel:video:CreatePreset'] :: CreatePreset -> Maybe VideoParameters -- | The name of the preset. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. [$sel:name:CreatePreset'] :: CreatePreset -> Text -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. [$sel:container:CreatePreset'] :: CreatePreset -> Text -- | Create a value of CreatePreset with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreatePreset, createPreset_audio - A section of the -- request body that specifies the audio parameters. -- -- CreatePreset, createPreset_description - A description -- of the preset. -- -- CreatePreset, createPreset_thumbnails - A section of the -- request body that specifies the thumbnail parameters, if any. -- -- CreatePreset, createPreset_video - A section of the -- request body that specifies the video parameters. -- -- CreatePreset, createPreset_name - The name of the -- preset. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- CreatePreset, createPreset_container - The container -- type for the output file. Valid values include flac, -- flv, fmp4, gif, mp3, mp4, -- mpg, mxf, oga, ogg, ts, -- and webm. newCreatePreset :: Text -> Text -> CreatePreset -- | A section of the request body that specifies the audio parameters. createPreset_audio :: Lens' CreatePreset (Maybe AudioParameters) -- | A description of the preset. createPreset_description :: Lens' CreatePreset (Maybe Text) -- | A section of the request body that specifies the thumbnail parameters, -- if any. createPreset_thumbnails :: Lens' CreatePreset (Maybe Thumbnails) -- | A section of the request body that specifies the video parameters. createPreset_video :: Lens' CreatePreset (Maybe VideoParameters) -- | The name of the preset. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. createPreset_name :: Lens' CreatePreset Text -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. createPreset_container :: Lens' CreatePreset Text -- | The CreatePresetResponse structure. -- -- See: newCreatePresetResponse smart constructor. data CreatePresetResponse CreatePresetResponse' :: Maybe Preset -> Maybe Text -> Int -> CreatePresetResponse -- | A section of the response body that provides information about the -- preset that is created. [$sel:preset:CreatePresetResponse'] :: CreatePresetResponse -> Maybe Preset -- | If the preset settings don't comply with the standards for the video -- codec but Elastic Transcoder created the preset, this message explains -- the reason the preset settings don't meet the standard. Elastic -- Transcoder created the preset because the settings might produce -- acceptable output. [$sel:warning:CreatePresetResponse'] :: CreatePresetResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:CreatePresetResponse'] :: CreatePresetResponse -> Int -- | Create a value of CreatePresetResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:preset:CreatePresetResponse', -- createPresetResponse_preset - A section of the response body -- that provides information about the preset that is created. -- -- CreatePresetResponse, createPresetResponse_warning - If -- the preset settings don't comply with the standards for the video -- codec but Elastic Transcoder created the preset, this message explains -- the reason the preset settings don't meet the standard. Elastic -- Transcoder created the preset because the settings might produce -- acceptable output. -- -- $sel:httpStatus:CreatePresetResponse', -- createPresetResponse_httpStatus - The response's http status -- code. newCreatePresetResponse :: Int -> CreatePresetResponse -- | A section of the response body that provides information about the -- preset that is created. createPresetResponse_preset :: Lens' CreatePresetResponse (Maybe Preset) -- | If the preset settings don't comply with the standards for the video -- codec but Elastic Transcoder created the preset, this message explains -- the reason the preset settings don't meet the standard. Elastic -- Transcoder created the preset because the settings might produce -- acceptable output. createPresetResponse_warning :: Lens' CreatePresetResponse (Maybe Text) -- | The response's http status code. createPresetResponse_httpStatus :: Lens' CreatePresetResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance GHC.Show.Show Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance GHC.Read.Read Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance GHC.Classes.Eq Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance GHC.Generics.Generic Amazonka.ElasticTranscoder.CreatePreset.CreatePresetResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.CreatePreset.CreatePresetResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.CreatePreset.CreatePresetResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.CreatePreset.CreatePresetResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.CreatePreset.CreatePresetResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.CreatePreset.CreatePreset instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.CreatePreset.CreatePreset -- | The CreatePipeline operation creates a pipeline with settings that you -- specify. module Amazonka.ElasticTranscoder.CreatePipeline -- | The CreatePipelineRequest structure. -- -- See: newCreatePipeline smart constructor. data CreatePipeline CreatePipeline' :: Maybe Text -> Maybe PipelineOutputConfig -> Maybe Notifications -> Maybe Text -> Maybe PipelineOutputConfig -> Text -> Text -> Text -> CreatePipeline -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. [$sel:awsKmsKeyArn:CreatePipeline'] :: CreatePipeline -> Maybe Text -- | The optional ContentConfig object specifies information about -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- [$sel:contentConfig:CreatePipeline'] :: CreatePipeline -> Maybe PipelineOutputConfig -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- [$sel:notifications:CreatePipeline'] :: CreatePipeline -> Maybe Notifications -- | The Amazon S3 bucket in which you want Elastic Transcoder to save the -- transcoded files. (Use this, or use ContentConfig:Bucket plus -- ThumbnailConfig:Bucket.) -- -- Specify this value when all of the following are true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values -- for ContentConfig and ThumbnailConfig instead. [$sel:outputBucket:CreatePipeline'] :: CreatePipeline -> Maybe Text -- | The ThumbnailConfig object specifies several values, -- including the Amazon S3 bucket in which you want Elastic Transcoder to -- save thumbnail files, which users you want to have access to the -- files, the type of access you want users to have, and the storage -- class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- [$sel:thumbnailConfig:CreatePipeline'] :: CreatePipeline -> Maybe PipelineOutputConfig -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters. [$sel:name:CreatePipeline'] :: CreatePipeline -> Text -- | The Amazon S3 bucket in which you saved the media files that you want -- to transcode. [$sel:inputBucket:CreatePipeline'] :: CreatePipeline -> Text -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to use to create the pipeline. [$sel:role':CreatePipeline'] :: CreatePipeline -> Text -- | Create a value of CreatePipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreatePipeline, createPipeline_awsKmsKeyArn - The AWS -- Key Management Service (AWS KMS) key that you want to use with this -- pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. -- -- CreatePipeline, createPipeline_contentConfig - The -- optional ContentConfig object specifies information about the -- Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- -- -- CreatePipeline, createPipeline_notifications - The -- Amazon Simple Notification Service (Amazon SNS) topic that you want to -- notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- -- -- CreatePipeline, createPipeline_outputBucket - The Amazon -- S3 bucket in which you want Elastic Transcoder to save the transcoded -- files. (Use this, or use ContentConfig:Bucket plus -- ThumbnailConfig:Bucket.) -- -- Specify this value when all of the following are true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values -- for ContentConfig and ThumbnailConfig instead. -- -- CreatePipeline, createPipeline_thumbnailConfig - The -- ThumbnailConfig object specifies several values, including -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- thumbnail files, which users you want to have access to the files, the -- type of access you want users to have, and the storage class that you -- want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- -- -- CreatePipeline, createPipeline_name - The name of the -- pipeline. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters. -- -- CreatePipeline, createPipeline_inputBucket - The Amazon -- S3 bucket in which you saved the media files that you want to -- transcode. -- -- CreatePipeline, createPipeline_role - The IAM Amazon -- Resource Name (ARN) for the role that you want Elastic Transcoder to -- use to create the pipeline. newCreatePipeline :: Text -> Text -> Text -> CreatePipeline -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. createPipeline_awsKmsKeyArn :: Lens' CreatePipeline (Maybe Text) -- | The optional ContentConfig object specifies information about -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- createPipeline_contentConfig :: Lens' CreatePipeline (Maybe PipelineOutputConfig) -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- createPipeline_notifications :: Lens' CreatePipeline (Maybe Notifications) -- | The Amazon S3 bucket in which you want Elastic Transcoder to save the -- transcoded files. (Use this, or use ContentConfig:Bucket plus -- ThumbnailConfig:Bucket.) -- -- Specify this value when all of the following are true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values -- for ContentConfig and ThumbnailConfig instead. createPipeline_outputBucket :: Lens' CreatePipeline (Maybe Text) -- | The ThumbnailConfig object specifies several values, -- including the Amazon S3 bucket in which you want Elastic Transcoder to -- save thumbnail files, which users you want to have access to the -- files, the type of access you want users to have, and the storage -- class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- createPipeline_thumbnailConfig :: Lens' CreatePipeline (Maybe PipelineOutputConfig) -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters. createPipeline_name :: Lens' CreatePipeline Text -- | The Amazon S3 bucket in which you saved the media files that you want -- to transcode. createPipeline_inputBucket :: Lens' CreatePipeline Text -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to use to create the pipeline. createPipeline_role :: Lens' CreatePipeline Text -- | When you create a pipeline, Elastic Transcoder returns the values that -- you specified in the request. -- -- See: newCreatePipelineResponse smart constructor. data CreatePipelineResponse CreatePipelineResponse' :: Maybe Pipeline -> Maybe [Warning] -> Int -> CreatePipelineResponse -- | A section of the response body that provides information about the -- pipeline that is created. [$sel:pipeline:CreatePipelineResponse'] :: CreatePipelineResponse -> Maybe Pipeline -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. [$sel:warnings:CreatePipelineResponse'] :: CreatePipelineResponse -> Maybe [Warning] -- | The response's http status code. [$sel:httpStatus:CreatePipelineResponse'] :: CreatePipelineResponse -> Int -- | Create a value of CreatePipelineResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:CreatePipelineResponse', -- createPipelineResponse_pipeline - A section of the response -- body that provides information about the pipeline that is created. -- -- $sel:warnings:CreatePipelineResponse', -- createPipelineResponse_warnings - Elastic Transcoder returns a -- warning if the resources used by your pipeline are not in the same -- region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- $sel:httpStatus:CreatePipelineResponse', -- createPipelineResponse_httpStatus - The response's http status -- code. newCreatePipelineResponse :: Int -> CreatePipelineResponse -- | A section of the response body that provides information about the -- pipeline that is created. createPipelineResponse_pipeline :: Lens' CreatePipelineResponse (Maybe Pipeline) -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. createPipelineResponse_warnings :: Lens' CreatePipelineResponse (Maybe [Warning]) -- | The response's http status code. createPipelineResponse_httpStatus :: Lens' CreatePipelineResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance GHC.Show.Show Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance GHC.Read.Read Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance GHC.Classes.Eq Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance GHC.Generics.Generic Amazonka.ElasticTranscoder.CreatePipeline.CreatePipelineResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.CreatePipeline.CreatePipelineResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.CreatePipeline.CreatePipelineResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.CreatePipeline.CreatePipelineResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.CreatePipeline.CreatePipelineResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.CreatePipeline.CreatePipeline -- | When you create a job, Elastic Transcoder returns JSON data that -- includes the values that you specified plus information about the job -- that is created. -- -- If you have specified more than one output for your jobs (for example, -- one output for the Kindle Fire and another output for the Apple iPhone -- 4s), you currently must use the Elastic Transcoder API to list the -- jobs (as opposed to the AWS Console). module Amazonka.ElasticTranscoder.CreateJob -- | The CreateJobRequest structure. -- -- See: newCreateJob smart constructor. data CreateJob CreateJob' :: Maybe JobInput -> Maybe [JobInput] -> Maybe CreateJobOutput -> Maybe Text -> Maybe [CreateJobOutput] -> Maybe [CreateJobPlaylist] -> Maybe (HashMap Text Text) -> Text -> CreateJob -- | A section of the request body that provides information about the file -- that is being transcoded. [$sel:input:CreateJob'] :: CreateJob -> Maybe JobInput -- | A section of the request body that provides information about the -- files that are being transcoded. [$sel:inputs:CreateJob'] :: CreateJob -> Maybe [JobInput] -- | 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. [$sel:output:CreateJob'] :: CreateJob -> Maybe CreateJobOutput -- | 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. [$sel:outputKeyPrefix:CreateJob'] :: CreateJob -> Maybe Text -- | 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. [$sel:outputs:CreateJob'] :: CreateJob -> Maybe [CreateJobOutput] -- | 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. [$sel:playlists:CreateJob'] :: CreateJob -> Maybe [CreateJobPlaylist] -- | 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. [$sel:userMetadata:CreateJob'] :: CreateJob -> Maybe (HashMap Text Text) -- | 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. [$sel:pipelineId:CreateJob'] :: CreateJob -> Text -- | Create a value of CreateJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateJob, createJob_input - A section of the request -- body that provides information about the file that is being -- transcoded. -- -- CreateJob, createJob_inputs - A section of the request -- body that provides information about the files that are being -- transcoded. -- -- CreateJob, createJob_output - 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. -- -- CreateJob, createJob_outputKeyPrefix - 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. -- -- CreateJob, createJob_outputs - 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. -- -- CreateJob, createJob_playlists - 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. -- -- CreateJob, createJob_userMetadata - 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. -- -- CreateJob, createJob_pipelineId - 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. newCreateJob :: Text -> CreateJob -- | A section of the request body that provides information about the file -- that is being transcoded. createJob_input :: Lens' CreateJob (Maybe JobInput) -- | A section of the request body that provides information about the -- files that are being transcoded. createJob_inputs :: Lens' CreateJob (Maybe [JobInput]) -- | 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. createJob_output :: Lens' CreateJob (Maybe CreateJobOutput) -- | 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. createJob_outputKeyPrefix :: Lens' CreateJob (Maybe Text) -- | 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. createJob_outputs :: Lens' CreateJob (Maybe [CreateJobOutput]) -- | 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. createJob_playlists :: Lens' CreateJob (Maybe [CreateJobPlaylist]) -- | 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. createJob_userMetadata :: Lens' CreateJob (Maybe (HashMap Text Text)) -- | 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. createJob_pipelineId :: Lens' CreateJob Text -- | The CreateJobResponse structure. -- -- See: newCreateJobResponse smart constructor. data CreateJobResponse CreateJobResponse' :: Maybe Job -> Int -> CreateJobResponse -- | A section of the response body that provides information about the job -- that is created. [$sel:job:CreateJobResponse'] :: CreateJobResponse -> Maybe Job -- | The response's http status code. [$sel:httpStatus:CreateJobResponse'] :: CreateJobResponse -> Int -- | Create a value of CreateJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:job:CreateJobResponse', createJobResponse_job - A -- section of the response body that provides information about the job -- that is created. -- -- $sel:httpStatus:CreateJobResponse', -- createJobResponse_httpStatus - The response's http status code. newCreateJobResponse :: Int -> CreateJobResponse -- | A section of the response body that provides information about the job -- that is created. createJobResponse_job :: Lens' CreateJobResponse (Maybe Job) -- | The response's http status code. createJobResponse_httpStatus :: Lens' CreateJobResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.CreateJob.CreateJob instance GHC.Show.Show Amazonka.ElasticTranscoder.CreateJob.CreateJob instance GHC.Read.Read Amazonka.ElasticTranscoder.CreateJob.CreateJob instance GHC.Classes.Eq Amazonka.ElasticTranscoder.CreateJob.CreateJob instance GHC.Generics.Generic Amazonka.ElasticTranscoder.CreateJob.CreateJobResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.CreateJob.CreateJobResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.CreateJob.CreateJobResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.CreateJob.CreateJobResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.CreateJob.CreateJob instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.CreateJob.CreateJobResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.CreateJob.CreateJob instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.CreateJob.CreateJob instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.CreateJob.CreateJob instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.CreateJob.CreateJob instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.CreateJob.CreateJob instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.CreateJob.CreateJob -- | The CancelJob operation cancels an unfinished job. -- -- You can only cancel a job that has a status of Submitted. To -- prevent a pipeline from starting to process a job while you're getting -- the job identifier, use UpdatePipelineStatus to temporarily pause the -- pipeline. module Amazonka.ElasticTranscoder.CancelJob -- | The CancelJobRequest structure. -- -- See: newCancelJob smart constructor. data CancelJob CancelJob' :: Text -> CancelJob -- | The identifier of the job that you want to cancel. -- -- To get a list of the jobs (including their jobId) that have a -- status of Submitted, use the ListJobsByStatus API action. [$sel:id:CancelJob'] :: CancelJob -> Text -- | Create a value of CancelJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CancelJob, cancelJob_id - The identifier of the job that -- you want to cancel. -- -- To get a list of the jobs (including their jobId) that have a -- status of Submitted, use the ListJobsByStatus API action. newCancelJob :: Text -> CancelJob -- | The identifier of the job that you want to cancel. -- -- To get a list of the jobs (including their jobId) that have a -- status of Submitted, use the ListJobsByStatus API action. cancelJob_id :: Lens' CancelJob Text -- | The response body contains a JSON object. If the job is successfully -- canceled, the value of Success is true. -- -- See: newCancelJobResponse smart constructor. data CancelJobResponse CancelJobResponse' :: Int -> CancelJobResponse -- | The response's http status code. [$sel:httpStatus:CancelJobResponse'] :: CancelJobResponse -> Int -- | Create a value of CancelJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:CancelJobResponse', -- cancelJobResponse_httpStatus - The response's http status code. newCancelJobResponse :: Int -> CancelJobResponse -- | The response's http status code. cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.CancelJob.CancelJob instance GHC.Show.Show Amazonka.ElasticTranscoder.CancelJob.CancelJob instance GHC.Read.Read Amazonka.ElasticTranscoder.CancelJob.CancelJob instance GHC.Classes.Eq Amazonka.ElasticTranscoder.CancelJob.CancelJob instance GHC.Generics.Generic Amazonka.ElasticTranscoder.CancelJob.CancelJobResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.CancelJob.CancelJobResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.CancelJob.CancelJobResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.CancelJob.CancelJobResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.CancelJob.CancelJob instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.CancelJob.CancelJobResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.CancelJob.CancelJob instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.CancelJob.CancelJob instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.CancelJob.CancelJob instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.CancelJob.CancelJob instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.CancelJob.CancelJob -- | Use the UpdatePipeline operation to update settings for a -- pipeline. -- -- When you change pipeline settings, your changes take effect -- immediately. Jobs that you have already submitted and that Elastic -- Transcoder has not started to process are affected in addition to jobs -- that you submit after you change settings. module Amazonka.ElasticTranscoder.UpdatePipeline -- | The UpdatePipelineRequest structure. -- -- See: newUpdatePipeline smart constructor. data UpdatePipeline UpdatePipeline' :: Maybe Text -> Maybe PipelineOutputConfig -> Maybe Text -> Maybe Text -> Maybe Notifications -> Maybe Text -> Maybe PipelineOutputConfig -> Text -> UpdatePipeline -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. [$sel:awsKmsKeyArn:UpdatePipeline'] :: UpdatePipeline -> Maybe Text -- | The optional ContentConfig object specifies information about -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- [$sel:contentConfig:UpdatePipeline'] :: UpdatePipeline -> Maybe PipelineOutputConfig -- | The Amazon S3 bucket in which you saved the media files that you want -- to transcode and the graphics that you want to use as watermarks. [$sel:inputBucket:UpdatePipeline'] :: UpdatePipeline -> Maybe Text -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters [$sel:name:UpdatePipeline'] :: UpdatePipeline -> Maybe Text -- | The topic ARN for the Amazon Simple Notification Service (Amazon SNS) -- topic that you want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- [$sel:notifications:UpdatePipeline'] :: UpdatePipeline -> Maybe Notifications -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to use to transcode jobs for this pipeline. [$sel:role':UpdatePipeline'] :: UpdatePipeline -> Maybe Text -- | The ThumbnailConfig object specifies several values, -- including the Amazon S3 bucket in which you want Elastic Transcoder to -- save thumbnail files, which users you want to have access to the -- files, the type of access you want users to have, and the storage -- class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- [$sel:thumbnailConfig:UpdatePipeline'] :: UpdatePipeline -> Maybe PipelineOutputConfig -- | The ID of the pipeline that you want to update. [$sel:id:UpdatePipeline'] :: UpdatePipeline -> Text -- | Create a value of UpdatePipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdatePipeline, updatePipeline_awsKmsKeyArn - The AWS -- Key Management Service (AWS KMS) key that you want to use with this -- pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. -- -- UpdatePipeline, updatePipeline_contentConfig - The -- optional ContentConfig object specifies information about the -- Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- -- -- UpdatePipeline, updatePipeline_inputBucket - The Amazon -- S3 bucket in which you saved the media files that you want to -- transcode and the graphics that you want to use as watermarks. -- -- UpdatePipeline, updatePipeline_name - The name of the -- pipeline. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters -- -- UpdatePipeline, updatePipeline_notifications - The topic -- ARN for the Amazon Simple Notification Service (Amazon SNS) topic that -- you want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- -- -- UpdatePipeline, updatePipeline_role - The IAM Amazon -- Resource Name (ARN) for the role that you want Elastic Transcoder to -- use to transcode jobs for this pipeline. -- -- UpdatePipeline, updatePipeline_thumbnailConfig - The -- ThumbnailConfig object specifies several values, including -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- thumbnail files, which users you want to have access to the files, the -- type of access you want users to have, and the storage class that you -- want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- -- -- UpdatePipeline, updatePipeline_id - The ID of the -- pipeline that you want to update. newUpdatePipeline :: Text -> UpdatePipeline -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. updatePipeline_awsKmsKeyArn :: Lens' UpdatePipeline (Maybe Text) -- | The optional ContentConfig object specifies information about -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- updatePipeline_contentConfig :: Lens' UpdatePipeline (Maybe PipelineOutputConfig) -- | The Amazon S3 bucket in which you saved the media files that you want -- to transcode and the graphics that you want to use as watermarks. updatePipeline_inputBucket :: Lens' UpdatePipeline (Maybe Text) -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters updatePipeline_name :: Lens' UpdatePipeline (Maybe Text) -- | The topic ARN for the Amazon Simple Notification Service (Amazon SNS) -- topic that you want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- updatePipeline_notifications :: Lens' UpdatePipeline (Maybe Notifications) -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to use to transcode jobs for this pipeline. updatePipeline_role :: Lens' UpdatePipeline (Maybe Text) -- | The ThumbnailConfig object specifies several values, -- including the Amazon S3 bucket in which you want Elastic Transcoder to -- save thumbnail files, which users you want to have access to the -- files, the type of access you want users to have, and the storage -- class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- updatePipeline_thumbnailConfig :: Lens' UpdatePipeline (Maybe PipelineOutputConfig) -- | The ID of the pipeline that you want to update. updatePipeline_id :: Lens' UpdatePipeline Text -- | When you update a pipeline, Elastic Transcoder returns the values that -- you specified in the request. -- -- See: newUpdatePipelineResponse smart constructor. data UpdatePipelineResponse UpdatePipelineResponse' :: Maybe Pipeline -> Maybe [Warning] -> Int -> UpdatePipelineResponse -- | The pipeline updated by this UpdatePipelineResponse call. [$sel:pipeline:UpdatePipelineResponse'] :: UpdatePipelineResponse -> Maybe Pipeline -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. [$sel:warnings:UpdatePipelineResponse'] :: UpdatePipelineResponse -> Maybe [Warning] -- | The response's http status code. [$sel:httpStatus:UpdatePipelineResponse'] :: UpdatePipelineResponse -> Int -- | Create a value of UpdatePipelineResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:UpdatePipelineResponse', -- updatePipelineResponse_pipeline - The pipeline updated by this -- UpdatePipelineResponse call. -- -- $sel:warnings:UpdatePipelineResponse', -- updatePipelineResponse_warnings - Elastic Transcoder returns a -- warning if the resources used by your pipeline are not in the same -- region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- $sel:httpStatus:UpdatePipelineResponse', -- updatePipelineResponse_httpStatus - The response's http status -- code. newUpdatePipelineResponse :: Int -> UpdatePipelineResponse -- | The pipeline updated by this UpdatePipelineResponse call. updatePipelineResponse_pipeline :: Lens' UpdatePipelineResponse (Maybe Pipeline) -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. updatePipelineResponse_warnings :: Lens' UpdatePipelineResponse (Maybe [Warning]) -- | The response's http status code. updatePipelineResponse_httpStatus :: Lens' UpdatePipelineResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance GHC.Show.Show Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance GHC.Read.Read Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance GHC.Classes.Eq Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance GHC.Generics.Generic Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipelineResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipelineResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipelineResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipelineResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipelineResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.UpdatePipeline.UpdatePipeline -- | With the UpdatePipelineNotifications operation, you can update Amazon -- Simple Notification Service (Amazon SNS) notifications for a pipeline. -- -- When you update notifications for a pipeline, Elastic Transcoder -- returns the values that you specified in the request. module Amazonka.ElasticTranscoder.UpdatePipelineNotifications -- | The UpdatePipelineNotificationsRequest structure. -- -- See: newUpdatePipelineNotifications smart constructor. data UpdatePipelineNotifications UpdatePipelineNotifications' :: Text -> Notifications -> UpdatePipelineNotifications -- | The identifier of the pipeline for which you want to change -- notification settings. [$sel:id:UpdatePipelineNotifications'] :: UpdatePipelineNotifications -> Text -- | The topic ARN for the Amazon Simple Notification Service (Amazon SNS) -- topic that you want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- [$sel:notifications:UpdatePipelineNotifications'] :: UpdatePipelineNotifications -> Notifications -- | Create a value of UpdatePipelineNotifications with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdatePipelineNotifications, -- updatePipelineNotifications_id - The identifier of the pipeline -- for which you want to change notification settings. -- -- UpdatePipelineNotifications, -- updatePipelineNotifications_notifications - The topic ARN for -- the Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- newUpdatePipelineNotifications :: Text -> Notifications -> UpdatePipelineNotifications -- | The identifier of the pipeline for which you want to change -- notification settings. updatePipelineNotifications_id :: Lens' UpdatePipelineNotifications Text -- | The topic ARN for the Amazon Simple Notification Service (Amazon SNS) -- topic that you want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- updatePipelineNotifications_notifications :: Lens' UpdatePipelineNotifications Notifications -- | The UpdatePipelineNotificationsResponse structure. -- -- See: newUpdatePipelineNotificationsResponse smart -- constructor. data UpdatePipelineNotificationsResponse UpdatePipelineNotificationsResponse' :: Maybe Pipeline -> Int -> UpdatePipelineNotificationsResponse -- | A section of the response body that provides information about the -- pipeline associated with this notification. [$sel:pipeline:UpdatePipelineNotificationsResponse'] :: UpdatePipelineNotificationsResponse -> Maybe Pipeline -- | The response's http status code. [$sel:httpStatus:UpdatePipelineNotificationsResponse'] :: UpdatePipelineNotificationsResponse -> Int -- | Create a value of UpdatePipelineNotificationsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:UpdatePipelineNotificationsResponse', -- updatePipelineNotificationsResponse_pipeline - A section of the -- response body that provides information about the pipeline associated -- with this notification. -- -- $sel:httpStatus:UpdatePipelineNotificationsResponse', -- updatePipelineNotificationsResponse_httpStatus - The response's -- http status code. newUpdatePipelineNotificationsResponse :: Int -> UpdatePipelineNotificationsResponse -- | A section of the response body that provides information about the -- pipeline associated with this notification. updatePipelineNotificationsResponse_pipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline) -- | The response's http status code. updatePipelineNotificationsResponse_httpStatus :: Lens' UpdatePipelineNotificationsResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance GHC.Show.Show Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance GHC.Read.Read Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance GHC.Classes.Eq Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance GHC.Generics.Generic Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotificationsResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotificationsResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotificationsResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotificationsResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotificationsResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.UpdatePipelineNotifications.UpdatePipelineNotifications -- | The UpdatePipelineStatus operation pauses or reactivates a pipeline, -- so that the pipeline stops or restarts the processing of jobs. -- -- Changing the pipeline status is useful if you want to cancel one or -- more jobs. You can't cancel jobs after Elastic Transcoder has started -- processing them; if you pause the pipeline to which you submitted the -- jobs, you have more time to get the job IDs for the jobs that you want -- to cancel, and to send a CancelJob request. module Amazonka.ElasticTranscoder.UpdatePipelineStatus -- | The UpdatePipelineStatusRequest structure. -- -- See: newUpdatePipelineStatus smart constructor. data UpdatePipelineStatus UpdatePipelineStatus' :: Text -> Text -> UpdatePipelineStatus -- | The identifier of the pipeline to update. [$sel:id:UpdatePipelineStatus'] :: UpdatePipelineStatus -> Text -- | The desired status of the pipeline: -- -- [$sel:status:UpdatePipelineStatus'] :: UpdatePipelineStatus -> Text -- | Create a value of UpdatePipelineStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdatePipelineStatus, updatePipelineStatus_id - The -- identifier of the pipeline to update. -- -- UpdatePipelineStatus, updatePipelineStatus_status - The -- desired status of the pipeline: -- -- newUpdatePipelineStatus :: Text -> Text -> UpdatePipelineStatus -- | The identifier of the pipeline to update. updatePipelineStatus_id :: Lens' UpdatePipelineStatus Text -- | The desired status of the pipeline: -- -- updatePipelineStatus_status :: Lens' UpdatePipelineStatus Text -- | When you update status for a pipeline, Elastic Transcoder returns the -- values that you specified in the request. -- -- See: newUpdatePipelineStatusResponse smart constructor. data UpdatePipelineStatusResponse UpdatePipelineStatusResponse' :: Maybe Pipeline -> Int -> UpdatePipelineStatusResponse -- | A section of the response body that provides information about the -- pipeline. [$sel:pipeline:UpdatePipelineStatusResponse'] :: UpdatePipelineStatusResponse -> Maybe Pipeline -- | The response's http status code. [$sel:httpStatus:UpdatePipelineStatusResponse'] :: UpdatePipelineStatusResponse -> Int -- | Create a value of UpdatePipelineStatusResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:UpdatePipelineStatusResponse', -- updatePipelineStatusResponse_pipeline - A section of the -- response body that provides information about the pipeline. -- -- $sel:httpStatus:UpdatePipelineStatusResponse', -- updatePipelineStatusResponse_httpStatus - The response's http -- status code. newUpdatePipelineStatusResponse :: Int -> UpdatePipelineStatusResponse -- | A section of the response body that provides information about the -- pipeline. updatePipelineStatusResponse_pipeline :: Lens' UpdatePipelineStatusResponse (Maybe Pipeline) -- | The response's http status code. updatePipelineStatusResponse_httpStatus :: Lens' UpdatePipelineStatusResponse Int instance GHC.Generics.Generic Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance GHC.Show.Show Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance GHC.Read.Read Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance GHC.Classes.Eq Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance GHC.Generics.Generic Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatusResponse instance GHC.Show.Show Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatusResponse instance GHC.Read.Read Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatusResponse instance GHC.Classes.Eq Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatusResponse instance Amazonka.Types.AWSRequest Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatusResponse instance Data.Hashable.Class.Hashable Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance Control.DeepSeq.NFData Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance Amazonka.Data.Headers.ToHeaders Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance Amazonka.Data.Path.ToPath Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus instance Amazonka.Data.Query.ToQuery Amazonka.ElasticTranscoder.UpdatePipelineStatus.UpdatePipelineStatus module Amazonka.ElasticTranscoder.Lens -- | The identifier of the job that you want to cancel. -- -- To get a list of the jobs (including their jobId) that have a -- status of Submitted, use the ListJobsByStatus API action. cancelJob_id :: Lens' CancelJob Text -- | The response's http status code. cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int -- | A section of the request body that provides information about the file -- that is being transcoded. createJob_input :: Lens' CreateJob (Maybe JobInput) -- | A section of the request body that provides information about the -- files that are being transcoded. createJob_inputs :: Lens' CreateJob (Maybe [JobInput]) -- | 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. createJob_output :: Lens' CreateJob (Maybe CreateJobOutput) -- | 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. createJob_outputKeyPrefix :: Lens' CreateJob (Maybe Text) -- | 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. createJob_outputs :: Lens' CreateJob (Maybe [CreateJobOutput]) -- | 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. createJob_playlists :: Lens' CreateJob (Maybe [CreateJobPlaylist]) -- | 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. createJob_userMetadata :: Lens' CreateJob (Maybe (HashMap Text Text)) -- | 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. createJob_pipelineId :: Lens' CreateJob Text -- | A section of the response body that provides information about the job -- that is created. createJobResponse_job :: Lens' CreateJobResponse (Maybe Job) -- | The response's http status code. createJobResponse_httpStatus :: Lens' CreateJobResponse Int -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. createPipeline_awsKmsKeyArn :: Lens' CreatePipeline (Maybe Text) -- | The optional ContentConfig object specifies information about -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- createPipeline_contentConfig :: Lens' CreatePipeline (Maybe PipelineOutputConfig) -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- createPipeline_notifications :: Lens' CreatePipeline (Maybe Notifications) -- | The Amazon S3 bucket in which you want Elastic Transcoder to save the -- transcoded files. (Use this, or use ContentConfig:Bucket plus -- ThumbnailConfig:Bucket.) -- -- Specify this value when all of the following are true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values -- for ContentConfig and ThumbnailConfig instead. createPipeline_outputBucket :: Lens' CreatePipeline (Maybe Text) -- | The ThumbnailConfig object specifies several values, -- including the Amazon S3 bucket in which you want Elastic Transcoder to -- save thumbnail files, which users you want to have access to the -- files, the type of access you want users to have, and the storage -- class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- createPipeline_thumbnailConfig :: Lens' CreatePipeline (Maybe PipelineOutputConfig) -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters. createPipeline_name :: Lens' CreatePipeline Text -- | The Amazon S3 bucket in which you saved the media files that you want -- to transcode. createPipeline_inputBucket :: Lens' CreatePipeline Text -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to use to create the pipeline. createPipeline_role :: Lens' CreatePipeline Text -- | A section of the response body that provides information about the -- pipeline that is created. createPipelineResponse_pipeline :: Lens' CreatePipelineResponse (Maybe Pipeline) -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. createPipelineResponse_warnings :: Lens' CreatePipelineResponse (Maybe [Warning]) -- | The response's http status code. createPipelineResponse_httpStatus :: Lens' CreatePipelineResponse Int -- | A section of the request body that specifies the audio parameters. createPreset_audio :: Lens' CreatePreset (Maybe AudioParameters) -- | A description of the preset. createPreset_description :: Lens' CreatePreset (Maybe Text) -- | A section of the request body that specifies the thumbnail parameters, -- if any. createPreset_thumbnails :: Lens' CreatePreset (Maybe Thumbnails) -- | A section of the request body that specifies the video parameters. createPreset_video :: Lens' CreatePreset (Maybe VideoParameters) -- | The name of the preset. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. createPreset_name :: Lens' CreatePreset Text -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. createPreset_container :: Lens' CreatePreset Text -- | A section of the response body that provides information about the -- preset that is created. createPresetResponse_preset :: Lens' CreatePresetResponse (Maybe Preset) -- | If the preset settings don't comply with the standards for the video -- codec but Elastic Transcoder created the preset, this message explains -- the reason the preset settings don't meet the standard. Elastic -- Transcoder created the preset because the settings might produce -- acceptable output. createPresetResponse_warning :: Lens' CreatePresetResponse (Maybe Text) -- | The response's http status code. createPresetResponse_httpStatus :: Lens' CreatePresetResponse Int -- | The identifier of the pipeline that you want to delete. deletePipeline_id :: Lens' DeletePipeline Text -- | The response's http status code. deletePipelineResponse_httpStatus :: Lens' DeletePipelineResponse Int -- | The identifier of the preset for which you want to get detailed -- information. deletePreset_id :: Lens' DeletePreset Text -- | The response's http status code. deletePresetResponse_httpStatus :: Lens' DeletePresetResponse Int -- | To list jobs in chronological order by the date and time that they -- were submitted, enter true. To list jobs in reverse -- chronological order, enter false. listJobsByPipeline_ascending :: Lens' ListJobsByPipeline (Maybe Text) -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. listJobsByPipeline_pageToken :: Lens' ListJobsByPipeline (Maybe Text) -- | The ID of the pipeline for which you want to get job information. listJobsByPipeline_pipelineId :: Lens' ListJobsByPipeline Text -- | An array of Job objects that are in the specified pipeline. listJobsByPipelineResponse_jobs :: Lens' ListJobsByPipelineResponse (Maybe [Job]) -- | A value that you use to access the second and subsequent pages of -- results, if any. When the jobs in the specified pipeline fit on one -- page or when you've reached the last page of results, the value of -- NextPageToken is null. listJobsByPipelineResponse_nextPageToken :: Lens' ListJobsByPipelineResponse (Maybe Text) -- | The response's http status code. listJobsByPipelineResponse_httpStatus :: Lens' ListJobsByPipelineResponse Int -- | To list jobs in chronological order by the date and time that they -- were submitted, enter true. To list jobs in reverse -- chronological order, enter false. listJobsByStatus_ascending :: Lens' ListJobsByStatus (Maybe Text) -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. listJobsByStatus_pageToken :: Lens' ListJobsByStatus (Maybe Text) -- | To get information about all of the jobs associated with the current -- AWS account that have a given status, specify the following status: -- Submitted, Progressing, Complete, -- Canceled, or Error. listJobsByStatus_status :: Lens' ListJobsByStatus Text -- | An array of Job objects that have the specified status. listJobsByStatusResponse_jobs :: Lens' ListJobsByStatusResponse (Maybe [Job]) -- | A value that you use to access the second and subsequent pages of -- results, if any. When the jobs in the specified pipeline fit on one -- page or when you've reached the last page of results, the value of -- NextPageToken is null. listJobsByStatusResponse_nextPageToken :: Lens' ListJobsByStatusResponse (Maybe Text) -- | The response's http status code. listJobsByStatusResponse_httpStatus :: Lens' ListJobsByStatusResponse Int -- | To list pipelines in chronological order by the date and time that -- they were created, enter true. To list pipelines in reverse -- chronological order, enter false. listPipelines_ascending :: Lens' ListPipelines (Maybe Text) -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. listPipelines_pageToken :: Lens' ListPipelines (Maybe Text) -- | A value that you use to access the second and subsequent pages of -- results, if any. When the pipelines fit on one page or when you've -- reached the last page of results, the value of NextPageToken -- is null. listPipelinesResponse_nextPageToken :: Lens' ListPipelinesResponse (Maybe Text) -- | An array of Pipeline objects. listPipelinesResponse_pipelines :: Lens' ListPipelinesResponse (Maybe [Pipeline]) -- | The response's http status code. listPipelinesResponse_httpStatus :: Lens' ListPipelinesResponse Int -- | To list presets in chronological order by the date and time that they -- were created, enter true. To list presets in reverse -- chronological order, enter false. listPresets_ascending :: Lens' ListPresets (Maybe Text) -- | When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. listPresets_pageToken :: Lens' ListPresets (Maybe Text) -- | A value that you use to access the second and subsequent pages of -- results, if any. When the presets fit on one page or when you've -- reached the last page of results, the value of NextPageToken -- is null. listPresetsResponse_nextPageToken :: Lens' ListPresetsResponse (Maybe Text) -- | An array of Preset objects. listPresetsResponse_presets :: Lens' ListPresetsResponse (Maybe [Preset]) -- | The response's http status code. listPresetsResponse_httpStatus :: Lens' ListPresetsResponse Int -- | The identifier of the job for which you want to get detailed -- information. readJob_id :: Lens' ReadJob Text -- | The response's http status code. readJobResponse_httpStatus :: Lens' ReadJobResponse Int -- | A section of the response body that provides information about the -- job. readJobResponse_job :: Lens' ReadJobResponse Job -- | The identifier of the pipeline to read. readPipeline_id :: Lens' ReadPipeline Text -- | A section of the response body that provides information about the -- pipeline. readPipelineResponse_pipeline :: Lens' ReadPipelineResponse (Maybe Pipeline) -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. readPipelineResponse_warnings :: Lens' ReadPipelineResponse (Maybe [Warning]) -- | The response's http status code. readPipelineResponse_httpStatus :: Lens' ReadPipelineResponse Int -- | The identifier of the preset for which you want to get detailed -- information. readPreset_id :: Lens' ReadPreset Text -- | A section of the response body that provides information about the -- preset. readPresetResponse_preset :: Lens' ReadPresetResponse (Maybe Preset) -- | The response's http status code. readPresetResponse_httpStatus :: Lens' ReadPresetResponse Int -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. updatePipeline_awsKmsKeyArn :: Lens' UpdatePipeline (Maybe Text) -- | The optional ContentConfig object specifies information about -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- updatePipeline_contentConfig :: Lens' UpdatePipeline (Maybe PipelineOutputConfig) -- | The Amazon S3 bucket in which you saved the media files that you want -- to transcode and the graphics that you want to use as watermarks. updatePipeline_inputBucket :: Lens' UpdatePipeline (Maybe Text) -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters updatePipeline_name :: Lens' UpdatePipeline (Maybe Text) -- | The topic ARN for the Amazon Simple Notification Service (Amazon SNS) -- topic that you want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- updatePipeline_notifications :: Lens' UpdatePipeline (Maybe Notifications) -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to use to transcode jobs for this pipeline. updatePipeline_role :: Lens' UpdatePipeline (Maybe Text) -- | The ThumbnailConfig object specifies several values, -- including the Amazon S3 bucket in which you want Elastic Transcoder to -- save thumbnail files, which users you want to have access to the -- files, the type of access you want users to have, and the storage -- class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- updatePipeline_thumbnailConfig :: Lens' UpdatePipeline (Maybe PipelineOutputConfig) -- | The ID of the pipeline that you want to update. updatePipeline_id :: Lens' UpdatePipeline Text -- | The pipeline updated by this UpdatePipelineResponse call. updatePipelineResponse_pipeline :: Lens' UpdatePipelineResponse (Maybe Pipeline) -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. updatePipelineResponse_warnings :: Lens' UpdatePipelineResponse (Maybe [Warning]) -- | The response's http status code. updatePipelineResponse_httpStatus :: Lens' UpdatePipelineResponse Int -- | The identifier of the pipeline for which you want to change -- notification settings. updatePipelineNotifications_id :: Lens' UpdatePipelineNotifications Text -- | The topic ARN for the Amazon Simple Notification Service (Amazon SNS) -- topic that you want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- updatePipelineNotifications_notifications :: Lens' UpdatePipelineNotifications Notifications -- | A section of the response body that provides information about the -- pipeline associated with this notification. updatePipelineNotificationsResponse_pipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline) -- | The response's http status code. updatePipelineNotificationsResponse_httpStatus :: Lens' UpdatePipelineNotificationsResponse Int -- | The identifier of the pipeline to update. updatePipelineStatus_id :: Lens' UpdatePipelineStatus Text -- | The desired status of the pipeline: -- -- updatePipelineStatus_status :: Lens' UpdatePipelineStatus Text -- | A section of the response body that provides information about the -- pipeline. updatePipelineStatusResponse_pipeline :: Lens' UpdatePipelineStatusResponse (Maybe Pipeline) -- | The response's http status code. updatePipelineStatusResponse_httpStatus :: Lens' UpdatePipelineStatusResponse Int -- | The format of album art, if any. Valid formats are .jpg and -- .png. artwork_albumArtFormat :: Lens' Artwork (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your artwork. artwork_encryption :: Lens' Artwork (Maybe Encryption) -- | The name of the file to be used as album art. To determine which -- Amazon S3 bucket contains the specified file, Elastic Transcoder -- checks the pipeline specified by PipelineId; the -- InputBucket object in that pipeline identifies the bucket. -- -- If the file name includes a prefix, for example, -- cooking/pie.jpg, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. artwork_inputKey :: Lens' Artwork (Maybe Text) -- | The maximum height of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 3072, inclusive. artwork_maxHeight :: Lens' Artwork (Maybe Text) -- | The maximum width of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 4096, inclusive. artwork_maxWidth :: Lens' Artwork (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add white bars to the top and bottom and/or left and -- right sides of the output album art to make the total size of the -- output art match the values that you specified for MaxWidth -- and MaxHeight. artwork_paddingPolicy :: Lens' Artwork (Maybe Text) -- | Specify one of the following values to control scaling of the output -- album art: -- -- artwork_sizingPolicy :: Lens' Artwork (Maybe Text) -- | You can only choose an audio bit depth when you specify flac -- or pcm for the value of Audio:Codec. -- -- The bit depth of a sample is how many bits of information are included -- in the audio samples. The higher the bit depth, the better the audio, -- but the larger the file. -- -- Valid values are 16 and 24. -- -- The most common bit depth is 24. audioCodecOptions_bitDepth :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose an audio bit order when you specify pcm -- for the value of Audio:Codec. -- -- The order the bits of a PCM sample are stored in. -- -- The supported value is LittleEndian. audioCodecOptions_bitOrder :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose an audio profile when you specify AAC for the -- value of Audio:Codec. -- -- Specify the AAC profile for the output file. Elastic Transcoder -- supports the following profiles: -- -- -- -- All outputs in a Smooth playlist must have the same value for -- Profile. -- -- If you created any presets before AAC profiles were added, Elastic -- Transcoder automatically updated your presets to use AAC-LC. You can -- change the value as required. audioCodecOptions_profile :: Lens' AudioCodecOptions (Maybe Text) -- | You can only choose whether an audio sample is signed when you specify -- pcm for the value of Audio:Codec. -- -- Whether audio samples are represented with negative and positive -- numbers (signed) or only positive numbers (unsigned). -- -- The supported value is Signed. audioCodecOptions_signed :: Lens' AudioCodecOptions (Maybe Text) -- | The method of organizing audio channels and tracks. Use -- Audio:Channels to specify the number of channels in your -- output, and Audio:AudioPackingMode to specify the number of -- tracks and their relation to the channels. If you do not specify an -- Audio:AudioPackingMode, Elastic Transcoder uses -- SingleTrack. -- -- The following values are valid: -- -- SingleTrack, OneChannelPerTrack, and -- OneChannelPerTrackWithMosTo8Tracks -- -- When you specify SingleTrack, Elastic Transcoder creates a -- single track for your output. The track can have up to eight channels. -- Use SingleTrack for all non-mxf containers. -- -- The outputs of SingleTrack for a specific channel value and -- inputs are as follows: -- -- -- -- When you specify OneChannelPerTrack, Elastic Transcoder -- creates a new track for every channel in your output. Your output can -- have up to eight single-channel tracks. -- -- The outputs of OneChannelPerTrack for a specific channel -- value and inputs are as follows: -- -- -- -- When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic -- Transcoder creates eight single-channel tracks for your output. All -- tracks that do not contain audio data from an input channel are MOS, -- or Mit Out Sound, tracks. -- -- The outputs of OneChannelPerTrackWithMosTo8Tracks for a -- specific channel value and inputs are as follows: -- -- audioParameters_audioPackingMode :: Lens' AudioParameters (Maybe Text) -- | The bit rate of the audio stream in the output file, in -- kilobits/second. Enter an integer between 64 and 320, inclusive. audioParameters_bitRate :: Lens' AudioParameters (Maybe Text) -- | The number of audio channels in the output file. The following values -- are valid: -- -- auto, 0, 1, 2 -- -- One channel carries the information played by a single speaker. For -- example, a stereo track with two channels sends one channel to the -- left speaker, and the other channel to the right speaker. The output -- channels are organized into tracks. If you want Elastic Transcoder to -- automatically detect the number of audio channels in the input file -- and use that value for the output file, select auto. -- -- The output of a specific channel value and inputs are as follows: -- -- -- -- For more information about how Elastic Transcoder organizes channels -- and tracks, see Audio:AudioPackingMode. audioParameters_channels :: Lens' AudioParameters (Maybe Text) -- | The audio codec for the output file. Valid values include -- aac, flac, mp2, mp3, pcm, -- and vorbis. audioParameters_codec :: Lens' AudioParameters (Maybe Text) -- | If you specified AAC for Audio:Codec, this is the -- AAC compression profile to use. Valid values include: -- -- auto, AAC-LC, HE-AAC, HE-AACv2 -- -- If you specify auto, Elastic Transcoder chooses a profile -- based on the bit rate of the output file. audioParameters_codecOptions :: Lens' AudioParameters (Maybe AudioCodecOptions) -- | The sample rate of the audio stream in the output file, in Hertz. -- Valid values include: -- -- auto, 22050, 32000, 44100, -- 48000, 96000 -- -- If you specify auto, Elastic Transcoder automatically detects -- the sample rate. audioParameters_sampleRate :: Lens' AudioParameters (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. captionFormat_encryption :: Lens' CaptionFormat (Maybe Encryption) -- | The format you specify determines whether Elastic Transcoder generates -- an embedded or sidecar caption for this output. -- -- captionFormat_format :: Lens' CaptionFormat (Maybe Text) -- | The prefix for caption filenames, in the form -- description-{language}, where: -- -- -- -- If you don't include {language} in the file name pattern, -- Elastic Transcoder automatically appends "{language}" to the -- value that you specify for the description. In addition, Elastic -- Transcoder automatically appends the count to the end of the segment -- files. -- -- For example, suppose you're transcoding into srt format. When you -- enter "Sydney-{language}-sunrise", and the language of the captions is -- English (en), the name of the first caption file is be -- Sydney-en-sunrise00000.srt. captionFormat_pattern :: Lens' CaptionFormat (Maybe Text) -- | The encryption settings, if any, that Elastic Transcoder needs to -- decyrpt your caption sources, or that you want Elastic Transcoder to -- apply to your caption sources. captionSource_encryption :: Lens' CaptionSource (Maybe Encryption) -- | The name of the sidecar caption file that you want Elastic Transcoder -- to include in the output file. captionSource_key :: Lens' CaptionSource (Maybe Text) -- | The label of the caption shown in the player when choosing a language. -- We recommend that you put the caption language name here, in the -- language of the captions. captionSource_label :: Lens' CaptionSource (Maybe Text) -- | A string that specifies the language of the caption. If you specified -- multiple inputs with captions, the caption language must match in -- order to be included in the output. Specify this as one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. captionSource_language :: Lens' CaptionSource (Maybe Text) -- | For clip generation or captions that do not start at the same time as -- the associated video file, the TimeOffset tells Elastic -- Transcoder how much of the video to encode before including captions. -- -- Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. captionSource_timeOffset :: Lens' CaptionSource (Maybe Text) -- | The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. captions_captionFormats :: Lens' Captions (Maybe [CaptionFormat]) -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. captions_captionSources :: Lens' Captions (Maybe [CaptionSource]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. captions_mergePolicy :: Lens' Captions (Maybe Text) -- | Settings that determine when a clip begins and how long it lasts. clip_timeSpan :: Lens' Clip (Maybe TimeSpan) -- | Information about the album art that you want Elastic Transcoder to -- add to the file during transcoding. You can specify up to twenty album -- artworks for each output. Settings for each artwork must be defined in -- the job for the current output. createJobOutput_albumArt :: Lens' CreateJobOutput (Maybe JobAlbumArt) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. createJobOutput_captions :: Lens' CreateJobOutput (Maybe Captions) -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. createJobOutput_composition :: Lens' CreateJobOutput (Maybe [Clip]) -- | You can specify encryption settings for any output files that you want -- to use for a transcoding job. This includes the output file and any -- watermarks, thumbnails, album art, or captions that you want to use. -- You must specify encryption settings for each file individually. createJobOutput_encryption :: Lens' CreateJobOutput (Maybe Encryption) -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. If a file with the specified name already exists in the -- output bucket, the job fails. createJobOutput_key :: Lens' CreateJobOutput (Maybe Text) -- | The Id of the preset to use for this job. The preset -- determines the audio, video, and thumbnail settings that Elastic -- Transcoder uses for transcoding. createJobOutput_presetId :: Lens' CreateJobOutput (Maybe Text) -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: auto, 0, 90, 180, -- 270. The value auto generally works only if the file -- that you're transcoding contains rotation metadata. createJobOutput_rotate :: Lens' CreateJobOutput (Maybe Text) -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4 and Smooth playlists, all media segments for -- an output are stored in a single file. Each segment is approximately -- the length of the SegmentDuration, though individual segments -- might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. createJobOutput_segmentDuration :: Lens' CreateJobOutput (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. createJobOutput_thumbnailEncryption :: Lens' CreateJobOutput (Maybe Encryption) -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. createJobOutput_thumbnailPattern :: Lens' CreateJobOutput (Maybe Text) -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset for the current output. createJobOutput_watermarks :: Lens' CreateJobOutput (Maybe [JobWatermark]) -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. createJobPlaylist_format :: Lens' CreateJobPlaylist (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. createJobPlaylist_hlsContentProtection :: Lens' CreateJobPlaylist (Maybe HlsContentProtection) -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. createJobPlaylist_name :: Lens' CreateJobPlaylist (Maybe Text) -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. createJobPlaylist_outputKeys :: Lens' CreateJobPlaylist (Maybe [Text]) -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. createJobPlaylist_playReadyDrm :: Lens' CreateJobPlaylist (Maybe PlayReadyDrm) -- | The detected duration of the input file, in milliseconds. detectedProperties_durationMillis :: Lens' DetectedProperties (Maybe Integer) -- | The detected file size of the input file, in bytes. detectedProperties_fileSize :: Lens' DetectedProperties (Maybe Integer) -- | The detected frame rate of the input file, in frames per second. detectedProperties_frameRate :: Lens' DetectedProperties (Maybe Text) -- | The detected height of the input file, in pixels. detectedProperties_height :: Lens' DetectedProperties (Maybe Int) -- | The detected width of the input file, in pixels. detectedProperties_width :: Lens' DetectedProperties (Maybe Int) -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you used to encrypt your input -- files or that you want Elastic Transcoder to use to encrypt your -- output files. The initialization vector must be base64-encoded, and it -- must be exactly 16 bytes long before being base64-encoded. encryption_initializationVector :: Lens' Encryption (Maybe Text) -- | The data encryption key that you want Elastic Transcoder to use to -- encrypt your output file, or that was used to encrypt your input file. -- The key must be base64-encoded and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using the Amazon Key Management -- Service. encryption_key :: Lens' Encryption (Maybe Text) -- | The MD5 digest of the key that you used to encrypt your input file, or -- that you want Elastic Transcoder to use to encrypt your output file. -- Elastic Transcoder uses the key digest as a checksum to make sure your -- key was not corrupted in transit. The key MD5 must be base64-encoded, -- and it must be exactly 16 bytes long before being base64-encoded. encryption_keyMd5 :: Lens' Encryption (Maybe Text) -- | The specific server-side encryption mode that you want Elastic -- Transcoder to use when decrypting your input files or encrypting your -- output files. Elastic Transcoder supports the following options: -- -- -- -- For all three AES options, you must provide the following settings, -- which must be base64-encoded: -- -- -- -- For the AES modes, your private encryption keys and your unencrypted -- data are never stored by AWS; therefore, it is important that you -- safely manage your encryption keys. If you lose them, you won't be -- able to unencrypt your data. encryption_mode :: Lens' Encryption (Maybe Text) -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your output files. The initialization vector must be -- base64-encoded, and it must be exactly 16 bytes before being -- base64-encoded. hlsContentProtection_initializationVector :: Lens' HlsContentProtection (Maybe Text) -- | If you want Elastic Transcoder to generate a key for you, leave this -- field blank. -- -- If you choose to supply your own key, you must encrypt the key by -- using AWS KMS. The key must be base64-encoded, and it must be one of -- the following bit lengths before being base64-encoded: -- -- 128, 192, or 256. hlsContentProtection_key :: Lens' HlsContentProtection (Maybe Text) -- | If Elastic Transcoder is generating your key for you, you must leave -- this field blank. -- -- The MD5 digest of the key that you want Elastic Transcoder to use to -- encrypt your output file, and that you want Elastic Transcoder to use -- as a checksum to make sure your key was not corrupted in transit. The -- key MD5 must be base64-encoded, and it must be exactly 16 bytes before -- being base64- encoded. hlsContentProtection_keyMd5 :: Lens' HlsContentProtection (Maybe Text) -- | Specify whether you want Elastic Transcoder to write your HLS license -- key to an Amazon S3 bucket. If you choose -- WithVariantPlaylists, LicenseAcquisitionUrl must be -- left blank and Elastic Transcoder writes your data key into the same -- bucket as the associated playlist. hlsContentProtection_keyStoragePolicy :: Lens' HlsContentProtection (Maybe Text) -- | The location of the license key required to decrypt your HLS playlist. -- The URL must be an absolute path, and is referenced in the URI -- attribute of the EXT-X-KEY metadata tag in the playlist file. hlsContentProtection_licenseAcquisitionUrl :: Lens' HlsContentProtection (Maybe Text) -- | The content protection method for your output. The only valid value -- is: aes-128. -- -- This value is written into the method attribute of the -- EXT-X-KEY metadata tag in the output playlist. hlsContentProtection_method :: Lens' HlsContentProtection (Maybe Text) -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. inputCaptions_captionSources :: Lens' InputCaptions (Maybe [CaptionSource]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. inputCaptions_mergePolicy :: Lens' InputCaptions (Maybe Text) -- | The Amazon Resource Name (ARN) for the job. job_arn :: Lens' Job (Maybe Text) -- | The identifier that Elastic Transcoder assigned to the job. You use -- this value to get settings for the job or to delete the job. job_id :: Lens' Job (Maybe Text) -- | A section of the request or response body that provides information -- about the file that is being transcoded. job_input :: Lens' Job (Maybe JobInput) -- | Information about the files that you're transcoding. If you specified -- multiple files for this job, Elastic Transcoder stitches the files -- together to make one output. job_inputs :: Lens' Job (Maybe [JobInput]) -- | If you specified one output for a job, information about that output. -- If you specified multiple outputs for a job, the Output object lists -- information about the first output. This duplicates the information -- that is listed for the first output in the Outputs object. -- -- Outputs recommended instead. -- -- A section of the request or response body that provides information -- about the transcoded (target) file. job_output :: Lens' Job (Maybe JobOutput) -- | 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. We recommend that you add a / or some other -- delimiter to the end of the OutputKeyPrefix. job_outputKeyPrefix :: Lens' Job (Maybe Text) -- | Information about the output files. We recommend that you use the -- Outputs syntax for all jobs, even when you want Elastic -- Transcoder to transcode a file into only one format. Do not use both -- the Outputs and Output syntaxes in the same request. -- You can create a maximum of 30 outputs per job. -- -- If you specify more than one output for a job, Elastic Transcoder -- creates the files for each output in the order in which you specify -- them in the job. job_outputs :: Lens' Job (Maybe [JobOutput]) -- | 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. job_pipelineId :: Lens' Job (Maybe Text) -- | Outputs in Fragmented MP4 or MPEG-TS format only. -- -- 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. job_playlists :: Lens' Job (Maybe [Playlist]) -- | The status of the job: Submitted, Progressing, -- Complete, Canceled, or Error. job_status :: Lens' Job (Maybe Text) -- | Details about the timing of a job. job_timing :: Lens' Job (Maybe Timing) -- | 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. -- -- Metadata keys and values must use characters from -- the following list: -- -- job_userMetadata :: Lens' Job (Maybe (HashMap Text Text)) -- | The file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. Valid formats are -- .jpg and .png jobAlbumArt_artwork :: Lens' JobAlbumArt (Maybe [Artwork]) -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple album artwork files. -- -- jobAlbumArt_mergePolicy :: Lens' JobAlbumArt (Maybe Text) -- | The aspect ratio of the input file. If you want Elastic Transcoder to -- automatically detect the aspect ratio of the input file, specify -- auto. If you want to specify the aspect ratio for the output -- file, enter one of the following values: -- -- 1:1, 4:3, 3:2, 16:9 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the aspect ratio. jobInput_aspectRatio :: Lens' JobInput (Maybe Text) -- | The container type for the input file. If you want Elastic Transcoder -- to automatically detect the container type of the input file, specify -- auto. If you want to specify the container type for the input -- file, enter one of the following values: -- -- 3gp, aac, asf, avi, divx, -- flv, m4a, mkv, mov, mp3, -- mp4, mpeg, mpeg-ps, mpeg-ts, -- mxf, ogg, vob, wav, webm jobInput_container :: Lens' JobInput (Maybe Text) -- | The detected properties of the input file. jobInput_detectedProperties :: Lens' JobInput (Maybe DetectedProperties) -- | The encryption settings, if any, that are used for decrypting your -- input files. If your input file is encrypted, you must specify the -- mode that Elastic Transcoder uses to decrypt your file. jobInput_encryption :: Lens' JobInput (Maybe Encryption) -- | The frame rate of the input file. If you want Elastic Transcoder to -- automatically detect the frame rate of the input file, specify -- auto. If you want to specify the frame rate for the input -- file, enter one of the following values: -- -- 10, 15, 23.97, 24, 25, -- 29.97, 30, 60 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the frame rate. jobInput_frameRate :: Lens' JobInput (Maybe Text) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. jobInput_inputCaptions :: Lens' JobInput (Maybe InputCaptions) -- | Whether the input file is interlaced. If you want Elastic Transcoder -- to automatically detect whether the input file is interlaced, specify -- auto. If you want to specify whether the input file is -- interlaced, enter one of the following values: -- -- true, false -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of interlacing. jobInput_interlaced :: Lens' JobInput (Maybe Text) -- | The name of the file to transcode. Elsewhere in the body of the JSON -- block is the the ID of the pipeline to use for processing the job. The -- InputBucket object in that pipeline tells Elastic Transcoder -- which Amazon S3 bucket to get the file from. -- -- If the file name includes a prefix, such as -- cooking/lasagna.mpg, include the prefix in the key. If the -- file isn't in the specified bucket, Elastic Transcoder returns an -- error. jobInput_key :: Lens' JobInput (Maybe Text) -- | This value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. jobInput_resolution :: Lens' JobInput (Maybe Text) -- | Settings for clipping an input. Each input can have different clip -- settings. jobInput_timeSpan :: Lens' JobInput (Maybe TimeSpan) -- | The album art to be associated with the output file, if any. jobOutput_albumArt :: Lens' JobOutput (Maybe JobAlbumArt) -- | If Elastic Transcoder used a preset with a -- ColorSpaceConversionMode to transcode the output file, the -- AppliedColorSpaceConversion parameter shows the conversion -- used. If no ColorSpaceConversionMode was defined in the -- preset, this parameter is not be included in the job response. jobOutput_appliedColorSpaceConversion :: Lens' JobOutput (Maybe Text) -- | You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. jobOutput_captions :: Lens' JobOutput (Maybe Captions) -- | You can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. jobOutput_composition :: Lens' JobOutput (Maybe [Clip]) -- | Duration of the output file, in seconds. jobOutput_duration :: Lens' JobOutput (Maybe Integer) -- | Duration of the output file, in milliseconds. jobOutput_durationMillis :: Lens' JobOutput (Maybe Integer) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your output files. If you choose to use encryption, you must -- specify a mode to use. If you choose not to use encryption, Elastic -- Transcoder writes an unencrypted file to your Amazon S3 bucket. jobOutput_encryption :: Lens' JobOutput (Maybe Encryption) -- | File size of the output file, in bytes. jobOutput_fileSize :: Lens' JobOutput (Maybe Integer) -- | Frame rate of the output file, in frames per second. jobOutput_frameRate :: Lens' JobOutput (Maybe Text) -- | Height of the output file, in pixels. jobOutput_height :: Lens' JobOutput (Maybe Int) -- | A sequential counter, starting with 1, that identifies an output among -- the outputs from the current job. In the Output syntax, this value is -- always 1. jobOutput_id :: Lens' JobOutput (Maybe Text) -- | The name to assign to the transcoded file. Elastic Transcoder saves -- the file in the Amazon S3 bucket specified by the -- OutputBucket object in the pipeline that is specified by the -- pipeline ID. jobOutput_key :: Lens' JobOutput (Maybe Text) -- | The value of the Id object for the preset that you want to -- use for this job. The preset determines the audio, video, and -- thumbnail settings that Elastic Transcoder uses for transcoding. To -- use a preset that you created, specify the preset ID that Elastic -- Transcoder returned in the response when you created the preset. You -- can also use the Elastic Transcoder system presets, which you can get -- with ListPresets. jobOutput_presetId :: Lens' JobOutput (Maybe Text) -- | The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: -- -- auto, 0, 90, 180, 270 -- -- The value auto generally works only if the file that you're -- transcoding contains rotation metadata. jobOutput_rotate :: Lens' JobOutput (Maybe Text) -- | (Outputs in Fragmented MP4 or MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4, MPEG-DASH, and Smooth playlists, all -- media segments for an output are stored in a single file. Each segment -- is approximately the length of the SegmentDuration, though -- individual segments might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. jobOutput_segmentDuration :: Lens' JobOutput (Maybe Text) -- | The status of one output in a job. If you specified only one output -- for the job, Outputs:Status is always the same as -- Job:Status. If you specified more than one output: -- -- -- -- The value of Status is one of the following: -- Submitted, Progressing, Complete, -- Canceled, or Error. jobOutput_status :: Lens' JobOutput (Maybe Text) -- | Information that further explains Status. jobOutput_statusDetail :: Lens' JobOutput (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. jobOutput_thumbnailEncryption :: Lens' JobOutput (Maybe Encryption) -- | Whether you want Elastic Transcoder to create thumbnails for your -- videos and, if so, how you want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. jobOutput_thumbnailPattern :: Lens' JobOutput (Maybe Text) -- | Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset that you specify in Preset for the -- current output. -- -- Watermarks are added to the output video in the sequence in which you -- list them in the job output—the first watermark in the list is added -- to the output video first, the second watermark in the list is added -- next, and so on. As a result, if the settings in a preset cause -- Elastic Transcoder to place all watermarks in the same location, the -- second watermark that you add covers the first one, the third one -- covers the second, and the fourth one covers the third. jobOutput_watermarks :: Lens' JobOutput (Maybe [JobWatermark]) -- | Specifies the width of the output file in pixels. jobOutput_width :: Lens' JobOutput (Maybe Int) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. jobWatermark_encryption :: Lens' JobWatermark (Maybe Encryption) -- | The name of the .png or .jpg file that you want to use for the -- watermark. To determine which Amazon S3 bucket contains the specified -- file, Elastic Transcoder checks the pipeline specified by -- Pipeline; the Input Bucket object in that pipeline -- identifies the bucket. -- -- If the file name includes a prefix, for example, -- logos/128x64.png, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. jobWatermark_inputKey :: Lens' JobWatermark (Maybe Text) -- | The ID of the watermark settings that Elastic Transcoder uses to add -- watermarks to the video during transcoding. The settings are in the -- preset specified by Preset for the current output. In that preset, the -- value of Watermarks Id tells Elastic Transcoder which settings to use. jobWatermark_presetWatermarkId :: Lens' JobWatermark (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. notifications_completed :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. notifications_error :: Lens' Notifications (Maybe Text) -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify when Elastic Transcoder has started to process the job. notifications_progressing :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. notifications_warning :: Lens' Notifications (Maybe Text) -- | The permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- permission_access :: Lens' Permission (Maybe [Text]) -- | The AWS user or group that you want to have access to transcoded files -- and playlists. To identify the user or group, you can specify the -- canonical user ID for an AWS account, an origin access identity for a -- CloudFront distribution, the registered email address of an AWS -- account, or a predefined Amazon S3 group. permission_grantee :: Lens' Permission (Maybe Text) -- | The type of value that appears in the Grantee object: -- -- permission_granteeType :: Lens' Permission (Maybe Text) -- | The Amazon Resource Name (ARN) for the pipeline. pipeline_arn :: Lens' Pipeline (Maybe Text) -- | The AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. pipeline_awsKmsKeyArn :: Lens' Pipeline (Maybe Text) -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save transcoded files and playlists. Either you specify -- both ContentConfig and ThumbnailConfig, or you -- specify OutputBucket. -- -- pipeline_contentConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) -- | The identifier for the pipeline. You use this value to identify the -- pipeline in which you want to perform a variety of operations, such as -- creating a job or a preset. pipeline_id :: Lens' Pipeline (Maybe Text) -- | The Amazon S3 bucket from which Elastic Transcoder gets media files -- for transcoding and the graphics files, if any, that you want to use -- for watermarks. pipeline_inputBucket :: Lens' Pipeline (Maybe Text) -- | The name of the pipeline. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters pipeline_name :: Lens' Pipeline (Maybe Text) -- | The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- pipeline_notifications :: Lens' Pipeline (Maybe Notifications) -- | The Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files, thumbnails, and playlists. Either you specify this -- value, or you specify both ContentConfig and -- ThumbnailConfig. pipeline_outputBucket :: Lens' Pipeline (Maybe Text) -- | The IAM Amazon Resource Name (ARN) for the role that Elastic -- Transcoder uses to transcode jobs for this pipeline. pipeline_role :: Lens' Pipeline (Maybe Text) -- | The current status of the pipeline: -- -- pipeline_status :: Lens' Pipeline (Maybe Text) -- | Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save thumbnail files. Either you specify both -- ContentConfig and ThumbnailConfig, or you specify -- OutputBucket. -- -- pipeline_thumbnailConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) -- | The Amazon S3 bucket in which you want Elastic Transcoder to save the -- transcoded files. Specify this value when all of the following are -- true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values for -- ContentConfig and ThumbnailConfig instead. pipelineOutputConfig_bucket :: Lens' PipelineOutputConfig (Maybe Text) -- | Optional. The Permissions object specifies which users and/or -- predefined Amazon S3 groups you want to have access to transcoded -- files and playlists, and the type of access you want them to have. You -- can grant permissions to a maximum of 30 users and/or predefined -- Amazon S3 groups. -- -- If you include Permissions, Elastic Transcoder grants only -- the permissions that you specify. It does not grant full permissions -- to the owner of the role specified by Role. If you want that -- user to have full control, you must explicitly grant full control to -- the user. -- -- If you omit Permissions, Elastic Transcoder grants full -- control over the transcoded files and playlists to the owner of the -- role specified by Role, and grants no other permissions to -- any other user or group. pipelineOutputConfig_permissions :: Lens' PipelineOutputConfig (Maybe [Permission]) -- | The Amazon S3 storage class, Standard or -- ReducedRedundancy, that you want Elastic Transcoder to assign -- to the video files and playlists that it stores in your Amazon S3 -- bucket. pipelineOutputConfig_storageClass :: Lens' PipelineOutputConfig (Maybe Text) -- | The type of DRM, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. playReadyDrm_format :: Lens' PlayReadyDrm (Maybe Text) -- | The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your files. The initialization vector must be -- base64-encoded, and it must be exactly 8 bytes long before being -- base64-encoded. If no initialization vector is provided, Elastic -- Transcoder generates one for you. playReadyDrm_initializationVector :: Lens' PlayReadyDrm (Maybe Text) -- | The DRM key for your file, provided by your DRM license provider. The -- key must be base64-encoded, and it must be one of the following bit -- lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using AWS KMS. playReadyDrm_key :: Lens' PlayReadyDrm (Maybe Text) -- | The ID for your DRM key, so that your DRM license provider knows which -- key to provide. -- -- The key ID must be provided in big endian, and Elastic Transcoder -- converts it to little endian before inserting it into the PlayReady -- DRM headers. If you are unsure whether your license server provides -- your key ID in big or little endian, check with your DRM provider. playReadyDrm_keyId :: Lens' PlayReadyDrm (Maybe Text) -- | The MD5 digest of the key used for DRM on your file, and that you want -- Elastic Transcoder to use as a checksum to make sure your key was not -- corrupted in transit. The key MD5 must be base64-encoded, and it must -- be exactly 16 bytes before being base64-encoded. playReadyDrm_keyMd5 :: Lens' PlayReadyDrm (Maybe Text) -- | The location of the license key required to play DRM content. The URL -- must be an absolute path, and is referenced by the PlayReady header. -- The PlayReady header is referenced in the protection header of the -- client manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM -- and EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example -- URL looks like this: https://www.example.com/exampleKey/ playReadyDrm_licenseAcquisitionUrl :: Lens' PlayReadyDrm (Maybe Text) -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. playlist_format :: Lens' Playlist (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to the output files associated with this playlist. playlist_hlsContentProtection :: Lens' Playlist (Maybe HlsContentProtection) -- | The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. playlist_name :: Lens' Playlist (Maybe Text) -- | For each output in this job that you want to include in a master -- playlist, the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. playlist_outputKeys :: Lens' Playlist (Maybe [Text]) -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. playlist_playReadyDrm :: Lens' Playlist (Maybe PlayReadyDrm) -- | The status of the job with which the playlist is associated. playlist_status :: Lens' Playlist (Maybe Text) -- | Information that further explains the status. playlist_statusDetail :: Lens' Playlist (Maybe Text) -- | The Amazon Resource Name (ARN) for the preset. preset_arn :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- audio preset values. preset_audio :: Lens' Preset (Maybe AudioParameters) -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. preset_container :: Lens' Preset (Maybe Text) -- | A description of the preset. preset_description :: Lens' Preset (Maybe Text) -- | Identifier for the new preset. You use this value to get settings for -- the preset or to delete it. preset_id :: Lens' Preset (Maybe Text) -- | The name of the preset. preset_name :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- thumbnail preset values, if any. preset_thumbnails :: Lens' Preset (Maybe Thumbnails) -- | Whether the preset is a default preset provided by Elastic Transcoder -- (System) or a preset that you have defined (Custom). preset_type :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- video preset values. preset_video :: Lens' Preset (Maybe VideoParameters) -- | The horizontal position of the watermark unless you specify a non-zero -- value for HorizontalOffset: -- -- presetWatermark_horizontalAlign :: Lens' PresetWatermark (Maybe Text) -- | The amount by which you want the horizontal position of the watermark -- to be offset from the position specified by HorizontalAlign: -- -- -- -- For example, if you specify Left for HorizontalAlign and 5px -- for HorizontalOffset, the left side of the watermark appears -- 5 pixels from the left border of the output video. -- -- HorizontalOffset is only valid when the value of -- HorizontalAlign is Left or Right. If you -- specify an offset that causes the watermark to extend beyond the left -- or right border and Elastic Transcoder has not added black bars, the -- watermark is cropped. If Elastic Transcoder has added black bars, the -- watermark extends into the black bars. If the watermark extends beyond -- the black bars, it is cropped. -- -- Use the value of Target to specify whether you want to -- include the black bars that are added by Elastic Transcoder, if any, -- in the offset calculation. presetWatermark_horizontalOffset :: Lens' PresetWatermark (Maybe Text) -- | A unique identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. presetWatermark_id :: Lens' PresetWatermark (Maybe Text) -- | The maximum height of the watermark in one of the following formats: -- -- -- -- If you specify the value in pixels, it must be less than or equal to -- the value of MaxHeight. presetWatermark_maxHeight :: Lens' PresetWatermark (Maybe Text) -- | The maximum width of the watermark in one of the following formats: -- -- presetWatermark_maxWidth :: Lens' PresetWatermark (Maybe Text) -- | A percentage that indicates how much you want a watermark to obscure -- the video in the location where it appears. Valid values are 0 (the -- watermark is invisible) to 100 (the watermark completely obscures the -- video in the specified location). The datatype of Opacity is -- float. -- -- Elastic Transcoder supports transparent .png graphics. If you use a -- transparent .png, the transparent portion of the video appears as if -- you had specified a value of 0 for Opacity. The .jpg file -- format doesn't support transparency. presetWatermark_opacity :: Lens' PresetWatermark (Maybe Text) -- | A value that controls scaling of the watermark: -- -- presetWatermark_sizingPolicy :: Lens' PresetWatermark (Maybe Text) -- | A value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- presetWatermark_target :: Lens' PresetWatermark (Maybe Text) -- | The vertical position of the watermark unless you specify a non-zero -- value for VerticalOffset: -- -- presetWatermark_verticalAlign :: Lens' PresetWatermark (Maybe Text) -- |
--   VerticalOffset
--   
-- -- The amount by which you want the vertical position of the watermark to -- be offset from the position specified by VerticalAlign: -- -- -- -- For example, if you specify Top for VerticalAlign -- and 5px for VerticalOffset, the top of the watermark -- appears 5 pixels from the top border of the output video. -- -- VerticalOffset is only valid when the value of VerticalAlign -- is Top or Bottom. -- -- If you specify an offset that causes the watermark to extend beyond -- the top or bottom border and Elastic Transcoder has not added black -- bars, the watermark is cropped. If Elastic Transcoder has added black -- bars, the watermark extends into the black bars. If the watermark -- extends beyond the black bars, it is cropped. -- -- Use the value of Target to specify whether you want Elastic -- Transcoder to include the black bars that are added by Elastic -- Transcoder, if any, in the offset calculation. presetWatermark_verticalOffset :: Lens' PresetWatermark (Maybe Text) -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The aspect ratio of thumbnails. Valid values include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the video in the output file. thumbnails_aspectRatio :: Lens' Thumbnails (Maybe Text) -- | The format of thumbnails, if any. Valid values are jpg and -- png. -- -- You specify whether you want Elastic Transcoder to create thumbnails -- when you create a job. thumbnails_format :: Lens' Thumbnails (Maybe Text) -- | The approximate number of seconds between thumbnails. Specify an -- integer value. thumbnails_interval :: Lens' Thumbnails (Maybe Text) -- | The maximum height of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1080 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 3072. thumbnails_maxHeight :: Lens' Thumbnails (Maybe Text) -- | The maximum width of thumbnails in pixels. If you specify auto, -- Elastic Transcoder uses 1920 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 32 and 4096. thumbnails_maxWidth :: Lens' Thumbnails (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of thumbnails to make the total size of the thumbnails -- match the values that you specified for thumbnail MaxWidth -- and MaxHeight settings. thumbnails_paddingPolicy :: Lens' Thumbnails (Maybe Text) -- | To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The width and height of thumbnail files in pixels. Specify a value in -- the format width x -- height where both values are even -- integers. The values cannot exceed the width and height that you -- specified in the Video:Resolution object. thumbnails_resolution :: Lens' Thumbnails (Maybe Text) -- | Specify one of the following values to control scaling of thumbnails: -- -- thumbnails_sizingPolicy :: Lens' Thumbnails (Maybe Text) -- | The duration of the clip. The format can be either HH:mm:ss.SSS -- (maximum value: 23:59:59.999; SSS is thousandths of a second) or -- sssss.SSS (maximum value: 86399.999). If you don't specify a value, -- Elastic Transcoder creates an output file from StartTime to the end of -- the file. -- -- If you specify a value longer than the duration of the input file, -- Elastic Transcoder transcodes the file and returns a warning message. timeSpan_duration :: Lens' TimeSpan (Maybe Text) -- | The place in the input file where you want a clip to start. The format -- can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is -- thousandths of a second) or sssss.SSS (maximum value: 86399.999). If -- you don't specify a value, Elastic Transcoder starts at the beginning -- of the input file. timeSpan_startTime :: Lens' TimeSpan (Maybe Text) -- | The time the job finished transcoding, in epoch milliseconds. timing_finishTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job began transcoding, in epoch milliseconds. timing_startTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. timing_submitTimeMillis :: Lens' Timing (Maybe Integer) -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The display aspect ratio of the video in the output file. Valid values -- include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the input file. -- -- If you specify an aspect ratio for the output file that differs from -- aspect ratio of the input file, Elastic Transcoder adds pillarboxing -- (black bars on the sides) or letterboxing (black bars on the top and -- bottom) to maintain the aspect ratio of the active region of the -- video. videoParameters_aspectRatio :: Lens' VideoParameters (Maybe Text) -- | The bit rate of the video stream in the output file, in -- kilobits/second. Valid values depend on the values of Level -- and Profile. If you specify auto, Elastic Transcoder -- uses the detected bit rate of the input source. If you specify a value -- other than auto, we recommend that you specify a value less -- than or equal to the maximum H.264-compliant value listed for your -- level and profile: -- -- /Level - Maximum video bit rate in kilobits/second (baseline and main -- Profile) : maximum video bit rate in kilobits/second (high Profile)/ -- -- videoParameters_bitRate :: Lens' VideoParameters (Maybe Text) -- | The video codec for the output file. Valid values include -- gif, H.264, mpeg2, vp8, and -- vp9. You can only specify vp8 and vp9 when -- the container type is webm, gif when the container -- type is gif, and mpeg2 when the container type is -- mpg. videoParameters_codec :: Lens' VideoParameters (Maybe Text) -- | Profile (H.264/VP8/VP9 Only) -- -- The H.264 profile that you want to use for the output file. Elastic -- Transcoder supports the following profiles: -- -- -- -- Level (H.264 Only) -- -- The H.264 level that you want to use for the output file. Elastic -- Transcoder supports the following levels: -- -- 1, 1b, 1.1, 1.2, 1.3, -- 2, 2.1, 2.2, 3, 3.1, -- 3.2, 4, 4.1 -- -- MaxReferenceFrames (H.264 Only) -- -- Applicable only when the value of Video:Codec is H.264. The maximum -- number of previously decoded frames to use as a reference for decoding -- future frames. Valid values are integers 0 through 16, but we -- recommend that you not use a value greater than the following: -- --
--   Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
--   
-- -- where Width in pixels and Height in pixels represent -- either MaxWidth and MaxHeight, or Resolution. /Maximum decoded picture -- buffer in macroblocks/ depends on the value of the Level -- object. See the list below. (A macroblock is a block of pixels -- measuring 16x16.) -- -- -- -- MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits per second in a video buffer; the size of -- the buffer is specified by BufferSize. Specify a value -- between 16 and 62,500. You can reduce the bandwidth required to stream -- a video by reducing the maximum bit rate, but this also reduces the -- quality of the video. -- -- BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits in any x seconds of the output video. This -- window is commonly 10 seconds, the standard segment duration when -- you're using FMP4 or MPEG-TS for the container type of the output -- video. Specify an integer greater than 0. If you specify -- MaxBitRate and omit BufferSize, Elastic Transcoder -- sets BufferSize to 10 times the value of MaxBitRate. -- -- InterlacedMode (Optional, H.264/MPEG2 Only) -- -- The interlace mode for the output video. -- -- Interlaced video is used to double the perceived frame rate for a -- video by interlacing two fields (one field on every other line, the -- other field on the other lines) so that the human eye registers -- multiple pictures per frame. Interlacing reduces the bandwidth -- required for transmitting a video, but can result in blurred images -- and flickering. -- -- Valid values include Progressive (no interlacing, top to -- bottom), TopFirst (top field first), BottomFirst -- (bottom field first), and Auto. -- -- If InterlaceMode is not specified, Elastic Transcoder uses -- Progressive for the output. If Auto is specified, -- Elastic Transcoder interlaces the output. -- -- ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) -- -- The color space conversion Elastic Transcoder applies to the output -- video. Color spaces are the algorithms used by the computer to store -- information about how to render color. Bt.601 is the standard -- for standard definition video, while Bt.709 is the standard -- for high definition video. -- -- Valid values include None, Bt709toBt601, -- Bt601toBt709, and Auto. -- -- If you chose Auto for ColorSpaceConversionMode and -- your output is interlaced, your frame rate is one of 23.97, -- 24, 25, 29.97, 50, or 60, -- your SegmentDuration is null, and you are using one of the -- resolution changes from the list below, Elastic Transcoder applies the -- following color space conversions: -- -- -- -- Elastic Transcoder may change the behavior of the -- ColorspaceConversionMode Auto mode in the future. -- All outputs in a playlist must use the same -- ColorSpaceConversionMode. -- -- If you do not specify a ColorSpaceConversionMode, Elastic -- Transcoder does not change the color space of a file. If you are -- unsure what ColorSpaceConversionMode was applied to your -- output file, you can check the AppliedColorSpaceConversion -- parameter included in your job response. If your job does not have an -- AppliedColorSpaceConversion in its response, no -- ColorSpaceConversionMode was applied. -- -- ChromaSubsampling -- -- The sampling pattern for the chroma (color) channels of the output -- video. Valid values include yuv420p and yuv422p. -- -- yuv420p samples the chroma information of every other -- horizontal and every other vertical line, yuv422p samples the -- color information of every horizontal line and every other vertical -- line. -- -- LoopCount (Gif Only) -- -- The number of times you want the output gif to loop. Valid values -- include Infinite and integers between 0 and -- 100, inclusive. videoParameters_codecOptions :: Lens' VideoParameters (Maybe (HashMap Text Text)) -- | The value that Elastic Transcoder adds to the metadata in the output -- file. videoParameters_displayAspectRatio :: Lens' VideoParameters (Maybe Text) -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- Whether to use a fixed value for FixedGOP. Valid values are -- true and false: -- -- -- -- FixedGOP must be set to true for fmp4 -- containers. videoParameters_fixedGOP :: Lens' VideoParameters (Maybe Text) -- | The frames per second for the video stream in the output file. Valid -- values include: -- -- auto, 10, 15, 23.97, 24, -- 25, 29.97, 30, 60 -- -- If you specify auto, Elastic Transcoder uses the detected -- frame rate of the input source. If you specify a frame rate, we -- recommend that you perform the following calculation: -- --
--   Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
--   
-- -- where: -- -- -- -- The maximum recommended decoding speed in Luma samples/second for each -- level is described in the following list (Level - Decoding -- speed): -- -- videoParameters_frameRate :: Lens' VideoParameters (Maybe Text) -- | Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- The maximum number of frames between key frames. Key frames are fully -- encoded frames; the frames between key frames are encoded based, in -- part, on the content of the key frames. The value is an integer -- formatted as a string; valid values are between 1 (every frame is a -- key frame) and 100000, inclusive. A higher value results in higher -- compression but may also discernibly decrease video quality. -- -- For Smooth outputs, the FrameRate must have a -- constant ratio to the KeyframesMaxDist. This allows -- Smooth playlists to switch between different quality levels -- while the file is being played. -- -- For example, an input file can have a FrameRate of 30 with a -- KeyframesMaxDist of 90. The output file then needs to have a -- ratio of 1:3. Valid outputs would have FrameRate of 30, 25, -- and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. -- -- Alternately, this can be achieved by setting FrameRate to -- auto and having the same values for MaxFrameRate and -- KeyframesMaxDist. videoParameters_keyframesMaxDist :: Lens' VideoParameters (Maybe Text) -- | If you specify auto for FrameRate, Elastic -- Transcoder uses the frame rate of the input video for the frame rate -- of the output video. Specify the maximum frame rate that you want -- Elastic Transcoder to use when the frame rate of the input video is -- greater than the desired maximum frame rate of the output video. Valid -- values include: 10, 15, 23.97, 24, -- 25, 29.97, 30, 60. videoParameters_maxFrameRate :: Lens' VideoParameters (Maybe Text) -- | The maximum height of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1080 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 96 and 3072. videoParameters_maxHeight :: Lens' VideoParameters (Maybe Text) -- | The maximum width of the output video in pixels. If you specify -- auto, Elastic Transcoder uses 1920 (Full HD) as the default -- value. If you specify a numeric value, enter an even integer between -- 128 and 4096. videoParameters_maxWidth :: Lens' VideoParameters (Maybe Text) -- | When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of the output video to make the total size of the output -- video match the values that you specified for MaxWidth and -- MaxHeight. videoParameters_paddingPolicy :: Lens' VideoParameters (Maybe Text) -- | To better control resolution and aspect ratio of output videos, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, PaddingPolicy, and -- DisplayAspectRatio instead of Resolution and -- AspectRatio. The two groups of settings are mutually -- exclusive. Do not use them together. -- -- The width and height of the video in the output file, in pixels. Valid -- values are auto and width x height: -- -- -- -- Note the following about specifying the width and height: -- -- videoParameters_resolution :: Lens' VideoParameters (Maybe Text) -- | Specify one of the following values to control scaling of the output -- video: -- -- videoParameters_sizingPolicy :: Lens' VideoParameters (Maybe Text) -- | Settings for the size, location, and opacity of graphics that you want -- Elastic Transcoder to overlay over videos that are transcoded using -- this preset. You can specify settings for up to four watermarks. -- Watermarks appear in the specified size and location, and with the -- specified opacity for the duration of the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. videoParameters_watermarks :: Lens' VideoParameters (Maybe [PresetWatermark]) -- | The code of the cross-regional warning. warning_code :: Lens' Warning (Maybe Text) -- | The message explaining what resources are in a different region from -- the pipeline. -- -- AWS KMS keys must be in the same region as the pipeline. warning_message :: Lens' Warning (Maybe Text) module Amazonka.ElasticTranscoder.Waiters -- | Polls ReadJob every 30 seconds until a successful state is -- reached. An error is returned after 120 failed checks. newJobComplete :: Wait ReadJob -- | Derived from API version 2012-09-25 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- AWS Elastic Transcoder Service -- -- The AWS Elastic Transcoder Service. module Amazonka.ElasticTranscoder -- | API version 2012-09-25 of the Amazon Elastic Transcoder SDK -- configuration. defaultService :: Service -- | General authentication failure. The request was not signed correctly. _AccessDeniedException :: AsError a => Fold a ServiceError -- | Prism for IncompatibleVersionException' errors. _IncompatibleVersionException :: AsError a => Fold a ServiceError -- | Elastic Transcoder encountered an unexpected exception while trying to -- fulfill the request. _InternalServiceException :: AsError a => Fold a ServiceError -- | Too many operations for a given AWS account. For example, the number -- of pipelines exceeds the maximum allowed. _LimitExceededException :: AsError a => Fold a ServiceError -- | The resource you are attempting to change is in use. For example, you -- are attempting to delete a pipeline that is currently in use. _ResourceInUseException :: AsError a => Fold a ServiceError -- | The requested resource does not exist or is not available. For -- example, the pipeline to which you're trying to add a job doesn't -- exist or is still being created. _ResourceNotFoundException :: AsError a => Fold a ServiceError -- | One or more required parameter values were not provided in the -- request. _ValidationException :: AsError a => Fold a ServiceError -- | Polls ReadJob every 30 seconds until a successful state is -- reached. An error is returned after 120 failed checks. newJobComplete :: Wait ReadJob -- | The CancelJobRequest structure. -- -- See: newCancelJob smart constructor. data CancelJob CancelJob' :: Text -> CancelJob -- | Create a value of CancelJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CancelJob, cancelJob_id - The identifier of the job that -- you want to cancel. -- -- To get a list of the jobs (including their jobId) that have a -- status of Submitted, use the ListJobsByStatus API action. newCancelJob :: Text -> CancelJob -- | The response body contains a JSON object. If the job is successfully -- canceled, the value of Success is true. -- -- See: newCancelJobResponse smart constructor. data CancelJobResponse CancelJobResponse' :: Int -> CancelJobResponse -- | Create a value of CancelJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:CancelJobResponse', -- cancelJobResponse_httpStatus - The response's http status code. newCancelJobResponse :: Int -> CancelJobResponse -- | The CreateJobRequest structure. -- -- See: newCreateJob smart constructor. data CreateJob CreateJob' :: Maybe JobInput -> Maybe [JobInput] -> Maybe CreateJobOutput -> Maybe Text -> Maybe [CreateJobOutput] -> Maybe [CreateJobPlaylist] -> Maybe (HashMap Text Text) -> Text -> CreateJob -- | Create a value of CreateJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateJob, createJob_input - A section of the request -- body that provides information about the file that is being -- transcoded. -- -- CreateJob, createJob_inputs - A section of the request -- body that provides information about the files that are being -- transcoded. -- -- CreateJob, createJob_output - 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. -- -- CreateJob, createJob_outputKeyPrefix - 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. -- -- CreateJob, createJob_outputs - 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. -- -- CreateJob, createJob_playlists - 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. -- -- CreateJob, createJob_userMetadata - 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. -- -- CreateJob, createJob_pipelineId - 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. newCreateJob :: Text -> CreateJob -- | The CreateJobResponse structure. -- -- See: newCreateJobResponse smart constructor. data CreateJobResponse CreateJobResponse' :: Maybe Job -> Int -> CreateJobResponse -- | Create a value of CreateJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:job:CreateJobResponse', createJobResponse_job - A -- section of the response body that provides information about the job -- that is created. -- -- $sel:httpStatus:CreateJobResponse', -- createJobResponse_httpStatus - The response's http status code. newCreateJobResponse :: Int -> CreateJobResponse -- | The CreatePipelineRequest structure. -- -- See: newCreatePipeline smart constructor. data CreatePipeline CreatePipeline' :: Maybe Text -> Maybe PipelineOutputConfig -> Maybe Notifications -> Maybe Text -> Maybe PipelineOutputConfig -> Text -> Text -> Text -> CreatePipeline -- | Create a value of CreatePipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreatePipeline, createPipeline_awsKmsKeyArn - The AWS -- Key Management Service (AWS KMS) key that you want to use with this -- pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. -- -- CreatePipeline, createPipeline_contentConfig - The -- optional ContentConfig object specifies information about the -- Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- -- -- CreatePipeline, createPipeline_notifications - The -- Amazon Simple Notification Service (Amazon SNS) topic that you want to -- notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- -- -- CreatePipeline, createPipeline_outputBucket - The Amazon -- S3 bucket in which you want Elastic Transcoder to save the transcoded -- files. (Use this, or use ContentConfig:Bucket plus -- ThumbnailConfig:Bucket.) -- -- Specify this value when all of the following are true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values -- for ContentConfig and ThumbnailConfig instead. -- -- CreatePipeline, createPipeline_thumbnailConfig - The -- ThumbnailConfig object specifies several values, including -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- thumbnail files, which users you want to have access to the files, the -- type of access you want users to have, and the storage class that you -- want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- -- -- CreatePipeline, createPipeline_name - The name of the -- pipeline. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters. -- -- CreatePipeline, createPipeline_inputBucket - The Amazon -- S3 bucket in which you saved the media files that you want to -- transcode. -- -- CreatePipeline, createPipeline_role - The IAM Amazon -- Resource Name (ARN) for the role that you want Elastic Transcoder to -- use to create the pipeline. newCreatePipeline :: Text -> Text -> Text -> CreatePipeline -- | When you create a pipeline, Elastic Transcoder returns the values that -- you specified in the request. -- -- See: newCreatePipelineResponse smart constructor. data CreatePipelineResponse CreatePipelineResponse' :: Maybe Pipeline -> Maybe [Warning] -> Int -> CreatePipelineResponse -- | Create a value of CreatePipelineResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:CreatePipelineResponse', -- createPipelineResponse_pipeline - A section of the response -- body that provides information about the pipeline that is created. -- -- $sel:warnings:CreatePipelineResponse', -- createPipelineResponse_warnings - Elastic Transcoder returns a -- warning if the resources used by your pipeline are not in the same -- region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- $sel:httpStatus:CreatePipelineResponse', -- createPipelineResponse_httpStatus - The response's http status -- code. newCreatePipelineResponse :: Int -> CreatePipelineResponse -- | The CreatePresetRequest structure. -- -- See: newCreatePreset smart constructor. data CreatePreset CreatePreset' :: Maybe AudioParameters -> Maybe Text -> Maybe Thumbnails -> Maybe VideoParameters -> Text -> Text -> CreatePreset -- | Create a value of CreatePreset with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreatePreset, createPreset_audio - A section of the -- request body that specifies the audio parameters. -- -- CreatePreset, createPreset_description - A description -- of the preset. -- -- CreatePreset, createPreset_thumbnails - A section of the -- request body that specifies the thumbnail parameters, if any. -- -- CreatePreset, createPreset_video - A section of the -- request body that specifies the video parameters. -- -- CreatePreset, createPreset_name - The name of the -- preset. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- CreatePreset, createPreset_container - The container -- type for the output file. Valid values include flac, -- flv, fmp4, gif, mp3, mp4, -- mpg, mxf, oga, ogg, ts, -- and webm. newCreatePreset :: Text -> Text -> CreatePreset -- | The CreatePresetResponse structure. -- -- See: newCreatePresetResponse smart constructor. data CreatePresetResponse CreatePresetResponse' :: Maybe Preset -> Maybe Text -> Int -> CreatePresetResponse -- | Create a value of CreatePresetResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:preset:CreatePresetResponse', -- createPresetResponse_preset - A section of the response body -- that provides information about the preset that is created. -- -- CreatePresetResponse, createPresetResponse_warning - If -- the preset settings don't comply with the standards for the video -- codec but Elastic Transcoder created the preset, this message explains -- the reason the preset settings don't meet the standard. Elastic -- Transcoder created the preset because the settings might produce -- acceptable output. -- -- $sel:httpStatus:CreatePresetResponse', -- createPresetResponse_httpStatus - The response's http status -- code. newCreatePresetResponse :: Int -> CreatePresetResponse -- | The DeletePipelineRequest structure. -- -- See: newDeletePipeline smart constructor. data DeletePipeline DeletePipeline' :: Text -> DeletePipeline -- | Create a value of DeletePipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeletePipeline, deletePipeline_id - The identifier of -- the pipeline that you want to delete. newDeletePipeline :: Text -> DeletePipeline -- | The DeletePipelineResponse structure. -- -- See: newDeletePipelineResponse smart constructor. data DeletePipelineResponse DeletePipelineResponse' :: Int -> DeletePipelineResponse -- | Create a value of DeletePipelineResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeletePipelineResponse', -- deletePipelineResponse_httpStatus - The response's http status -- code. newDeletePipelineResponse :: Int -> DeletePipelineResponse -- | The DeletePresetRequest structure. -- -- See: newDeletePreset smart constructor. data DeletePreset DeletePreset' :: Text -> DeletePreset -- | Create a value of DeletePreset with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- DeletePreset, deletePreset_id - The identifier of the -- preset for which you want to get detailed information. newDeletePreset :: Text -> DeletePreset -- | The DeletePresetResponse structure. -- -- See: newDeletePresetResponse smart constructor. data DeletePresetResponse DeletePresetResponse' :: Int -> DeletePresetResponse -- | Create a value of DeletePresetResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:DeletePresetResponse', -- deletePresetResponse_httpStatus - The response's http status -- code. newDeletePresetResponse :: Int -> DeletePresetResponse -- | The ListJobsByPipelineRequest structure. -- -- See: newListJobsByPipeline smart constructor. data ListJobsByPipeline ListJobsByPipeline' :: Maybe Text -> Maybe Text -> Text -> ListJobsByPipeline -- | Create a value of ListJobsByPipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:ascending:ListJobsByPipeline', -- listJobsByPipeline_ascending - To list jobs in chronological -- order by the date and time that they were submitted, enter -- true. To list jobs in reverse chronological order, enter -- false. -- -- $sel:pageToken:ListJobsByPipeline', -- listJobsByPipeline_pageToken - When Elastic Transcoder returns -- more than one page of results, use pageToken in subsequent -- GET requests to get each successive page of results. -- -- ListJobsByPipeline, listJobsByPipeline_pipelineId - The -- ID of the pipeline for which you want to get job information. newListJobsByPipeline :: Text -> ListJobsByPipeline -- | The ListJobsByPipelineResponse structure. -- -- See: newListJobsByPipelineResponse smart constructor. data ListJobsByPipelineResponse ListJobsByPipelineResponse' :: Maybe [Job] -> Maybe Text -> Int -> ListJobsByPipelineResponse -- | Create a value of ListJobsByPipelineResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:jobs:ListJobsByPipelineResponse', -- listJobsByPipelineResponse_jobs - An array of Job -- objects that are in the specified pipeline. -- -- $sel:nextPageToken:ListJobsByPipelineResponse', -- listJobsByPipelineResponse_nextPageToken - A value that you use -- to access the second and subsequent pages of results, if any. When the -- jobs in the specified pipeline fit on one page or when you've reached -- the last page of results, the value of NextPageToken is -- null. -- -- $sel:httpStatus:ListJobsByPipelineResponse', -- listJobsByPipelineResponse_httpStatus - The response's http -- status code. newListJobsByPipelineResponse :: Int -> ListJobsByPipelineResponse -- | The ListJobsByStatusRequest structure. -- -- See: newListJobsByStatus smart constructor. data ListJobsByStatus ListJobsByStatus' :: Maybe Text -> Maybe Text -> Text -> ListJobsByStatus -- | Create a value of ListJobsByStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:ascending:ListJobsByStatus', -- listJobsByStatus_ascending - To list jobs in chronological -- order by the date and time that they were submitted, enter -- true. To list jobs in reverse chronological order, enter -- false. -- -- $sel:pageToken:ListJobsByStatus', -- listJobsByStatus_pageToken - When Elastic Transcoder returns -- more than one page of results, use pageToken in subsequent -- GET requests to get each successive page of results. -- -- ListJobsByStatus, listJobsByStatus_status - To get -- information about all of the jobs associated with the current AWS -- account that have a given status, specify the following status: -- Submitted, Progressing, Complete, -- Canceled, or Error. newListJobsByStatus :: Text -> ListJobsByStatus -- | The ListJobsByStatusResponse structure. -- -- See: newListJobsByStatusResponse smart constructor. data ListJobsByStatusResponse ListJobsByStatusResponse' :: Maybe [Job] -> Maybe Text -> Int -> ListJobsByStatusResponse -- | Create a value of ListJobsByStatusResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:jobs:ListJobsByStatusResponse', -- listJobsByStatusResponse_jobs - An array of Job -- objects that have the specified status. -- -- $sel:nextPageToken:ListJobsByStatusResponse', -- listJobsByStatusResponse_nextPageToken - A value that you use -- to access the second and subsequent pages of results, if any. When the -- jobs in the specified pipeline fit on one page or when you've reached -- the last page of results, the value of NextPageToken is -- null. -- -- $sel:httpStatus:ListJobsByStatusResponse', -- listJobsByStatusResponse_httpStatus - The response's http -- status code. newListJobsByStatusResponse :: Int -> ListJobsByStatusResponse -- | The ListPipelineRequest structure. -- -- See: newListPipelines smart constructor. data ListPipelines ListPipelines' :: Maybe Text -> Maybe Text -> ListPipelines -- | Create a value of ListPipelines with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:ascending:ListPipelines', listPipelines_ascending - -- To list pipelines in chronological order by the date and time that -- they were created, enter true. To list pipelines in reverse -- chronological order, enter false. -- -- $sel:pageToken:ListPipelines', listPipelines_pageToken - -- When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. newListPipelines :: ListPipelines -- | A list of the pipelines associated with the current AWS account. -- -- See: newListPipelinesResponse smart constructor. data ListPipelinesResponse ListPipelinesResponse' :: Maybe Text -> Maybe [Pipeline] -> Int -> ListPipelinesResponse -- | Create a value of ListPipelinesResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextPageToken:ListPipelinesResponse', -- listPipelinesResponse_nextPageToken - A value that you use to -- access the second and subsequent pages of results, if any. When the -- pipelines fit on one page or when you've reached the last page of -- results, the value of NextPageToken is null. -- -- $sel:pipelines:ListPipelinesResponse', -- listPipelinesResponse_pipelines - An array of Pipeline -- objects. -- -- $sel:httpStatus:ListPipelinesResponse', -- listPipelinesResponse_httpStatus - The response's http status -- code. newListPipelinesResponse :: Int -> ListPipelinesResponse -- | The ListPresetsRequest structure. -- -- See: newListPresets smart constructor. data ListPresets ListPresets' :: Maybe Text -> Maybe Text -> ListPresets -- | Create a value of ListPresets with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:ascending:ListPresets', listPresets_ascending - To -- list presets in chronological order by the date and time that they -- were created, enter true. To list presets in reverse -- chronological order, enter false. -- -- $sel:pageToken:ListPresets', listPresets_pageToken - -- When Elastic Transcoder returns more than one page of results, use -- pageToken in subsequent GET requests to get each -- successive page of results. newListPresets :: ListPresets -- | The ListPresetsResponse structure. -- -- See: newListPresetsResponse smart constructor. data ListPresetsResponse ListPresetsResponse' :: Maybe Text -> Maybe [Preset] -> Int -> ListPresetsResponse -- | Create a value of ListPresetsResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:nextPageToken:ListPresetsResponse', -- listPresetsResponse_nextPageToken - A value that you use to -- access the second and subsequent pages of results, if any. When the -- presets fit on one page or when you've reached the last page of -- results, the value of NextPageToken is null. -- -- $sel:presets:ListPresetsResponse', -- listPresetsResponse_presets - An array of Preset -- objects. -- -- $sel:httpStatus:ListPresetsResponse', -- listPresetsResponse_httpStatus - The response's http status -- code. newListPresetsResponse :: Int -> ListPresetsResponse -- | The ReadJobRequest structure. -- -- See: newReadJob smart constructor. data ReadJob ReadJob' :: Text -> ReadJob -- | Create a value of ReadJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ReadJob, readJob_id - The identifier of the job for -- which you want to get detailed information. newReadJob :: Text -> ReadJob -- | The ReadJobResponse structure. -- -- See: newReadJobResponse smart constructor. data ReadJobResponse ReadJobResponse' :: Int -> Job -> ReadJobResponse -- | Create a value of ReadJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:httpStatus:ReadJobResponse', -- readJobResponse_httpStatus - The response's http status code. -- -- $sel:job:ReadJobResponse', readJobResponse_job - A -- section of the response body that provides information about the job. newReadJobResponse :: Int -> Job -> ReadJobResponse -- | The ReadPipelineRequest structure. -- -- See: newReadPipeline smart constructor. data ReadPipeline ReadPipeline' :: Text -> ReadPipeline -- | Create a value of ReadPipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ReadPipeline, readPipeline_id - The identifier of the -- pipeline to read. newReadPipeline :: Text -> ReadPipeline -- | The ReadPipelineResponse structure. -- -- See: newReadPipelineResponse smart constructor. data ReadPipelineResponse ReadPipelineResponse' :: Maybe Pipeline -> Maybe [Warning] -> Int -> ReadPipelineResponse -- | Create a value of ReadPipelineResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:ReadPipelineResponse', -- readPipelineResponse_pipeline - A section of the response body -- that provides information about the pipeline. -- -- $sel:warnings:ReadPipelineResponse', -- readPipelineResponse_warnings - Elastic Transcoder returns a -- warning if the resources used by your pipeline are not in the same -- region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- $sel:httpStatus:ReadPipelineResponse', -- readPipelineResponse_httpStatus - The response's http status -- code. newReadPipelineResponse :: Int -> ReadPipelineResponse -- | The ReadPresetRequest structure. -- -- See: newReadPreset smart constructor. data ReadPreset ReadPreset' :: Text -> ReadPreset -- | Create a value of ReadPreset with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- ReadPreset, readPreset_id - The identifier of the preset -- for which you want to get detailed information. newReadPreset :: Text -> ReadPreset -- | The ReadPresetResponse structure. -- -- See: newReadPresetResponse smart constructor. data ReadPresetResponse ReadPresetResponse' :: Maybe Preset -> Int -> ReadPresetResponse -- | Create a value of ReadPresetResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:preset:ReadPresetResponse', -- readPresetResponse_preset - A section of the response body that -- provides information about the preset. -- -- $sel:httpStatus:ReadPresetResponse', -- readPresetResponse_httpStatus - The response's http status -- code. newReadPresetResponse :: Int -> ReadPresetResponse -- | The UpdatePipelineRequest structure. -- -- See: newUpdatePipeline smart constructor. data UpdatePipeline UpdatePipeline' :: Maybe Text -> Maybe PipelineOutputConfig -> Maybe Text -> Maybe Text -> Maybe Notifications -> Maybe Text -> Maybe PipelineOutputConfig -> Text -> UpdatePipeline -- | Create a value of UpdatePipeline with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdatePipeline, updatePipeline_awsKmsKeyArn - The AWS -- Key Management Service (AWS KMS) key that you want to use with this -- pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. -- -- UpdatePipeline, updatePipeline_contentConfig - The -- optional ContentConfig object specifies information about the -- Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files and playlists: which bucket to use, which users you -- want to have access to the files, the type of access you want users to -- have, and the storage class that you want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- -- -- UpdatePipeline, updatePipeline_inputBucket - The Amazon -- S3 bucket in which you saved the media files that you want to -- transcode and the graphics that you want to use as watermarks. -- -- UpdatePipeline, updatePipeline_name - The name of the -- pipeline. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters -- -- UpdatePipeline, updatePipeline_notifications - The topic -- ARN for the Amazon Simple Notification Service (Amazon SNS) topic that -- you want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- -- -- UpdatePipeline, updatePipeline_role - The IAM Amazon -- Resource Name (ARN) for the role that you want Elastic Transcoder to -- use to transcode jobs for this pipeline. -- -- UpdatePipeline, updatePipeline_thumbnailConfig - The -- ThumbnailConfig object specifies several values, including -- the Amazon S3 bucket in which you want Elastic Transcoder to save -- thumbnail files, which users you want to have access to the files, the -- type of access you want users to have, and the storage class that you -- want to assign to the files. -- -- If you specify values for ContentConfig, you must also -- specify values for ThumbnailConfig even if you don't want to -- create thumbnails. -- -- If you specify values for ContentConfig and -- ThumbnailConfig, omit the OutputBucket object. -- -- -- -- UpdatePipeline, updatePipeline_id - The ID of the -- pipeline that you want to update. newUpdatePipeline :: Text -> UpdatePipeline -- | When you update a pipeline, Elastic Transcoder returns the values that -- you specified in the request. -- -- See: newUpdatePipelineResponse smart constructor. data UpdatePipelineResponse UpdatePipelineResponse' :: Maybe Pipeline -> Maybe [Warning] -> Int -> UpdatePipelineResponse -- | Create a value of UpdatePipelineResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:UpdatePipelineResponse', -- updatePipelineResponse_pipeline - The pipeline updated by this -- UpdatePipelineResponse call. -- -- $sel:warnings:UpdatePipelineResponse', -- updatePipelineResponse_warnings - Elastic Transcoder returns a -- warning if the resources used by your pipeline are not in the same -- region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- $sel:httpStatus:UpdatePipelineResponse', -- updatePipelineResponse_httpStatus - The response's http status -- code. newUpdatePipelineResponse :: Int -> UpdatePipelineResponse -- | The UpdatePipelineNotificationsRequest structure. -- -- See: newUpdatePipelineNotifications smart constructor. data UpdatePipelineNotifications UpdatePipelineNotifications' :: Text -> Notifications -> UpdatePipelineNotifications -- | Create a value of UpdatePipelineNotifications with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdatePipelineNotifications, -- updatePipelineNotifications_id - The identifier of the pipeline -- for which you want to change notification settings. -- -- UpdatePipelineNotifications, -- updatePipelineNotifications_notifications - The topic ARN for -- the Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- newUpdatePipelineNotifications :: Text -> Notifications -> UpdatePipelineNotifications -- | The UpdatePipelineNotificationsResponse structure. -- -- See: newUpdatePipelineNotificationsResponse smart -- constructor. data UpdatePipelineNotificationsResponse UpdatePipelineNotificationsResponse' :: Maybe Pipeline -> Int -> UpdatePipelineNotificationsResponse -- | Create a value of UpdatePipelineNotificationsResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:UpdatePipelineNotificationsResponse', -- updatePipelineNotificationsResponse_pipeline - A section of the -- response body that provides information about the pipeline associated -- with this notification. -- -- $sel:httpStatus:UpdatePipelineNotificationsResponse', -- updatePipelineNotificationsResponse_httpStatus - The response's -- http status code. newUpdatePipelineNotificationsResponse :: Int -> UpdatePipelineNotificationsResponse -- | The UpdatePipelineStatusRequest structure. -- -- See: newUpdatePipelineStatus smart constructor. data UpdatePipelineStatus UpdatePipelineStatus' :: Text -> Text -> UpdatePipelineStatus -- | Create a value of UpdatePipelineStatus with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- UpdatePipelineStatus, updatePipelineStatus_id - The -- identifier of the pipeline to update. -- -- UpdatePipelineStatus, updatePipelineStatus_status - The -- desired status of the pipeline: -- -- newUpdatePipelineStatus :: Text -> Text -> UpdatePipelineStatus -- | When you update status for a pipeline, Elastic Transcoder returns the -- values that you specified in the request. -- -- See: newUpdatePipelineStatusResponse smart constructor. data UpdatePipelineStatusResponse UpdatePipelineStatusResponse' :: Maybe Pipeline -> Int -> UpdatePipelineStatusResponse -- | Create a value of UpdatePipelineStatusResponse with all -- optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:pipeline:UpdatePipelineStatusResponse', -- updatePipelineStatusResponse_pipeline - A section of the -- response body that provides information about the pipeline. -- -- $sel:httpStatus:UpdatePipelineStatusResponse', -- updatePipelineStatusResponse_httpStatus - The response's http -- status code. newUpdatePipelineStatusResponse :: Int -> UpdatePipelineStatusResponse -- | The file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. -- -- To remove artwork or leave the artwork empty, you can either set -- Artwork to null, or set the Merge Policy to -- "Replace" and use an empty Artwork array. -- -- To pass through existing artwork unchanged, set the Merge -- Policy to "Prepend", "Append", or "Fallback", and use an empty -- Artwork array. -- -- See: newArtwork smart constructor. data Artwork Artwork' :: Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Artwork -- | Create a value of Artwork with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArtFormat:Artwork', artwork_albumArtFormat - -- The format of album art, if any. Valid formats are .jpg and -- .png. -- -- $sel:encryption:Artwork', artwork_encryption - The -- encryption settings, if any, that you want Elastic Transcoder to apply -- to your artwork. -- -- $sel:inputKey:Artwork', artwork_inputKey - The name of -- the file to be used as album art. To determine which Amazon S3 bucket -- contains the specified file, Elastic Transcoder checks the pipeline -- specified by PipelineId; the InputBucket object in -- that pipeline identifies the bucket. -- -- If the file name includes a prefix, for example, -- cooking/pie.jpg, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. -- -- $sel:maxHeight:Artwork', artwork_maxHeight - The maximum -- height of the output album art in pixels. If you specify -- auto, Elastic Transcoder uses 600 as the default value. If -- you specify a numeric value, enter an even integer between 32 and -- 3072, inclusive. -- -- $sel:maxWidth:Artwork', artwork_maxWidth - The maximum -- width of the output album art in pixels. If you specify auto, -- Elastic Transcoder uses 600 as the default value. If you specify a -- numeric value, enter an even integer between 32 and 4096, inclusive. -- -- $sel:paddingPolicy:Artwork', artwork_paddingPolicy - -- When you set PaddingPolicy to Pad, Elastic -- Transcoder may add white bars to the top and bottom and/or left and -- right sides of the output album art to make the total size of the -- output art match the values that you specified for MaxWidth -- and MaxHeight. -- -- $sel:sizingPolicy:Artwork', artwork_sizingPolicy - -- Specify one of the following values to control scaling of the output -- album art: -- -- newArtwork :: Artwork -- | Options associated with your audio codec. -- -- See: newAudioCodecOptions smart constructor. data AudioCodecOptions AudioCodecOptions' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> AudioCodecOptions -- | Create a value of AudioCodecOptions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:bitDepth:AudioCodecOptions', -- audioCodecOptions_bitDepth - You can only choose an audio bit -- depth when you specify flac or pcm for the value of -- Audio:Codec. -- -- The bit depth of a sample is how many bits of information are included -- in the audio samples. The higher the bit depth, the better the audio, -- but the larger the file. -- -- Valid values are 16 and 24. -- -- The most common bit depth is 24. -- -- $sel:bitOrder:AudioCodecOptions', -- audioCodecOptions_bitOrder - You can only choose an audio bit -- order when you specify pcm for the value of Audio:Codec. -- -- The order the bits of a PCM sample are stored in. -- -- The supported value is LittleEndian. -- -- $sel:profile:AudioCodecOptions', -- audioCodecOptions_profile - You can only choose an audio -- profile when you specify AAC for the value of Audio:Codec. -- -- Specify the AAC profile for the output file. Elastic Transcoder -- supports the following profiles: -- -- -- -- All outputs in a Smooth playlist must have the same value for -- Profile. -- -- If you created any presets before AAC profiles were added, Elastic -- Transcoder automatically updated your presets to use AAC-LC. You can -- change the value as required. -- -- $sel:signed:AudioCodecOptions', audioCodecOptions_signed -- - You can only choose whether an audio sample is signed when you -- specify pcm for the value of Audio:Codec. -- -- Whether audio samples are represented with negative and positive -- numbers (signed) or only positive numbers (unsigned). -- -- The supported value is Signed. newAudioCodecOptions :: AudioCodecOptions -- | Parameters required for transcoding audio. -- -- See: newAudioParameters smart constructor. data AudioParameters AudioParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AudioCodecOptions -> Maybe Text -> AudioParameters -- | Create a value of AudioParameters with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:audioPackingMode:AudioParameters', -- audioParameters_audioPackingMode - The method of organizing -- audio channels and tracks. Use Audio:Channels to specify the -- number of channels in your output, and Audio:AudioPackingMode -- to specify the number of tracks and their relation to the channels. If -- you do not specify an Audio:AudioPackingMode, Elastic -- Transcoder uses SingleTrack. -- -- The following values are valid: -- -- SingleTrack, OneChannelPerTrack, and -- OneChannelPerTrackWithMosTo8Tracks -- -- When you specify SingleTrack, Elastic Transcoder creates a -- single track for your output. The track can have up to eight channels. -- Use SingleTrack for all non-mxf containers. -- -- The outputs of SingleTrack for a specific channel value and -- inputs are as follows: -- -- -- -- When you specify OneChannelPerTrack, Elastic Transcoder -- creates a new track for every channel in your output. Your output can -- have up to eight single-channel tracks. -- -- The outputs of OneChannelPerTrack for a specific channel -- value and inputs are as follows: -- -- -- -- When you specify OneChannelPerTrackWithMosTo8Tracks, Elastic -- Transcoder creates eight single-channel tracks for your output. All -- tracks that do not contain audio data from an input channel are MOS, -- or Mit Out Sound, tracks. -- -- The outputs of OneChannelPerTrackWithMosTo8Tracks for a -- specific channel value and inputs are as follows: -- -- -- -- $sel:bitRate:AudioParameters', audioParameters_bitRate - -- The bit rate of the audio stream in the output file, in -- kilobits/second. Enter an integer between 64 and 320, inclusive. -- -- $sel:channels:AudioParameters', audioParameters_channels -- - The number of audio channels in the output file. The following -- values are valid: -- -- auto, 0, 1, 2 -- -- One channel carries the information played by a single speaker. For -- example, a stereo track with two channels sends one channel to the -- left speaker, and the other channel to the right speaker. The output -- channels are organized into tracks. If you want Elastic Transcoder to -- automatically detect the number of audio channels in the input file -- and use that value for the output file, select auto. -- -- The output of a specific channel value and inputs are as follows: -- -- -- -- For more information about how Elastic Transcoder organizes channels -- and tracks, see Audio:AudioPackingMode. -- -- $sel:codec:AudioParameters', audioParameters_codec - The -- audio codec for the output file. Valid values include aac, -- flac, mp2, mp3, pcm, and -- vorbis. -- -- $sel:codecOptions:AudioParameters', -- audioParameters_codecOptions - If you specified AAC -- for Audio:Codec, this is the AAC compression profile -- to use. Valid values include: -- -- auto, AAC-LC, HE-AAC, HE-AACv2 -- -- If you specify auto, Elastic Transcoder chooses a profile -- based on the bit rate of the output file. -- -- $sel:sampleRate:AudioParameters', -- audioParameters_sampleRate - The sample rate of the audio -- stream in the output file, in Hertz. Valid values include: -- -- auto, 22050, 32000, 44100, -- 48000, 96000 -- -- If you specify auto, Elastic Transcoder automatically detects -- the sample rate. newAudioParameters :: AudioParameters -- | The file format of the output captions. If you leave this value blank, -- Elastic Transcoder returns an error. -- -- See: newCaptionFormat smart constructor. data CaptionFormat CaptionFormat' :: Maybe Encryption -> Maybe Text -> Maybe Text -> CaptionFormat -- | Create a value of CaptionFormat with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:CaptionFormat', captionFormat_encryption -- - The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. -- -- $sel:format:CaptionFormat', captionFormat_format - The -- format you specify determines whether Elastic Transcoder generates an -- embedded or sidecar caption for this output. -- -- -- -- $sel:pattern':CaptionFormat', captionFormat_pattern - -- The prefix for caption filenames, in the form -- description-{language}, where: -- -- -- -- If you don't include {language} in the file name pattern, -- Elastic Transcoder automatically appends "{language}" to the -- value that you specify for the description. In addition, Elastic -- Transcoder automatically appends the count to the end of the segment -- files. -- -- For example, suppose you're transcoding into srt format. When you -- enter "Sydney-{language}-sunrise", and the language of the captions is -- English (en), the name of the first caption file is be -- Sydney-en-sunrise00000.srt. newCaptionFormat :: CaptionFormat -- | A source file for the input sidecar captions used during the -- transcoding process. -- -- See: newCaptionSource smart constructor. data CaptionSource CaptionSource' :: Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> CaptionSource -- | Create a value of CaptionSource with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:CaptionSource', captionSource_encryption -- - The encryption settings, if any, that Elastic Transcoder needs to -- decyrpt your caption sources, or that you want Elastic Transcoder to -- apply to your caption sources. -- -- CaptionSource, captionSource_key - The name of the -- sidecar caption file that you want Elastic Transcoder to include in -- the output file. -- -- $sel:label:CaptionSource', captionSource_label - The -- label of the caption shown in the player when choosing a language. We -- recommend that you put the caption language name here, in the language -- of the captions. -- -- $sel:language:CaptionSource', captionSource_language - A -- string that specifies the language of the caption. If you specified -- multiple inputs with captions, the caption language must match in -- order to be included in the output. Specify this as one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. -- -- $sel:timeOffset:CaptionSource', captionSource_timeOffset -- - For clip generation or captions that do not start at the same time -- as the associated video file, the TimeOffset tells Elastic -- Transcoder how much of the video to encode before including captions. -- -- Specify the TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss. newCaptionSource :: CaptionSource -- | The captions to be created, if any. -- -- See: newCaptions smart constructor. data Captions Captions' :: Maybe [CaptionFormat] -> Maybe [CaptionSource] -> Maybe Text -> Captions -- | Create a value of Captions with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:captionFormats:Captions', captions_captionFormats - -- The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. -- -- $sel:captionSources:Captions', captions_captionSources - -- Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. -- -- $sel:mergePolicy:Captions', captions_mergePolicy - A -- policy that determines how Elastic Transcoder handles the existence of -- multiple captions. -- -- -- -- MergePolicy cannot be null. newCaptions :: Captions -- | Settings for one clip in a composition. All jobs in a playlist must -- have the same clip settings. -- -- See: newClip smart constructor. data Clip Clip' :: Maybe TimeSpan -> Clip -- | Create a value of Clip with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:timeSpan:Clip', clip_timeSpan - Settings that -- determine when a clip begins and how long it lasts. newClip :: Clip -- | The CreateJobOutput structure. -- -- See: newCreateJobOutput smart constructor. data CreateJobOutput CreateJobOutput' :: Maybe JobAlbumArt -> Maybe Captions -> Maybe [Clip] -> Maybe Encryption -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe [JobWatermark] -> CreateJobOutput -- | Create a value of CreateJobOutput with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArt:CreateJobOutput', createJobOutput_albumArt -- - Information about the album art that you want Elastic Transcoder to -- add to the file during transcoding. You can specify up to twenty album -- artworks for each output. Settings for each artwork must be defined in -- the job for the current output. -- -- $sel:captions:CreateJobOutput', createJobOutput_captions -- - You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:composition:CreateJobOutput', -- createJobOutput_composition - You can create an output file -- that contains an excerpt from the input file. This excerpt, called a -- clip, can come from the beginning, middle, or end of the file. The -- Composition object contains settings for the clips that make up an -- output file. For the current release, you can only specify settings -- for a single clip per output file. The Composition object cannot be -- null. -- -- CreateJobOutput, createJobOutput_encryption - You can -- specify encryption settings for any output files that you want to use -- for a transcoding job. This includes the output file and any -- watermarks, thumbnails, album art, or captions that you want to use. -- You must specify encryption settings for each file individually. -- -- CreateJobOutput, createJobOutput_key - The name to -- assign to the transcoded file. Elastic Transcoder saves the file in -- the Amazon S3 bucket specified by the OutputBucket object in -- the pipeline that is specified by the pipeline ID. If a file with the -- specified name already exists in the output bucket, the job fails. -- -- $sel:presetId:CreateJobOutput', createJobOutput_presetId -- - The Id of the preset to use for this job. The preset -- determines the audio, video, and thumbnail settings that Elastic -- Transcoder uses for transcoding. -- -- $sel:rotate:CreateJobOutput', createJobOutput_rotate - -- The number of degrees clockwise by which you want Elastic Transcoder -- to rotate the output relative to the input. Enter one of the following -- values: auto, 0, 90, 180, -- 270. The value auto generally works only if the file -- that you're transcoding contains rotation metadata. -- -- $sel:segmentDuration:CreateJobOutput', -- createJobOutput_segmentDuration - (Outputs in Fragmented MP4 or -- MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4 and Smooth playlists, all media segments for -- an output are stored in a single file. Each segment is approximately -- the length of the SegmentDuration, though individual segments -- might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. -- -- $sel:thumbnailEncryption:CreateJobOutput', -- createJobOutput_thumbnailEncryption - The encryption settings, -- if any, that you want Elastic Transcoder to apply to your thumbnail. -- -- $sel:thumbnailPattern:CreateJobOutput', -- createJobOutput_thumbnailPattern - Whether you want Elastic -- Transcoder to create thumbnails for your videos and, if so, how you -- want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. -- -- $sel:watermarks:CreateJobOutput', -- createJobOutput_watermarks - Information about the watermarks -- that you want Elastic Transcoder to add to the video during -- transcoding. You can specify up to four watermarks for each output. -- Settings for each watermark must be defined in the preset for the -- current output. newCreateJobOutput :: CreateJobOutput -- | Information about the master playlist. -- -- See: newCreateJobPlaylist smart constructor. data CreateJobPlaylist CreateJobPlaylist' :: Maybe Text -> Maybe HlsContentProtection -> Maybe Text -> Maybe [Text] -> Maybe PlayReadyDrm -> CreateJobPlaylist -- | Create a value of CreateJobPlaylist with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- CreateJobPlaylist, createJobPlaylist_format - The format -- of the output playlist. Valid formats include HLSv3, -- HLSv4, and Smooth. -- -- $sel:hlsContentProtection:CreateJobPlaylist', -- createJobPlaylist_hlsContentProtection - The HLS content -- protection settings, if any, that you want Elastic Transcoder to apply -- to the output files associated with this playlist. -- -- $sel:name:CreateJobPlaylist', createJobPlaylist_name - -- The name that you want Elastic Transcoder to assign to the master -- playlist, for example, nyc-vacation.m3u8. If the name includes a -- / character, the section of the name before the last -- / must be identical for all Name objects. If you -- create more than one master playlist, the values of all Name -- objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. -- -- $sel:outputKeys:CreateJobPlaylist', -- createJobPlaylist_outputKeys - For each output in this job that -- you want to include in a master playlist, the value of the -- Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. -- -- $sel:playReadyDrm:CreateJobPlaylist', -- createJobPlaylist_playReadyDrm - The DRM settings, if any, that -- you want Elastic Transcoder to apply to the output files associated -- with this playlist. newCreateJobPlaylist :: CreateJobPlaylist -- | The detected properties of the input file. Elastic Transcoder -- identifies these values from the input file. -- -- See: newDetectedProperties smart constructor. data DetectedProperties DetectedProperties' :: Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Int -> Maybe Int -> DetectedProperties -- | Create a value of DetectedProperties with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:durationMillis:DetectedProperties', -- detectedProperties_durationMillis - The detected duration of -- the input file, in milliseconds. -- -- $sel:fileSize:DetectedProperties', -- detectedProperties_fileSize - The detected file size of the -- input file, in bytes. -- -- $sel:frameRate:DetectedProperties', -- detectedProperties_frameRate - The detected frame rate of the -- input file, in frames per second. -- -- $sel:height:DetectedProperties', -- detectedProperties_height - The detected height of the input -- file, in pixels. -- -- $sel:width:DetectedProperties', detectedProperties_width -- - The detected width of the input file, in pixels. newDetectedProperties :: DetectedProperties -- | The encryption settings, if any, that are used for decrypting your -- input files or encrypting your output files. If your input file is -- encrypted, you must specify the mode that Elastic Transcoder uses to -- decrypt your file, otherwise you must specify the mode you want -- Elastic Transcoder to use to encrypt your output files. -- -- See: newEncryption smart constructor. data Encryption Encryption' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Encryption -- | Create a value of Encryption with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:initializationVector:Encryption', -- encryption_initializationVector - The series of random bits -- created by a random bit generator, unique for every encryption -- operation, that you used to encrypt your input files or that you want -- Elastic Transcoder to use to encrypt your output files. The -- initialization vector must be base64-encoded, and it must be exactly -- 16 bytes long before being base64-encoded. -- -- $sel:key:Encryption', encryption_key - The data -- encryption key that you want Elastic Transcoder to use to encrypt your -- output file, or that was used to encrypt your input file. The key must -- be base64-encoded and it must be one of the following bit lengths -- before being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using the Amazon Key Management -- Service. -- -- $sel:keyMd5:Encryption', encryption_keyMd5 - The MD5 -- digest of the key that you used to encrypt your input file, or that -- you want Elastic Transcoder to use to encrypt your output file. -- Elastic Transcoder uses the key digest as a checksum to make sure your -- key was not corrupted in transit. The key MD5 must be base64-encoded, -- and it must be exactly 16 bytes long before being base64-encoded. -- -- $sel:mode:Encryption', encryption_mode - The specific -- server-side encryption mode that you want Elastic Transcoder to use -- when decrypting your input files or encrypting your output files. -- Elastic Transcoder supports the following options: -- -- -- -- For all three AES options, you must provide the following settings, -- which must be base64-encoded: -- -- -- -- For the AES modes, your private encryption keys and your unencrypted -- data are never stored by AWS; therefore, it is important that you -- safely manage your encryption keys. If you lose them, you won't be -- able to unencrypt your data. newEncryption :: Encryption -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to your output files. -- -- See: newHlsContentProtection smart constructor. data HlsContentProtection HlsContentProtection' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> HlsContentProtection -- | Create a value of HlsContentProtection with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:initializationVector:HlsContentProtection', -- hlsContentProtection_initializationVector - If Elastic -- Transcoder is generating your key for you, you must leave this field -- blank. -- -- The series of random bits created by a random bit generator, unique -- for every encryption operation, that you want Elastic Transcoder to -- use to encrypt your output files. The initialization vector must be -- base64-encoded, and it must be exactly 16 bytes before being -- base64-encoded. -- -- $sel:key:HlsContentProtection', hlsContentProtection_key -- - If you want Elastic Transcoder to generate a key for you, leave this -- field blank. -- -- If you choose to supply your own key, you must encrypt the key by -- using AWS KMS. The key must be base64-encoded, and it must be one of -- the following bit lengths before being base64-encoded: -- -- 128, 192, or 256. -- -- $sel:keyMd5:HlsContentProtection', -- hlsContentProtection_keyMd5 - If Elastic Transcoder is -- generating your key for you, you must leave this field blank. -- -- The MD5 digest of the key that you want Elastic Transcoder to use to -- encrypt your output file, and that you want Elastic Transcoder to use -- as a checksum to make sure your key was not corrupted in transit. The -- key MD5 must be base64-encoded, and it must be exactly 16 bytes before -- being base64- encoded. -- -- $sel:keyStoragePolicy:HlsContentProtection', -- hlsContentProtection_keyStoragePolicy - Specify whether you -- want Elastic Transcoder to write your HLS license key to an Amazon S3 -- bucket. If you choose WithVariantPlaylists, -- LicenseAcquisitionUrl must be left blank and Elastic -- Transcoder writes your data key into the same bucket as the associated -- playlist. -- -- $sel:licenseAcquisitionUrl:HlsContentProtection', -- hlsContentProtection_licenseAcquisitionUrl - The location of -- the license key required to decrypt your HLS playlist. The URL must be -- an absolute path, and is referenced in the URI attribute of the -- EXT-X-KEY metadata tag in the playlist file. -- -- $sel:method:HlsContentProtection', -- hlsContentProtection_method - The content protection method for -- your output. The only valid value is: aes-128. -- -- This value is written into the method attribute of the -- EXT-X-KEY metadata tag in the output playlist. newHlsContentProtection :: HlsContentProtection -- | The captions to be created, if any. -- -- See: newInputCaptions smart constructor. data InputCaptions InputCaptions' :: Maybe [CaptionSource] -> Maybe Text -> InputCaptions -- | Create a value of InputCaptions with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:captionSources:InputCaptions', -- inputCaptions_captionSources - Source files for the input -- sidecar captions used during the transcoding process. To omit all -- sidecar captions, leave CaptionSources blank. -- -- $sel:mergePolicy:InputCaptions', -- inputCaptions_mergePolicy - A policy that determines how -- Elastic Transcoder handles the existence of multiple captions. -- -- -- -- MergePolicy cannot be null. newInputCaptions :: InputCaptions -- | A section of the response body that provides information about the job -- that is created. -- -- See: newJob smart constructor. data Job Job' :: Maybe Text -> Maybe Text -> Maybe JobInput -> Maybe [JobInput] -> Maybe JobOutput -> Maybe Text -> Maybe [JobOutput] -> Maybe Text -> Maybe [Playlist] -> Maybe Text -> Maybe Timing -> Maybe (HashMap Text Text) -> Job -- | Create a value of Job with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Job', job_arn - The Amazon Resource Name (ARN) -- for the job. -- -- Job, job_id - The identifier that Elastic Transcoder -- assigned to the job. You use this value to get settings for the job or -- to delete the job. -- -- $sel:input:Job', job_input - A section of the request or -- response body that provides information about the file that is being -- transcoded. -- -- $sel:inputs:Job', job_inputs - Information about the -- files that you're transcoding. If you specified multiple files for -- this job, Elastic Transcoder stitches the files together to make one -- output. -- -- $sel:output:Job', job_output - If you specified one -- output for a job, information about that output. If you specified -- multiple outputs for a job, the Output object lists information about -- the first output. This duplicates the information that is listed for -- the first output in the Outputs object. -- -- Outputs recommended instead. -- -- A section of the request or response body that provides information -- about the transcoded (target) file. -- -- $sel:outputKeyPrefix:Job', job_outputKeyPrefix - 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. We recommend that you add a / or some other -- delimiter to the end of the OutputKeyPrefix. -- -- $sel:outputs:Job', job_outputs - Information about the -- output files. We recommend that you use the Outputs syntax -- for all jobs, even when you want Elastic Transcoder to transcode a -- file into only one format. Do not use both the Outputs and -- Output syntaxes in the same request. You can create a maximum -- of 30 outputs per job. -- -- If you specify more than one output for a job, Elastic Transcoder -- creates the files for each output in the order in which you specify -- them in the job. -- -- $sel:pipelineId:Job', job_pipelineId - 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. -- -- $sel:playlists:Job', job_playlists - Outputs in -- Fragmented MP4 or MPEG-TS format only. -- -- 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. -- -- Job, job_status - The status of the job: -- Submitted, Progressing, Complete, -- Canceled, or Error. -- -- $sel:timing:Job', job_timing - Details about the timing -- of a job. -- -- $sel:userMetadata:Job', job_userMetadata - 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. -- -- Metadata keys and values must use characters from -- the following list: -- -- newJob :: Job -- | The .jpg or .png file associated with an audio file. -- -- See: newJobAlbumArt smart constructor. data JobAlbumArt JobAlbumArt' :: Maybe [Artwork] -> Maybe Text -> JobAlbumArt -- | Create a value of JobAlbumArt with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artwork:JobAlbumArt', jobAlbumArt_artwork - The -- file to be used as album art. There can be multiple artworks -- associated with an audio file, to a maximum of 20. Valid formats are -- .jpg and .png -- -- $sel:mergePolicy:JobAlbumArt', jobAlbumArt_mergePolicy - -- A policy that determines how Elastic Transcoder handles the existence -- of multiple album artwork files. -- -- newJobAlbumArt :: JobAlbumArt -- | Information about the file that you're transcoding. -- -- See: newJobInput smart constructor. data JobInput JobInput' :: Maybe Text -> Maybe Text -> Maybe DetectedProperties -> Maybe Encryption -> Maybe Text -> Maybe InputCaptions -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe TimeSpan -> JobInput -- | Create a value of JobInput with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:JobInput', jobInput_aspectRatio - The -- aspect ratio of the input file. If you want Elastic Transcoder to -- automatically detect the aspect ratio of the input file, specify -- auto. If you want to specify the aspect ratio for the output -- file, enter one of the following values: -- -- 1:1, 4:3, 3:2, 16:9 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the aspect ratio. -- -- $sel:container:JobInput', jobInput_container - The -- container type for the input file. If you want Elastic Transcoder to -- automatically detect the container type of the input file, specify -- auto. If you want to specify the container type for the input -- file, enter one of the following values: -- -- 3gp, aac, asf, avi, divx, -- flv, m4a, mkv, mov, mp3, -- mp4, mpeg, mpeg-ps, mpeg-ts, -- mxf, ogg, vob, wav, webm -- -- $sel:detectedProperties:JobInput', -- jobInput_detectedProperties - The detected properties of the -- input file. -- -- $sel:encryption:JobInput', jobInput_encryption - The -- encryption settings, if any, that are used for decrypting your input -- files. If your input file is encrypted, you must specify the mode that -- Elastic Transcoder uses to decrypt your file. -- -- JobInput, jobInput_frameRate - The frame rate of the -- input file. If you want Elastic Transcoder to automatically detect the -- frame rate of the input file, specify auto. If you want to -- specify the frame rate for the input file, enter one of the following -- values: -- -- 10, 15, 23.97, 24, 25, -- 29.97, 30, 60 -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of the frame rate. -- -- $sel:inputCaptions:JobInput', jobInput_inputCaptions - -- You can configure Elastic Transcoder to transcode captions, or -- subtitles, from one format to another. All captions must be in UTF-8. -- Elastic Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:interlaced:JobInput', jobInput_interlaced - Whether -- the input file is interlaced. If you want Elastic Transcoder to -- automatically detect whether the input file is interlaced, specify -- auto. If you want to specify whether the input file is -- interlaced, enter one of the following values: -- -- true, false -- -- If you specify a value other than auto, Elastic Transcoder -- disables automatic detection of interlacing. -- -- JobInput, jobInput_key - The name of the file to -- transcode. Elsewhere in the body of the JSON block is the the ID of -- the pipeline to use for processing the job. The InputBucket -- object in that pipeline tells Elastic Transcoder which Amazon S3 -- bucket to get the file from. -- -- If the file name includes a prefix, such as -- cooking/lasagna.mpg, include the prefix in the key. If the -- file isn't in the specified bucket, Elastic Transcoder returns an -- error. -- -- $sel:resolution:JobInput', jobInput_resolution - This -- value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. -- -- $sel:timeSpan:JobInput', jobInput_timeSpan - Settings -- for clipping an input. Each input can have different clip settings. newJobInput :: JobInput -- | Outputs recommended instead. -- -- If you specified one output for a job, information about that output. -- If you specified multiple outputs for a job, the Output -- object lists information about the first output. This duplicates the -- information that is listed for the first output in the -- Outputs object. -- -- See: newJobOutput smart constructor. data JobOutput JobOutput' :: Maybe JobAlbumArt -> Maybe Text -> Maybe Captions -> Maybe [Clip] -> Maybe Integer -> Maybe Integer -> Maybe Encryption -> Maybe Integer -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Encryption -> Maybe Text -> Maybe [JobWatermark] -> Maybe Int -> JobOutput -- | Create a value of JobOutput with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:albumArt:JobOutput', jobOutput_albumArt - The album -- art to be associated with the output file, if any. -- -- $sel:appliedColorSpaceConversion:JobOutput', -- jobOutput_appliedColorSpaceConversion - If Elastic Transcoder -- used a preset with a ColorSpaceConversionMode to transcode -- the output file, the AppliedColorSpaceConversion parameter -- shows the conversion used. If no ColorSpaceConversionMode was -- defined in the preset, this parameter is not be included in the job -- response. -- -- $sel:captions:JobOutput', jobOutput_captions - You can -- configure Elastic Transcoder to transcode captions, or subtitles, from -- one format to another. All captions must be in UTF-8. Elastic -- Transcoder supports two types of captions: -- -- -- -- If you want ttml or smpte-tt compatible captions, specify dfxp as your -- output format. -- -- Elastic Transcoder does not support OCR (Optical Character -- Recognition), does not accept pictures as a valid input for captions, -- and is not available for audio-only transcoding. Elastic Transcoder -- does not preserve text formatting (for example, italics) during the -- transcoding process. -- -- To remove captions or leave the captions empty, set Captions -- to null. To pass through existing captions unchanged, set the -- MergePolicy to MergeRetain, and pass in a null -- CaptionSources array. -- -- For more information on embedded files, see the Subtitles Wikipedia -- page. -- -- For more information on sidecar files, see the Extensible Metadata -- Platform and Sidecar file Wikipedia pages. -- -- $sel:composition:JobOutput', jobOutput_composition - You -- can create an output file that contains an excerpt from the input -- file. This excerpt, called a clip, can come from the beginning, -- middle, or end of the file. The Composition object contains settings -- for the clips that make up an output file. For the current release, -- you can only specify settings for a single clip per output file. The -- Composition object cannot be null. -- -- $sel:duration:JobOutput', jobOutput_duration - Duration -- of the output file, in seconds. -- -- $sel:durationMillis:JobOutput', jobOutput_durationMillis -- - Duration of the output file, in milliseconds. -- -- JobOutput, jobOutput_encryption - The encryption -- settings, if any, that you want Elastic Transcoder to apply to your -- output files. If you choose to use encryption, you must specify a mode -- to use. If you choose not to use encryption, Elastic Transcoder writes -- an unencrypted file to your Amazon S3 bucket. -- -- $sel:fileSize:JobOutput', jobOutput_fileSize - File size -- of the output file, in bytes. -- -- $sel:frameRate:JobOutput', jobOutput_frameRate - Frame -- rate of the output file, in frames per second. -- -- $sel:height:JobOutput', jobOutput_height - Height of the -- output file, in pixels. -- -- $sel:id:JobOutput', jobOutput_id - A sequential counter, -- starting with 1, that identifies an output among the outputs from the -- current job. In the Output syntax, this value is always 1. -- -- JobOutput, jobOutput_key - The name to assign to the -- transcoded file. Elastic Transcoder saves the file in the Amazon S3 -- bucket specified by the OutputBucket object in the pipeline -- that is specified by the pipeline ID. -- -- $sel:presetId:JobOutput', jobOutput_presetId - The value -- of the Id object for the preset that you want to use for this -- job. The preset determines the audio, video, and thumbnail settings -- that Elastic Transcoder uses for transcoding. To use a preset that you -- created, specify the preset ID that Elastic Transcoder returned in the -- response when you created the preset. You can also use the Elastic -- Transcoder system presets, which you can get with -- ListPresets. -- -- $sel:rotate:JobOutput', jobOutput_rotate - The number of -- degrees clockwise by which you want Elastic Transcoder to rotate the -- output relative to the input. Enter one of the following values: -- -- auto, 0, 90, 180, 270 -- -- The value auto generally works only if the file that you're -- transcoding contains rotation metadata. -- -- $sel:segmentDuration:JobOutput', -- jobOutput_segmentDuration - (Outputs in Fragmented MP4 or -- MPEG-TS format only. -- -- If you specify a preset in PresetId for which the value of -- Container is fmp4 (Fragmented MP4) or ts -- (MPEG-TS), SegmentDuration is the target maximum duration of -- each segment in seconds. For HLSv3 format playlists, each -- media segment is stored in a separate .ts file. For -- HLSv4, MPEG-DASH, and Smooth playlists, all -- media segments for an output are stored in a single file. Each segment -- is approximately the length of the SegmentDuration, though -- individual segments might be shorter or longer. -- -- The range of valid values is 1 to 60 seconds. If the duration of the -- video is not evenly divisible by SegmentDuration, the -- duration of the last segment is the remainder of total -- length/SegmentDuration. -- -- Elastic Transcoder creates an output-specific playlist for each output -- HLS output that you specify in OutputKeys. To add an output -- to the master playlist for this job, include it in the -- OutputKeys of the associated playlist. -- -- $sel:status:JobOutput', jobOutput_status - The status of -- one output in a job. If you specified only one output for the job, -- Outputs:Status is always the same as Job:Status. If -- you specified more than one output: -- -- -- -- The value of Status is one of the following: -- Submitted, Progressing, Complete, -- Canceled, or Error. -- -- $sel:statusDetail:JobOutput', jobOutput_statusDetail - -- Information that further explains Status. -- -- $sel:thumbnailEncryption:JobOutput', -- jobOutput_thumbnailEncryption - The encryption settings, if -- any, that you want Elastic Transcoder to apply to your thumbnail. -- -- $sel:thumbnailPattern:JobOutput', -- jobOutput_thumbnailPattern - Whether you want Elastic -- Transcoder to create thumbnails for your videos and, if so, how you -- want Elastic Transcoder to name the files. -- -- If you don't want Elastic Transcoder to create thumbnails, specify "". -- -- If you do want Elastic Transcoder to create thumbnails, specify the -- information that you want to include in the file name for each -- thumbnail. You can specify the following values in any sequence: -- -- -- -- When creating thumbnails, Elastic Transcoder automatically saves the -- files in the format (.jpg or .png) that appears in the preset that you -- specified in the PresetID value of CreateJobOutput. -- Elastic Transcoder also appends the applicable file name extension. -- -- $sel:watermarks:JobOutput', jobOutput_watermarks - -- Information about the watermarks that you want Elastic Transcoder to -- add to the video during transcoding. You can specify up to four -- watermarks for each output. Settings for each watermark must be -- defined in the preset that you specify in Preset for the -- current output. -- -- Watermarks are added to the output video in the sequence in which you -- list them in the job output—the first watermark in the list is added -- to the output video first, the second watermark in the list is added -- next, and so on. As a result, if the settings in a preset cause -- Elastic Transcoder to place all watermarks in the same location, the -- second watermark that you add covers the first one, the third one -- covers the second, and the fourth one covers the third. -- -- $sel:width:JobOutput', jobOutput_width - Specifies the -- width of the output file in pixels. newJobOutput :: JobOutput -- | Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- See: newJobWatermark smart constructor. data JobWatermark JobWatermark' :: Maybe Encryption -> Maybe Text -> Maybe Text -> JobWatermark -- | Create a value of JobWatermark with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:encryption:JobWatermark', jobWatermark_encryption - -- The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. -- -- $sel:inputKey:JobWatermark', jobWatermark_inputKey - The -- name of the .png or .jpg file that you want to use for the watermark. -- To determine which Amazon S3 bucket contains the specified file, -- Elastic Transcoder checks the pipeline specified by Pipeline; -- the Input Bucket object in that pipeline identifies the -- bucket. -- -- If the file name includes a prefix, for example, -- logos/128x64.png, include the prefix in the key. If the file -- isn't in the specified bucket, Elastic Transcoder returns an error. -- -- $sel:presetWatermarkId:JobWatermark', -- jobWatermark_presetWatermarkId - The ID of the watermark -- settings that Elastic Transcoder uses to add watermarks to the video -- during transcoding. The settings are in the preset specified by Preset -- for the current output. In that preset, the value of Watermarks Id -- tells Elastic Transcoder which settings to use. newJobWatermark :: JobWatermark -- | The Amazon Simple Notification Service (Amazon SNS) topic or topics to -- notify in order to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- See: newNotifications smart constructor. data Notifications Notifications' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Notifications -- | Create a value of Notifications with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:completed:Notifications', notifications_completed - -- The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. -- -- $sel:error:Notifications', notifications_error - The -- Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. -- -- $sel:progressing:Notifications', -- notifications_progressing - The Amazon Simple Notification -- Service (Amazon SNS) topic that you want to notify when Elastic -- Transcoder has started to process the job. -- -- $sel:warning:Notifications', notifications_warning - The -- Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. newNotifications :: Notifications -- | The Permission structure. -- -- See: newPermission smart constructor. data Permission Permission' :: Maybe [Text] -> Maybe Text -> Maybe Text -> Permission -- | Create a value of Permission with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:access:Permission', permission_access - The -- permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- -- -- $sel:grantee:Permission', permission_grantee - The AWS -- user or group that you want to have access to transcoded files and -- playlists. To identify the user or group, you can specify the -- canonical user ID for an AWS account, an origin access identity for a -- CloudFront distribution, the registered email address of an AWS -- account, or a predefined Amazon S3 group. -- -- $sel:granteeType:Permission', permission_granteeType - -- The type of value that appears in the Grantee object: -- -- newPermission :: Permission -- | The pipeline (queue) that is used to manage jobs. -- -- See: newPipeline smart constructor. data Pipeline Pipeline' :: Maybe Text -> Maybe Text -> Maybe PipelineOutputConfig -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Notifications -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe PipelineOutputConfig -> Pipeline -- | Create a value of Pipeline with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Pipeline', pipeline_arn - The Amazon Resource -- Name (ARN) for the pipeline. -- -- $sel:awsKmsKeyArn:Pipeline', pipeline_awsKmsKeyArn - The -- AWS Key Management Service (AWS KMS) key that you want to use with -- this pipeline. -- -- If you use either s3 or s3-aws-kms as your -- Encryption:Mode, you don't need to provide a key with your -- job because a default key, known as an AWS-KMS key, is created for you -- automatically. You need to provide an AWS-KMS key only if you want to -- use a non-default AWS-KMS key, or if you are using an -- Encryption:Mode of aes-cbc-pkcs7, aes-ctr, -- or aes-gcm. -- -- $sel:contentConfig:Pipeline', pipeline_contentConfig - -- Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save transcoded files and playlists. Either you specify -- both ContentConfig and ThumbnailConfig, or you -- specify OutputBucket. -- -- -- -- $sel:id:Pipeline', pipeline_id - The identifier for the -- pipeline. You use this value to identify the pipeline in which you -- want to perform a variety of operations, such as creating a job or a -- preset. -- -- $sel:inputBucket:Pipeline', pipeline_inputBucket - The -- Amazon S3 bucket from which Elastic Transcoder gets media files for -- transcoding and the graphics files, if any, that you want to use for -- watermarks. -- -- $sel:name:Pipeline', pipeline_name - The name of the -- pipeline. We recommend that the name be unique within the AWS account, -- but uniqueness is not enforced. -- -- Constraints: Maximum 40 characters -- -- $sel:notifications:Pipeline', pipeline_notifications - -- The Amazon Simple Notification Service (Amazon SNS) topic that you -- want to notify to report job status. -- -- To receive notifications, you must also subscribe to the new topic in -- the Amazon SNS console. -- -- -- -- $sel:outputBucket:Pipeline', pipeline_outputBucket - The -- Amazon S3 bucket in which you want Elastic Transcoder to save -- transcoded files, thumbnails, and playlists. Either you specify this -- value, or you specify both ContentConfig and -- ThumbnailConfig. -- -- $sel:role':Pipeline', pipeline_role - The IAM Amazon -- Resource Name (ARN) for the role that Elastic Transcoder uses to -- transcode jobs for this pipeline. -- -- $sel:status:Pipeline', pipeline_status - The current -- status of the pipeline: -- -- -- -- $sel:thumbnailConfig:Pipeline', pipeline_thumbnailConfig -- - Information about the Amazon S3 bucket in which you want Elastic -- Transcoder to save thumbnail files. Either you specify both -- ContentConfig and ThumbnailConfig, or you specify -- OutputBucket. -- -- newPipeline :: Pipeline -- | The PipelineOutputConfig structure. -- -- See: newPipelineOutputConfig smart constructor. data PipelineOutputConfig PipelineOutputConfig' :: Maybe Text -> Maybe [Permission] -> Maybe Text -> PipelineOutputConfig -- | Create a value of PipelineOutputConfig with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:bucket:PipelineOutputConfig', -- pipelineOutputConfig_bucket - The Amazon S3 bucket in which you -- want Elastic Transcoder to save the transcoded files. Specify this -- value when all of the following are true: -- -- -- -- If you want to save transcoded files and playlists in one bucket and -- thumbnails in another bucket, specify which users can access the -- transcoded files or the permissions the users have, or change the -- Amazon S3 storage class, omit OutputBucket and specify values for -- ContentConfig and ThumbnailConfig instead. -- -- $sel:permissions:PipelineOutputConfig', -- pipelineOutputConfig_permissions - Optional. The -- Permissions object specifies which users and/or predefined -- Amazon S3 groups you want to have access to transcoded files and -- playlists, and the type of access you want them to have. You can grant -- permissions to a maximum of 30 users and/or predefined Amazon S3 -- groups. -- -- If you include Permissions, Elastic Transcoder grants only -- the permissions that you specify. It does not grant full permissions -- to the owner of the role specified by Role. If you want that -- user to have full control, you must explicitly grant full control to -- the user. -- -- If you omit Permissions, Elastic Transcoder grants full -- control over the transcoded files and playlists to the owner of the -- role specified by Role, and grants no other permissions to -- any other user or group. -- -- $sel:storageClass:PipelineOutputConfig', -- pipelineOutputConfig_storageClass - The Amazon S3 storage -- class, Standard or ReducedRedundancy, that you want -- Elastic Transcoder to assign to the video files and playlists that it -- stores in your Amazon S3 bucket. newPipelineOutputConfig :: PipelineOutputConfig -- | The PlayReady DRM settings, if any, that you want Elastic Transcoder -- to apply to the output files associated with this playlist. -- -- PlayReady DRM encrypts your media files using aes-ctr -- encryption. -- -- If you use DRM for an HLSv3 playlist, your outputs must have -- a master playlist. -- -- See: newPlayReadyDrm smart constructor. data PlayReadyDrm PlayReadyDrm' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PlayReadyDrm -- | Create a value of PlayReadyDrm with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:format:PlayReadyDrm', playReadyDrm_format - The -- type of DRM, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:initializationVector:PlayReadyDrm', -- playReadyDrm_initializationVector - The series of random bits -- created by a random bit generator, unique for every encryption -- operation, that you want Elastic Transcoder to use to encrypt your -- files. The initialization vector must be base64-encoded, and it must -- be exactly 8 bytes long before being base64-encoded. If no -- initialization vector is provided, Elastic Transcoder generates one -- for you. -- -- $sel:key:PlayReadyDrm', playReadyDrm_key - The DRM key -- for your file, provided by your DRM license provider. The key must be -- base64-encoded, and it must be one of the following bit lengths before -- being base64-encoded: -- -- 128, 192, or 256. -- -- The key must also be encrypted by using AWS KMS. -- -- $sel:keyId:PlayReadyDrm', playReadyDrm_keyId - The ID -- for your DRM key, so that your DRM license provider knows which key to -- provide. -- -- The key ID must be provided in big endian, and Elastic Transcoder -- converts it to little endian before inserting it into the PlayReady -- DRM headers. If you are unsure whether your license server provides -- your key ID in big or little endian, check with your DRM provider. -- -- $sel:keyMd5:PlayReadyDrm', playReadyDrm_keyMd5 - The MD5 -- digest of the key used for DRM on your file, and that you want Elastic -- Transcoder to use as a checksum to make sure your key was not -- corrupted in transit. The key MD5 must be base64-encoded, and it must -- be exactly 16 bytes before being base64-encoded. -- -- $sel:licenseAcquisitionUrl:PlayReadyDrm', -- playReadyDrm_licenseAcquisitionUrl - The location of the -- license key required to play DRM content. The URL must be an absolute -- path, and is referenced by the PlayReady header. The PlayReady header -- is referenced in the protection header of the client manifest for -- Smooth Streaming outputs, and in the EXT-X-DXDRM and EXT-XDXDRMINFO -- metadata tags for HLS playlist outputs. An example URL looks like -- this: https://www.example.com/exampleKey/ newPlayReadyDrm :: PlayReadyDrm -- | Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a -- preset 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. We -- recommend that you create only one master playlist per output format. -- The maximum number of master playlists in a job is 30. -- -- See: newPlaylist smart constructor. data Playlist Playlist' :: Maybe Text -> Maybe HlsContentProtection -> Maybe Text -> Maybe [Text] -> Maybe PlayReadyDrm -> Maybe Text -> Maybe Text -> Playlist -- | Create a value of Playlist with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- Playlist, playlist_format - The format of the output -- playlist. Valid formats include HLSv3, HLSv4, and -- Smooth. -- -- $sel:hlsContentProtection:Playlist', -- playlist_hlsContentProtection - The HLS content protection -- settings, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:name:Playlist', playlist_name - The name that you -- want Elastic Transcoder to assign to the master playlist, for example, -- nyc-vacation.m3u8. If the name includes a / character, the -- section of the name before the last / must be identical for -- all Name objects. If you create more than one master -- playlist, the values of all Name objects must be unique. -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name (.m3u8 for HLSv3 and HLSv4 -- playlists, and .ism and .ismc for Smooth -- playlists). If you include a file extension in Name, the file -- name will have two extensions. -- -- $sel:outputKeys:Playlist', playlist_outputKeys - For -- each output in this job that you want to include in a master playlist, -- the value of the Outputs:Key object. -- -- -- -- Elastic Transcoder automatically appends the relevant file extension -- to the file name. If you include a file extension in Output Key, the -- file name will have two extensions. -- -- If you include more than one output in a playlist, any segment -- duration settings, clip settings, or caption settings must be the same -- for all outputs in the playlist. For Smooth playlists, the -- Audio:Profile, Video:Profile, and -- Video:FrameRate to Video:KeyframesMaxDist ratio must -- be the same for all outputs. -- -- $sel:playReadyDrm:Playlist', playlist_playReadyDrm - The -- DRM settings, if any, that you want Elastic Transcoder to apply to the -- output files associated with this playlist. -- -- $sel:status:Playlist', playlist_status - The status of -- the job with which the playlist is associated. -- -- $sel:statusDetail:Playlist', playlist_statusDetail - -- Information that further explains the status. newPlaylist :: Playlist -- | Presets are templates that contain most of the settings for -- transcoding media files from one format to another. Elastic Transcoder -- includes some default presets for common formats, for example, several -- iPod and iPhone versions. You can also create your own presets for -- formats that aren't included among the default presets. You specify -- which preset you want to use when you create a job. -- -- See: newPreset smart constructor. data Preset Preset' :: Maybe Text -> Maybe AudioParameters -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Thumbnails -> Maybe Text -> Maybe VideoParameters -> Preset -- | Create a value of Preset with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:arn:Preset', preset_arn - The Amazon Resource Name -- (ARN) for the preset. -- -- $sel:audio:Preset', preset_audio - A section of the -- response body that provides information about the audio preset values. -- -- $sel:container:Preset', preset_container - The container -- type for the output file. Valid values include flac, -- flv, fmp4, gif, mp3, mp4, -- mpg, mxf, oga, ogg, ts, -- and webm. -- -- $sel:description:Preset', preset_description - A -- description of the preset. -- -- $sel:id:Preset', preset_id - Identifier for the new -- preset. You use this value to get settings for the preset or to delete -- it. -- -- $sel:name:Preset', preset_name - The name of the preset. -- -- $sel:thumbnails:Preset', preset_thumbnails - A section -- of the response body that provides information about the thumbnail -- preset values, if any. -- -- $sel:type':Preset', preset_type - Whether the preset is -- a default preset provided by Elastic Transcoder (System) or a -- preset that you have defined (Custom). -- -- $sel:video:Preset', preset_video - A section of the -- response body that provides information about the video preset values. newPreset :: Preset -- | Settings for the size, location, and opacity of graphics that you want -- Elastic Transcoder to overlay over videos that are transcoded using -- this preset. You can specify settings for up to four watermarks. -- Watermarks appear in the specified size and location, and with the -- specified opacity for the duration of the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. -- -- See: newPresetWatermark smart constructor. data PresetWatermark PresetWatermark' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PresetWatermark -- | Create a value of PresetWatermark with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:horizontalAlign:PresetWatermark', -- presetWatermark_horizontalAlign - The horizontal position of -- the watermark unless you specify a non-zero value for -- HorizontalOffset: -- -- -- -- $sel:horizontalOffset:PresetWatermark', -- presetWatermark_horizontalOffset - The amount by which you want -- the horizontal position of the watermark to be offset from the -- position specified by HorizontalAlign: -- -- -- -- For example, if you specify Left for HorizontalAlign and 5px -- for HorizontalOffset, the left side of the watermark appears -- 5 pixels from the left border of the output video. -- -- HorizontalOffset is only valid when the value of -- HorizontalAlign is Left or Right. If you -- specify an offset that causes the watermark to extend beyond the left -- or right border and Elastic Transcoder has not added black bars, the -- watermark is cropped. If Elastic Transcoder has added black bars, the -- watermark extends into the black bars. If the watermark extends beyond -- the black bars, it is cropped. -- -- Use the value of Target to specify whether you want to -- include the black bars that are added by Elastic Transcoder, if any, -- in the offset calculation. -- -- $sel:id:PresetWatermark', presetWatermark_id - A unique -- identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. -- -- $sel:maxHeight:PresetWatermark', -- presetWatermark_maxHeight - The maximum height of the watermark -- in one of the following formats: -- -- -- -- If you specify the value in pixels, it must be less than or equal to -- the value of MaxHeight. -- -- $sel:maxWidth:PresetWatermark', presetWatermark_maxWidth -- - The maximum width of the watermark in one of the following formats: -- -- -- -- $sel:opacity:PresetWatermark', presetWatermark_opacity - -- A percentage that indicates how much you want a watermark to obscure -- the video in the location where it appears. Valid values are 0 (the -- watermark is invisible) to 100 (the watermark completely obscures the -- video in the specified location). The datatype of Opacity is -- float. -- -- Elastic Transcoder supports transparent .png graphics. If you use a -- transparent .png, the transparent portion of the video appears as if -- you had specified a value of 0 for Opacity. The .jpg file -- format doesn't support transparency. -- -- $sel:sizingPolicy:PresetWatermark', -- presetWatermark_sizingPolicy - A value that controls scaling of -- the watermark: -- -- -- -- $sel:target:PresetWatermark', presetWatermark_target - A -- value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- -- -- $sel:verticalAlign:PresetWatermark', -- presetWatermark_verticalAlign - The vertical position of the -- watermark unless you specify a non-zero value for -- VerticalOffset: -- -- -- -- $sel:verticalOffset:PresetWatermark', -- presetWatermark_verticalOffset - VerticalOffset -- -- The amount by which you want the vertical position of the watermark to -- be offset from the position specified by VerticalAlign: -- -- -- -- For example, if you specify Top for VerticalAlign -- and 5px for VerticalOffset, the top of the watermark -- appears 5 pixels from the top border of the output video. -- -- VerticalOffset is only valid when the value of VerticalAlign -- is Top or Bottom. -- -- If you specify an offset that causes the watermark to extend beyond -- the top or bottom border and Elastic Transcoder has not added black -- bars, the watermark is cropped. If Elastic Transcoder has added black -- bars, the watermark extends into the black bars. If the watermark -- extends beyond the black bars, it is cropped. -- -- Use the value of Target to specify whether you want Elastic -- Transcoder to include the black bars that are added by Elastic -- Transcoder, if any, in the offset calculation. newPresetWatermark :: PresetWatermark -- | Thumbnails for videos. -- -- See: newThumbnails smart constructor. data Thumbnails Thumbnails' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Thumbnails -- | Create a value of Thumbnails with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:Thumbnails', thumbnails_aspectRatio - -- To better control resolution and aspect ratio of thumbnails, we -- recommend that you use the values MaxWidth, -- MaxHeight, SizingPolicy, and PaddingPolicy -- instead of Resolution and AspectRatio. The two -- groups of settings are mutually exclusive. Do not use them together. -- -- The aspect ratio of thumbnails. Valid values include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the video in the output file. -- -- $sel:format:Thumbnails', thumbnails_format - The format -- of thumbnails, if any. Valid values are jpg and png. -- -- You specify whether you want Elastic Transcoder to create thumbnails -- when you create a job. -- -- $sel:interval:Thumbnails', thumbnails_interval - The -- approximate number of seconds between thumbnails. Specify an integer -- value. -- -- $sel:maxHeight:Thumbnails', thumbnails_maxHeight - The -- maximum height of thumbnails in pixels. If you specify auto, Elastic -- Transcoder uses 1080 (Full HD) as the default value. If you specify a -- numeric value, enter an even integer between 32 and 3072. -- -- $sel:maxWidth:Thumbnails', thumbnails_maxWidth - The -- maximum width of thumbnails in pixels. If you specify auto, Elastic -- Transcoder uses 1920 (Full HD) as the default value. If you specify a -- numeric value, enter an even integer between 32 and 4096. -- -- $sel:paddingPolicy:Thumbnails', thumbnails_paddingPolicy -- - When you set PaddingPolicy to Pad, Elastic -- Transcoder may add black bars to the top and bottom and/or left and -- right sides of thumbnails to make the total size of the thumbnails -- match the values that you specified for thumbnail MaxWidth -- and MaxHeight settings. -- -- $sel:resolution:Thumbnails', thumbnails_resolution - To -- better control resolution and aspect ratio of thumbnails, we recommend -- that you use the values MaxWidth, MaxHeight, -- SizingPolicy, and PaddingPolicy instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The width and height of thumbnail files in pixels. Specify a value in -- the format width x -- height where both values are even -- integers. The values cannot exceed the width and height that you -- specified in the Video:Resolution object. -- -- $sel:sizingPolicy:Thumbnails', thumbnails_sizingPolicy - -- Specify one of the following values to control scaling of thumbnails: -- -- newThumbnails :: Thumbnails -- | Settings that determine when a clip begins and how long it lasts. -- -- See: newTimeSpan smart constructor. data TimeSpan TimeSpan' :: Maybe Text -> Maybe Text -> TimeSpan -- | Create a value of TimeSpan with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:duration:TimeSpan', timeSpan_duration - The -- duration of the clip. The format can be either HH:mm:ss.SSS (maximum -- value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS -- (maximum value: 86399.999). If you don't specify a value, Elastic -- Transcoder creates an output file from StartTime to the end of the -- file. -- -- If you specify a value longer than the duration of the input file, -- Elastic Transcoder transcodes the file and returns a warning message. -- -- $sel:startTime:TimeSpan', timeSpan_startTime - The place -- in the input file where you want a clip to start. The format can be -- either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths -- of a second) or sssss.SSS (maximum value: 86399.999). If you don't -- specify a value, Elastic Transcoder starts at the beginning of the -- input file. newTimeSpan :: TimeSpan -- | Details about the timing of a job. -- -- See: newTiming smart constructor. data Timing Timing' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Timing -- | Create a value of Timing with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:finishTimeMillis:Timing', timing_finishTimeMillis - -- The time the job finished transcoding, in epoch milliseconds. -- -- $sel:startTimeMillis:Timing', timing_startTimeMillis - -- The time the job began transcoding, in epoch milliseconds. -- -- $sel:submitTimeMillis:Timing', timing_submitTimeMillis - -- The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. newTiming :: Timing -- | The VideoParameters structure. -- -- See: newVideoParameters smart constructor. data VideoParameters VideoParameters' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PresetWatermark] -> VideoParameters -- | Create a value of VideoParameters with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aspectRatio:VideoParameters', -- videoParameters_aspectRatio - To better control resolution and -- aspect ratio of output videos, we recommend that you use the values -- MaxWidth, MaxHeight, SizingPolicy, -- PaddingPolicy, and DisplayAspectRatio instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The display aspect ratio of the video in the output file. Valid values -- include: -- -- auto, 1:1, 4:3, 3:2, 16:9 -- -- If you specify auto, Elastic Transcoder tries to preserve the -- aspect ratio of the input file. -- -- If you specify an aspect ratio for the output file that differs from -- aspect ratio of the input file, Elastic Transcoder adds pillarboxing -- (black bars on the sides) or letterboxing (black bars on the top and -- bottom) to maintain the aspect ratio of the active region of the -- video. -- -- $sel:bitRate:VideoParameters', videoParameters_bitRate - -- The bit rate of the video stream in the output file, in -- kilobits/second. Valid values depend on the values of Level -- and Profile. If you specify auto, Elastic Transcoder -- uses the detected bit rate of the input source. If you specify a value -- other than auto, we recommend that you specify a value less -- than or equal to the maximum H.264-compliant value listed for your -- level and profile: -- -- /Level - Maximum video bit rate in kilobits/second (baseline and main -- Profile) : maximum video bit rate in kilobits/second (high Profile)/ -- -- -- -- $sel:codec:VideoParameters', videoParameters_codec - The -- video codec for the output file. Valid values include gif, -- H.264, mpeg2, vp8, and vp9. You -- can only specify vp8 and vp9 when the container type -- is webm, gif when the container type is -- gif, and mpeg2 when the container type is -- mpg. -- -- $sel:codecOptions:VideoParameters', -- videoParameters_codecOptions - Profile (H.264/VP8/VP9 -- Only) -- -- The H.264 profile that you want to use for the output file. Elastic -- Transcoder supports the following profiles: -- -- -- -- Level (H.264 Only) -- -- The H.264 level that you want to use for the output file. Elastic -- Transcoder supports the following levels: -- -- 1, 1b, 1.1, 1.2, 1.3, -- 2, 2.1, 2.2, 3, 3.1, -- 3.2, 4, 4.1 -- -- MaxReferenceFrames (H.264 Only) -- -- Applicable only when the value of Video:Codec is H.264. The maximum -- number of previously decoded frames to use as a reference for decoding -- future frames. Valid values are integers 0 through 16, but we -- recommend that you not use a value greater than the following: -- --
--   Min(Floor(Maximum decoded picture buffer in macroblocks * 256 / (Width in pixels * Height in pixels)), 16)
--   
-- -- where Width in pixels and Height in pixels represent -- either MaxWidth and MaxHeight, or Resolution. /Maximum decoded picture -- buffer in macroblocks/ depends on the value of the Level -- object. See the list below. (A macroblock is a block of pixels -- measuring 16x16.) -- -- -- -- MaxBitRate (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits per second in a video buffer; the size of -- the buffer is specified by BufferSize. Specify a value -- between 16 and 62,500. You can reduce the bandwidth required to stream -- a video by reducing the maximum bit rate, but this also reduces the -- quality of the video. -- -- BufferSize (Optional, H.264/MPEG2/VP8/VP9 only) -- -- The maximum number of bits in any x seconds of the output video. This -- window is commonly 10 seconds, the standard segment duration when -- you're using FMP4 or MPEG-TS for the container type of the output -- video. Specify an integer greater than 0. If you specify -- MaxBitRate and omit BufferSize, Elastic Transcoder -- sets BufferSize to 10 times the value of MaxBitRate. -- -- InterlacedMode (Optional, H.264/MPEG2 Only) -- -- The interlace mode for the output video. -- -- Interlaced video is used to double the perceived frame rate for a -- video by interlacing two fields (one field on every other line, the -- other field on the other lines) so that the human eye registers -- multiple pictures per frame. Interlacing reduces the bandwidth -- required for transmitting a video, but can result in blurred images -- and flickering. -- -- Valid values include Progressive (no interlacing, top to -- bottom), TopFirst (top field first), BottomFirst -- (bottom field first), and Auto. -- -- If InterlaceMode is not specified, Elastic Transcoder uses -- Progressive for the output. If Auto is specified, -- Elastic Transcoder interlaces the output. -- -- ColorSpaceConversionMode (Optional, H.264/MPEG2 Only) -- -- The color space conversion Elastic Transcoder applies to the output -- video. Color spaces are the algorithms used by the computer to store -- information about how to render color. Bt.601 is the standard -- for standard definition video, while Bt.709 is the standard -- for high definition video. -- -- Valid values include None, Bt709toBt601, -- Bt601toBt709, and Auto. -- -- If you chose Auto for ColorSpaceConversionMode and -- your output is interlaced, your frame rate is one of 23.97, -- 24, 25, 29.97, 50, or 60, -- your SegmentDuration is null, and you are using one of the -- resolution changes from the list below, Elastic Transcoder applies the -- following color space conversions: -- -- -- -- Elastic Transcoder may change the behavior of the -- ColorspaceConversionMode Auto mode in the future. -- All outputs in a playlist must use the same -- ColorSpaceConversionMode. -- -- If you do not specify a ColorSpaceConversionMode, Elastic -- Transcoder does not change the color space of a file. If you are -- unsure what ColorSpaceConversionMode was applied to your -- output file, you can check the AppliedColorSpaceConversion -- parameter included in your job response. If your job does not have an -- AppliedColorSpaceConversion in its response, no -- ColorSpaceConversionMode was applied. -- -- ChromaSubsampling -- -- The sampling pattern for the chroma (color) channels of the output -- video. Valid values include yuv420p and yuv422p. -- -- yuv420p samples the chroma information of every other -- horizontal and every other vertical line, yuv422p samples the -- color information of every horizontal line and every other vertical -- line. -- -- LoopCount (Gif Only) -- -- The number of times you want the output gif to loop. Valid values -- include Infinite and integers between 0 and -- 100, inclusive. -- -- $sel:displayAspectRatio:VideoParameters', -- videoParameters_displayAspectRatio - The value that Elastic -- Transcoder adds to the metadata in the output file. -- -- $sel:fixedGOP:VideoParameters', videoParameters_fixedGOP -- - Applicable only when the value of Video:Codec is one of -- H.264, MPEG2, or VP8. -- -- Whether to use a fixed value for FixedGOP. Valid values are -- true and false: -- -- -- -- FixedGOP must be set to true for fmp4 -- containers. -- -- $sel:frameRate:VideoParameters', -- videoParameters_frameRate - The frames per second for the video -- stream in the output file. Valid values include: -- -- auto, 10, 15, 23.97, 24, -- 25, 29.97, 30, 60 -- -- If you specify auto, Elastic Transcoder uses the detected -- frame rate of the input source. If you specify a frame rate, we -- recommend that you perform the following calculation: -- --
--   Frame rate = maximum recommended decoding speed in luma samples/second / (width in pixels * height in pixels)
--   
-- -- where: -- -- -- -- The maximum recommended decoding speed in Luma samples/second for each -- level is described in the following list (Level - Decoding -- speed): -- -- -- -- $sel:keyframesMaxDist:VideoParameters', -- videoParameters_keyframesMaxDist - Applicable only when the -- value of Video:Codec is one of H.264, MPEG2, or -- VP8. -- -- The maximum number of frames between key frames. Key frames are fully -- encoded frames; the frames between key frames are encoded based, in -- part, on the content of the key frames. The value is an integer -- formatted as a string; valid values are between 1 (every frame is a -- key frame) and 100000, inclusive. A higher value results in higher -- compression but may also discernibly decrease video quality. -- -- For Smooth outputs, the FrameRate must have a -- constant ratio to the KeyframesMaxDist. This allows -- Smooth playlists to switch between different quality levels -- while the file is being played. -- -- For example, an input file can have a FrameRate of 30 with a -- KeyframesMaxDist of 90. The output file then needs to have a -- ratio of 1:3. Valid outputs would have FrameRate of 30, 25, -- and 10, and KeyframesMaxDist of 90, 75, and 30, respectively. -- -- Alternately, this can be achieved by setting FrameRate to -- auto and having the same values for MaxFrameRate and -- KeyframesMaxDist. -- -- $sel:maxFrameRate:VideoParameters', -- videoParameters_maxFrameRate - If you specify auto for -- FrameRate, Elastic Transcoder uses the frame rate of the -- input video for the frame rate of the output video. Specify the -- maximum frame rate that you want Elastic Transcoder to use when the -- frame rate of the input video is greater than the desired maximum -- frame rate of the output video. Valid values include: 10, -- 15, 23.97, 24, 25, 29.97, -- 30, 60. -- -- VideoParameters, videoParameters_maxHeight - The maximum -- height of the output video in pixels. If you specify auto, -- Elastic Transcoder uses 1080 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 96 and 3072. -- -- VideoParameters, videoParameters_maxWidth - The maximum -- width of the output video in pixels. If you specify auto, -- Elastic Transcoder uses 1920 (Full HD) as the default value. If you -- specify a numeric value, enter an even integer between 128 and 4096. -- -- $sel:paddingPolicy:VideoParameters', -- videoParameters_paddingPolicy - When you set -- PaddingPolicy to Pad, Elastic Transcoder may add -- black bars to the top and bottom and/or left and right sides of the -- output video to make the total size of the output video match the -- values that you specified for MaxWidth and -- MaxHeight. -- -- $sel:resolution:VideoParameters', -- videoParameters_resolution - To better control resolution and -- aspect ratio of output videos, we recommend that you use the values -- MaxWidth, MaxHeight, SizingPolicy, -- PaddingPolicy, and DisplayAspectRatio instead of -- Resolution and AspectRatio. The two groups of -- settings are mutually exclusive. Do not use them together. -- -- The width and height of the video in the output file, in pixels. Valid -- values are auto and width x height: -- -- -- -- Note the following about specifying the width and height: -- -- -- -- VideoParameters, videoParameters_sizingPolicy - Specify -- one of the following values to control scaling of the output video: -- -- -- -- $sel:watermarks:VideoParameters', -- videoParameters_watermarks - Settings for the size, location, -- and opacity of graphics that you want Elastic Transcoder to overlay -- over videos that are transcoded using this preset. You can specify -- settings for up to four watermarks. Watermarks appear in the specified -- size and location, and with the specified opacity for the duration of -- the transcoded video. -- -- Watermarks can be in .png or .jpg format. If you want to display a -- watermark that is not rectangular, use the .png format, which supports -- transparency. -- -- When you create a job that uses this preset, you specify the .png or -- .jpg graphics that you want Elastic Transcoder to include in the -- transcoded videos. You can specify fewer graphics in the job than you -- specify watermark settings in the preset, which allows you to use the -- same preset for up to four watermarks that have different dimensions. newVideoParameters :: VideoParameters -- | Elastic Transcoder returns a warning if the resources used by your -- pipeline are not in the same region as the pipeline. -- -- Using resources in the same region, such as your Amazon S3 buckets, -- Amazon SNS notification topics, and AWS KMS key, reduces processing -- time and prevents cross-regional charges. -- -- See: newWarning smart constructor. data Warning Warning' :: Maybe Text -> Maybe Text -> Warning -- | Create a value of Warning with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:code:Warning', warning_code - The code of the -- cross-regional warning. -- -- $sel:message:Warning', warning_message - The message -- explaining what resources are in a different region from the pipeline. -- -- AWS KMS keys must be in the same region as the pipeline. newWarning :: Warning