[][src]Enum rusoto_kinesis_video_archived_media::GetHLSStreamingSessionURLError

pub enum GetHLSStreamingSessionURLError {
    ClientLimitExceeded(String),
    InvalidArgument(String),
    InvalidCodecPrivateData(String),
    MissingCodecPrivateData(String),
    NoDataRetention(String),
    NotAuthorized(String),
    ResourceNotFound(String),
    UnsupportedStreamMediaType(String),
}

Errors returned by GetHLSStreamingSessionURL

Variants

ClientLimitExceeded(String)

Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.

InvalidArgument(String)

A specified parameter exceeds its restrictions, is not supported, or can't be used.

InvalidCodecPrivateData(String)

The codec private data in at least one of the tracks of the video stream is not valid for this operation.

MissingCodecPrivateData(String)

No codec private data was found in at least one of tracks of the video stream.

NoDataRetention(String)

A PlaybackMode of ON_DEMAND was requested for a stream that does not retain data (that is, has a DataRetentionInHours of 0).

NotAuthorized(String)

Status Code: 403, The caller is not authorized to perform an operation on the given stream, or the token has expired.

ResourceNotFound(String)

GetMedia throws this error when Kinesis Video Streams can't find the stream that you specified.

GetHLSStreamingSessionURL throws this error if a session with a PlaybackMode of ON_DEMAND is requested for a stream that has no fragments within the requested time range, or if a session with a PlaybackMode of LIVE is requested for a stream that has no fragments within the last 30 seconds.

UnsupportedStreamMediaType(String)

The type of the media (for example, h.264 video or ACC audio) could not be determined from the codec IDs of the tracks in the first fragment for a playback session. The codec ID for track 1 should be V_MPEG/ISO/AVC and, optionally, the codec ID for track 2 should be A_AAC.

Methods

impl GetHLSStreamingSessionURLError[src]

pub fn from_response(
    res: BufferedHttpResponse
) -> RusotoError<GetHLSStreamingSessionURLError>
[src]

Trait Implementations

impl PartialEq<GetHLSStreamingSessionURLError> for GetHLSStreamingSessionURLError[src]

impl Debug for GetHLSStreamingSessionURLError[src]

impl Display for GetHLSStreamingSessionURLError[src]

impl Error for GetHLSStreamingSessionURLError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Send for GetHLSStreamingSessionURLError

impl Sync for GetHLSStreamingSessionURLError

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self