amazonka-ivs-2.0: Amazon Interactive Video Service 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.IVS.Types.ThumbnailConfiguration

Description

 
Synopsis

Documentation

data ThumbnailConfiguration Source #

An object representing a configuration of thumbnails for recorded video.

See: newThumbnailConfiguration smart constructor.

Constructors

ThumbnailConfiguration' 

Fields

  • recordingMode :: Maybe RecordingMode

    Thumbnail recording mode. Default: INTERVAL.

  • targetIntervalSeconds :: Maybe Natural

    The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if recordingMode is INTERVAL. Default: 60.

    Important: Setting a value for targetIntervalSeconds does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less than the targetIntervalSeconds value. See Amazon IVS Streaming Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder settings.

Instances

Instances details
FromJSON ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

ToJSON ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

Generic ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

Associated Types

type Rep ThumbnailConfiguration :: Type -> Type #

Read ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

Show ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

NFData ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

Methods

rnf :: ThumbnailConfiguration -> () #

Eq ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

Hashable ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

type Rep ThumbnailConfiguration Source # 
Instance details

Defined in Amazonka.IVS.Types.ThumbnailConfiguration

type Rep ThumbnailConfiguration = D1 ('MetaData "ThumbnailConfiguration" "Amazonka.IVS.Types.ThumbnailConfiguration" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" 'False) (C1 ('MetaCons "ThumbnailConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recordingMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecordingMode)) :*: S1 ('MetaSel ('Just "targetIntervalSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newThumbnailConfiguration :: ThumbnailConfiguration Source #

Create a value of ThumbnailConfiguration 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:recordingMode:ThumbnailConfiguration', thumbnailConfiguration_recordingMode - Thumbnail recording mode. Default: INTERVAL.

$sel:targetIntervalSeconds:ThumbnailConfiguration', thumbnailConfiguration_targetIntervalSeconds - The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if recordingMode is INTERVAL. Default: 60.

Important: Setting a value for targetIntervalSeconds does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less than the targetIntervalSeconds value. See Amazon IVS Streaming Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder settings.

thumbnailConfiguration_targetIntervalSeconds :: Lens' ThumbnailConfiguration (Maybe Natural) Source #

The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if recordingMode is INTERVAL. Default: 60.

Important: Setting a value for targetIntervalSeconds does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less than the targetIntervalSeconds value. See Amazon IVS Streaming Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder settings.