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

Description

 
Synopsis

Documentation

data JobWatermark Source #

Watermarks can be in .png or .jpg format. If you want to display a watermark that is not rectangular, use the .png format, which supports transparency.

See: newJobWatermark smart constructor.

Constructors

JobWatermark' 

Fields

  • presetWatermarkId :: Maybe Text

    The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

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

  • encryption :: Maybe Encryption

    The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.

Instances

Instances details
Eq JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Read JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Show JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Generic JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Associated Types

type Rep JobWatermark :: Type -> Type #

NFData JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

Methods

rnf :: JobWatermark -> () #

Hashable JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

ToJSON JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

FromJSON JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

type Rep JobWatermark Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.JobWatermark

type Rep JobWatermark = D1 ('MetaData "JobWatermark" "Amazonka.ElasticTranscoder.Types.JobWatermark" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "JobWatermark'" 'PrefixI 'True) (S1 ('MetaSel ('Just "presetWatermarkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "inputKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Encryption)))))

newJobWatermark :: JobWatermark Source #

Create a value of JobWatermark with all optional fields omitted.

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

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

$sel:presetWatermarkId:JobWatermark', jobWatermark_presetWatermarkId - The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

$sel:inputKey:JobWatermark', jobWatermark_inputKey - The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline; the Input Bucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

$sel:encryption:JobWatermark', jobWatermark_encryption - The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.

jobWatermark_presetWatermarkId :: Lens' JobWatermark (Maybe Text) Source #

The ID of the watermark settings that Elastic Transcoder uses to add watermarks to the video during transcoding. The settings are in the preset specified by Preset for the current output. In that preset, the value of Watermarks Id tells Elastic Transcoder which settings to use.

jobWatermark_inputKey :: Lens' JobWatermark (Maybe Text) Source #

The name of the .png or .jpg file that you want to use for the watermark. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by Pipeline; the Input Bucket object in that pipeline identifies the bucket.

If the file name includes a prefix, for example, logos/128x64.png, include the prefix in the key. If the file isn't in the specified bucket, Elastic Transcoder returns an error.

jobWatermark_encryption :: Lens' JobWatermark (Maybe Encryption) Source #

The encryption settings, if any, that you want Elastic Transcoder to apply to your watermarks.