libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
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.Rekognition.Types.AudioMetadata

Description

 
Synopsis

Documentation

data AudioMetadata Source #

Metadata information about an audio stream. An array of AudioMetadata objects for the audio streams found in a stored video is returned by GetSegmentDetection.

See: newAudioMetadata smart constructor.

Constructors

AudioMetadata' 

Fields

Instances

Instances details
Eq AudioMetadata Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AudioMetadata

Read AudioMetadata Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AudioMetadata

Show AudioMetadata Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AudioMetadata

Generic AudioMetadata Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AudioMetadata

Associated Types

type Rep AudioMetadata :: Type -> Type #

NFData AudioMetadata Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AudioMetadata

Methods

rnf :: AudioMetadata -> () #

Hashable AudioMetadata Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AudioMetadata

FromJSON AudioMetadata Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AudioMetadata

type Rep AudioMetadata Source # 
Instance details

Defined in Amazonka.Rekognition.Types.AudioMetadata

type Rep AudioMetadata = D1 ('MetaData "AudioMetadata" "Amazonka.Rekognition.Types.AudioMetadata" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "AudioMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "codec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sampleRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "numberOfChannels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "durationMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newAudioMetadata :: AudioMetadata Source #

Create a value of AudioMetadata 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:codec:AudioMetadata', audioMetadata_codec - The audio codec used to encode or decode the audio stream.

$sel:sampleRate:AudioMetadata', audioMetadata_sampleRate - The sample rate for the audio stream.

$sel:numberOfChannels:AudioMetadata', audioMetadata_numberOfChannels - The number of audio channels in the segment.

$sel:durationMillis:AudioMetadata', audioMetadata_durationMillis - The duration of the audio stream in milliseconds.

audioMetadata_codec :: Lens' AudioMetadata (Maybe Text) Source #

The audio codec used to encode or decode the audio stream.

audioMetadata_sampleRate :: Lens' AudioMetadata (Maybe Natural) Source #

The sample rate for the audio stream.

audioMetadata_numberOfChannels :: Lens' AudioMetadata (Maybe Natural) Source #

The number of audio channels in the segment.

audioMetadata_durationMillis :: Lens' AudioMetadata (Maybe Natural) Source #

The duration of the audio stream in milliseconds.