[][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),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

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.

HttpDispatch(HttpDispatchError)

An error occurred dispatching the HTTP request

Credentials(CredentialsError)

An error was encountered with AWS credentials.

Validation(String)

A validation error occurred. Details from AWS are provided.

ParseError(String)

An error occurred parsing the response payload.

Unknown(BufferedHttpResponse)

An unknown error occurred. The raw HTTP response is provided.

Methods

impl GetHLSStreamingSessionURLError[src]

Trait Implementations

impl From<Error> for GetHLSStreamingSessionURLError[src]

impl From<CredentialsError> for GetHLSStreamingSessionURLError[src]

impl From<HttpDispatchError> for GetHLSStreamingSessionURLError[src]

impl From<Error> for GetHLSStreamingSessionURLError[src]

impl PartialEq<GetHLSStreamingSessionURLError> for GetHLSStreamingSessionURLError[src]

impl Display for GetHLSStreamingSessionURLError[src]

impl Debug 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

Blanket Implementations

impl<T> From for T[src]

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

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

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

type Error = Infallible

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

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