Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
MediaSourceConfig' | |
|
Instances
:: Text | |
-> MediaUriType | |
-> MediaSourceConfig |
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 .