KinesisVideoArchivedMedia / Client / exceptions / ResourceNotFoundException
ResourceNotFoundException#
- class KinesisVideoArchivedMedia.Client.exceptions.ResourceNotFoundException#
GetImages
will throw this error when Kinesis Video Streams can’t find the stream that you specified.GetHLSStreamingSessionURL
andGetDASHStreamingSessionURL
throw this error if a session with aPlaybackMode
ofON_DEMAND
orLIVE_REPLAY``is requested for a stream that has no fragments within the requested time range, or if a session with a ``PlaybackMode
ofLIVE
is requested for a stream that has no fragments within the last 30 seconds.Example
try: ... except client.exceptions.ResourceNotFoundException as e: print(e.response)
- response#
The parsed error response. All exceptions have a top level
Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'Message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
GetImages
will throw this error when Kinesis Video Streams can’t find the stream that you specified.GetHLSStreamingSessionURL
andGetDASHStreamingSessionURL
throw this error if a session with aPlaybackMode
ofON_DEMAND
orLIVE_REPLAY``is requested for a stream that has no fragments within the requested time range, or if a session with a ``PlaybackMode
ofLIVE
is requested for a stream that has no fragments within the last 30 seconds.Message (string) –
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.