libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • 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.
  • 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

Instances

Instances details
Eq JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Read JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Show 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 #

NFData JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

Methods

rnf :: JobAlbumArt -> () #

Hashable JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

ToJSON JobAlbumArt Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobAlbumArt

FromJSON 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" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "JobAlbumArt'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mergePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "artwork") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Artwork]))))

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: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.

$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

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.

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