amazonka-kinesis-video-2.0: Amazon Kinesis Video Streams 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.KinesisVideo.Types.MediaSourceConfig

Description

 
Synopsis

Documentation

data MediaSourceConfig Source #

The configuration details that consist of the credentials required (MediaUriSecretArn and MediaUriType) to access the media files that are streamed to the camera.

See: newMediaSourceConfig smart constructor.

Constructors

MediaSourceConfig' 

Fields

  • mediaUriSecretArn :: Sensitive Text

    The AWS Secrets Manager ARN for the username and password of the camera, or a local media file location.

  • mediaUriType :: MediaUriType

    The Uniform Resource Identifier (URI) type. The FILE_URI value can be used to stream local media files.

    Preview only supports the RTSP_URI media source URI format .

Instances

Instances details
FromJSON MediaSourceConfig Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.MediaSourceConfig

ToJSON MediaSourceConfig Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.MediaSourceConfig

Generic MediaSourceConfig Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.MediaSourceConfig

Associated Types

type Rep MediaSourceConfig :: Type -> Type #

Show MediaSourceConfig Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.MediaSourceConfig

NFData MediaSourceConfig Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.MediaSourceConfig

Methods

rnf :: MediaSourceConfig -> () #

Eq MediaSourceConfig Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.MediaSourceConfig

Hashable MediaSourceConfig Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.MediaSourceConfig

type Rep MediaSourceConfig Source # 
Instance details

Defined in Amazonka.KinesisVideo.Types.MediaSourceConfig

type Rep MediaSourceConfig = D1 ('MetaData "MediaSourceConfig" "Amazonka.KinesisVideo.Types.MediaSourceConfig" "amazonka-kinesis-video-2.0-5DR7d8jw2IyAvZJM3U7dwM" 'False) (C1 ('MetaCons "MediaSourceConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mediaUriSecretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "mediaUriType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MediaUriType)))

newMediaSourceConfig Source #

Create a value of MediaSourceConfig 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:mediaUriSecretArn:MediaSourceConfig', mediaSourceConfig_mediaUriSecretArn - The AWS Secrets Manager ARN for the username and password of the camera, or a local media file location.

$sel:mediaUriType:MediaSourceConfig', mediaSourceConfig_mediaUriType - The Uniform Resource Identifier (URI) type. The FILE_URI value can be used to stream local media files.

Preview only supports the RTSP_URI media source URI format .

mediaSourceConfig_mediaUriSecretArn :: Lens' MediaSourceConfig Text Source #

The AWS Secrets Manager ARN for the username and password of the camera, or a local media file location.

mediaSourceConfig_mediaUriType :: Lens' MediaSourceConfig MediaUriType Source #

The Uniform Resource Identifier (URI) type. The FILE_URI value can be used to stream local media files.

Preview only supports the RTSP_URI media source URI format .