amazonka-elastictranscoder-2.0: Amazon Elastic Transcoder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElasticTranscoder.Types.JobAlbumArt

Description

 
Synopsis

Documentation

data JobAlbumArt Source #

The .jpg or .png file associated with an audio file.

See: newJobAlbumArt smart constructor.

Constructors

JobAlbumArt' 

Fields

  • artwork :: Maybe [Artwork]

    The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

  • mergePolicy :: Maybe Text

    A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

    • Replace: The specified album art replaces any existing album art.
    • Prepend: The specified album art is placed in front of any existing album art.
    • Append: The specified album art is placed after any existing album art.
    • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.

Instances

Instances details
FromJSON JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

ToJSON JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Generic JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Associated Types

type Rep JobAlbumArt :: Type -> Type #

Read JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Show JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

NFData JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Methods

rnf :: JobAlbumArt -> () #

Eq JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Hashable JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

type Rep JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

type Rep JobAlbumArt = D1 ('MetaData "JobAlbumArt" "Amazonka.ElasticTranscoder.Types.JobAlbumArt" "amazonka-elastictranscoder-2.0-CmXzguD33FBGrVHrZxYHry" 'False) (C1 ('MetaCons "JobAlbumArt'" 'PrefixI 'True) (S1 ('MetaSel ('Just "artwork") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Artwork])) :*: S1 ('MetaSel ('Just "mergePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newJobAlbumArt :: JobAlbumArt Source #

Create a value of JobAlbumArt with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:artwork:JobAlbumArt', jobAlbumArt_artwork - The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

$sel:mergePolicy:JobAlbumArt', jobAlbumArt_mergePolicy - A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

  • Replace: The specified album art replaces any existing album art.
  • Prepend: The specified album art is placed in front of any existing album art.
  • Append: The specified album art is placed after any existing album art.
  • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.

jobAlbumArt_artwork :: Lens' JobAlbumArt (Maybe [Artwork]) Source #

The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

jobAlbumArt_mergePolicy :: Lens' JobAlbumArt (Maybe Text) Source #

A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

  • Replace: The specified album art replaces any existing album art.
  • Prepend: The specified album art is placed in front of any existing album art.
  • Append: The specified album art is placed after any existing album art.
  • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.