-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Elastic Transcoder SDK. -- @package amazonka-elastictranscoder @version 1.2.0.1 module Network.AWS.ElasticTranscoder.Types -- | API version '2012-09-25' of the Amazon Elastic Transcoder SDK -- configuration. elasticTranscoder :: Service -- | One or more required parameter values were not provided in the -- request. _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for IncompatibleVersionException' errors. _IncompatibleVersionException :: AsError a => Getting (First ServiceError) a ServiceError -- | General authentication failure. The request was not signed correctly. _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError -- | Elastic Transcoder encountered an unexpected exception while trying to -- fulfill the request. _InternalServiceException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError -- | Too many operations for a given AWS account. For example, the number -- of pipelines exceeds the maximum allowed. _LimitExceededException :: AsError a => Getting (First ServiceError) 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: artwork smart constructor. data Artwork -- | Creates a value of Artwork with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- artwork :: Artwork -- | Specify one of the following values to control scaling of the output -- album art: -- -- aSizingPolicy :: 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. aMaxHeight :: Lens' Artwork (Maybe Text) -- | The format of album art, if any. Valid formats are '.jpg' and '.png'. aAlbumArtFormat :: Lens' Artwork (Maybe Text) -- | 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. aInputKey :: 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. aPaddingPolicy :: Lens' Artwork (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your artwork. aEncryption :: Lens' Artwork (Maybe Encryption) -- | 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. aMaxWidth :: Lens' Artwork (Maybe Text) -- | Options associated with your audio codec. -- -- See: audioCodecOptions smart constructor. data AudioCodecOptions -- | Creates a value of AudioCodecOptions with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- audioCodecOptions :: 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'. acoBitDepth :: 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. acoSigned :: 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. acoProfile :: 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. acoBitOrder :: Lens' AudioCodecOptions (Maybe Text) -- | Parameters required for transcoding audio. -- -- See: audioParameters smart constructor. data AudioParameters -- | Creates a value of AudioParameters with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- audioParameters :: AudioParameters -- | 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'. apChannels :: Lens' AudioParameters (Maybe Text) -- | The audio codec for the output file. Valid values include -- aac, flac, mp2, mp3, pcm, -- and vorbis. apCodec :: Lens' AudioParameters (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: -- -- apAudioPackingMode :: Lens' AudioParameters (Maybe Text) -- | 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. apSampleRate :: 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. apBitRate :: 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. apCodecOptions :: Lens' AudioParameters (Maybe AudioCodecOptions) -- | The file format of the output captions. If you leave this value blank, -- Elastic Transcoder returns an error. -- -- See: captionFormat smart constructor. data CaptionFormat -- | Creates a value of CaptionFormat with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- captionFormat :: CaptionFormat -- | 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 will be -- Sydney-en-sunrise00000.srt. cfPattern :: Lens' CaptionFormat (Maybe Text) -- | The format you specify determines whether Elastic Transcoder generates -- an embedded or sidecar caption for this output. -- -- cfFormat :: Lens' CaptionFormat (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. cfEncryption :: Lens' CaptionFormat (Maybe Encryption) -- | A source file for the input sidecar captions used during the -- transcoding process. -- -- See: captionSource smart constructor. data CaptionSource -- | Creates a value of CaptionSource with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- captionSource :: CaptionSource -- | 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. csTimeOffset :: Lens' CaptionSource (Maybe Text) -- | The name of the sidecar caption file that you want Elastic Transcoder -- to include in the output file. csKey :: Lens' CaptionSource (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption sources. csEncryption :: Lens' CaptionSource (Maybe Encryption) -- | A string that specifies the language of the caption. Specify this as -- one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. csLanguage :: 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. csLabel :: Lens' CaptionSource (Maybe Text) -- | The captions to be created, if any. -- -- See: captions smart constructor. data Captions -- | Creates a value of Captions with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- captions :: Captions -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. cMergePolicy :: Lens' Captions (Maybe Text) -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. cCaptionSources :: Lens' Captions [CaptionSource] -- | The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. cCaptionFormats :: Lens' Captions [CaptionFormat] -- | Settings for one clip in a composition. All jobs in a playlist must -- have the same clip settings. -- -- See: clip smart constructor. data Clip -- | Creates a value of Clip with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- clip :: Clip -- | Settings that determine when a clip begins and how long it lasts. cTimeSpan :: Lens' Clip (Maybe TimeSpan) -- | The CreateJobOutput structure. -- -- See: createJobOutput smart constructor. data CreateJobOutput -- | Creates a value of CreateJobOutput with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createJobOutput :: CreateJobOutput -- | 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. cjoThumbnailPattern :: Lens' CreateJobOutput (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. cjoCaptions :: Lens' CreateJobOutput (Maybe Captions) -- | 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. cjoPresetId :: Lens' CreateJobOutput (Maybe Text) -- | 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. cjoComposition :: Lens' CreateJobOutput [Clip] -- | 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. cjoAlbumArt :: Lens' CreateJobOutput (Maybe JobAlbumArt) -- | 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. cjoWatermarks :: Lens' CreateJobOutput [JobWatermark] -- | 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. cjoKey :: Lens' CreateJobOutput (Maybe Text) -- | 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. cjoEncryption :: Lens' CreateJobOutput (Maybe Encryption) -- | (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. cjoSegmentDuration :: Lens' CreateJobOutput (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. cjoThumbnailEncryption :: Lens' CreateJobOutput (Maybe Encryption) -- | 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. cjoRotate :: Lens' CreateJobOutput (Maybe Text) -- | Information about the master playlist. -- -- See: createJobPlaylist smart constructor. data CreateJobPlaylist -- | Creates a value of CreateJobPlaylist with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createJobPlaylist :: CreateJobPlaylist -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. cjpPlayReadyDrm :: Lens' CreateJobPlaylist (Maybe PlayReadyDrm) -- | 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. cjpOutputKeys :: Lens' CreateJobPlaylist [Text] -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. cjpFormat :: Lens' CreateJobPlaylist (Maybe Text) -- | 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. -- -- Note: 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. cjpName :: 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. cjpHlsContentProtection :: Lens' CreateJobPlaylist (Maybe HlsContentProtection) -- | The detected properties of the input file. Elastic Transcoder -- identifies these values from the input file. -- -- See: detectedProperties smart constructor. data DetectedProperties -- | Creates a value of DetectedProperties with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- detectedProperties :: DetectedProperties -- | The detected height of the input file, in pixels. dpHeight :: Lens' DetectedProperties (Maybe Int) -- | The detected frame rate of the input file, in frames per second. dpFrameRate :: Lens' DetectedProperties (Maybe Text) -- | The detected file size of the input file, in bytes. dpFileSize :: Lens' DetectedProperties (Maybe Integer) -- | The detected width of the input file, in pixels. dpWidth :: Lens' DetectedProperties (Maybe Int) -- | The detected duration of the input file, in milliseconds. dpDurationMillis :: Lens' DetectedProperties (Maybe Integer) -- | 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 will use -- to decrypt your file, otherwise you must specify the mode you want -- Elastic Transcoder to use to encrypt your output files. -- -- See: encryption smart constructor. data Encryption -- | Creates a value of Encryption with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- encryption :: Encryption -- | 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. eKeyMD5 :: 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. eMode :: 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. eKey :: Lens' Encryption (Maybe Text) -- | 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. eInitializationVector :: Lens' Encryption (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to your output files. -- -- See: hlsContentProtection smart constructor. data HlsContentProtection -- | Creates a value of HlsContentProtection with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- hlsContentProtection :: HlsContentProtection -- | 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. hcpKeyMD5 :: 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. hcpKeyStoragePolicy :: 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'. hcpKey :: Lens' HlsContentProtection (Maybe Text) -- | The content protection method for your output. The only valid value -- is: 'aes-128'. -- -- This value will be written into the method attribute of the -- 'EXT-X-KEY' metadata tag in the output playlist. hcpMethod :: 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. hcpLicenseAcquisitionURL :: Lens' HlsContentProtection (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. hcpInitializationVector :: Lens' HlsContentProtection (Maybe Text) -- | A section of the response body that provides information about the job -- that is created. -- -- See: job' smart constructor. data Job' -- | Creates a value of Job' with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- job' :: Job' -- | The status of the job: Submitted, Progressing, -- Complete, Canceled, or Error. jStatus :: Lens' Job' (Maybe 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. jPipelineId :: Lens' Job' (Maybe Text) -- | The Amazon Resource Name (ARN) for the job. jARN :: Lens' Job' (Maybe Text) -- | A section of the request or response body that provides information -- about the file that is being transcoded. jInput :: Lens' Job' (Maybe JobInput) -- | 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. jOutputs :: Lens' Job' [JobOutput] -- | 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 will be returned in the same -- order in which you specify them. -- -- Metadata keys and values must use characters from -- the following list: -- -- jUserMetadata :: Lens' Job' (HashMap Text Text) -- | 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. jOutput :: Lens' Job' (Maybe JobOutput) -- | The identifier that Elastic Transcoder assigned to the job. You use -- this value to get settings for the job or to delete the job. jId :: 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. jPlaylists :: Lens' Job' [Playlist] -- | Details about the timing of a job. jTiming :: Lens' Job' (Maybe Timing) -- | 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. jOutputKeyPrefix :: Lens' Job' (Maybe Text) -- | The .jpg or .png file associated with an audio file. -- -- See: jobAlbumArt smart constructor. data JobAlbumArt -- | Creates a value of JobAlbumArt with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- jobAlbumArt :: JobAlbumArt -- | A policy that determines how Elastic Transcoder will handle the -- existence of multiple album artwork files. -- -- jaaMergePolicy :: Lens' JobAlbumArt (Maybe 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' jaaArtwork :: Lens' JobAlbumArt [Artwork] -- | Information about the file that you're transcoding. -- -- See: jobInput smart constructor. data JobInput -- | Creates a value of JobInput with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- jobInput :: JobInput -- | 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. jiFrameRate :: Lens' JobInput (Maybe Text) -- | This value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. jiResolution :: Lens' JobInput (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. jiAspectRatio :: 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. jiKey :: Lens' JobInput (Maybe Text) -- | The detected properties of the input file. jiDetectedProperties :: 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 will use to decrypt your file. jiEncryption :: Lens' JobInput (Maybe Encryption) -- | 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 jiContainer :: Lens' JobInput (Maybe Text) -- | 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. jiInterlaced :: Lens' JobInput (Maybe Text) -- | 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: jobOutput smart constructor. data JobOutput -- | Creates a value of JobOutput with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- jobOutput :: JobOutput -- | 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 will not be included in the job response. joAppliedColorSpaceConversion :: 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. joStatus :: Lens' JobOutput (Maybe Text) -- | 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. joThumbnailPattern :: Lens' JobOutput (Maybe Text) -- | Height of the output file, in pixels. joHeight :: Lens' JobOutput (Maybe Int) -- | Frame rate of the output file, in frames per second. joFrameRate :: 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. joCaptions :: Lens' JobOutput (Maybe Captions) -- | 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. joPresetId :: Lens' JobOutput (Maybe Text) -- | 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. joComposition :: Lens' JobOutput [Clip] -- | The album art to be associated with the output file, if any. joAlbumArt :: Lens' JobOutput (Maybe JobAlbumArt) -- | File size of the output file, in bytes. joFileSize :: Lens' JobOutput (Maybe Integer) -- | 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 will cover the first one, the third one -- will cover the second, and the fourth one will cover the third. joWatermarks :: Lens' JobOutput [JobWatermark] -- | Specifies the width of the output file in pixels. joWidth :: Lens' JobOutput (Maybe Int) -- | 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. joKey :: Lens' JobOutput (Maybe Text) -- | 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 will write an unencrypted file to your Amazon S3 bucket. joEncryption :: Lens' JobOutput (Maybe Encryption) -- | 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. joId :: 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 -- 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. joSegmentDuration :: Lens' JobOutput (Maybe Text) -- | Information that further explains Status. joStatusDetail :: Lens' JobOutput (Maybe Text) -- | Duration of the output file, in milliseconds. joDurationMillis :: Lens' JobOutput (Maybe Integer) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. joThumbnailEncryption :: Lens' JobOutput (Maybe Encryption) -- | Duration of the output file, in seconds. joDuration :: Lens' JobOutput (Maybe Integer) -- | 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. joRotate :: Lens' JobOutput (Maybe Text) -- | 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: jobWatermark smart constructor. data JobWatermark -- | Creates a value of JobWatermark with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- jobWatermark :: JobWatermark -- | 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. jwPresetWatermarkId :: Lens' JobWatermark (Maybe Text) -- | 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. jwInputKey :: Lens' JobWatermark (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. jwEncryption :: Lens' JobWatermark (Maybe Encryption) -- | 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: notifications smart constructor. data Notifications -- | Creates a value of Notifications with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- notifications :: Notifications -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. nError :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. nWarning :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. nCompleted :: 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. nProgressing :: Lens' Notifications (Maybe Text) -- | The Permission structure. -- -- See: permission smart constructor. data Permission -- | Creates a value of Permission with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- permission :: Permission -- | The permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- pAccess :: Lens' Permission [Text] -- | The type of value that appears in the Grantee object: -- -- pGranteeType :: 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. pGrantee :: Lens' Permission (Maybe Text) -- | The pipeline (queue) that is used to manage jobs. -- -- See: pipeline smart constructor. data Pipeline -- | Creates a value of Pipeline with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- pipeline :: Pipeline -- | The current status of the pipeline: -- -- pipStatus :: Lens' Pipeline (Maybe Text) -- | The Amazon Resource Name (ARN) for the pipeline. pipARN :: 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. pipInputBucket :: 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. -- -- pipContentConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) -- | 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. pipOutputBucket :: Lens' Pipeline (Maybe Text) -- | The IAM Amazon Resource Name (ARN) for the role that Elastic -- Transcoder uses to transcode jobs for this pipeline. pipRole :: 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 pipName :: 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-PKCS7', 'AES-CTR', or 'AES-GCM'. pipAWSKMSKeyARN :: Lens' Pipeline (Maybe Text) -- | 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. pipId :: 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. -- -- pipThumbnailConfig :: Lens' Pipeline (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. -- -- pipNotifications :: Lens' Pipeline (Maybe Notifications) -- | The PipelineOutputConfig structure. -- -- See: pipelineOutputConfig smart constructor. data PipelineOutputConfig -- | Creates a value of PipelineOutputConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- pipelineOutputConfig :: 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. pocBucket :: Lens' PipelineOutputConfig (Maybe Text) -- | 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. pocStorageClass :: 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. pocPermissions :: Lens' PipelineOutputConfig [Permission] -- | 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: playReadyDrm smart constructor. data PlayReadyDrm -- | Creates a value of PlayReadyDrm with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- playReadyDrm :: PlayReadyDrm -- | 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 will -- convert 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. prdKeyId :: 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. prdKeyMD5 :: Lens' PlayReadyDrm (Maybe Text) -- | The type of DRM, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. prdFormat :: 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. prdKey :: 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/ prdLicenseAcquisitionURL :: 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. prdInitializationVector :: 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: playlist smart constructor. data Playlist -- | Creates a value of Playlist with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- playlist :: Playlist -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. pPlayReadyDrm :: Lens' Playlist (Maybe PlayReadyDrm) -- | The status of the job with which the playlist is associated. pStatus :: 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. pOutputKeys :: Lens' Playlist [Text] -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. pFormat :: Lens' Playlist (Maybe Text) -- | 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. -- -- Note: 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. pName :: 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. pHlsContentProtection :: Lens' Playlist (Maybe HlsContentProtection) -- | Information that further explains the status. pStatusDetail :: 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: preset smart constructor. data Preset -- | Creates a value of Preset with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- preset :: Preset -- | The Amazon Resource Name (ARN) for the preset. preARN :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- video preset values. preVideo :: Lens' Preset (Maybe VideoParameters) -- | The name of the preset. preName :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- thumbnail preset values, if any. preThumbnails :: Lens' Preset (Maybe Thumbnails) -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. preContainer :: Lens' Preset (Maybe Text) -- | Identifier for the new preset. You use this value to get settings for -- the preset or to delete it. preId :: Lens' Preset (Maybe Text) -- | Whether the preset is a default preset provided by Elastic Transcoder -- (System) or a preset that you have defined (Custom). preType :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- audio preset values. preAudio :: Lens' Preset (Maybe AudioParameters) -- | A description of the preset. preDescription :: Lens' Preset (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. -- -- See: presetWatermark smart constructor. data PresetWatermark -- | Creates a value of PresetWatermark with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- presetWatermark :: PresetWatermark -- | The vertical position of the watermark unless you specify a non-zero -- value for VerticalOffset: -- -- pwVerticalAlign :: Lens' PresetWatermark (Maybe Text) -- | A value that controls scaling of the watermark: -- -- pwSizingPolicy :: 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. pwMaxHeight :: 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. pwHorizontalOffset :: 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. pwOpacity :: 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. pwVerticalOffset :: Lens' PresetWatermark (Maybe Text) -- | The maximum width of the watermark in one of the following formats: -- -- pwMaxWidth :: Lens' PresetWatermark (Maybe Text) -- | A unique identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. pwId :: Lens' PresetWatermark (Maybe Text) -- | The horizontal position of the watermark unless you specify a non-zero -- value for HorizontalOffset: -- -- pwHorizontalAlign :: Lens' PresetWatermark (Maybe Text) -- | A value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- pwTarget :: Lens' PresetWatermark (Maybe Text) -- | Thumbnails for videos. -- -- See: thumbnails smart constructor. data Thumbnails -- | Creates a value of Thumbnails with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- thumbnails :: Thumbnails -- | Specify one of the following values to control scaling of thumbnails: -- -- tSizingPolicy :: 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. tFormat :: 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. tMaxHeight :: 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. tResolution :: 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. tPaddingPolicy :: 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 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. tAspectRatio :: Lens' Thumbnails (Maybe Text) -- | The approximate number of seconds between thumbnails. Specify an -- integer value. tInterval :: 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. tMaxWidth :: Lens' Thumbnails (Maybe Text) -- | Settings that determine when a clip begins and how long it lasts. -- -- See: timeSpan smart constructor. data TimeSpan -- | Creates a value of TimeSpan with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- timeSpan :: TimeSpan -- | 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. tsStartTime :: Lens' TimeSpan (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. tsDuration :: Lens' TimeSpan (Maybe Text) -- | Details about the timing of a job. -- -- See: timing smart constructor. data Timing -- | Creates a value of Timing with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- timing :: Timing -- | The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. tSubmitTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job finished transcoding, in epoch milliseconds. tFinishTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job began transcoding, in epoch milliseconds. tStartTimeMillis :: Lens' Timing (Maybe Integer) -- | The VideoParameters structure. -- -- See: videoParameters smart constructor. data VideoParameters -- | Creates a value of VideoParameters with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- videoParameters :: VideoParameters -- | 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. vpKeyframesMaxDist :: 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): -- -- vpFrameRate :: Lens' VideoParameters (Maybe Text) -- | Specify one of the following values to control scaling of the output -- video: -- -- vpSizingPolicy :: 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'. vpMaxFrameRate :: 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. vpMaxHeight :: Lens' VideoParameters (Maybe Text) -- | The value that Elastic Transcoder adds to the metadata in the output -- file. vpDisplayAspectRatio :: 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. vpWatermarks :: Lens' VideoParameters [PresetWatermark] -- | The video codec for the output file. Valid values include -- gif, 'H.264', mpeg2, and vp8. You can only -- specify vp8 when the container type is webm, -- gif when the container type is gif, and -- mpeg2 when the container type is mpg. vpCodec :: 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: -- -- The width must be an even integer between 128 and 4096, inclusive. -- -- The height must be an even integer between 96 and 3072, inclusive. -- -- If you specify a resolution that is less than the resolution of the -- input file, Elastic Transcoder rescales the output file to the lower -- resolution. -- -- If you specify a resolution that is greater than the resolution of the -- input file, Elastic Transcoder rescales the output to the higher -- resolution. -- -- We recommend that you specify a resolution for which the product of -- width and height is less than or equal to the applicable value in the -- following list (List - Max width x height value): -- -- vpResolution :: 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. vpPaddingPolicy :: 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 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. vpAspectRatio :: 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. vpMaxWidth :: 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)/ -- -- vpBitRate :: 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. vpFixedGOP :: Lens' VideoParameters (Maybe Text) -- | Profile (H.264/VP8 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 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 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. vpCodecOptions :: Lens' VideoParameters (HashMap Text Text) -- | 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: warning smart constructor. data Warning -- | Creates a value of Warning with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- warning :: Warning -- | The code of the cross-regional warning. wCode :: Lens' Warning (Maybe Text) -- | The message explaining what resources are in a different region from -- the pipeline. -- -- Note: AWS KMS keys must be in the same region as the pipeline. wMessage :: Lens' Warning (Maybe Text) -- | 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. -- -- See: AWS API Reference for CancelJob. module Network.AWS.ElasticTranscoder.CancelJob -- | Creates a value of CancelJob with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cancelJob :: Text -> CancelJob -- | The CancelJobRequest structure. -- -- See: cancelJob smart constructor. data 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. cjId :: Lens' CancelJob Text -- | Creates a value of CancelJobResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- cancelJobResponse :: Int -> CancelJobResponse -- | The response body contains a JSON object. If the job is successfully -- canceled, the value of Success is true. -- -- See: cancelJobResponse smart constructor. data CancelJobResponse -- | The response status code. canrsStatus :: Lens' CancelJobResponse Int instance Typeable CancelJob instance Typeable CancelJobResponse instance Eq CancelJob instance Read CancelJob instance Show CancelJob instance Data CancelJob instance Generic CancelJob instance Eq CancelJobResponse instance Read CancelJobResponse instance Show CancelJobResponse instance Data CancelJobResponse instance Generic CancelJobResponse instance Datatype D1CancelJob instance Constructor C1_0CancelJob instance Selector S1_0_0CancelJob instance Datatype D1CancelJobResponse instance Constructor C1_0CancelJobResponse instance Selector S1_0_0CancelJobResponse instance ToQuery CancelJob instance ToPath CancelJob instance ToHeaders CancelJob instance AWSRequest CancelJob -- | 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. -- -- See: AWS API Reference for ListJobsByStatus. -- -- This operation returns paginated results. module Network.AWS.ElasticTranscoder.ListJobsByStatus -- | Creates a value of ListJobsByStatus with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listJobsByStatus :: Text -> ListJobsByStatus -- | The ListJobsByStatusRequest structure. -- -- See: listJobsByStatus smart constructor. data 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. ljbsAscending :: 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. ljbsPageToken :: 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. ljbsStatus :: Lens' ListJobsByStatus Text -- | Creates a value of ListJobsByStatusResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listJobsByStatusResponse :: Int -> ListJobsByStatusResponse -- | The ListJobsByStatusResponse structure. -- -- See: listJobsByStatusResponse smart constructor. data ListJobsByStatusResponse -- | 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. ljbsrsNextPageToken :: Lens' ListJobsByStatusResponse (Maybe Text) -- | An array of Job objects that have the specified status. ljbsrsJobs :: Lens' ListJobsByStatusResponse [Job'] -- | The response status code. ljbsrsStatus :: Lens' ListJobsByStatusResponse Int instance Typeable ListJobsByStatus instance Typeable ListJobsByStatusResponse instance Eq ListJobsByStatus instance Read ListJobsByStatus instance Show ListJobsByStatus instance Data ListJobsByStatus instance Generic ListJobsByStatus instance Eq ListJobsByStatusResponse instance Read ListJobsByStatusResponse instance Show ListJobsByStatusResponse instance Data ListJobsByStatusResponse instance Generic ListJobsByStatusResponse instance Datatype D1ListJobsByStatus instance Constructor C1_0ListJobsByStatus instance Selector S1_0_0ListJobsByStatus instance Selector S1_0_1ListJobsByStatus instance Selector S1_0_2ListJobsByStatus instance Datatype D1ListJobsByStatusResponse instance Constructor C1_0ListJobsByStatusResponse instance Selector S1_0_0ListJobsByStatusResponse instance Selector S1_0_1ListJobsByStatusResponse instance Selector S1_0_2ListJobsByStatusResponse instance ToQuery ListJobsByStatus instance ToPath ListJobsByStatus instance ToHeaders ListJobsByStatus instance AWSRequest ListJobsByStatus instance AWSPager ListJobsByStatus -- | The CreatePipeline operation creates a pipeline with settings that you -- specify. -- -- See: AWS API Reference for CreatePipeline. module Network.AWS.ElasticTranscoder.CreatePipeline -- | Creates a value of CreatePipeline with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createPipeline :: Text -> Text -> Text -> CreatePipeline -- | The CreatePipelineRequest structure. -- -- See: createPipeline smart constructor. data CreatePipeline -- | 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. -- -- cContentConfig :: Lens' CreatePipeline (Maybe PipelineOutputConfig) -- | 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. cOutputBucket :: Lens' CreatePipeline (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-PKCS7', 'AES-CTR', or 'AES-GCM'. cAWSKMSKeyARN :: 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. -- -- cThumbnailConfig :: 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. -- -- cNotifications :: Lens' CreatePipeline (Maybe Notifications) -- | 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. cName :: Lens' CreatePipeline Text -- | The Amazon S3 bucket in which you saved the media files that you want -- to transcode. cInputBucket :: Lens' CreatePipeline Text -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to use to create the pipeline. cRole :: Lens' CreatePipeline Text -- | Creates a value of CreatePipelineResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createPipelineResponse :: Int -> CreatePipelineResponse -- | When you create a pipeline, Elastic Transcoder returns the values that -- you specified in the request. -- -- See: createPipelineResponse smart constructor. data CreatePipelineResponse -- | 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. crsWarnings :: Lens' CreatePipelineResponse [Warning] -- | A section of the response body that provides information about the -- pipeline that is created. crsPipeline :: Lens' CreatePipelineResponse (Maybe Pipeline) -- | The response status code. crsStatus :: Lens' CreatePipelineResponse Int instance Typeable CreatePipeline instance Typeable CreatePipelineResponse instance Eq CreatePipeline instance Read CreatePipeline instance Show CreatePipeline instance Data CreatePipeline instance Generic CreatePipeline instance Eq CreatePipelineResponse instance Read CreatePipelineResponse instance Show CreatePipelineResponse instance Data CreatePipelineResponse instance Generic CreatePipelineResponse instance Datatype D1CreatePipeline instance Constructor C1_0CreatePipeline instance Selector S1_0_0CreatePipeline instance Selector S1_0_1CreatePipeline instance Selector S1_0_2CreatePipeline instance Selector S1_0_3CreatePipeline instance Selector S1_0_4CreatePipeline instance Selector S1_0_5CreatePipeline instance Selector S1_0_6CreatePipeline instance Selector S1_0_7CreatePipeline instance Datatype D1CreatePipelineResponse instance Constructor C1_0CreatePipelineResponse instance Selector S1_0_0CreatePipelineResponse instance Selector S1_0_1CreatePipelineResponse instance Selector S1_0_2CreatePipelineResponse instance ToQuery CreatePipeline instance ToPath CreatePipeline instance ToJSON CreatePipeline instance ToHeaders CreatePipeline instance AWSRequest CreatePipeline -- | The ReadPipeline operation gets detailed information about a pipeline. -- -- See: AWS API Reference for ReadPipeline. module Network.AWS.ElasticTranscoder.ReadPipeline -- | Creates a value of ReadPipeline with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- readPipeline :: Text -> ReadPipeline -- | The ReadPipelineRequest structure. -- -- See: readPipeline smart constructor. data ReadPipeline -- | The identifier of the pipeline to read. rId :: Lens' ReadPipeline Text -- | Creates a value of ReadPipelineResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- readPipelineResponse :: Int -> ReadPipelineResponse -- | The ReadPipelineResponse structure. -- -- See: readPipelineResponse smart constructor. data ReadPipelineResponse -- | 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. rrsWarnings :: Lens' ReadPipelineResponse [Warning] -- | A section of the response body that provides information about the -- pipeline. rrsPipeline :: Lens' ReadPipelineResponse (Maybe Pipeline) -- | The response status code. rrsStatus :: Lens' ReadPipelineResponse Int instance Typeable ReadPipeline instance Typeable ReadPipelineResponse instance Eq ReadPipeline instance Read ReadPipeline instance Show ReadPipeline instance Data ReadPipeline instance Generic ReadPipeline instance Eq ReadPipelineResponse instance Read ReadPipelineResponse instance Show ReadPipelineResponse instance Data ReadPipelineResponse instance Generic ReadPipelineResponse instance Datatype D1ReadPipeline instance Constructor C1_0ReadPipeline instance Selector S1_0_0ReadPipeline instance Datatype D1ReadPipelineResponse instance Constructor C1_0ReadPipelineResponse instance Selector S1_0_0ReadPipelineResponse instance Selector S1_0_1ReadPipelineResponse instance Selector S1_0_2ReadPipelineResponse instance ToQuery ReadPipeline instance ToPath ReadPipeline instance ToHeaders ReadPipeline instance AWSRequest ReadPipeline -- | The ReadJob operation returns detailed information about a job. -- -- See: AWS API Reference for ReadJob. module Network.AWS.ElasticTranscoder.ReadJob -- | Creates a value of ReadJob with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- readJob :: Text -> ReadJob -- | The ReadJobRequest structure. -- -- See: readJob smart constructor. data ReadJob -- | The identifier of the job for which you want to get detailed -- information. rjId :: Lens' ReadJob Text -- | Creates a value of ReadJobResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- readJobResponse :: Int -> Job' -> ReadJobResponse -- | The ReadJobResponse structure. -- -- See: readJobResponse smart constructor. data ReadJobResponse -- | The response status code. rjrsStatus :: Lens' ReadJobResponse Int -- | A section of the response body that provides information about the -- job. rjrsJob :: Lens' ReadJobResponse Job' instance Typeable ReadJob instance Typeable ReadJobResponse instance Eq ReadJob instance Read ReadJob instance Show ReadJob instance Data ReadJob instance Generic ReadJob instance Eq ReadJobResponse instance Read ReadJobResponse instance Show ReadJobResponse instance Data ReadJobResponse instance Generic ReadJobResponse instance Datatype D1ReadJob instance Constructor C1_0ReadJob instance Selector S1_0_0ReadJob instance Datatype D1ReadJobResponse instance Constructor C1_0ReadJobResponse instance Selector S1_0_0ReadJobResponse instance Selector S1_0_1ReadJobResponse instance ToQuery ReadJob instance ToPath ReadJob instance ToHeaders ReadJob instance AWSRequest ReadJob module Network.AWS.ElasticTranscoder.Waiters -- | Polls ReadJob every 30 seconds until a successful state is -- reached. An error is returned after 120 failed checks. jobComplete :: Wait ReadJob -- | 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. -- -- See: AWS API Reference for UpdatePipelineNotifications. module Network.AWS.ElasticTranscoder.UpdatePipelineNotifications -- | Creates a value of UpdatePipelineNotifications with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updatePipelineNotifications :: Text -> Notifications -> UpdatePipelineNotifications -- | The UpdatePipelineNotificationsRequest structure. -- -- See: updatePipelineNotifications smart constructor. data UpdatePipelineNotifications -- | The identifier of the pipeline for which you want to change -- notification settings. upnId :: 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. -- -- upnNotifications :: Lens' UpdatePipelineNotifications Notifications -- | Creates a value of UpdatePipelineNotificationsResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updatePipelineNotificationsResponse :: Int -> UpdatePipelineNotificationsResponse -- | The UpdatePipelineNotificationsResponse structure. -- -- See: updatePipelineNotificationsResponse smart -- constructor. data UpdatePipelineNotificationsResponse -- | A section of the response body that provides information about the -- pipeline. upnrsPipeline :: Lens' UpdatePipelineNotificationsResponse (Maybe Pipeline) -- | The response status code. upnrsStatus :: Lens' UpdatePipelineNotificationsResponse Int instance Typeable UpdatePipelineNotifications instance Typeable UpdatePipelineNotificationsResponse instance Eq UpdatePipelineNotifications instance Read UpdatePipelineNotifications instance Show UpdatePipelineNotifications instance Data UpdatePipelineNotifications instance Generic UpdatePipelineNotifications instance Eq UpdatePipelineNotificationsResponse instance Read UpdatePipelineNotificationsResponse instance Show UpdatePipelineNotificationsResponse instance Data UpdatePipelineNotificationsResponse instance Generic UpdatePipelineNotificationsResponse instance Datatype D1UpdatePipelineNotifications instance Constructor C1_0UpdatePipelineNotifications instance Selector S1_0_0UpdatePipelineNotifications instance Selector S1_0_1UpdatePipelineNotifications instance Datatype D1UpdatePipelineNotificationsResponse instance Constructor C1_0UpdatePipelineNotificationsResponse instance Selector S1_0_0UpdatePipelineNotificationsResponse instance Selector S1_0_1UpdatePipelineNotificationsResponse instance ToQuery UpdatePipelineNotifications instance ToPath UpdatePipelineNotifications instance ToJSON UpdatePipelineNotifications instance ToHeaders UpdatePipelineNotifications instance AWSRequest UpdatePipelineNotifications -- | The ReadPreset operation gets detailed information about a preset. -- -- See: AWS API Reference for ReadPreset. module Network.AWS.ElasticTranscoder.ReadPreset -- | Creates a value of ReadPreset with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- readPreset :: Text -> ReadPreset -- | The ReadPresetRequest structure. -- -- See: readPreset smart constructor. data ReadPreset -- | The identifier of the preset for which you want to get detailed -- information. rpId :: Lens' ReadPreset Text -- | Creates a value of ReadPresetResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- readPresetResponse :: Int -> ReadPresetResponse -- | The ReadPresetResponse structure. -- -- See: readPresetResponse smart constructor. data ReadPresetResponse -- | A section of the response body that provides information about the -- preset. rprsPreset :: Lens' ReadPresetResponse (Maybe Preset) -- | The response status code. rprsStatus :: Lens' ReadPresetResponse Int instance Typeable ReadPreset instance Typeable ReadPresetResponse instance Eq ReadPreset instance Read ReadPreset instance Show ReadPreset instance Data ReadPreset instance Generic ReadPreset instance Eq ReadPresetResponse instance Read ReadPresetResponse instance Show ReadPresetResponse instance Data ReadPresetResponse instance Generic ReadPresetResponse instance Datatype D1ReadPreset instance Constructor C1_0ReadPreset instance Selector S1_0_0ReadPreset instance Datatype D1ReadPresetResponse instance Constructor C1_0ReadPresetResponse instance Selector S1_0_0ReadPresetResponse instance Selector S1_0_1ReadPresetResponse instance ToQuery ReadPreset instance ToPath ReadPreset instance ToHeaders ReadPreset instance AWSRequest ReadPreset -- | 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. -- -- See: AWS API Reference for ListPresets. -- -- This operation returns paginated results. module Network.AWS.ElasticTranscoder.ListPresets -- | Creates a value of ListPresets with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listPresets :: ListPresets -- | The ListPresetsRequest structure. -- -- See: listPresets smart constructor. data 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. lAscending :: 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. lPageToken :: Lens' ListPresets (Maybe Text) -- | Creates a value of ListPresetsResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listPresetsResponse :: Int -> ListPresetsResponse -- | The ListPresetsResponse structure. -- -- See: listPresetsResponse smart constructor. data 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. lrsNextPageToken :: Lens' ListPresetsResponse (Maybe Text) -- | An array of Preset objects. lrsPresets :: Lens' ListPresetsResponse [Preset] -- | The response status code. lrsStatus :: Lens' ListPresetsResponse Int instance Typeable ListPresets instance Typeable ListPresetsResponse instance Eq ListPresets instance Read ListPresets instance Show ListPresets instance Data ListPresets instance Generic ListPresets instance Eq ListPresetsResponse instance Read ListPresetsResponse instance Show ListPresetsResponse instance Data ListPresetsResponse instance Generic ListPresetsResponse instance Datatype D1ListPresets instance Constructor C1_0ListPresets instance Selector S1_0_0ListPresets instance Selector S1_0_1ListPresets instance Datatype D1ListPresetsResponse instance Constructor C1_0ListPresetsResponse instance Selector S1_0_0ListPresetsResponse instance Selector S1_0_1ListPresetsResponse instance Selector S1_0_2ListPresetsResponse instance ToQuery ListPresets instance ToPath ListPresets instance ToHeaders ListPresets instance AWSRequest ListPresets instance AWSPager ListPresets -- | 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/. -- -- See: AWS API Reference for CreatePreset. module Network.AWS.ElasticTranscoder.CreatePreset -- | Creates a value of CreatePreset with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createPreset :: Text -> Text -> CreatePreset -- | The CreatePresetRequest structure. -- -- See: createPreset smart constructor. data CreatePreset -- | A section of the request body that specifies the video parameters. cpVideo :: Lens' CreatePreset (Maybe VideoParameters) -- | A section of the request body that specifies the thumbnail parameters, -- if any. cpThumbnails :: Lens' CreatePreset (Maybe Thumbnails) -- | A section of the request body that specifies the audio parameters. cpAudio :: Lens' CreatePreset (Maybe AudioParameters) -- | A description of the preset. cpDescription :: Lens' CreatePreset (Maybe Text) -- | The name of the preset. We recommend that the name be unique within -- the AWS account, but uniqueness is not enforced. cpName :: 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. cpContainer :: Lens' CreatePreset Text -- | Creates a value of CreatePresetResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createPresetResponse :: Int -> CreatePresetResponse -- | The CreatePresetResponse structure. -- -- See: createPresetResponse smart constructor. data CreatePresetResponse -- | 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. cprsWarning :: Lens' CreatePresetResponse (Maybe Text) -- | A section of the response body that provides information about the -- preset that is created. cprsPreset :: Lens' CreatePresetResponse (Maybe Preset) -- | The response status code. cprsStatus :: Lens' CreatePresetResponse Int instance Typeable CreatePreset instance Typeable CreatePresetResponse instance Eq CreatePreset instance Read CreatePreset instance Show CreatePreset instance Data CreatePreset instance Generic CreatePreset instance Eq CreatePresetResponse instance Read CreatePresetResponse instance Show CreatePresetResponse instance Data CreatePresetResponse instance Generic CreatePresetResponse instance Datatype D1CreatePreset instance Constructor C1_0CreatePreset instance Selector S1_0_0CreatePreset instance Selector S1_0_1CreatePreset instance Selector S1_0_2CreatePreset instance Selector S1_0_3CreatePreset instance Selector S1_0_4CreatePreset instance Selector S1_0_5CreatePreset instance Datatype D1CreatePresetResponse instance Constructor C1_0CreatePresetResponse instance Selector S1_0_0CreatePresetResponse instance Selector S1_0_1CreatePresetResponse instance Selector S1_0_2CreatePresetResponse instance ToQuery CreatePreset instance ToPath CreatePreset instance ToJSON CreatePreset instance ToHeaders CreatePreset instance AWSRequest CreatePreset -- | The ListPipelines operation gets a list of the pipelines associated -- with the current AWS account. -- -- See: AWS API Reference for ListPipelines. -- -- This operation returns paginated results. module Network.AWS.ElasticTranscoder.ListPipelines -- | Creates a value of ListPipelines with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listPipelines :: ListPipelines -- | The ListPipelineRequest structure. -- -- See: listPipelines smart constructor. data 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. lpAscending :: 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. lpPageToken :: Lens' ListPipelines (Maybe Text) -- | Creates a value of ListPipelinesResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listPipelinesResponse :: Int -> ListPipelinesResponse -- | A list of the pipelines associated with the current AWS account. -- -- See: listPipelinesResponse smart constructor. data 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. lprsNextPageToken :: Lens' ListPipelinesResponse (Maybe Text) -- | An array of Pipeline objects. lprsPipelines :: Lens' ListPipelinesResponse [Pipeline] -- | The response status code. lprsStatus :: Lens' ListPipelinesResponse Int instance Typeable ListPipelines instance Typeable ListPipelinesResponse instance Eq ListPipelines instance Read ListPipelines instance Show ListPipelines instance Data ListPipelines instance Generic ListPipelines instance Eq ListPipelinesResponse instance Read ListPipelinesResponse instance Show ListPipelinesResponse instance Data ListPipelinesResponse instance Generic ListPipelinesResponse instance Datatype D1ListPipelines instance Constructor C1_0ListPipelines instance Selector S1_0_0ListPipelines instance Selector S1_0_1ListPipelines instance Datatype D1ListPipelinesResponse instance Constructor C1_0ListPipelinesResponse instance Selector S1_0_0ListPipelinesResponse instance Selector S1_0_1ListPipelinesResponse instance Selector S1_0_2ListPipelinesResponse instance ToQuery ListPipelines instance ToPath ListPipelines instance ToHeaders ListPipelines instance AWSRequest ListPipelines instance AWSPager ListPipelines -- | 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). -- -- See: AWS API Reference for CreateJob. module Network.AWS.ElasticTranscoder.CreateJob -- | Creates a value of CreateJob with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createJob :: Text -> JobInput -> CreateJob -- | The CreateJobRequest structure. -- -- See: createJob smart constructor. data CreateJob -- | 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. cjOutputs :: Lens' CreateJob [CreateJobOutput] -- | 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 will be returned in the same -- order in which you specify them. cjUserMetadata :: Lens' CreateJob (HashMap Text Text) -- | Undocumented member. cjOutput :: 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. cjPlaylists :: Lens' CreateJob [CreateJobPlaylist] -- | 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. cjOutputKeyPrefix :: Lens' CreateJob (Maybe 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. cjPipelineId :: Lens' CreateJob Text -- | A section of the request body that provides information about the file -- that is being transcoded. cjInput :: Lens' CreateJob JobInput -- | Creates a value of CreateJobResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createJobResponse :: Int -> CreateJobResponse -- | The CreateJobResponse structure. -- -- See: createJobResponse smart constructor. data CreateJobResponse -- | A section of the response body that provides information about the job -- that is created. cjrsJob :: Lens' CreateJobResponse (Maybe Job') -- | The response status code. cjrsStatus :: Lens' CreateJobResponse Int instance Typeable CreateJob instance Typeable CreateJobResponse instance Eq CreateJob instance Read CreateJob instance Show CreateJob instance Data CreateJob instance Generic CreateJob instance Eq CreateJobResponse instance Read CreateJobResponse instance Show CreateJobResponse instance Data CreateJobResponse instance Generic CreateJobResponse instance Datatype D1CreateJob instance Constructor C1_0CreateJob instance Selector S1_0_0CreateJob instance Selector S1_0_1CreateJob instance Selector S1_0_2CreateJob instance Selector S1_0_3CreateJob instance Selector S1_0_4CreateJob instance Selector S1_0_5CreateJob instance Selector S1_0_6CreateJob instance Datatype D1CreateJobResponse instance Constructor C1_0CreateJobResponse instance Selector S1_0_0CreateJobResponse instance Selector S1_0_1CreateJobResponse instance ToQuery CreateJob instance ToPath CreateJob instance ToJSON CreateJob instance ToHeaders CreateJob instance AWSRequest CreateJob -- | 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. -- -- See: AWS API Reference for DeletePipeline. module Network.AWS.ElasticTranscoder.DeletePipeline -- | Creates a value of DeletePipeline with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deletePipeline :: Text -> DeletePipeline -- | The DeletePipelineRequest structure. -- -- See: deletePipeline smart constructor. data DeletePipeline -- | The identifier of the pipeline that you want to delete. dId :: Lens' DeletePipeline Text -- | Creates a value of DeletePipelineResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deletePipelineResponse :: Int -> DeletePipelineResponse -- | The DeletePipelineResponse structure. -- -- See: deletePipelineResponse smart constructor. data DeletePipelineResponse -- | The response status code. drsStatus :: Lens' DeletePipelineResponse Int instance Typeable DeletePipeline instance Typeable DeletePipelineResponse instance Eq DeletePipeline instance Read DeletePipeline instance Show DeletePipeline instance Data DeletePipeline instance Generic DeletePipeline instance Eq DeletePipelineResponse instance Read DeletePipelineResponse instance Show DeletePipelineResponse instance Data DeletePipelineResponse instance Generic DeletePipelineResponse instance Datatype D1DeletePipeline instance Constructor C1_0DeletePipeline instance Selector S1_0_0DeletePipeline instance Datatype D1DeletePipelineResponse instance Constructor C1_0DeletePipelineResponse instance Selector S1_0_0DeletePipelineResponse instance ToQuery DeletePipeline instance ToPath DeletePipeline instance ToHeaders DeletePipeline instance AWSRequest DeletePipeline -- | 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. -- -- See: AWS API Reference for UpdatePipeline. module Network.AWS.ElasticTranscoder.UpdatePipeline -- | Creates a value of UpdatePipeline with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updatePipeline :: Text -> UpdatePipeline -- | The UpdatePipelineRequest structure. -- -- See: updatePipeline smart constructor. data UpdatePipeline -- | 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. upInputBucket :: 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. -- -- upContentConfig :: Lens' UpdatePipeline (Maybe PipelineOutputConfig) -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to use to transcode jobs for this pipeline. upRole :: 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 upName :: Lens' UpdatePipeline (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-PKCS7', 'AES-CTR', or 'AES-GCM'. upAWSKMSKeyARN :: 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. -- -- upThumbnailConfig :: Lens' UpdatePipeline (Maybe PipelineOutputConfig) -- | Undocumented member. upNotifications :: Lens' UpdatePipeline (Maybe Notifications) -- | The ID of the pipeline that you want to update. upId :: Lens' UpdatePipeline Text -- | Creates a value of UpdatePipelineResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updatePipelineResponse :: Int -> UpdatePipelineResponse -- | When you update a pipeline, Elastic Transcoder returns the values that -- you specified in the request. -- -- See: updatePipelineResponse smart constructor. data UpdatePipelineResponse -- | 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. uprsWarnings :: Lens' UpdatePipelineResponse [Warning] -- | Undocumented member. uprsPipeline :: Lens' UpdatePipelineResponse (Maybe Pipeline) -- | The response status code. uprsStatus :: Lens' UpdatePipelineResponse Int instance Typeable UpdatePipeline instance Typeable UpdatePipelineResponse instance Eq UpdatePipeline instance Read UpdatePipeline instance Show UpdatePipeline instance Data UpdatePipeline instance Generic UpdatePipeline instance Eq UpdatePipelineResponse instance Read UpdatePipelineResponse instance Show UpdatePipelineResponse instance Data UpdatePipelineResponse instance Generic UpdatePipelineResponse instance Datatype D1UpdatePipeline instance Constructor C1_0UpdatePipeline instance Selector S1_0_0UpdatePipeline instance Selector S1_0_1UpdatePipeline instance Selector S1_0_2UpdatePipeline instance Selector S1_0_3UpdatePipeline instance Selector S1_0_4UpdatePipeline instance Selector S1_0_5UpdatePipeline instance Selector S1_0_6UpdatePipeline instance Selector S1_0_7UpdatePipeline instance Datatype D1UpdatePipelineResponse instance Constructor C1_0UpdatePipelineResponse instance Selector S1_0_0UpdatePipelineResponse instance Selector S1_0_1UpdatePipelineResponse instance Selector S1_0_2UpdatePipelineResponse instance ToQuery UpdatePipeline instance ToPath UpdatePipeline instance ToJSON UpdatePipeline instance ToHeaders UpdatePipeline instance AWSRequest UpdatePipeline -- | The TestRole operation tests the IAM role used to create the pipeline. -- -- The TestRole action lets you determine whether the IAM role you -- are using has sufficient permissions to let Elastic Transcoder perform -- tasks associated with the transcoding process. The action attempts to -- assume the specified IAM role, checks read access to the input and -- output buckets, and tries to send a test notification to Amazon SNS -- topics that you specify. -- -- See: AWS API Reference for TestRole. module Network.AWS.ElasticTranscoder.TestRole -- | Creates a value of TestRole with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- testRole :: Text -> Text -> Text -> TestRole -- | The TestRoleRequest structure. -- -- See: testRole smart constructor. data TestRole -- | The IAM Amazon Resource Name (ARN) for the role that you want Elastic -- Transcoder to test. trRole :: Lens' TestRole Text -- | The Amazon S3 bucket that contains media files to be transcoded. The -- action attempts to read from this bucket. trInputBucket :: Lens' TestRole Text -- | The Amazon S3 bucket that Elastic Transcoder will write transcoded -- media files to. The action attempts to read from this bucket. trOutputBucket :: Lens' TestRole Text -- | The ARNs of one or more Amazon Simple Notification Service (Amazon -- SNS) topics that you want the action to send a test notification to. trTopics :: Lens' TestRole [Text] -- | Creates a value of TestRoleResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- testRoleResponse :: Int -> TestRoleResponse -- | The TestRoleResponse structure. -- -- See: testRoleResponse smart constructor. data TestRoleResponse -- | If the operation is successful, this value is true; -- otherwise, the value is false. trrsSuccess :: Lens' TestRoleResponse (Maybe Text) -- | If the Success element contains false, this value is -- an array of one or more error messages that were generated during the -- test process. trrsMessages :: Lens' TestRoleResponse [Text] -- | The response status code. trrsStatus :: Lens' TestRoleResponse Int instance Typeable TestRole instance Typeable TestRoleResponse instance Eq TestRole instance Read TestRole instance Show TestRole instance Data TestRole instance Generic TestRole instance Eq TestRoleResponse instance Read TestRoleResponse instance Show TestRoleResponse instance Data TestRoleResponse instance Generic TestRoleResponse instance Datatype D1TestRole instance Constructor C1_0TestRole instance Selector S1_0_0TestRole instance Selector S1_0_1TestRole instance Selector S1_0_2TestRole instance Selector S1_0_3TestRole instance Datatype D1TestRoleResponse instance Constructor C1_0TestRoleResponse instance Selector S1_0_0TestRoleResponse instance Selector S1_0_1TestRoleResponse instance Selector S1_0_2TestRoleResponse instance ToQuery TestRole instance ToPath TestRole instance ToJSON TestRole instance ToHeaders TestRole instance AWSRequest TestRole -- | 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. -- -- See: AWS API Reference for UpdatePipelineStatus. module Network.AWS.ElasticTranscoder.UpdatePipelineStatus -- | Creates a value of UpdatePipelineStatus with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updatePipelineStatus :: Text -> Text -> UpdatePipelineStatus -- | The UpdatePipelineStatusRequest structure. -- -- See: updatePipelineStatus smart constructor. data UpdatePipelineStatus -- | The identifier of the pipeline to update. upsId :: Lens' UpdatePipelineStatus Text -- | The desired status of the pipeline: -- -- upsStatus :: Lens' UpdatePipelineStatus Text -- | Creates a value of UpdatePipelineStatusResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updatePipelineStatusResponse :: Int -> UpdatePipelineStatusResponse -- | When you update status for a pipeline, Elastic Transcoder returns the -- values that you specified in the request. -- -- See: updatePipelineStatusResponse smart constructor. data UpdatePipelineStatusResponse -- | A section of the response body that provides information about the -- pipeline. upsrsPipeline :: Lens' UpdatePipelineStatusResponse (Maybe Pipeline) -- | The response status code. upsrsStatus :: Lens' UpdatePipelineStatusResponse Int instance Typeable UpdatePipelineStatus instance Typeable UpdatePipelineStatusResponse instance Eq UpdatePipelineStatus instance Read UpdatePipelineStatus instance Show UpdatePipelineStatus instance Data UpdatePipelineStatus instance Generic UpdatePipelineStatus instance Eq UpdatePipelineStatusResponse instance Read UpdatePipelineStatusResponse instance Show UpdatePipelineStatusResponse instance Data UpdatePipelineStatusResponse instance Generic UpdatePipelineStatusResponse instance Datatype D1UpdatePipelineStatus instance Constructor C1_0UpdatePipelineStatus instance Selector S1_0_0UpdatePipelineStatus instance Selector S1_0_1UpdatePipelineStatus instance Datatype D1UpdatePipelineStatusResponse instance Constructor C1_0UpdatePipelineStatusResponse instance Selector S1_0_0UpdatePipelineStatusResponse instance Selector S1_0_1UpdatePipelineStatusResponse instance ToQuery UpdatePipelineStatus instance ToPath UpdatePipelineStatus instance ToJSON UpdatePipelineStatus instance ToHeaders UpdatePipelineStatus instance AWSRequest UpdatePipelineStatus -- | 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. -- -- See: AWS API Reference for ListJobsByPipeline. -- -- This operation returns paginated results. module Network.AWS.ElasticTranscoder.ListJobsByPipeline -- | Creates a value of ListJobsByPipeline with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listJobsByPipeline :: Text -> ListJobsByPipeline -- | The ListJobsByPipelineRequest structure. -- -- See: listJobsByPipeline smart constructor. data 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. ljbpAscending :: 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. ljbpPageToken :: Lens' ListJobsByPipeline (Maybe Text) -- | The ID of the pipeline for which you want to get job information. ljbpPipelineId :: Lens' ListJobsByPipeline Text -- | Creates a value of ListJobsByPipelineResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listJobsByPipelineResponse :: Int -> ListJobsByPipelineResponse -- | The ListJobsByPipelineResponse structure. -- -- See: listJobsByPipelineResponse smart constructor. data ListJobsByPipelineResponse -- | 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. ljbprsNextPageToken :: Lens' ListJobsByPipelineResponse (Maybe Text) -- | An array of Job objects that are in the specified pipeline. ljbprsJobs :: Lens' ListJobsByPipelineResponse [Job'] -- | The response status code. ljbprsStatus :: Lens' ListJobsByPipelineResponse Int instance Typeable ListJobsByPipeline instance Typeable ListJobsByPipelineResponse instance Eq ListJobsByPipeline instance Read ListJobsByPipeline instance Show ListJobsByPipeline instance Data ListJobsByPipeline instance Generic ListJobsByPipeline instance Eq ListJobsByPipelineResponse instance Read ListJobsByPipelineResponse instance Show ListJobsByPipelineResponse instance Data ListJobsByPipelineResponse instance Generic ListJobsByPipelineResponse instance Datatype D1ListJobsByPipeline instance Constructor C1_0ListJobsByPipeline instance Selector S1_0_0ListJobsByPipeline instance Selector S1_0_1ListJobsByPipeline instance Selector S1_0_2ListJobsByPipeline instance Datatype D1ListJobsByPipelineResponse instance Constructor C1_0ListJobsByPipelineResponse instance Selector S1_0_0ListJobsByPipelineResponse instance Selector S1_0_1ListJobsByPipelineResponse instance Selector S1_0_2ListJobsByPipelineResponse instance ToQuery ListJobsByPipeline instance ToPath ListJobsByPipeline instance ToHeaders ListJobsByPipeline instance AWSRequest ListJobsByPipeline instance AWSPager 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. -- -- See: AWS API Reference for DeletePreset. module Network.AWS.ElasticTranscoder.DeletePreset -- | Creates a value of DeletePreset with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deletePreset :: Text -> DeletePreset -- | The DeletePresetRequest structure. -- -- See: deletePreset smart constructor. data DeletePreset -- | The identifier of the preset for which you want to get detailed -- information. dpId :: Lens' DeletePreset Text -- | Creates a value of DeletePresetResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deletePresetResponse :: Int -> DeletePresetResponse -- | The DeletePresetResponse structure. -- -- See: deletePresetResponse smart constructor. data DeletePresetResponse -- | The response status code. dprsStatus :: Lens' DeletePresetResponse Int instance Typeable DeletePreset instance Typeable DeletePresetResponse instance Eq DeletePreset instance Read DeletePreset instance Show DeletePreset instance Data DeletePreset instance Generic DeletePreset instance Eq DeletePresetResponse instance Read DeletePresetResponse instance Show DeletePresetResponse instance Data DeletePresetResponse instance Generic DeletePresetResponse instance Datatype D1DeletePreset instance Constructor C1_0DeletePreset instance Selector S1_0_0DeletePreset instance Datatype D1DeletePresetResponse instance Constructor C1_0DeletePresetResponse instance Selector S1_0_0DeletePresetResponse instance ToQuery DeletePreset instance ToPath DeletePreset instance ToHeaders DeletePreset instance AWSRequest DeletePreset -- | AWS Elastic Transcoder Service -- -- The AWS Elastic Transcoder Service. -- -- See: AWS API Reference module Network.AWS.ElasticTranscoder -- | API version '2012-09-25' of the Amazon Elastic Transcoder SDK -- configuration. elasticTranscoder :: Service -- | One or more required parameter values were not provided in the -- request. _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError -- | Prism for IncompatibleVersionException' errors. _IncompatibleVersionException :: AsError a => Getting (First ServiceError) a ServiceError -- | General authentication failure. The request was not signed correctly. _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError -- | Elastic Transcoder encountered an unexpected exception while trying to -- fulfill the request. _InternalServiceException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError -- | Too many operations for a given AWS account. For example, the number -- of pipelines exceeds the maximum allowed. _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError -- | Polls ReadJob every 30 seconds until a successful state is -- reached. An error is returned after 120 failed checks. jobComplete :: Wait ReadJob -- | 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: artwork smart constructor. data Artwork -- | Creates a value of Artwork with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- artwork :: Artwork -- | Specify one of the following values to control scaling of the output -- album art: -- -- aSizingPolicy :: 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. aMaxHeight :: Lens' Artwork (Maybe Text) -- | The format of album art, if any. Valid formats are '.jpg' and '.png'. aAlbumArtFormat :: Lens' Artwork (Maybe Text) -- | 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. aInputKey :: 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. aPaddingPolicy :: Lens' Artwork (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your artwork. aEncryption :: Lens' Artwork (Maybe Encryption) -- | 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. aMaxWidth :: Lens' Artwork (Maybe Text) -- | Options associated with your audio codec. -- -- See: audioCodecOptions smart constructor. data AudioCodecOptions -- | Creates a value of AudioCodecOptions with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- audioCodecOptions :: 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'. acoBitDepth :: 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. acoSigned :: 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. acoProfile :: 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. acoBitOrder :: Lens' AudioCodecOptions (Maybe Text) -- | Parameters required for transcoding audio. -- -- See: audioParameters smart constructor. data AudioParameters -- | Creates a value of AudioParameters with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- audioParameters :: AudioParameters -- | 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'. apChannels :: Lens' AudioParameters (Maybe Text) -- | The audio codec for the output file. Valid values include -- aac, flac, mp2, mp3, pcm, -- and vorbis. apCodec :: Lens' AudioParameters (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: -- -- apAudioPackingMode :: Lens' AudioParameters (Maybe Text) -- | 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. apSampleRate :: 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. apBitRate :: 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. apCodecOptions :: Lens' AudioParameters (Maybe AudioCodecOptions) -- | The file format of the output captions. If you leave this value blank, -- Elastic Transcoder returns an error. -- -- See: captionFormat smart constructor. data CaptionFormat -- | Creates a value of CaptionFormat with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- captionFormat :: CaptionFormat -- | 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 will be -- Sydney-en-sunrise00000.srt. cfPattern :: Lens' CaptionFormat (Maybe Text) -- | The format you specify determines whether Elastic Transcoder generates -- an embedded or sidecar caption for this output. -- -- cfFormat :: Lens' CaptionFormat (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption formats. cfEncryption :: Lens' CaptionFormat (Maybe Encryption) -- | A source file for the input sidecar captions used during the -- transcoding process. -- -- See: captionSource smart constructor. data CaptionSource -- | Creates a value of CaptionSource with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- captionSource :: CaptionSource -- | 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. csTimeOffset :: Lens' CaptionSource (Maybe Text) -- | The name of the sidecar caption file that you want Elastic Transcoder -- to include in the output file. csKey :: Lens' CaptionSource (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your caption sources. csEncryption :: Lens' CaptionSource (Maybe Encryption) -- | A string that specifies the language of the caption. Specify this as -- one of: -- -- -- -- For more information on ISO language codes and language names, see the -- List of ISO 639-1 codes. csLanguage :: 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. csLabel :: Lens' CaptionSource (Maybe Text) -- | The captions to be created, if any. -- -- See: captions smart constructor. data Captions -- | Creates a value of Captions with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- captions :: Captions -- | A policy that determines how Elastic Transcoder handles the existence -- of multiple captions. -- -- -- -- MergePolicy cannot be null. cMergePolicy :: Lens' Captions (Maybe Text) -- | Source files for the input sidecar captions used during the -- transcoding process. To omit all sidecar captions, leave -- CaptionSources blank. cCaptionSources :: Lens' Captions [CaptionSource] -- | The array of file formats for the output captions. If you leave this -- value blank, Elastic Transcoder returns an error. cCaptionFormats :: Lens' Captions [CaptionFormat] -- | Settings for one clip in a composition. All jobs in a playlist must -- have the same clip settings. -- -- See: clip smart constructor. data Clip -- | Creates a value of Clip with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- clip :: Clip -- | Settings that determine when a clip begins and how long it lasts. cTimeSpan :: Lens' Clip (Maybe TimeSpan) -- | The CreateJobOutput structure. -- -- See: createJobOutput smart constructor. data CreateJobOutput -- | Creates a value of CreateJobOutput with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createJobOutput :: CreateJobOutput -- | 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. cjoThumbnailPattern :: Lens' CreateJobOutput (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. cjoCaptions :: Lens' CreateJobOutput (Maybe Captions) -- | 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. cjoPresetId :: Lens' CreateJobOutput (Maybe Text) -- | 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. cjoComposition :: Lens' CreateJobOutput [Clip] -- | 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. cjoAlbumArt :: Lens' CreateJobOutput (Maybe JobAlbumArt) -- | 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. cjoWatermarks :: Lens' CreateJobOutput [JobWatermark] -- | 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. cjoKey :: Lens' CreateJobOutput (Maybe Text) -- | 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. cjoEncryption :: Lens' CreateJobOutput (Maybe Encryption) -- | (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. cjoSegmentDuration :: Lens' CreateJobOutput (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. cjoThumbnailEncryption :: Lens' CreateJobOutput (Maybe Encryption) -- | 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. cjoRotate :: Lens' CreateJobOutput (Maybe Text) -- | Information about the master playlist. -- -- See: createJobPlaylist smart constructor. data CreateJobPlaylist -- | Creates a value of CreateJobPlaylist with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createJobPlaylist :: CreateJobPlaylist -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. cjpPlayReadyDrm :: Lens' CreateJobPlaylist (Maybe PlayReadyDrm) -- | 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. cjpOutputKeys :: Lens' CreateJobPlaylist [Text] -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. cjpFormat :: Lens' CreateJobPlaylist (Maybe Text) -- | 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. -- -- Note: 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. cjpName :: 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. cjpHlsContentProtection :: Lens' CreateJobPlaylist (Maybe HlsContentProtection) -- | The detected properties of the input file. Elastic Transcoder -- identifies these values from the input file. -- -- See: detectedProperties smart constructor. data DetectedProperties -- | Creates a value of DetectedProperties with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- detectedProperties :: DetectedProperties -- | The detected height of the input file, in pixels. dpHeight :: Lens' DetectedProperties (Maybe Int) -- | The detected frame rate of the input file, in frames per second. dpFrameRate :: Lens' DetectedProperties (Maybe Text) -- | The detected file size of the input file, in bytes. dpFileSize :: Lens' DetectedProperties (Maybe Integer) -- | The detected width of the input file, in pixels. dpWidth :: Lens' DetectedProperties (Maybe Int) -- | The detected duration of the input file, in milliseconds. dpDurationMillis :: Lens' DetectedProperties (Maybe Integer) -- | 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 will use -- to decrypt your file, otherwise you must specify the mode you want -- Elastic Transcoder to use to encrypt your output files. -- -- See: encryption smart constructor. data Encryption -- | Creates a value of Encryption with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- encryption :: Encryption -- | 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. eKeyMD5 :: 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. eMode :: 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. eKey :: Lens' Encryption (Maybe Text) -- | 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. eInitializationVector :: Lens' Encryption (Maybe Text) -- | The HLS content protection settings, if any, that you want Elastic -- Transcoder to apply to your output files. -- -- See: hlsContentProtection smart constructor. data HlsContentProtection -- | Creates a value of HlsContentProtection with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- hlsContentProtection :: HlsContentProtection -- | 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. hcpKeyMD5 :: 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. hcpKeyStoragePolicy :: 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'. hcpKey :: Lens' HlsContentProtection (Maybe Text) -- | The content protection method for your output. The only valid value -- is: 'aes-128'. -- -- This value will be written into the method attribute of the -- 'EXT-X-KEY' metadata tag in the output playlist. hcpMethod :: 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. hcpLicenseAcquisitionURL :: Lens' HlsContentProtection (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. hcpInitializationVector :: Lens' HlsContentProtection (Maybe Text) -- | A section of the response body that provides information about the job -- that is created. -- -- See: job' smart constructor. data Job' -- | Creates a value of Job' with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- job' :: Job' -- | The status of the job: Submitted, Progressing, -- Complete, Canceled, or Error. jStatus :: Lens' Job' (Maybe 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. jPipelineId :: Lens' Job' (Maybe Text) -- | The Amazon Resource Name (ARN) for the job. jARN :: Lens' Job' (Maybe Text) -- | A section of the request or response body that provides information -- about the file that is being transcoded. jInput :: Lens' Job' (Maybe JobInput) -- | 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. jOutputs :: Lens' Job' [JobOutput] -- | 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 will be returned in the same -- order in which you specify them. -- -- Metadata keys and values must use characters from -- the following list: -- -- jUserMetadata :: Lens' Job' (HashMap Text Text) -- | 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. jOutput :: Lens' Job' (Maybe JobOutput) -- | The identifier that Elastic Transcoder assigned to the job. You use -- this value to get settings for the job or to delete the job. jId :: 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. jPlaylists :: Lens' Job' [Playlist] -- | Details about the timing of a job. jTiming :: Lens' Job' (Maybe Timing) -- | 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. jOutputKeyPrefix :: Lens' Job' (Maybe Text) -- | The .jpg or .png file associated with an audio file. -- -- See: jobAlbumArt smart constructor. data JobAlbumArt -- | Creates a value of JobAlbumArt with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- jobAlbumArt :: JobAlbumArt -- | A policy that determines how Elastic Transcoder will handle the -- existence of multiple album artwork files. -- -- jaaMergePolicy :: Lens' JobAlbumArt (Maybe 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' jaaArtwork :: Lens' JobAlbumArt [Artwork] -- | Information about the file that you're transcoding. -- -- See: jobInput smart constructor. data JobInput -- | Creates a value of JobInput with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- jobInput :: JobInput -- | 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. jiFrameRate :: Lens' JobInput (Maybe Text) -- | This value must be auto, which causes Elastic Transcoder to -- automatically detect the resolution of the input file. jiResolution :: Lens' JobInput (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. jiAspectRatio :: 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. jiKey :: Lens' JobInput (Maybe Text) -- | The detected properties of the input file. jiDetectedProperties :: 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 will use to decrypt your file. jiEncryption :: Lens' JobInput (Maybe Encryption) -- | 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 jiContainer :: Lens' JobInput (Maybe Text) -- | 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. jiInterlaced :: Lens' JobInput (Maybe Text) -- | 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: jobOutput smart constructor. data JobOutput -- | Creates a value of JobOutput with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- jobOutput :: JobOutput -- | 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 will not be included in the job response. joAppliedColorSpaceConversion :: 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. joStatus :: Lens' JobOutput (Maybe Text) -- | 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. joThumbnailPattern :: Lens' JobOutput (Maybe Text) -- | Height of the output file, in pixels. joHeight :: Lens' JobOutput (Maybe Int) -- | Frame rate of the output file, in frames per second. joFrameRate :: 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. joCaptions :: Lens' JobOutput (Maybe Captions) -- | 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. joPresetId :: Lens' JobOutput (Maybe Text) -- | 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. joComposition :: Lens' JobOutput [Clip] -- | The album art to be associated with the output file, if any. joAlbumArt :: Lens' JobOutput (Maybe JobAlbumArt) -- | File size of the output file, in bytes. joFileSize :: Lens' JobOutput (Maybe Integer) -- | 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 will cover the first one, the third one -- will cover the second, and the fourth one will cover the third. joWatermarks :: Lens' JobOutput [JobWatermark] -- | Specifies the width of the output file in pixels. joWidth :: Lens' JobOutput (Maybe Int) -- | 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. joKey :: Lens' JobOutput (Maybe Text) -- | 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 will write an unencrypted file to your Amazon S3 bucket. joEncryption :: Lens' JobOutput (Maybe Encryption) -- | 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. joId :: 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 -- 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. joSegmentDuration :: Lens' JobOutput (Maybe Text) -- | Information that further explains Status. joStatusDetail :: Lens' JobOutput (Maybe Text) -- | Duration of the output file, in milliseconds. joDurationMillis :: Lens' JobOutput (Maybe Integer) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your thumbnail. joThumbnailEncryption :: Lens' JobOutput (Maybe Encryption) -- | Duration of the output file, in seconds. joDuration :: Lens' JobOutput (Maybe Integer) -- | 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. joRotate :: Lens' JobOutput (Maybe Text) -- | 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: jobWatermark smart constructor. data JobWatermark -- | Creates a value of JobWatermark with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- jobWatermark :: JobWatermark -- | 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. jwPresetWatermarkId :: Lens' JobWatermark (Maybe Text) -- | 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. jwInputKey :: Lens' JobWatermark (Maybe Text) -- | The encryption settings, if any, that you want Elastic Transcoder to -- apply to your watermarks. jwEncryption :: Lens' JobWatermark (Maybe Encryption) -- | 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: notifications smart constructor. data Notifications -- | Creates a value of Notifications with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- notifications :: Notifications -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters an error condition. nError :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- encounters a warning condition. nWarning :: Lens' Notifications (Maybe Text) -- | The Amazon SNS topic that you want to notify when Elastic Transcoder -- has finished processing the job. nCompleted :: 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. nProgressing :: Lens' Notifications (Maybe Text) -- | The Permission structure. -- -- See: permission smart constructor. data Permission -- | Creates a value of Permission with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- permission :: Permission -- | The permission that you want to give to the AWS user that is listed in -- Grantee. Valid values include: -- -- pAccess :: Lens' Permission [Text] -- | The type of value that appears in the Grantee object: -- -- pGranteeType :: 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. pGrantee :: Lens' Permission (Maybe Text) -- | The pipeline (queue) that is used to manage jobs. -- -- See: pipeline smart constructor. data Pipeline -- | Creates a value of Pipeline with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- pipeline :: Pipeline -- | The current status of the pipeline: -- -- pipStatus :: Lens' Pipeline (Maybe Text) -- | The Amazon Resource Name (ARN) for the pipeline. pipARN :: 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. pipInputBucket :: 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. -- -- pipContentConfig :: Lens' Pipeline (Maybe PipelineOutputConfig) -- | 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. pipOutputBucket :: Lens' Pipeline (Maybe Text) -- | The IAM Amazon Resource Name (ARN) for the role that Elastic -- Transcoder uses to transcode jobs for this pipeline. pipRole :: 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 pipName :: 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-PKCS7', 'AES-CTR', or 'AES-GCM'. pipAWSKMSKeyARN :: Lens' Pipeline (Maybe Text) -- | 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. pipId :: 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. -- -- pipThumbnailConfig :: Lens' Pipeline (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. -- -- pipNotifications :: Lens' Pipeline (Maybe Notifications) -- | The PipelineOutputConfig structure. -- -- See: pipelineOutputConfig smart constructor. data PipelineOutputConfig -- | Creates a value of PipelineOutputConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- pipelineOutputConfig :: 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. pocBucket :: Lens' PipelineOutputConfig (Maybe Text) -- | 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. pocStorageClass :: 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. pocPermissions :: Lens' PipelineOutputConfig [Permission] -- | 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: playReadyDrm smart constructor. data PlayReadyDrm -- | Creates a value of PlayReadyDrm with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- playReadyDrm :: PlayReadyDrm -- | 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 will -- convert 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. prdKeyId :: 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. prdKeyMD5 :: Lens' PlayReadyDrm (Maybe Text) -- | The type of DRM, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. prdFormat :: 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. prdKey :: 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/ prdLicenseAcquisitionURL :: 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. prdInitializationVector :: 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: playlist smart constructor. data Playlist -- | Creates a value of Playlist with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- playlist :: Playlist -- | The DRM settings, if any, that you want Elastic Transcoder to apply to -- the output files associated with this playlist. pPlayReadyDrm :: Lens' Playlist (Maybe PlayReadyDrm) -- | The status of the job with which the playlist is associated. pStatus :: 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. pOutputKeys :: Lens' Playlist [Text] -- | The format of the output playlist. Valid formats include -- HLSv3, HLSv4, and Smooth. pFormat :: Lens' Playlist (Maybe Text) -- | 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. -- -- Note: 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. pName :: 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. pHlsContentProtection :: Lens' Playlist (Maybe HlsContentProtection) -- | Information that further explains the status. pStatusDetail :: 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: preset smart constructor. data Preset -- | Creates a value of Preset with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- preset :: Preset -- | The Amazon Resource Name (ARN) for the preset. preARN :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- video preset values. preVideo :: Lens' Preset (Maybe VideoParameters) -- | The name of the preset. preName :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- thumbnail preset values, if any. preThumbnails :: Lens' Preset (Maybe Thumbnails) -- | The container type for the output file. Valid values include -- flac, flv, fmp4, gif, -- mp3, mp4, mpg, mxf, oga, -- ogg, ts, and webm. preContainer :: Lens' Preset (Maybe Text) -- | Identifier for the new preset. You use this value to get settings for -- the preset or to delete it. preId :: Lens' Preset (Maybe Text) -- | Whether the preset is a default preset provided by Elastic Transcoder -- (System) or a preset that you have defined (Custom). preType :: Lens' Preset (Maybe Text) -- | A section of the response body that provides information about the -- audio preset values. preAudio :: Lens' Preset (Maybe AudioParameters) -- | A description of the preset. preDescription :: Lens' Preset (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. -- -- See: presetWatermark smart constructor. data PresetWatermark -- | Creates a value of PresetWatermark with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- presetWatermark :: PresetWatermark -- | The vertical position of the watermark unless you specify a non-zero -- value for VerticalOffset: -- -- pwVerticalAlign :: Lens' PresetWatermark (Maybe Text) -- | A value that controls scaling of the watermark: -- -- pwSizingPolicy :: 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. pwMaxHeight :: 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. pwHorizontalOffset :: 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. pwOpacity :: 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. pwVerticalOffset :: Lens' PresetWatermark (Maybe Text) -- | The maximum width of the watermark in one of the following formats: -- -- pwMaxWidth :: Lens' PresetWatermark (Maybe Text) -- | A unique identifier for the settings for one watermark. The value of -- Id can be up to 40 characters long. pwId :: Lens' PresetWatermark (Maybe Text) -- | The horizontal position of the watermark unless you specify a non-zero -- value for HorizontalOffset: -- -- pwHorizontalAlign :: Lens' PresetWatermark (Maybe Text) -- | A value that determines how Elastic Transcoder interprets values that -- you specified for HorizontalOffset, VerticalOffset, -- MaxWidth, and MaxHeight: -- -- pwTarget :: Lens' PresetWatermark (Maybe Text) -- | Thumbnails for videos. -- -- See: thumbnails smart constructor. data Thumbnails -- | Creates a value of Thumbnails with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- thumbnails :: Thumbnails -- | Specify one of the following values to control scaling of thumbnails: -- -- tSizingPolicy :: 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. tFormat :: 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. tMaxHeight :: 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. tResolution :: 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. tPaddingPolicy :: 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 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. tAspectRatio :: Lens' Thumbnails (Maybe Text) -- | The approximate number of seconds between thumbnails. Specify an -- integer value. tInterval :: 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. tMaxWidth :: Lens' Thumbnails (Maybe Text) -- | Settings that determine when a clip begins and how long it lasts. -- -- See: timeSpan smart constructor. data TimeSpan -- | Creates a value of TimeSpan with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- timeSpan :: TimeSpan -- | 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. tsStartTime :: Lens' TimeSpan (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. tsDuration :: Lens' TimeSpan (Maybe Text) -- | Details about the timing of a job. -- -- See: timing smart constructor. data Timing -- | Creates a value of Timing with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- timing :: Timing -- | The time the job was submitted to Elastic Transcoder, in epoch -- milliseconds. tSubmitTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job finished transcoding, in epoch milliseconds. tFinishTimeMillis :: Lens' Timing (Maybe Integer) -- | The time the job began transcoding, in epoch milliseconds. tStartTimeMillis :: Lens' Timing (Maybe Integer) -- | The VideoParameters structure. -- -- See: videoParameters smart constructor. data VideoParameters -- | Creates a value of VideoParameters with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- videoParameters :: VideoParameters -- | 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. vpKeyframesMaxDist :: 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): -- -- vpFrameRate :: Lens' VideoParameters (Maybe Text) -- | Specify one of the following values to control scaling of the output -- video: -- -- vpSizingPolicy :: 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'. vpMaxFrameRate :: 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. vpMaxHeight :: Lens' VideoParameters (Maybe Text) -- | The value that Elastic Transcoder adds to the metadata in the output -- file. vpDisplayAspectRatio :: 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. vpWatermarks :: Lens' VideoParameters [PresetWatermark] -- | The video codec for the output file. Valid values include -- gif, 'H.264', mpeg2, and vp8. You can only -- specify vp8 when the container type is webm, -- gif when the container type is gif, and -- mpeg2 when the container type is mpg. vpCodec :: 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: -- -- The width must be an even integer between 128 and 4096, inclusive. -- -- The height must be an even integer between 96 and 3072, inclusive. -- -- If you specify a resolution that is less than the resolution of the -- input file, Elastic Transcoder rescales the output file to the lower -- resolution. -- -- If you specify a resolution that is greater than the resolution of the -- input file, Elastic Transcoder rescales the output to the higher -- resolution. -- -- We recommend that you specify a resolution for which the product of -- width and height is less than or equal to the applicable value in the -- following list (List - Max width x height value): -- -- vpResolution :: 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. vpPaddingPolicy :: 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 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. vpAspectRatio :: 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. vpMaxWidth :: 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)/ -- -- vpBitRate :: 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. vpFixedGOP :: Lens' VideoParameters (Maybe Text) -- | Profile (H.264/VP8 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 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 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. vpCodecOptions :: Lens' VideoParameters (HashMap Text Text) -- | 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: warning smart constructor. data Warning -- | Creates a value of Warning with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- warning :: Warning -- | The code of the cross-regional warning. wCode :: Lens' Warning (Maybe Text) -- | The message explaining what resources are in a different region from -- the pipeline. -- -- Note: AWS KMS keys must be in the same region as the pipeline. wMessage :: Lens' Warning (Maybe Text)