errors.go 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package kinesisvideoarchivedmedia
  3. const (
  4. // ErrCodeClientLimitExceededException for service response error code
  5. // "ClientLimitExceededException".
  6. //
  7. // Kinesis Video Streams has throttled the request because you have exceeded
  8. // the limit of allowed client calls. Try making the call later.
  9. ErrCodeClientLimitExceededException = "ClientLimitExceededException"
  10. // ErrCodeInvalidArgumentException for service response error code
  11. // "InvalidArgumentException".
  12. //
  13. // A specified parameter exceeds its restrictions, is not supported, or can't
  14. // be used.
  15. ErrCodeInvalidArgumentException = "InvalidArgumentException"
  16. // ErrCodeInvalidCodecPrivateDataException for service response error code
  17. // "InvalidCodecPrivateDataException".
  18. //
  19. // The Codec Private Data in the video stream is not valid for this operation.
  20. ErrCodeInvalidCodecPrivateDataException = "InvalidCodecPrivateDataException"
  21. // ErrCodeMissingCodecPrivateDataException for service response error code
  22. // "MissingCodecPrivateDataException".
  23. //
  24. // No Codec Private Data was found in the video stream.
  25. ErrCodeMissingCodecPrivateDataException = "MissingCodecPrivateDataException"
  26. // ErrCodeNoDataRetentionException for service response error code
  27. // "NoDataRetentionException".
  28. //
  29. // A PlaybackMode of ON_DEMAND was requested for a stream that does not retain
  30. // data (that is, has a DataRetentionInHours of 0).
  31. ErrCodeNoDataRetentionException = "NoDataRetentionException"
  32. // ErrCodeNotAuthorizedException for service response error code
  33. // "NotAuthorizedException".
  34. //
  35. // Status Code: 403, The caller is not authorized to perform an operation on
  36. // the given stream, or the token has expired.
  37. ErrCodeNotAuthorizedException = "NotAuthorizedException"
  38. // ErrCodeResourceNotFoundException for service response error code
  39. // "ResourceNotFoundException".
  40. //
  41. // GetMedia throws this error when Kinesis Video Streams can't find the stream
  42. // that you specified.
  43. //
  44. // GetHLSStreamingSessionURL throws this error if a session with a PlaybackMode
  45. // of ON_DEMAND is requested for a stream that has no fragments within the requested
  46. // time range, or if a session with a PlaybackMode of LIVE is requested for
  47. // a stream that has no fragments within the last 30 seconds.
  48. ErrCodeResourceNotFoundException = "ResourceNotFoundException"
  49. // ErrCodeUnsupportedStreamMediaTypeException for service response error code
  50. // "UnsupportedStreamMediaTypeException".
  51. //
  52. // An HLS streaming session was requested for a stream with a media type that
  53. // is not video/h264.
  54. ErrCodeUnsupportedStreamMediaTypeException = "UnsupportedStreamMediaTypeException"
  55. )