Class KinesisVideoMediaException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\KinesisVideoMedia\Exception\KinesisVideoMediaException
- Namespace: Aws\KinesisVideoMedia\Exception
- Located at KinesisVideoMedia/Exception/KinesisVideoMediaException.php
Represents an error interacting with the Amazon Kinesis Video Streams Media service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
The following are the known exception codes and corresponding data shapes that
this service may return as part of an error response.
ClientLimitExceededException
[ 'Message' => '<string>', ]
Description
Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client calls. Try making the call later.
Members
ConnectionLimitExceededException
[ 'Message' => '<string>', ]
Description
Kinesis Video Streams has throttled the request because you have exceeded the limit of allowed client connections.
Members
InvalidArgumentException
[ 'Message' => '<string>', ]
InvalidEndpointException
[ 'Message' => '<string>', ]
Description
Status Code: 400, Caller used wrong endpoint to write data to a stream. On receiving such an exception, the user must call GetDataEndpoint
with AccessMode
set to "READ" and use the endpoint Kinesis Video returns in the next GetMedia
call.
Members
NotAuthorizedException
[ 'Message' => '<string>', ]
Description
Status Code: 403, The caller is not authorized to perform an operation on the given stream, or the token has expired.
Members
ResourceNotFoundException
[ 'Message' => '<string>', ]